/* ==============================================
   FISH PAGES - Styles communs
   ============================================== */

:root {
  --fish-gradient-start: #0f2540;
  --fish-gradient-end: #1a4d7a;
  --fish-accent: #00d9ff;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

body {
  background: linear-gradient(180deg, var(--bg) 0%, var(--fish-gradient-start) 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ==============================================
   HERO SECTION
   ============================================== */

.fish-hero {
  position: relative;
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--fish-gradient-start) 0%, var(--fish-gradient-end) 100%);
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.fish-hero-background {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 150, 255, 0.15) 0%, transparent 50%);
  animation: waterFlow 15s ease-in-out infinite;
}

@keyframes waterFlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.fish-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.fish-hero-icon {
  font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(0, 217, 255, 0.4));
  animation: floatIcon 3s ease-in-out infinite;
  margin-bottom: 0.5rem;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.fish-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #00d9ff 0%, #0088ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.fish-hero-subtitle {
  font-size: 1rem;
  color: var(--muted);
  opacity: 0.9;
}

/* ==============================================
   NAVIGATION FISH
   ============================================== */

.fish-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 0.75rem;
  background: var(--surface);
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.fish-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent) 20%, 
    var(--accent) 80%, 
    transparent 100%
  );
  opacity: 0.3;
}

.fish-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 0.6rem;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid transparent;
  background: transparent;
  overflow: hidden;
}

.fish-nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(var(--accent-rgb, 91, 140, 255), 0.08) 0%, 
    rgba(var(--accent-rgb, 91, 140, 255), 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.fish-nav-item:hover {
  color: var(--fg);
  border-color: var(--border);
  background: var(--bg);
  transform: translateY(-1px);
}

.fish-nav-item:hover::before {
  opacity: 1;
}

.fish-nav-item[aria-current="page"] {
  background: var(--accent);
  color: white;
  font-weight: 600;
  box-shadow: 
    0 2px 8px rgba(var(--accent-rgb, 91, 140, 255), 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: color-mix(in srgb, var(--accent) 80%, white);
}

.fish-nav-item[aria-current="page"]::before {
  display: none;
}

.fish-nav-item[aria-current="page"]:hover {
  transform: translateY(-1px);
  box-shadow: 
    0 4px 12px rgba(var(--accent-rgb, 91, 140, 255), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: color-mix(in srgb, var(--accent) 95%, white);
}

.fish-nav-item[aria-current="page"] .nav-icon {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.nav-icon {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.fish-nav-item:hover .nav-icon {
  transform: scale(1.1);
}

.fish-nav-item[aria-current="page"] .nav-icon {
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.nav-label {
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

/* Responsive */
@media (max-width: 768px) {
  .fish-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0.6rem;
    margin: 0 -1.5rem 2rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem;
  }
  
  .fish-nav::-webkit-scrollbar {
    display: none;
  }
  
  .fish-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .nav-icon {
    font-size: 1.1rem;
  }
  
  .nav-label {
    font-size: 0.85rem;
  }
}

/* ==============================================
   BUTTONS
   ============================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1;
  gap: 0.5rem;
  font-family: inherit;
  box-sizing: border-box;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.5);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--accent) 85%, white);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.full-width {
  width: 100%;
}

/* ==============================================
   CARDS
   ============================================== */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */

.text-muted {
  color: var(--muted);
}

.font-bold {
  font-weight: 700;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.small {
  font-size: 0.875rem;
}
