/* =========================================================================
   KODA AQUA : DARK ACADEMIA — RAPTURE ENGINE
   Esthétique : Froid, Métallique, Art Déco, Néon Abyssal
   Matériaux : Verre dépoli, Laiton oxydé, Néon cyan, Acier sous-marin
   ========================================================================= */

/* ── 1. SCOPED OVERLAYS (scanlines CRT + underwater shimmer) ── */

.koda-monde--aqua::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.02) 0%, transparent 15%),
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.01) 0%, transparent 30%);
    pointer-events: none;
    z-index: 9998;
    animation: aqua-underwaterShimmer 15s ease-in-out infinite;
}

.koda-monde--aqua::after {
    content: '';
    position: fixed;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 2px,
            rgba(0, 0, 0, 0.08) 2px,
            rgba(0, 0, 0, 0.08) 4px
        ),
        linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.015), rgba(0, 0, 255, 0.04));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.25;
}

@keyframes aqua-underwaterShimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* ── 2. TYPOGRAPHY (Dark Academia Aqua) ── */

.koda-monde--aqua .terra-section h2 {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    color: var(--brass, #c8aa6e);
    text-shadow: 0 0 20px rgba(200, 170, 110, 0.3);
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.koda-monde--aqua .terra-section h3 {
    font-family: 'Playfair Display', serif;
    color: var(--deco-cream, #f5e6c8);
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 0.04em;
}

.koda-monde--aqua .text-terminal,
.koda-monde--aqua .terra-quest__xp {
    font-family: 'Share Tech Mono', 'JetBrains Mono', monospace;
    color: var(--neon-cyan, #00d4ff);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5), 0 0 16px rgba(0, 212, 255, 0.2);
}

.koda-monde--aqua .text-accent {
    color: var(--neon-cyan, #00d4ff);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.koda-monde--aqua .terra-section .text-muted {
    color: rgba(224, 232, 240, 0.55);
    font-family: 'Playfair Display', serif;
    font-size: 0.9em;
}

.koda-monde--aqua .terra-section p {
    font-family: 'Playfair Display', serif;
    color: var(--text-color, #e0e8f0);
    line-height: 1.65;
}

/* ── 3. GLASS PANELS — Rapture Console (chamfered Art Déco) ── */

.koda-monde--aqua .terra-section.glass-panel {
    background:
        linear-gradient(135deg, rgba(10, 22, 40, 0.82) 0%, rgba(15, 41, 64, 0.72) 100%);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 2px solid rgba(200, 170, 110, 0.25);
    border-radius: 0;
    clip-path: polygon(
        12px 0, calc(100% - 12px) 0,
        100% 12px, 100% calc(100% - 12px),
        calc(100% - 12px) 100%, 12px 100%,
        0 calc(100% - 12px), 0 12px
    );
    position: relative;
    overflow: visible;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(0, 212, 255, 0.04);
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: max(32px, calc((100% - 1200px) / 2));
    padding-right: max(32px, calc((100% - 1200px) / 2));
    margin-bottom: 32px;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Brass edge highlight (top) */
.koda-monde--aqua .terra-section.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(200, 170, 110, 0.6) 20%,
        rgba(240, 230, 140, 0.8) 50%,
        rgba(200, 170, 110, 0.6) 80%,
        transparent 100%
    );
    z-index: 1;
}

/* Rivets via radial-gradient corners */
.koda-monde--aqua .terra-section.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20px 20px, rgba(200, 170, 110, 0.5) 2px, transparent 3px),
        radial-gradient(circle at calc(100% - 20px) 20px, rgba(200, 170, 110, 0.5) 2px, transparent 3px),
        radial-gradient(circle at 20px calc(100% - 20px), rgba(200, 170, 110, 0.5) 2px, transparent 3px),
        radial-gradient(circle at calc(100% - 20px) calc(100% - 20px), rgba(200, 170, 110, 0.5) 2px, transparent 3px);
    pointer-events: none;
    z-index: 1;
}

.koda-monde--aqua .terra-section.glass-panel:hover {
    border-color: rgba(200, 170, 110, 0.45);
    box-shadow:
        0 12px 50px rgba(0, 0, 0, 0.7),
        inset 0 0 40px rgba(0, 212, 255, 0.06),
        0 0 30px rgba(0, 212, 255, 0.08);
}

/* Inner glass panels (cards inside sections) */
.koda-monde--aqua .terra-section .glass-panel {
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(200, 170, 110, 0.2);
    border-radius: 2px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        inset 0 0 15px rgba(0, 212, 255, 0.03);
}

/* ── 4. SPECIES CARDS — Brass Plaque / Porthole ── */

.koda-monde--aqua .species-card.glass-panel {
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.85) 0%, rgba(5, 13, 20, 0.9) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(
        135deg,
        rgba(139, 115, 85, 0.6) 0%,
        rgba(200, 170, 110, 0.8) 40%,
        rgba(240, 230, 140, 0.9) 50%,
        rgba(200, 170, 110, 0.8) 60%,
        rgba(168, 86, 65, 0.6) 100%
    ) 1;
    border-radius: 0;
    clip-path: polygon(
        8px 0, calc(100% - 8px) 0,
        100% 8px, 100% calc(100% - 8px),
        calc(100% - 8px) 100%, 8px 100%,
        0 calc(100% - 8px), 0 8px
    );
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.6),
        inset 0 0 20px rgba(0, 212, 255, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    padding: 24px;
}

/* Rivet corners on cards */
.koda-monde--aqua .species-card.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10px 10px, rgba(200, 170, 110, 0.4) 1.5px, transparent 2.5px),
        radial-gradient(circle at calc(100% - 10px) 10px, rgba(200, 170, 110, 0.4) 1.5px, transparent 2.5px),
        radial-gradient(circle at 10px calc(100% - 10px), rgba(200, 170, 110, 0.4) 1.5px, transparent 2.5px),
        radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), rgba(200, 170, 110, 0.4) 1.5px, transparent 2.5px);
    pointer-events: none;
    z-index: 1;
}

/* Unified hover: Lift + Glow */
.koda-monde--aqua .species-card.glass-panel:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 25px rgba(0, 212, 255, 0.15),
        inset 0 0 30px rgba(0, 212, 255, 0.08);
}

.koda-monde--aqua .species-card__name {
    font-family: 'Cinzel Decorative', serif;
    color: var(--neon-cyan, #00d4ff);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 20px rgba(0, 212, 255, 0.2);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.koda-monde--aqua .species-card__latin {
    font-family: 'Playfair Display', serif;
    color: rgba(224, 232, 240, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
}

.koda-monde--aqua .terra-card-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
}

/* ── 5. TERRA-NAV — Brass Navigation Console ── */

.koda-monde--aqua .terra-nav.terminal-panel {
    background:
        linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, rgba(5, 15, 25, 0.85) 100%);
    border: 2px solid rgba(200, 170, 110, 0.3);
    border-radius: 0;
    clip-path: polygon(
        8px 0, calc(100% - 8px) 0,
        100% 8px, 100% calc(100% - 8px),
        calc(100% - 8px) 100%, 8px 100%,
        0 calc(100% - 8px), 0 8px
    );
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.koda-monde--aqua .terminal-bar {
    background: linear-gradient(90deg, rgba(200, 170, 110, 0.1), transparent 50%, rgba(200, 170, 110, 0.1));
    border-bottom: 1px solid rgba(200, 170, 110, 0.2);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.koda-monde--aqua .terminal-bar__title {
    font-family: 'Share Tech Mono', monospace;
    color: var(--neon-cyan, #00d4ff);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.koda-monde--aqua .terminal-bar__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.koda-monde--aqua .terminal-bar__dot--red { background: #ff5f57; box-shadow: 0 0 4px rgba(255, 95, 87, 0.5); }
.koda-monde--aqua .terminal-bar__dot--yellow { background: #febc2e; box-shadow: 0 0 4px rgba(254, 188, 46, 0.5); }
.koda-monde--aqua .terminal-bar__dot--green { background: #28c840; box-shadow: 0 0 4px rgba(40, 200, 64, 0.5); }

.koda-monde--aqua .terminal-bar__dots {
    display: flex;
    gap: 6px;
}

/* ── 6. BUTTONS — Brass Switches ── */

.koda-monde--aqua .btn-terminal {
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--neon-cyan, #00d4ff);
    border: 1px solid rgba(200, 170, 110, 0.3);
    border-radius: 0;
    clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.72rem;
    padding: 10px 20px;
    letter-spacing: 0.15em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}

.koda-monde--aqua .btn-terminal:hover {
    border-color: var(--neon-cyan, #00d4ff);
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2), inset 0 0 10px rgba(0, 212, 255, 0.05);
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.koda-monde--aqua .btn-terminal::before {
    content: '>';
    color: var(--neon-cyan, #00d4ff);
    animation: aqua-cursorBlink 1s step-end infinite;
}

.koda-monde--aqua .terra-section .btn-primary {
    background:
        linear-gradient(135deg, rgba(10, 40, 70, 0.85) 0%, rgba(0, 80, 120, 0.85) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 2px solid transparent;
    border-image: linear-gradient(
        135deg,
        rgba(139, 115, 85, 0.5) 0%,
        rgba(200, 170, 110, 0.7) 50%,
        rgba(139, 115, 85, 0.5) 100%
    ) 1;
    border-radius: 0;
    padding: 14px 32px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        inset 0 0 15px rgba(0, 212, 255, 0.05);
    text-decoration: none;
    display: inline-block;
}

.koda-monde--aqua .terra-section .btn-primary:hover {
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(0, 212, 255, 0.2),
        inset 0 0 25px rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.koda-monde--aqua .terra-section .btn-secondary {
    background: rgba(10, 22, 40, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--neon-cyan, #00d4ff);
    border: 1px solid var(--neon-cyan, #00d4ff);
    border-radius: 0;
    padding: 12px 28px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.koda-monde--aqua .terra-section .btn-secondary:hover {
    background: rgba(0, 212, 255, 0.12);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

@keyframes aqua-cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ── 7. BADGES — Neon Tags ── */

.koda-monde--aqua .terra-section .badge {
    display: inline-block;
    padding: 4px 14px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0;
    clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
}

.koda-monde--aqua .badge-terminal {
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--neon-cyan, #00d4ff);
    color: var(--neon-cyan, #00d4ff);
    text-shadow: 0 0 6px rgba(0, 212, 255, 0.4);
    animation: aqua-neonBreath 4s ease-in-out infinite;
}

.koda-monde--aqua .badge-gold {
    background: rgba(20, 15, 8, 0.7);
    border: 1px solid var(--deco-gold, #d4af37);
    color: var(--deco-gold, #d4af37);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

@keyframes aqua-neonBreath {
    0%, 100% {
        box-shadow: 0 0 4px rgba(0, 212, 255, 0.2);
        border-color: rgba(0, 212, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 12px rgba(0, 212, 255, 0.4), 0 0 20px rgba(0, 212, 255, 0.15);
        border-color: var(--neon-cyan, #00d4ff);
    }
}

/* ── 8. DATA GRID — Terminal Readout ── */

.koda-monde--aqua .data-grid {
    display: grid;
    gap: 2px;
    background: rgba(200, 170, 110, 0.12);
    border: 1px solid rgba(200, 170, 110, 0.15);
}

.koda-monde--aqua .data-grid__cell {
    background: rgba(5, 13, 20, 0.9);
    padding: 14px 18px;
    font-family: 'Share Tech Mono', monospace;
    position: relative;
}

.koda-monde--aqua .data-grid__label {
    color: rgba(200, 170, 110, 0.5);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 4px;
}

.koda-monde--aqua .data-grid__value {
    color: var(--neon-cyan, #00d4ff);
    font-size: 1.15rem;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* ── 9. TERMINAL BLOCKS (arsenal, moniteur) ── */

.koda-monde--aqua .terra-terminal-block {
    background:
        linear-gradient(180deg, rgba(5, 15, 25, 0.9) 0%, rgba(10, 22, 40, 0.85) 100%);
    border: 2px solid rgba(200, 170, 110, 0.2);
    border-radius: 2px;
    clip-path: polygon(
        6px 0, calc(100% - 6px) 0,
        100% 6px, 100% calc(100% - 6px),
        calc(100% - 6px) 100%, 6px 100%,
        0 calc(100% - 6px), 0 6px
    );
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.koda-monde--aqua .terra-terminal-block .terminal-panel__content {
    padding: 24px;
}

.koda-monde--aqua .terra-terminal-block h3 {
    font-family: 'Cinzel', serif;
    color: var(--neon-cyan, #00d4ff);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
    letter-spacing: 0.05em;
}

/* ── 10. TERRA GRID (3-col layout) ── */

.koda-monde--aqua .terra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.koda-monde--aqua .terra-section__header {
    text-align: center;
    margin-bottom: 32px;
}

/* ── 11. QUESTS — Mission Dossiers ── */

.koda-monde--aqua .terra-quest-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.koda-monde--aqua .terra-quest {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(10, 22, 40, 0.7);
    border: 1px solid rgba(200, 170, 110, 0.15);
    border-left: 3px solid var(--neon-cyan, #00d4ff);
    transition: all 0.3s ease;
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.koda-monde--aqua .terra-quest:hover {
    background: rgba(0, 212, 255, 0.06);
    border-color: rgba(200, 170, 110, 0.3);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
    transform: translateX(4px);
}

.koda-monde--aqua .terra-quest__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.koda-monde--aqua .terra-quest__xp {
    font-family: 'Share Tech Mono', monospace;
    color: var(--neon-cyan, #00d4ff);
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
    white-space: nowrap;
}

/* ── 12. CTA FINAL — Locked Vault ── */

.koda-monde--aqua .locked-content {
    border: 2px dashed rgba(212, 175, 55, 0.4) !important;
    clip-path: none;
    border-radius: 2px;
    text-align: center;
    opacity: 0.75;
    transition: all 0.4s ease;
}

.koda-monde--aqua .locked-content:hover {
    opacity: 0.9;
    border-color: rgba(212, 175, 55, 0.6) !important;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.koda-monde--aqua .locked-content h2 {
    color: var(--deco-gold, #d4af37);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.koda-monde--aqua .terra-cta {
    text-align: center;
    margin-top: 24px;
}

.koda-monde--aqua .terra-cta .btn {
    margin: 0 8px;
}

/* ── 13. CODEX GRID ── */

.koda-monde--aqua .terra-codex-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* ── 14. SCROLL ANIMATIONS ── */

.koda-monde--aqua .terra-section,
.koda-monde--aqua .species-card,
.koda-monde--aqua .terra-quest,
.koda-monde--aqua .terra-nav {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.koda-monde--aqua .terra-section.animate-in,
.koda-monde--aqua .species-card.animate-in,
.koda-monde--aqua .terra-quest.animate-in,
.koda-monde--aqua .terra-nav.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ── 15. ACCESSIBILITY — Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
    .koda-monde--aqua::before,
    .koda-monde--aqua .badge-terminal {
        animation: none;
    }

    .koda-monde--aqua .species-card.glass-panel:hover {
        transform: none;
    }

    .koda-monde--aqua .terra-quest:hover {
        transform: none;
    }

    .koda-monde--aqua .terra-section .btn-primary:hover {
        transform: none;
    }
}

/* ── 16. RESPONSIVE ── */

@media (max-width: 768px) {
    .koda-monde--aqua .terra-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .koda-monde--aqua .terra-section.glass-panel {
        padding: 24px 16px;
        clip-path: none;
    }

    .koda-monde--aqua .species-card.glass-panel {
        clip-path: none;
    }

    .koda-monde--aqua .terra-nav.terminal-panel {
        clip-path: none;
    }

    .koda-monde--aqua .terra-nav__links {
        flex-wrap: wrap;
    }

    .koda-monde--aqua .btn-terminal {
        clip-path: none;
        border-radius: 4px;
        font-size: 0.65rem;
        padding: 8px 14px;
    }

    .koda-monde--aqua .terra-section h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .koda-monde--aqua .terra-quest {
        clip-path: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .koda-monde--aqua .terra-section.glass-panel {
        padding: 16px 12px;
    }

    .koda-monde--aqua .species-card.glass-panel {
        padding: 16px;
    }
}

/* =========================================================================
   Terra Glass Parity Override (Aqua)
   Keep Aqua palette, adopt Terra glass behavior for consistency.
   ========================================================================= */

.koda-monde--aqua .terra-section.glass-panel,
.koda-monde--aqua .species-card.glass-panel,
.koda-monde--aqua .terra-nav.terminal-panel {
    background: rgba(8, 20, 34, 0.76);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.34);
    border-radius: 12px;
    clip-path: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
}

.koda-monde--aqua .terra-section.glass-panel::before,
.koda-monde--aqua .species-card.glass-panel::before,
.koda-monde--aqua .terra-nav.terminal-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.9), transparent);
    z-index: 1;
}

.koda-monde--aqua .terra-section.glass-panel::after,
.koda-monde--aqua .species-card.glass-panel::after,
.koda-monde--aqua .terra-nav.terminal-panel::after {
    content: none;
}

.koda-monde--aqua .terra-section.glass-panel:hover,
.koda-monde--aqua .species-card.glass-panel:hover,
.koda-monde--aqua .terra-nav.terminal-panel:hover {
    border-color: rgba(0, 212, 255, 0.65);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    transform: none;
}

.koda-monde--aqua .terra-section .glass-panel {
    background: rgba(8, 20, 34, 0.64);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.24);
    border-radius: 10px;
    clip-path: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
