* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:root {
    --bg-primary: #0a1628;
    --bg-secondary: #071020;
    --bg-card: #0f1d35;
    --bg-card-hover: #132444;
    --gold: #ffbe4c;
    --gold-light: #ffd88a;
    --gold-dark: #c8922a;
    --gold-glow: rgba(255, 190, 76, 0.15);
    --blue-accent: #1a3a5c;
    --blue-light: #2a5a8c;
    --text: rgba(255, 255, 255, 0.92);
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-dim: rgba(255, 255, 255, 0.3);
    --border: rgba(255, 190, 76, 0.08);
    --border-hover: rgba(255, 190, 76, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: linear-gradient(
        180deg,
        #0c2a42 0%,
        #0a1f35 20%,
        #091828 50%,
        #060f1c 80%,
        #030810 100%
    );
    background-attachment: fixed;
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
}

::selection {
    background: var(--gold);
    color: var(--bg-primary);
}

/* ══════════════════════════════════
   PRELOADER
   ══════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-trident {
    font-size: 3rem;
    color: var(--gold);
    animation: pulse-glow 1.5s ease-in-out infinite;
    margin-bottom: 16px;
}

.preloader-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: 6px;
    margin-bottom: 24px;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 190, 76, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: var(--gold);
    animation: preload-fill 1.5s ease-out forwards;
}

@keyframes preload-fill {
    to { width: 100%; }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* ══════════════════════════════════
   UNDERWATER DEPTH EFFECT
   ══════════════════════════════════ */
.underwater-depth {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 80, 120, 0.15) 0%,
        rgba(12, 50, 90, 0.1) 15%,
        rgba(8, 30, 60, 0.05) 40%,
        rgba(4, 15, 35, 0.1) 70%,
        rgba(2, 8, 20, 0.2) 100%
    );
    pointer-events: none;
}

.water-surface {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 9998;
    pointer-events: none;
    overflow: hidden;
}

.water-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(
        180deg,
        rgba(120, 210, 255, 0.5) 0%,
        rgba(80, 180, 240, 0.2) 100%
    );
    box-shadow:
        0 0 20px rgba(100, 200, 255, 0.2),
        0 0 50px rgba(60, 160, 220, 0.1);
    z-index: 2;
}

.wave-layer {
    position: absolute;
    left: -5%;
    width: 110%;
    top: 0;
}

.wave-layer svg {
    display: block;
    width: 200%;
    height: 50px;
}

.wave-layer:nth-child(1) svg {
    animation: wave-scroll 7s linear infinite;
    fill: rgba(60, 160, 220, 0.25);
}

.wave-layer:nth-child(2) svg {
    animation: wave-scroll 11s linear infinite reverse;
    fill: rgba(40, 130, 200, 0.15);
}

.wave-layer:nth-child(3) svg {
    animation: wave-scroll 9s linear infinite;
    fill: rgba(80, 190, 240, 0.1);
}

@keyframes wave-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Light flicker coming through the surface */
.surface-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(100, 210, 255, 0.12) 0%,
        rgba(60, 160, 220, 0.04) 40%,
        transparent 100%
    );
    animation: surface-flicker 3s ease-in-out infinite;
}

@keyframes surface-flicker {
    0%, 100% { opacity: 0.5; }
    30% { opacity: 1; }
    60% { opacity: 0.6; }
    80% { opacity: 0.9; }
}

/* ══════════════════════════════════
   UNDERWATER BUBBLES
   ══════════════════════════════════ */
.bubbles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ══════════════════════════════════
   CURSOR GLOW
   ══════════════════════════════════ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 190, 76, 0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* ══════════════════════════════════
   LANGUAGE SWITCHER (floating)
   ══════════════════════════════════ */
.lang-switcher {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 6px;
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px 6px;
}

.lang-btn {
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    line-height: 1;
}

.lang-btn:hover,
.lang-btn.active {
    opacity: 1;
    border-color: var(--border-hover);
    background: rgba(255, 190, 76, 0.05);
}


/* ══════════════════════════════════
   SIDE NAVIGATION
   ══════════════════════════════════ */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    padding-left: 16px;
    pointer-events: none;
}

.side-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: auto;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 190, 76, 0.1);
    border-radius: 12px;
    padding: 14px 10px;
}

.side-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    position: relative;
    padding: 10px 14px;
    border-radius: 8px;
    transition: background 0.3s;
}

.side-nav-link:hover {
    background: rgba(255, 190, 76, 0.06);
}

.side-nav-link.active {
    background: rgba(255, 190, 76, 0.1);
}

.side-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
}

.side-nav-link:hover .side-nav-dot {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(255, 190, 76, 0.4);
}

.side-nav-link.active .side-nav-dot {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 18px rgba(255, 190, 76, 0.6);
}

.side-nav-label {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.side-nav-link:hover .side-nav-label {
    color: var(--gold);
}

.side-nav-link.active .side-nav-label {
    color: var(--gold);
    text-shadow: 0 0 12px rgba(255, 190, 76, 0.4);
}

@media (max-width: 768px) {
    .side-nav {
        display: none;
    }
}

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        url('bg-ocean.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 70%, rgba(26, 58, 92, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 20%, rgba(255, 190, 76, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, rgba(4, 10, 20, 0.75) 0%, rgba(13, 30, 54, 0.7) 40%, rgba(10, 22, 40, 0.85) 100%);
    z-index: 0;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-fog {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 40%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, transparent 100%);
    z-index: 3;
    animation: fog-drift 20s ease-in-out infinite;
}

.hero-fog--2 {
    animation-delay: -10s;
    opacity: 0.5;
    animation-duration: 25s;
}

@keyframes fog-drift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3%); }
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(4, 10, 20, 0.8) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    padding: 0 24px;
}

.hero-logo {
    max-width: 550px;
    width: 90%;
    height: auto;
    margin-bottom: 28px;
    filter: drop-shadow(0 0 60px rgba(255, 190, 76, 0.2)) drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: hero-logo-in 1.2s ease-out both 0.3s;
}

@keyframes hero-logo-in {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    animation: hero-fade-in 1s ease-out both 0.6s;
}

.hero-divider span {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    margin-bottom: 20px;
    animation: hero-fade-in 1s ease-out both 0.8s;
}

.hero-motto {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto 44px;
    animation: hero-fade-in 1s ease-out both 1s;
}

@keyframes hero-fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: hero-fade-in 1s ease-out both 1.2s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    border: 1px solid var(--gold);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 190, 76, 0.35), 0 0 0 1px var(--gold);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 190, 76, 0.1);
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    border: 1px solid #5865F2;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: none;
    padding: 16px 36px;
    border-radius: 8px;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
    background: #4752c4;
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    opacity: 0.4;
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
    50% { opacity: 0.6; transform: scaleY(1); }
}

.hero-waves {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 6;
}

.hero-waves svg {
    display: block;
    width: 100%;
    height: 120px;
}

/* ══════════════════════════════════
   STATS BAR
   ══════════════════════════════════ */
.stats-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 50px 0;
    position: relative;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 190, 76, 0.02), transparent);
}

.stats-bar-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-hover), transparent);
}

/* ══════════════════════════════════
   SECTIONS
   ══════════════════════════════════ */
.section {
    padding: 110px 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(255, 190, 76, 0.08);
    border: 1px solid rgba(255, 190, 76, 0.15);
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ══════════════════════════════════
   SECTION DIVIDER
   ══════════════════════════════════ */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}

.divider-line {
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
}

.divider-ornament {
    opacity: 0.5;
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    to { transform: rotate(360deg); }
}

/* ══════════════════════════════════
   FEATURES / ABOUT
   ══════════════════════════════════ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 190, 76, 0.03);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrap {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 190, 76, 0.06);
    border: 1px solid rgba(255, 190, 76, 0.1);
}

.feature-icon {
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ══════════════════════════════════
   ROSTER
   ══════════════════════════════════ */
.roster-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.roster-leader {
    margin-bottom: 30px;
}

.leader-card {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 190, 76, 0.04) 100%);
    border: 1px solid rgba(255, 190, 76, 0.2);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    overflow: hidden;
}

.leader-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 190, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.leader-rank-badge {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.leader-rank {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.leader-name {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.leader-ship {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 8px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.roster-officers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.officer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 28px 16px;
    text-align: center;
    transition: all 0.3s;
}

.officer-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.officer-rank {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.officer-name {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--text);
}

/* ══════════════════════════════════
   BATTLES / TIMELINE
   ══════════════════════════════════ */
.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), var(--border));
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--gold);
    box-shadow: 0 0 12px rgba(255, 190, 76, 0.3);
}

.timeline-item:first-child .timeline-dot {
    background: var(--gold);
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 190, 76, 0.3); }
    50% { box-shadow: 0 0 24px rgba(255, 190, 76, 0.6); }
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
}

.timeline-season {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 6px;
}

.timeline-result {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.timeline-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.battle-quote {
    margin-top: 60px;
    text-align: center;
}

.battle-quote blockquote {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-muted);
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

.battle-quote blockquote::before,
.battle-quote blockquote::after {
    content: '"';
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
    font-family: Georgia, serif;
}

.battle-quote blockquote::before {
    left: 0;
    top: -10px;
}

.battle-quote blockquote::after {
    content: '"';
    right: 0;
    bottom: -30px;
}

/* ══════════════════════════════════
   RECRUIT
   ══════════════════════════════════ */
.recruit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.recruit-requirements h3 {
    font-family: 'Cinzel', serif;
    color: var(--text);
    font-size: 1.15rem;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.req-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
}

.req-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.req-icon {
    flex-shrink: 0;
}

.req-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 2px;
}

.req-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.recruit-cta-box {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(88, 101, 242, 0.05) 100%);
    border: 1px solid rgba(88, 101, 242, 0.15);
    border-radius: 16px;
    padding: 50px 36px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.recruit-cta-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.recruit-cta-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.cta-flags {
    margin-top: 20px;
    font-size: 1.6rem;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ══════════════════════════════════
   FLOATING DISCORD BANNER
   ══════════════════════════════════ */
/* ══════════════════════════════════
   FLOATING WG CLAN BUTTON
   ══════════════════════════════════ */
.wg-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9997;
    animation: discord-float-in 0.8s ease-out 3.5s both;
}
.wg-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 190, 76, 0.1) 100%);
    border: 1px solid rgba(255, 190, 76, 0.3);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.wg-float-btn:hover {
    transform: scale(1.1);
    border-color: var(--gold);
    box-shadow: 0 6px 30px rgba(255, 190, 76, 0.3);
}

.discord-float {
    position: fixed;
    bottom: 88px;
    right: 28px;
    z-index: 9998;
    animation: discord-float-in 0.8s ease-out 3s both;
}

@keyframes discord-float-in {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.discord-float-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px 14px 16px;
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(88, 101, 242, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.discord-float-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 14px 44px rgba(88, 101, 242, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.discord-float-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: discord-shimmer 3s ease-in-out infinite;
}

@keyframes discord-shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.discord-float-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    border: 2px solid rgba(88, 101, 242, 0.5);
    animation: discord-pulse 2s ease-in-out infinite;
}

@keyframes discord-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.06); opacity: 0; }
}

.discord-float-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.discord-float-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.discord-float-label {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.discord-float-online {
    font-size: 0.72rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.discord-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3ba55d;
    display: inline-block;
    flex-shrink: 0;
    animation: online-blink 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(59, 165, 93, 0.6);
}

@keyframes online-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (max-width: 480px) {
    .discord-float-text { display: none; }
    .discord-float-btn { padding: 16px; border-radius: 50%; }
    .discord-float-pulse { border-radius: 50%; }
}

/* ══════════════════════════════════
   RECRUIT DISCORD CTA (enhanced)
   ══════════════════════════════════ */
.recruit-cta-discord {
    background: linear-gradient(135deg, rgba(15, 25, 45, 0.9) 0%, rgba(88, 101, 242, 0.15) 100%);
    border-color: rgba(88, 101, 242, 0.3);
}

.cta-discord-badge {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-discord-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865F2, #4752c4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.cta-discord-icon-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(88, 101, 242, 0.4);
    animation: discord-pulse 2.5s ease-in-out infinite;
}

.btn-discord-big {
    padding: 18px 44px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.35);
}

.btn-discord-big:hover {
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.55);
}

.cta-discord-online {
    margin-top: 18px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
.footer {
    padding: 60px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-divider {
    height: 1px;
    background: var(--border);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.78rem;
}

.footer-game {
    color: var(--text-dim);
    font-size: 0.78rem;
    opacity: 0.6;
}

/* ══════════════════════════════════
   DEEP SEA BOTTOM
   ══════════════════════════════════ */
.deep-sea-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    z-index: 1;
    pointer-events: none;
}

.wreck {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-45%);
    width: 650px;
    height: auto;
    opacity: 0.7;
    filter: blur(0.3px);
}

.wreck-2 {
    width: 350px;
    left: 8%;
    transform: translateX(0);
    bottom: 15px;
    opacity: 0.4;
    filter: blur(0.8px);
}

.wreck-3 {
    width: 220px;
    left: auto;
    right: 5%;
    transform: translateX(0);
    bottom: 50px;
    opacity: 0.25;
    filter: blur(1.5px);
}

.seabed {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
}

/* Seaweed */
.seaweed {
    position: absolute;
    bottom: 40px;
    animation: sway 4s ease-in-out infinite;
    transform-origin: bottom center;
}

.seaweed-1 { left: 8%; animation-duration: 5s; }
.seaweed-2 { left: 25%; animation-duration: 3.5s; animation-delay: -1s; }
.seaweed-3 { right: 15%; animation-duration: 4.5s; animation-delay: -2s; }
.seaweed-4 { right: 30%; animation-duration: 3.8s; animation-delay: -0.5s; }

@keyframes sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Sharks */
.shark {
    position: fixed;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.shark-1 {
    bottom: 25%;
    animation: swim-right 25s linear infinite;
}

.shark-2 {
    bottom: 35%;
    animation: swim-left 30s linear 8s infinite;
}

.shark-3 {
    bottom: 50%;
    animation: swim-right 40s linear 15s infinite;
    filter: blur(1px);
}

@keyframes swim-right {
    0% { left: -250px; opacity: 0; transform: translateY(0); }
    3% { opacity: 0.8; }
    25% { transform: translateY(-8px); }
    50% { opacity: 0.6; transform: translateY(5px); }
    75% { transform: translateY(-6px); }
    97% { opacity: 0.8; }
    100% { left: calc(100% + 250px); opacity: 0; transform: translateY(0); }
}

@keyframes swim-left {
    0% { right: -250px; opacity: 0; transform: scaleX(-1) translateY(0); }
    3% { opacity: 0.6; }
    25% { transform: scaleX(-1) translateY(6px); }
    50% { opacity: 0.4; transform: scaleX(-1) translateY(-8px); }
    75% { transform: scaleX(-1) translateY(5px); }
    97% { opacity: 0.6; }
    100% { right: calc(100% + 250px); opacity: 0; transform: scaleX(-1) translateY(0); }
}

/* ══════════════════════════════════
   DEPTH SCENES (between sections)
   ══════════════════════════════════ */
.depth-scene {
    position: relative;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 180px;
}

.depth-label {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(100, 180, 240, 0.3);
    writing-mode: vertical-rl;
}

.depth-label-big {
    writing-mode: horizontal-tb;
    font-size: 0.85rem;
    color: rgba(255, 190, 76, 0.25);
    right: auto;
    letter-spacing: 4px;
}

.depth-diver {
    justify-content: flex-start;
    padding-left: 15%;
}

.diver-svg {
    animation: diver-swim 6s ease-in-out infinite;
}

@keyframes diver-swim {
    0%, 100% { transform: translate(0, 0) rotate(-5deg); }
    25% { transform: translate(10px, -8px) rotate(-2deg); }
    50% { transform: translate(5px, 6px) rotate(-8deg); }
    75% { transform: translate(-6px, -4px) rotate(-4deg); }
}

.depth-sub1 {
    justify-content: flex-end;
    padding-right: 10%;
}

.sub1-svg {
    animation: sub-drift 10s ease-in-out infinite;
}

@keyframes sub-drift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.depth-jelly {
    gap: 40px;
}

.jelly-svg {
    animation: jelly-float 7s ease-in-out infinite;
}

.jelly-b {
    animation-delay: -3s;
    animation-duration: 9s;
}

@keyframes jelly-float {
    0%, 100% { transform: translateY(0) scaleY(1); }
    30% { transform: translateY(-18px) scaleY(0.94); }
    60% { transform: translateY(8px) scaleY(1.03); }
}

.depth-sub2 {
    justify-content: flex-start;
    padding-left: 12%;
}

.sub2-svg {
    animation: sub-drift 14s ease-in-out infinite reverse;
}

.depth-final {
    min-height: 100px;
}

/* ══════════════════════════════════
   DEPTH METER
   ══════════════════════════════════ */
.depth-meter {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.depth-line {
    width: 3px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.depth-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, rgba(100, 200, 255, 0.6), rgba(255, 190, 76, 0.4), rgba(255, 80, 50, 0.5));
    border-radius: 3px;
    transition: height 0.1s linear;
    box-shadow: 0 0 8px rgba(100, 200, 255, 0.3);
}

.depth-value {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 190, 76, 0.3);
    white-space: nowrap;
}

.depth-zone {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    max-height: 120px;
    overflow: hidden;
}

/* ══════════════════════════════════
   SINKING SHIP
   ══════════════════════════════════ */
.sinking-ship {
    position: fixed;
    z-index: 3;
    pointer-events: none;
    right: 12%;
    top: -100px;
    opacity: 0;
}

/* ══════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 768px) {
    .depth-meter {
        right: 10px;
    }
    .depth-line {
        height: 120px;
    }
    .depth-value {
        font-size: 0.7rem;
    }
    .depth-zone {
        display: none;
    }
    .wreck { width: 400px; }
    .wreck-2 { display: none; }
    .wreck-3 { display: none; }
    .sinking-ship { display: none; }
    .depth-scene svg { max-width: 80vw; }
    .depth-label { right: 10px; font-size: 0.6rem; }
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    .hero-logo {
        max-width: 360px;
    }

    .section {
        padding: 80px 0;
    }

    .stats-bar-grid {
        gap: 30px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 2rem;
    }

    .recruit-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 280px;
    }

    .hero-motto {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════
   AUTH BAR
   ══════════════════════════════════ */
.auth-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    background: rgba(7, 16, 32, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 190, 76, 0.08);
}

.auth-bar-left {
    display: flex;
    gap: 16px;
}

.auth-bar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.auth-bar-link:hover {
    color: var(--gold);
}

.auth-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #5865F2;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-login:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.auth-user {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 8px;
    transition: background 0.3s;
}

.auth-user:hover {
    background: rgba(255, 190, 76, 0.08);
}

.auth-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 190, 76, 0.3);
}

.auth-username {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.auth-logout {
    color: rgba(255, 255, 255, 0.3);
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
}

.auth-logout:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

@media (max-width: 480px) {
    .auth-bar { padding: 8px 14px; }
    .btn-login span { display: none; }
    .auth-username { display: none; }
}
