
/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    background: #16161d;
    color: #ffffff;
    line-height: 1.7;
    font-size: 1rem;
    min-height: 100vh;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #22ff37; text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: #34c668; text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
blockquote {
    border-left: 3px solid #22ff37;
    background: rgba(34,255,55,0.06);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}
blockquote p { margin: 0; }

/* ============================
   CSS VARIABLES
   ============================ */
:root {
    --color-primary: #22ff37;
    --color-primary-dark: #34c668;
    --color-secondary: #663cd6;
    --color-secondary-hover: #5630b8;
    --color-bg: #16161d;
    --color-card: #0e1a13;
    --color-card-gradient: linear-gradient(90deg, #08080c, #0e231d);
    --color-purple-gradient: linear-gradient(105deg, #763bc2 0%, #5a2da0 32%, #271643 68%, #08080b 100%);
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.65);
    --color-green-muted: #82a08c;
    --color-divider: rgba(255, 255, 255, 0.18);
    --color-red: #eb2827;
    --font-heading: 'Tomorrow', system-ui, sans-serif;
    --font-body: 'Poppins', system-ui, sans-serif;
    --radius: 10px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --shadow: 0 2px 12px rgba(0,0,0,0.3);
    --max-width: 1200px;
    --transition: 0.2s ease;
    --sidebar-width: 260px;
}

/* ============================
   SKIP LINK
   ============================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: #16161d;
    padding: 0.5rem 1rem;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { top: 0; }

/* ============================
   HEADER / TOP BAR
   ============================ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(22, 22, 29, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-divider);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}
.brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.brand:hover { color: var(--color-primary); text-decoration: none; }
.brand-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.top-bar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(90deg, #22ff37 0%, #34c668 100%);
    color: #16161d;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.top-bar-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(34, 255, 55, 0.3);
    color: #16161d;
    text-decoration: none;
}
.top-bar-cta:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ============================
   HAMBURGER
   ============================ */
.hamburger-toggle { display: none; }
.hamburger-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}
.hamburger-label span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger-toggle:checked ~ .hamburger-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-toggle:checked ~ .hamburger-label span:nth-child(2) {
    opacity: 0;
}
.hamburger-toggle:checked ~ .hamburger-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   SIDEBAR NAV
   ============================ */
.sidebar {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    background: rgba(14, 26, 19, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
    overflow-y: auto;
    transition: left 0.3s ease;
    border-right: 1px solid var(--color-divider);
    padding: 1rem 0;
}
.hamburger-toggle:checked ~ .sidebar { left: 0; }
.sidebar-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
}
.hamburger-toggle:checked ~ .sidebar-overlay { display: block; }

.sidebar-nav { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { margin: 0; }
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.25rem;
    color: rgba(255,255,255,0.75);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-nav a:hover,
.sidebar-nav a:focus {
    background: rgba(34, 255, 55, 0.08);
    color: var(--color-primary);
    text-decoration: none;
    border-left-color: var(--color-primary);
}
.sidebar-nav a[aria-current="page"] {
    background: rgba(34, 255, 55, 0.12);
    color: var(--color-primary);
    font-weight: 700;
    border-left-color: var(--color-primary);
}
.sidebar-nav .nav-icon {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}
.sidebar-divider {
    height: 1px;
    background: var(--color-divider);
    margin: 0.75rem 1.25rem;
}

/* ============================
   MAIN CONTENT
   ============================ */
.page-body {
    padding-top: 60px;
    min-height: 100vh;
}
.content-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

/* ============================
   HERO
   ============================ */
.hero {
    background: var(--color-card-gradient);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(34,255,55,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.hero-badge {
    display: inline-block;
    background: rgba(34,255,55,0.12);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}
.hero-desc {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.hero-cta-row {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-decoration: none;
    border: none;
    line-height: 1.3;
}
.btn:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.btn-primary {
    background: linear-gradient(90deg, #22ff37 0%, #34c668 100%);
    color: #16161d;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 255, 55, 0.35);
    color: #16161d;
    text-decoration: none;
}
.btn-ghost {
    background: var(--color-card-gradient);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}
.btn-ghost:hover {
    background: rgba(34, 255, 55, 0.1);
    transform: translateY(-2px);
    color: var(--color-primary);
    text-decoration: none;
}

/* ============================
   ARTICLE CONTENT
   ============================ */
.article-content { position: relative; }
.article-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #fff;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-divider);
}
.article-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: var(--color-primary);
}
.article-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: rgba(255,255,255,0.9);
}
.article-content p {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
}
.article-content ul, .article-content ol {
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.88);
}
.article-content li {
    margin-bottom: 0.4rem;
    line-height: 1.65;
}
.article-content strong { color: #fff; }

/* ============================
   TABLES
   ============================ */
.table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    border: 1px solid rgba(34, 255, 55, 0.2);
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: var(--color-card);
}
.article-content thead {
    background: rgba(34, 255, 55, 0.1);
}
.article-content th {
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: left;
    padding: 0.75rem 1rem;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(34, 255, 55, 0.2);
    white-space: nowrap;
}
.article-content td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--color-divider);
    color: rgba(255,255,255,0.85);
}
.article-content tbody tr:last-child td { border-bottom: none; }
.article-content tbody tr:hover { background: rgba(34, 255, 55, 0.04); }

/* ============================
   IMAGE PLACEHOLDERS
   ============================ */
.img-placeholder { margin: 1.5rem 0; }
.img-placeholder-inner {
    background: linear-gradient(135deg, #0e1a13 0%, #1a2a22 50%, #0e1a13 100%);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
}
.img-placeholder-icon {
    font-size: 2rem;
    color: var(--color-primary);
    opacity: 0.5;
}
.img-placeholder-text {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-align: center;
    max-width: 300px;
}
.img-placeholder figcaption {
    color: var(--color-green-muted);
    font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem 0;
    font-style: italic;
}

/* ============================
   FAQ ACCORDION
   ============================ */
.faq-accordion { margin: 1.5rem 0; }
.faq-item {
    background: var(--color-card-gradient);
    border: 1px solid var(--color-divider);
    border-radius: var(--radius);
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item[open] { border-color: rgba(34, 255, 55, 0.3); }
.faq-question {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
    list-style: none;
    transition: background var(--transition);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
    content: '\2212';
    transform: rotate(180deg);
}
.faq-question:hover { background: rgba(34, 255, 55, 0.05); }
.faq-question:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}
.faq-answer {
    padding: 0 1.25rem 1rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}
.faq-answer p { margin-bottom: 0.75rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================
   IN-CONTENT CTA BLOCK
   ============================ */
.cta-block {
    background: var(--color-purple-gradient);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    margin: 2.5rem 0;
    border: 1px solid rgba(118, 59, 194, 0.3);
}
.cta-block-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}
.cta-block-text {
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

/* ============================
   STICKY FLOATING CTA
   ============================ */
.floating-cta {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 900;
}
.floating-cta .btn {
    box-shadow: 0 4px 20px rgba(34, 255, 55, 0.4);
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background: #0a0a0f;
    border-top: 1px solid var(--color-divider);
    padding: 3rem 1rem 1.5rem;
    margin-top: 3rem;
}
.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-primary); text-decoration: none; }
.footer-disclaimer {
    border-top: 1px solid var(--color-divider);
    padding-top: 1.5rem;
    text-align: center;
}
.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.badge-18 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--color-red);
    color: var(--color-red);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
}
.badge-mga {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--color-divider);
    border-radius: var(--radius);
}
.footer-copy {
    color: var(--color-green-muted);
    font-size: 0.78rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}
.footer-copy a { color: var(--color-green-muted); }
.footer-copy a:hover { color: var(--color-primary); }

/* ============================
   18+ WARNING OVERLAY (first visit)
   ============================ */
.age-gate {
    display: none;
}

/* ============================
   BREAKPOINT 768px+
   ============================ */
@media (min-width: 768px) {
    .top-bar { padding: 0 1.5rem; }
    .hamburger-label { display: none; }
    .sidebar {
        left: 0;
        width: var(--sidebar-width);
        background: rgba(14, 26, 19, 0.6);
    }
    .sidebar-overlay { display: none !important; }
    .page-body { padding-left: var(--sidebar-width); }
    .content-wrap { padding: 2.5rem 2rem 4rem; }
    .hero { padding: 3rem 2.5rem; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .floating-cta { bottom: 1.5rem; right: 1.5rem; }
    .table-wrap { overflow-x: visible; }
    .img-placeholder-inner { min-height: 280px; }
}

@media (min-width: 1024px) {
    .content-wrap { padding: 3rem 2.5rem 5rem; }
    .hero { padding: 3.5rem 3rem; }
}

/* ============================
   PRINT
   ============================ */
@media print {
    .top-bar, .sidebar, .sidebar-overlay, .floating-cta,
    .hero-cta-row, .cta-block, .btn { display: none !important; }
    body { background: #fff; color: #000; }
    .page-body { padding-left: 0; }
    .article-content h2 { border-bottom-color: #ccc; color: #000; }
    .article-content h3 { color: #333; }
    .article-content p, .article-content li, .article-content td { color: #222; }
    a { color: #000; }
    .site-footer { background: #f5f5f5; border-top-color: #ccc; }
}
