/*
Theme Name: Betting Sites Not On Gamban
Theme URI: https://bettingsitesnotongamban.cn.com
Author: BettingSitesNotOnGamban
Description: Casino affiliate theme for betting sites not on Gamban.
Version: 1.0.0
Text Domain: nokyc-theme
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-bg: #0D0D0D;
    --color-surface: #1A1A2E;
    --color-surface-alt: #16213E;
    --color-accent: #E94560;
    --color-accent-hover: #D63651;
    --color-gold: #F5C518;
    --color-text: #E8E8E8;
    --color-text-muted: #9B9BAD;
    --color-border: #2A2A4A;
    --color-green: #00C853;
    --color-red: #FF3D3D;
    --color-white: #FFFFFF;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
    --radius: 0px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; width: 100%; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--color-white); }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }

p { margin-bottom: 16px; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-surface);
    border-bottom: 2px solid var(--color-accent);
    padding: 0 24px;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
}
.site-logo span { color: var(--color-accent); }
.main-nav { display: flex; gap: 32px; list-style: none; }
.main-nav a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-white); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    margin: 5px 0;
    transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-surface);
    border-bottom: 3px solid var(--color-accent);
    padding: 60px 24px;
}
.hero-inner { max-width: 800px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--color-accent); }
.hero p { font-size: 1.15rem; color: var(--color-text-muted); margin-bottom: 32px; }
.hero-badge {
    display: inline-block;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    margin: 4px;
    border-radius: var(--radius);
}

.btn-primary {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 40px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--color-accent-hover); color: var(--color-white); }

/* ===== INNER HERO ===== */
.inner-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-surface);
    border-bottom: 3px solid var(--color-accent);
    padding: 60px 24px;
}
.inner-hero.tall { min-height: 45vh; }
.inner-hero h1 { margin-bottom: 16px; }
.inner-hero p { color: var(--color-text-muted); font-size: 1.1rem; max-width: 700px; margin: 0 auto 24px; }

/* ===== SECTION SPACING ===== */
.section-spacing { padding: 80px 0; }
.section-heading { text-align: left; margin-bottom: 48px; }
.section-heading h2 { position: relative; display: inline-block; }
.section-heading h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 12px;
}

/* ===== CASINO GRID ===== */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.casino-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}
.casino-card:hover { border-color: var(--color-accent); }
.casino-card-rank {
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    display: inline-block;
}
.casino-card-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.casino-card-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 12px;
}
.casino-card-header h3 { margin-bottom: 6px; font-size: 1.1rem; }
.casino-card-stars { color: var(--color-gold); font-size: 0.9rem; margin-bottom: 4px; }
.casino-card-badge {
    display: inline-block;
    background: var(--color-surface-alt);
    color: var(--color-green);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border: 1px solid var(--color-green);
    border-radius: var(--radius);
}
.casino-card-body { padding: 20px; }
.casino-card-bonus {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 12px;
}
.casino-card-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}
.casino-card-meta strong { color: var(--color-text); }
.casino-card-footer { padding: 0 20px 20px; }
.casino-card-cta {
    display: block;
    width: 100%;
    background: var(--color-accent);
    color: var(--color-white);
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
}
.casino-card-cta:hover { background: var(--color-accent-hover); color: var(--color-white); }
.casino-card-terms { font-size: 0.65rem; color: var(--color-text-muted); text-align: center; margin-top: 8px; }

/* ===== REVIEW BLOCKS ===== */
.review-block {
    background: var(--color-bg);
    margin-bottom: 64px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 64px;
}
.review-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 20px 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    border-radius: var(--radius);
}
.review-topbar-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.review-topbar-info { flex: 1; min-width: 200px; }
.review-topbar-info h3 { margin-bottom: 2px; }
.review-topbar-stars { color: var(--color-gold); font-size: 0.85rem; }
.review-topbar-cta {
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 24px;
    border-radius: var(--radius);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
    white-space: nowrap;
}
.review-topbar-cta:hover { background: var(--color-accent-hover); color: var(--color-white); }

.review-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}
.review-screenshot {
    border: 1px solid var(--color-border);
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius);
}
.review-screenshot img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: opacity 0.2s;
}
.review-screenshot:hover img { opacity: 0.85; }

.review-body { margin-bottom: 32px; line-height: 1.8; }
.review-body p { margin-bottom: 14px; }

.review-pros-cons { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 24px; }
.review-pros-cons th {
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
}
.review-pros-cons th.pros-head { background: var(--color-green); color: var(--color-bg); }
.review-pros-cons th.cons-head { background: var(--color-red); color: var(--color-white); }
.review-pros-cons td {
    padding: 12px 16px;
    vertical-align: top;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ===== FAQ ===== */
.faq-item { margin-bottom: 32px; }
.faq-item h3 { color: var(--color-white); margin-bottom: 8px; font-size: 1.1rem; }
.faq-item p { color: var(--color-text-muted); }

/* ===== AUTHOR BOX ===== */
.author-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    border-radius: var(--radius);
}
.author-box-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius);
}
.author-box-info h4 { margin-bottom: 4px; }
.author-box-info .author-role { color: var(--color-accent); font-size: 0.85rem; margin-bottom: 8px; }
.author-box-info p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-surface);
    border-top: 2px solid var(--color-accent);
    padding: 40px 24px;
    text-align: center;
}
.site-footer .footer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 12px;
}
.site-footer .footer-copy {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}
.site-footer .footer-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}
.contact-form-wrap label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s;
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus { border-color: var(--color-accent); }
.contact-form-wrap textarea { min-height: 150px; resize: vertical; }
.contact-form-wrap .btn-primary { width: 100%; }
.form-toast {
    display: none;
    background: var(--color-green);
    color: var(--color-bg);
    font-weight: 700;
    text-align: center;
    padding: 14px;
    margin-top: 16px;
    border-radius: var(--radius);
}
.form-toast.show { display: block; }

.contact-info-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 32px;
    margin-top: 40px;
    border-radius: var(--radius);
}
.contact-info-box h3 { margin-bottom: 12px; }
.contact-info-box p { color: var(--color-text-muted); font-size: 0.9rem; }

/* ===== PAGE CONTENT (About, How We Rate) ===== */
.page-content {
    line-height: 1.8;
    font-size: 1rem;
}
.page-content h2 { margin-top: 40px; margin-bottom: 16px; }
.page-content h3 { margin-top: 32px; margin-bottom: 12px; }
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin-bottom: 16px; padding-left: 24px; }
.page-content li { margin-bottom: 6px; }
.page-content table { width: 100%; border-collapse: collapse; table-layout: auto; margin-bottom: 24px; }
.page-content th, .page-content td { padding: 8px 12px; text-align: left; border: 1px solid var(--color-border); }
.page-content th { background: var(--color-surface); color: var(--color-white); font-weight: 600; }
.page-content td { background: var(--color-surface-alt); }

/* ===== CONTENT SECTION (plugin injections) ===== */
.content-section { background: var(--color-surface-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.content-section .container { max-width: var(--max-width); }
.content-section h2, .content-section h3, .content-section h4 { color: var(--color-white); }
.content-section p { margin-bottom: 14px; }

/* ===== ABOUT PAGE TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.team-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 32px;
    text-align: center;
    border-radius: var(--radius);
}
.team-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid var(--color-accent);
    margin: 0 auto 16px;
    border-radius: var(--radius);
}
.team-card h4 { margin-bottom: 4px; }
.team-card .team-role { color: var(--color-accent); font-size: 0.85rem; margin-bottom: 8px; }
.team-card p { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ===== HOW WE RATE BADGES ===== */
.criteria-badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.criteria-badge {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: var(--radius);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 2px solid var(--color-accent);
    }
    .main-nav.active { display: flex; }
    .hamburger { display: block; }
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-screenshots { grid-template-columns: 1fr; }
    .review-screenshot img { height: 180px; }
    .author-box { flex-direction: column; }
    .team-grid { grid-template-columns: 1fr; }
    .hero { min-height: 50vh; padding: 40px 24px; }
    .section-spacing { padding: 48px 0; }
}

@media (max-width: 480px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .casino-card-header { padding: 14px; }
    .casino-card-body { padding: 14px; }
    .casino-card-footer { padding: 0 14px 14px; }
    .casino-card-logo { width: 80px; height: 40px; }
    .casino-card-bonus { font-size: 0.85rem; }
    .hero { min-height: 45vh; }
}
