/* =========================================================
   ROOT VARIABLES
   ========================================================= */

:root {
    --bg:#07120f;
    --bg2:#101d18;
    --card:#12251f;
    --card2:#183128;
    --text:#eef7ef;
    --muted:#b8c8bc;
    --accent:#9bd46a;
    --accent2:#d7a84a;
    --line:rgba(255,255,255,.12);
    --shadow:0 24px 60px rgba(0,0,0,.35)
}

/* =========================================================
   RESET / BASE
   ========================================================= */

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth
}

body {
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.55
}

body:before {
    content:"";
    position:fixed;
    inset:0;
    background:linear-gradient(90deg,rgba(7,18,15,.97),rgba(7,18,15,.72)), url('../backgrounds/bg_default.png') center/cover no-repeat;
    z-index:-2
}

a {
    color:inherit;
    text-decoration:none
}

img {
    max-width:100%;
    display:block
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
    min-height:100vh
}

.navbar {
    position:sticky;
    top:0;
    z-index:20;
    display:flex;
    align-items:center;
    gap:22px;
    padding:14px clamp(18px,5vw,70px);
    background:rgba(7,18,15,.82);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line)
}

.brand {
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:800;
    letter-spacing:.08em
}

.brand img {
    width:80px;
    height:80px;
    object-fit:contain
}

.nav-links {
    display:flex;
    gap:6px;
    margin-left:auto
}

.nav-links a, .language-switch button, .nav-toggle {
    border:1px solid transparent;
    background:transparent;
    color:var(--text);
    padding:10px 14px;
    border-radius:999px;
    font-weight:700;
    cursor:pointer
}

.nav-links a:hover, .language-switch button.active {
    border-color:var(--accent);
    background:rgba(155,212,106,.13)
}

.language-switch {
    display:flex;
    border:1px solid var(--line);
    border-radius:999px;
    padding:3px
}

.nav-toggle {
    display:none;
    margin-left:auto
}

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

.hero {
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:44px;
    align-items:center;
    min-height:calc(100vh - 80px);
    padding:70px clamp(18px,5vw,70px)
}

.eyebrow {
    color:var(--accent);
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
    font-size:.78rem
}

.hero h1 {
    font-size:clamp(2.4rem,5vw,5.2rem);
    line-height:.98;
    margin:10px 0 22px
}

.hero p, .section-head p {
    max-width:780px;
    color:var(--muted);
    font-size:1.1rem
}

.btn {
    display:inline-flex;
    padding:13px 20px;
    border-radius:999px;
    margin:6px 10px 0 0;
    font-weight:800;
    border:1px solid var(--line)
}

.btn.primary {
    background:linear-gradient(135deg,var(--accent),#589b39);
    color:#07120f
}

.btn.ghost {
    background:rgba(255,255,255,.06)
}

.hero-card {
    background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
    border:1px solid var(--line);
    border-radius:32px;
    padding:18px;
    box-shadow:var(--shadow);
    transform:rotate(1deg)
}

.hero-card img {
    border-radius:24px;
    max-height:620px;
    margin:auto;
    object-fit:contain
}

.hero-card div {
    padding:18px
}

.hero-card span {
    display:block;
    color:var(--muted)
}

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

.section {
    padding:86px clamp(18px,5vw,70px);
    background:rgba(7,18,15,.88)
}

.section.dark {
    background:rgba(10,30,24,.94)
}

.section-head {
    margin-bottom:34px
}

.section h2 {
    font-size:clamp(2rem,4vw,3.6rem);
    margin:0
}

.feature-grid, .screen-grid, .fish-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px
}

.feature, .panel, .screen-card, .fish-card {
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    border-radius:24px;
    padding:22px;
    box-shadow:0 10px 30px rgba(0,0,0,.18)
}

.feature img {
    width:70px;
    height:70px;
    object-fit:contain
}

.feature p, .screen-card p, .fish-card p {
    color:var(--muted)
}

/* =========================================================
   METHOD ROW
   ========================================================= */

.method-row {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-top:28px
}

.method-row div {
    display:flex;
    align-items:center;
    gap:14px;
    background:rgba(255,255,255,.06);
    border:1px solid var(--line);
    border-radius:20px;
    padding:16px;
    font-weight:800
}

.method-row img {
    width:58px;
    height:58px;
    object-fit:contain
}

/* =========================================================
   HELP SCREENS / BUTTONS
   ========================================================= */

.screen-card img.screen {
    height:360px;
    width:100%;
    object-fit:contain;
    border-radius:18px;
    background:#08110e
}

.screen-card h3 {
    margin-bottom:8px
}

.button-help {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px
}

.button-item {
    display:flex;
    gap:14px;
    align-items:center;
    padding:16px;
    border-radius:18px;
    background:rgba(255,255,255,.06);
    border:1px solid var(--line)
}

.button-item img {
    width:48px;
    height:48px;
    object-fit:contain
}

.button-item small {
    display:block;
    color:var(--muted)
}

.subheading {
    margin-top:42px
}

/* =========================================================
   RANKINGS / RECORDS
   ========================================================= */

.updated {
    color:var(--accent2);
    font-weight:800;
    margin-bottom:16px
}

.ranking-layout {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px
}

table {
    width:100%;
    border-collapse:collapse
}

th, td {
    text-align:left;
    padding:12px;
    border-bottom:1px solid var(--line)
}

th {
    color:var(--accent);
    font-size:.86rem;
    text-transform:uppercase
}

.record-list {
    display:grid;
    gap:14px
}

.record {
    display:grid;
    grid-template-columns:86px 1fr auto;
    gap:14px;
    align-items:center;
    background:rgba(255,255,255,.05);
    border:1px solid var(--line);
    border-radius:18px;
    padding:12px
}

.record img {
    width:86px;
    height:62px;
    object-fit:contain
}

.record strong {
    display:block
}

.record span, .record small {
    color:var(--muted)
}

/* =========================================================
   FISH LEXICON
   ========================================================= */

.fish-filter {
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:20px
}

.fish-filter input {
    width:min(420px,100%);
    padding:14px 16px;
    border-radius:999px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.08);
    color:var(--text)
}

.fish-card img {
    height:150px;
    width:100%;
    object-fit:contain
}

.fish-meta {
    display:flex;
    gap:8px;
    flex-wrap:wrap
}

.fish-meta span {
    background:rgba(155,212,106,.12);
    border:1px solid rgba(155,212,106,.25);
    border-radius:999px;
    padding:5px 10px;
    color:var(--accent);
    font-size:.85rem
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    display:flex;
    align-items:center;
    gap:14px;
    padding:28px clamp(18px,5vw,70px);
    border-top:1px solid var(--line);
    background:#050b09
}

.footer img {
    width:44px
}

.footer a {
    margin-left:auto;
    color:var(--accent);
    font-size:1.6rem
}


/* =========================================================
   EXPANDABLE RANKINGS / SUPPORTER / DOWNLOAD
   ========================================================= */

.table-wrap {
    overflow-x:auto;
}

.ranking-toggle {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:16px;
    padding:11px 18px;
    border-radius:999px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.06);
    color:var(--text);
    font-weight:800;
    cursor:pointer;
}

.ranking-toggle:hover {
    border-color:var(--accent);
    background:rgba(155,212,106,.13);
}

.ranking-toggle[hidden] {
    display:none;
}

.supporter-wrap, .download-wrap {
    display:grid;
    grid-template-columns:minmax(180px,280px) 1fr;
    gap:28px;
    align-items:center;
}

.download-wrap {
    grid-template-columns:1fr;
    max-width:820px;
}

.supporter-logo {
    width:100%;
    max-width:260px;
    border-radius:28px;
    background:rgba(255,255,255,.92);
    padding:18px;
    box-shadow:0 18px 40px rgba(0,0,0,.22);
}

.supporter-card, .download-card {
    background:linear-gradient(180deg,var(--card),var(--card2));
    border:1px solid var(--line);
    border-radius:24px;
    padding:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.18);
}

.supporter-card p, .download-card p, .download-steps {
    color:var(--muted);
}

.supporter-benefits {
    margin:18px 0 0;
    padding-left:20px;
    color:var(--muted);
    line-height:1.8;
}

.download-meta {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:18px 0;
}

.download-meta span {
    padding:8px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.06);
    border:1px solid var(--line);
}

.download-steps {
    margin:18px 0 0;
    line-height:1.7;
}

@media (max-width:760px) {
    .supporter-wrap, .download-wrap {
        grid-template-columns:1fr;
    }

    .supporter-logo {
        margin:0 auto;
    }
}


/* =========================================================
   RESPONSIVE: TABLET
   ========================================================= */

@media (max-width:980px) {
    .hero, .ranking-layout {
        grid-template-columns:1fr
    }

.feature-grid, .screen-grid, .fish-grid {
        grid-template-columns:repeat(2,1fr)
    }

.button-help {
        grid-template-columns:repeat(2,1fr)
    }
}

/* =========================================================
   RESPONSIVE: MOBILE
   ========================================================= */

@media (max-width:680px) {
    .nav-toggle {
        display:block
    }

.nav-links {
        display:none;
        position:absolute;
        left:16px;
        right:16px;
        top:78px;
        flex-direction:column;
        background:#07120f;
        border:1px solid var(--line);
        border-radius:20px;
        padding:12px
    }

.nav-links.open {
        display:flex
    }

.language-switch {
        margin-left:0
    }

.hero {
        padding-top:38px
    }

.feature-grid, .screen-grid, .fish-grid, .method-row, .button-help {
        grid-template-columns:1fr
    }

.screen-card img.screen {
        height:auto
    }

.record {
        grid-template-columns:70px 1fr
    }

.record .score {
        grid-column:2
    }

.navbar {
        gap:8px
    }

.brand span {
        display:none
    }
}
