/* Big Bass Splash Guru — v7
   ---------------------------------------- */

:root {
    /* Палитра: глубокая лагуна + рыбацкое золото */
    --bg: #0b1620;
    --bg-2: #0f1d2b;
    --surface: #142634;
    --surface-2: #1a3043;
    --line: rgba(255, 197, 92, 0.14);
    --line-strong: rgba(255, 197, 92, 0.28);

    --gold: #ffc55c;
    --gold-bright: #ffd87a;
    --gold-deep: #c08a30;
    --copper: #e07a3c;
    --teal: #4fb3a8;
    --red: #e2483a;
    --green: #4fae6b;

    --ink: #f3e9d6;
    --ink-soft: #cab9a2;
    --ink-mute: #8a7e6c;

    --radius: 14px;
    --radius-sm: 8px;

    --serif: 'Fraunces', 'Georgia', serif;
    --sans: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow: 0 18px 60px -20px rgba(0, 0, 0, 0.55), 0 4px 14px -6px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--sans);
    font-size: 16.5px;
    line-height: 1.62;
    color: var(--ink);
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 1200px 600px at 50% -100px, rgba(255, 197, 92, 0.07), transparent),
        radial-gradient(ellipse 800px 400px at 100% 30%, rgba(79, 179, 168, 0.05), transparent),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold-bright); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.18;
    color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); margin-top: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.4rem); margin-top: 1.6rem; margin-bottom: 0.6rem; color: var(--gold); }
h4 { font-size: 1.05rem; margin-top: 1.2rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; color: var(--ink-soft); }
p strong { color: var(--ink); font-weight: 600; }
ul, ol { margin: 0 0 1rem 1.4rem; color: var(--ink-soft); }
li { margin-bottom: 0.4rem; }
li::marker { color: var(--gold-deep); }

.lead { font-size: 1.15rem; line-height: 1.55; color: var(--ink); margin-bottom: 1.4rem; }
.eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.7rem;
}

/* --- LAYOUT --- */
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}
.narrow {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* --- HEADER / NAV --- */
.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(11, 22, 32, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 1rem;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.brand:hover { color: var(--gold); }
.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--copper) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px -2px rgba(255, 197, 92, 0.35);
}
.nav-links {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
}
.nav-links a {
    color: var(--ink-soft);
    font-size: 0.93rem;
    font-weight: 500;
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
    transition: all .15s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}
@media (max-width: 760px) {
    .nav-links { display: none; }
}

/* --- HERO --- */
.hero {
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.hero h1 { margin-bottom: 1rem; }
.hero .lead { margin-bottom: 1.5rem; }
.hero-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

/* --- STAT BAR --- */
.stat-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 1.5rem 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
}
.stat-bar .stat {
    padding: 1rem 0.9rem;
    border-right: 1px solid var(--line);
    text-align: center;
}
.stat-bar .stat:last-child { border-right: 0; }
.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 0.3rem;
}
.stat-value {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--gold);
    line-height: 1.05;
}
.stat-sub {
    font-size: 0.75rem;
    color: var(--ink-mute);
    margin-top: 0.15rem;
}
@media (max-width: 640px) {
    .stat-bar { grid-template-columns: repeat(2, 1fr); }
    .stat-bar .stat:nth-child(2) { border-right: 0; }
    .stat-bar .stat:nth-child(1), .stat-bar .stat:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }
}

/* --- CTA BUTTON --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #1a0f00;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 6px 20px -6px rgba(255, 197, 92, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform .15s, box-shadow .15s, color .15s;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -6px rgba(255, 197, 92, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #1a0f00;
}
.btn-ghost {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--line-strong);
    box-shadow: none;
}
.btn-ghost:hover { color: var(--gold-bright); border-color: var(--gold); background: rgba(255, 197, 92, 0.05); }

/* --- HIGH-CONVERSION CTA --- */
.btn-cta {
    background: linear-gradient(180deg, #5fc77a 0%, #3a9c52 100%);
    color: #0c1f12;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 22px -6px rgba(95, 199, 122, 0.45),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    animation: cta-pulse 2.6s ease-in-out infinite;
}
.btn-cta:hover {
    background: linear-gradient(180deg, #6fd88a 0%, #45ad5e 100%);
    color: #0c1f12;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -6px rgba(95, 199, 122, 0.55),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 8px 22px -6px rgba(95, 199, 122, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
    50%      { box-shadow: 0 8px 28px -4px rgba(95, 199, 122, 0.7),  inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}
@media (prefers-reduced-motion: reduce) {
    .btn-cta { animation: none; }
}

/* CTA-card — крупный конверсионный блок с операторами/баннерный */
.cta-card {
    margin: 2rem 0;
    padding: 1.5rem 1.6rem;
    background: linear-gradient(135deg,
        rgba(95, 199, 122, 0.08) 0%,
        rgba(255, 197, 92, 0.06) 100%);
    border: 1px solid rgba(95, 199, 122, 0.3);
    border-radius: var(--radius);
    text-align: center;
}
.cta-card h3 {
    color: var(--ink);
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
}
.cta-card p {
    color: var(--ink-soft);
    margin-bottom: 1rem;
    font-size: 0.96rem;
}
.cta-card .btn-cta { margin-top: 0.3rem; }
.cta-card .cta-disclaimer {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.78rem;
    color: var(--ink-mute);
    letter-spacing: 0.02em;
}

/* Sticky mobile CTA bar — конверсия на телефонах */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(11, 22, 32, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-strong);
    box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, 0.5);
}
.sticky-cta .btn-cta {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1rem;
    font-size: 1rem;
}
@media (max-width: 760px) {
    .sticky-cta { display: block; }
    body { padding-bottom: 80px; }
}

/* --- DEMO PLAYER --- */
.demo-section {
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 197, 92, 0.025), transparent);
}
.demo-header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.demo-frame {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 10;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.demo-frame iframe { width: 100%; height: 100%; border: 0; }
.demo-loader {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    cursor: pointer;
    text-align: center;
    padding: 1rem;
    z-index: 2;
    transition: opacity .3s;
}
.demo-loader:hover .play-button { transform: scale(1.05); box-shadow: 0 12px 28px -6px rgba(255, 197, 92, 0.55); }
.demo-loader.hidden { opacity: 0; pointer-events: none; }
.play-button {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--copper) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px -6px rgba(255, 197, 92, 0.5);
    transition: transform .2s, box-shadow .2s;
}
.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 22px;
    border-color: transparent transparent transparent #1a0f00;
    margin-left: 6px;
}
.demo-meta {
    color: var(--ink-soft);
    font-size: 0.9rem;
    margin-top: 0.6rem;
}
.demo-meta strong { color: var(--gold); }

/* --- SECTIONS --- */
section.content { padding: clamp(2rem, 4vw, 3rem) 0; }
section.content + section.content { border-top: 1px solid var(--line); }

/* --- TABLES --- */
.table-wrap { overflow-x: auto; margin: 1.2rem 0; }
table.spec {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.95rem;
}
table.spec th, table.spec td {
    padding: 0.85rem 1.1rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
table.spec th {
    background: var(--surface-2);
    color: var(--gold);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: 0.01em;
}
table.spec tr:last-child td { border-bottom: 0; }
table.spec tr:hover td { background: rgba(255, 197, 92, 0.025); }
table.spec td:first-child { color: var(--ink-soft); width: 40%; }
table.spec td:last-child { color: var(--ink); font-weight: 500; }

/* --- CARDS / FEATURE GRID --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.feature-card {
    padding: 1.3rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .15s, transform .15s;
}
.feature-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}
.feature-card h3 { margin-top: 0; font-size: 1.1rem; color: var(--gold); }
.feature-card p { margin-bottom: 0; font-size: 0.95rem; }
.feature-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 197, 92, 0.18), rgba(224, 122, 60, 0.1));
    border: 1px solid var(--line-strong);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* --- HIGHLIGHTED CALLOUT --- */
.callout {
    display: flex;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    background: linear-gradient(180deg, rgba(255, 197, 92, 0.06), rgba(255, 197, 92, 0.02));
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}
.callout-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    line-height: 1.4;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--gold); }

/* --- TOC --- */
.toc {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    margin: 1.5rem 0 2rem;
}
.toc-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 0.7rem;
}
.toc ol { margin: 0; padding-left: 1.1rem; }
.toc li { margin-bottom: 0.35rem; font-size: 0.95rem; }
.toc a { color: var(--ink); border-bottom: 1px dashed transparent; }
.toc a:hover { color: var(--gold); border-bottom-color: var(--gold-deep); }

/* --- FAQ accordion --- */
.faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: border-color .15s;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
    cursor: pointer;
    padding: 1rem 1.3rem;
    list-style: none;
    font-family: var(--serif);
    font-weight: 600;
    color: var(--ink);
    font-size: 1.03rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform .2s;
    flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq .faq-body {
    padding: 0 1.3rem 1.1rem;
    color: var(--ink-soft);
    font-size: 0.96rem;
}
.faq .faq-body p:last-child { margin-bottom: 0; }

/* --- SCREENSHOT CARD --- */
.shot {
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.shot img { width: 100%; display: block; }
.shot figcaption {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    color: var(--ink-mute);
    background: var(--surface-2);
    border-top: 1px solid var(--line);
    text-align: center;
    font-style: italic;
}
.shot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

/* --- AUTHOR BOX --- */
.author-box {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin: 2rem 0;
    font-size: 0.92rem;
}
.author-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--gold-deep));
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--bg);
}
.author-box .author-name { color: var(--ink); font-weight: 600; font-family: var(--serif); }
.author-box .author-meta { color: var(--ink-mute); font-size: 0.82rem; margin-top: 0.15rem; }

/* --- RELATED PAGES --- */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.9rem;
    margin: 1rem 0 1.5rem;
}
.related-card {
    display: block;
    padding: 1.1rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    transition: all .15s;
}
.related-card:hover {
    border-color: var(--gold-deep);
    transform: translateY(-2px);
    color: var(--ink);
}
.related-card h4 { font-family: var(--serif); font-size: 1.02rem; margin: 0 0 0.3rem; color: var(--gold); }
.related-card p { margin: 0; font-size: 0.85rem; color: var(--ink-mute); }

/* --- FOOTER --- */
.site-footer {
    margin-top: 3rem;
    padding: 2rem 0 1.5rem;
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    font-size: 0.88rem;
    color: var(--ink-mute);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 { color: var(--ink); font-size: 0.9rem; font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { color: var(--ink-soft); }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.responsible {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

/* --- BREADCRUMBS --- */
.crumbs {
    font-size: 0.85rem;
    color: var(--ink-mute);
    padding: 1rem 0 0;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 0.4rem; color: var(--ink-mute); }

/* --- PROSE article --- */
article.prose p { font-size: 1.02rem; line-height: 1.7; }
article.prose h2:first-of-type { margin-top: 1.5rem; }
article.prose hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2rem 0;
}

/* --- UTILS --- */
.text-gold { color: var(--gold); }
.text-mute { color: var(--ink-mute); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --- ACCESSIBILITY --- */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
