/*
Theme Name: Darts Not On Gamstop
Theme URI: https://dartsnotongamstop.org.uk
Description: Casino affiliate theme for Darts Betting Sites Not On Gamstop
Version: 1.0.0
Author: dartsnotongamstop.org.uk
Text Domain: nokyc-darts
*/

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #F59E0B;
    --secondary: #451A03;
    --accent: #FBBF24;
    --bg: #1C1917;
    --surface: #292524;
    --text: #FAF7F5;
    --text-muted: #D6D3D1;
    --cta: #D97706;
    --cta-hover: #F59E0B;
    --border: #44403C;
    --success: #22C55E;
    --danger: #EF4444;
    --radius: 0px;
    --max-w: 1280px;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

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

.section-spacing { padding: 60px 0; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    padding: 0 20px;
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.site-logo a { color: inherit; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover { color: var(--primary); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    padding: 20px;
    z-index: 999;
}

.mobile-menu.active { display: block; }

.mobile-menu ul { list-style: none; }

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text-muted);
    font-size: 16px;
    border-bottom: 1px solid var(--border);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--surface);
    border-bottom: 3px solid var(--primary);
    padding: 40px 20px;
}

.hero-inner { max-width: 800px; }

.hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    margin-bottom: 16px;
    color: var(--text);
}

.hero h1 span { color: var(--primary); }

.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    margin-bottom: 32px;
    text-align: center;
}

.inner-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--surface);
    border-bottom: 3px solid var(--primary);
    padding: 40px 20px;
}

.inner-hero.tall { min-height: 45vh; }

.inner-hero h1 {
    font-size: clamp(26px, 4vw, 42px);
    margin-bottom: 16px;
}

.inner-hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: center;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.badge {
    background: var(--secondary);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn-cta {
    display: inline-block;
    background: var(--cta);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cta:hover { background: var(--cta-hover); color: #fff; }

.btn-cta-sm {
    padding: 10px 24px;
    font-size: 13px;
}

/* ── Casino Grid ──────────────────────────────────────── */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.casino-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.casino-card-rank {
    background: var(--secondary);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    padding: 6px 12px;
    display: inline-block;
}

.casino-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border);
}

.casino-card-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    padding: 4px;
}

.casino-card-logo-placeholder {
    width: 60px;
    height: 60px;
    border: 2px dashed var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-muted);
}

.casino-card-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.casino-card-stars {
    color: var(--primary);
    font-size: 14px;
}

.casino-card-body {
    padding: 16px 20px;
    flex: 1;
}

.casino-card-bonus {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.casino-card-meta {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

.casino-card-meta span {
    display: block;
}

.casino-card-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--success);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    margin-top: 8px;
    border-radius: var(--radius);
}

.casino-card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.casino-card-footer .btn-cta {
    width: 100%;
    text-align: center;
}

.casino-card-terms {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: left;
}

/* ── Review Blocks ────────────────────────────────────── */
.reviews-section h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 40px;
    text-align: left;
}

.review-block {
    margin-bottom: 50px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 50px;
}

.review-block:last-child {
    border-bottom: none;
}

.review-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--surface);
    border-left: 4px solid var(--primary);
}

.review-topbar-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.review-topbar h3 {
    font-size: 22px;
    flex: 1;
}

.review-topbar .casino-card-stars {
    font-size: 16px;
}

.review-topbar .btn-cta {
    margin-left: auto;
}

.review-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.review-screenshot {
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.review-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
}

.review-screenshot:hover img { opacity: 0.8; }

.review-screenshot-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
}

.review-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
    width: 90%;
}

.review-body h2, .review-body h3, .review-body h4 {
    color: var(--text);
    margin: 20px 0 10px;
}

.review-body p { margin-bottom: 14px; }

.review-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.review-pros, .review-cons {
    padding: 20px;
}

.review-pros {
    border-right: 1px solid var(--border);
}

.review-pros h4 {
    color: var(--success);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.review-cons h4 {
    color: var(--danger);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.review-pros ul, .review-cons ul {
    list-style: none;
}

.review-pros li, .review-cons li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.review-pros li:last-child, .review-cons li:last-child {
    border-bottom: none;
}

.review-pros li::before {
    content: "✓ ";
    color: var(--success);
    font-weight: 700;
}

.review-cons li::before {
    content: "✗ ";
    color: var(--danger);
    font-weight: 700;
}

/* ── FAQ ──────────────────────────────────────────────── */
.faq-section h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 32px;
}

.faq-item {
    margin-bottom: 28px;
}

.faq-item h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    width: 90%;
}

/* ── Author Box ───────────────────────────────────────── */
.author-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-box-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.author-box p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────── */
.site-footer {
    background: var(--surface);
    border-top: 2px solid var(--border);
    padding: 40px 20px;
    text-align: left;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.site-footer .site-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.site-footer .copyright {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.site-footer .disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    opacity: 0.7;
}

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    font-weight: 300;
    z-index: 2001;
}

/* ── Contact Form ─────────────────────────────────────── */
.contact-form {
    max-width: 640px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-body);
    margin-bottom: 20px;
    border-radius: var(--radius);
}

.contact-form textarea { min-height: 160px; resize: vertical; }

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px;
    margin-top: 40px;
}

.contact-info-box h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.contact-info-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.toast {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: #fff;
    padding: 16px 24px;
    font-weight: 600;
    z-index: 3000;
    border-radius: var(--radius);
}

.toast.active { display: block; }

/* ── Content Sections (plugin injected) ───────────────── */
.content-section {
    width: 100%;
}

.content-section h2, .content-section h3, .content-section h4 {
    margin: 20px 0 10px;
}

.content-section p {
    margin-bottom: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.content-section ul, .content-section ol {
    margin: 0 0 14px 20px;
    color: var(--text-muted);
}

/* ── Page Content ─────────────────────────────────────── */
.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    width: 90%;
}

.page-content h2, .page-content h3, .page-content h4 {
    color: var(--text);
    margin: 28px 0 12px;
}

.page-content p { margin-bottom: 16px; }

.page-content ul, .page-content ol {
    margin: 0 0 16px 24px;
}

/* ── About Team ───────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.team-member {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.team-member img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.team-member h3 { font-size: 16px; margin-bottom: 4px; }
.team-member p { font-size: 13px; color: var(--text-muted); }

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

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

    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-topbar .btn-cta { margin-left: 0; width: 100%; text-align: center; }
    .review-screenshots { grid-template-columns: 1fr; }
    .review-pros-cons { grid-template-columns: 1fr; }
    .review-pros { border-right: none; border-bottom: 1px solid var(--border); }
    .review-body { width: 100%; }

    .author-box { flex-direction: column; }

    .team-grid { grid-template-columns: 1fr; }
    .team-member { flex-direction: column; }

    .faq-item p { width: 100%; }

    .hero { min-height: 50vh; }
    .inner-hero { min-height: 35vh; }

    .section-spacing { padding: 40px 0; }
}

@media (max-width: 480px) {
    .casino-card-header { padding: 14px; }
    .casino-card-body { padding: 12px 14px; }
    .casino-card-footer { padding: 12px 14px; }
    .casino-card-logo { width: 44px; height: 44px; }
    .casino-card-info h3 { font-size: 14px; }
}
