/* ===== Aquorbis — Landing Page Styles ===== */

/* ---- Floating fish animation ---- */
@keyframes swim {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(2deg); }
    75% { transform: translateY(8px) rotate(-2deg); }
}
.swim { animation: swim 4s ease-in-out infinite; }
.swim-slow { animation: swim 6s ease-in-out infinite; }
.swim-delay { animation: swim 4s ease-in-out 1s infinite; }

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.bob { animation: bob 3s ease-in-out infinite; }

@keyframes shimmer {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* ---- Sections ---- */
section { position: relative; z-index: 1; }

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

/* ---- Hero ---- */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, #0d2847 0%, #1a4a7a 40%, #2d7bb5 70%, #5bb5e0 100%);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--ocean-deep));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero-icon {
    width: 140px;
    height: 140px;
    border-radius: 28px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(45, 212, 191, 0.2);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}
.hero h1 .splash { color: var(--teal); }
.hero .tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Decorative hero fish */
.hero-fish {
    position: absolute;
    z-index: 1;
    opacity: 0.4;
}
.hero-fish-1 { left: 5%; top: 30%; width: 80px; }
.hero-fish-2 { right: 8%; top: 45%; width: 100px; transform: scaleX(-1); }
.hero-fish-3 { left: 15%; bottom: 20%; width: 60px; }

/* ---- Features ---- */
.features {
    padding: 5rem 0;
    background: var(--ocean-deep);
}
.features h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, 0.3);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--teal);
}
.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ---- Zones ---- */
.zones {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--ocean-deep), #0b1e3a);
}
.zones h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}
.zones .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.zone-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: default;
    transition: transform 0.3s;
}
.zone-card:hover { transform: scale(1.03); }
.zone-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zone-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    font-family: 'Fredoka', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ---- Fish Gallery ---- */
.fish-gallery {
    padding: 5rem 0;
    background: var(--ocean-deep);
}
.fish-gallery h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}
.fish-gallery .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}
.fish-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.fish-scroll::-webkit-scrollbar { height: 6px; }
.fish-scroll::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }
.fish-scroll::-webkit-scrollbar-thumb { background: var(--teal-dark); border-radius: 3px; }
.fish-card {
    flex: 0 0 160px;
    scroll-snap-align: center;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.3s;
}
.fish-card:hover { transform: translateY(-4px); }
.fish-card img {
    width: 100px;
    height: auto;
    image-rendering: pixelated;
    margin-bottom: 0.75rem;
}
.fish-card .fish-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}
.fish-card .fish-rarity {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}
.rarity-common { color: #94a3b8; }
.rarity-uncommon { color: var(--green); }
.rarity-rare { color: var(--purple); }
.rarity-legendary { color: var(--gold); }

/* ---- Growth ---- */
.growth {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--ocean-deep), #0e2240);
}
.growth h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}
.growth .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}
.growth-stages {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 2rem;
    flex-wrap: wrap;
}
.growth-stage { text-align: center; }
.growth-stage img {
    image-rendering: pixelated;
    margin-bottom: 0.5rem;
}
.growth-stage .stage-label {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}
.growth-arrow {
    font-size: 2rem;
    color: var(--teal);
    align-self: center;
    margin-bottom: 1.5rem;
}

/* ---- Aquarium ---- */
.aquarium {
    padding: 5rem 0;
    background: var(--ocean-deep);
}
.aquarium h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}
.aquarium .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}
.aquarium-preview {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid rgba(45, 212, 191, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(45, 212, 191, 0.1);
}
.aquarium-preview img {
    width: 100%;
    display: block;
}
.aquarium-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.aquarium-stat { text-align: center; }
.aquarium-stat .stat-num {
    font-family: 'Fredoka', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
}
.aquarium-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ---- CTA ---- */
.cta {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(180deg, #0e2240, var(--ocean-mid), var(--ocean-light));
}
.cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}
.cta p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.cta .diver-img {
    width: 120px;
    image-rendering: pixelated;
    margin-bottom: 1.5rem;
}
