/*
Theme Name: NonGamstop Casinos With Bonus
Theme URI: https://nongamstopcasinoswithbonus.org.uk
Description: Casino affiliate theme for Non Gamstop Casinos With Bonus
Author: NGCWB Team
Version: 1.0.0
Text Domain: nokyc
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

:root {
    --bg-dark: #0D0F1A;
    --bg-card: #161829;
    --bg-card-hover: #1C1F35;
    --bg-section-alt: #111325;
    --accent-gold: #F0B90B;
    --accent-gold-hover: #D4A20A;
    --accent-red: #E63946;
    --accent-green: #2ECC71;
    --accent-blue: #3A86FF;
    --text-primary: #EAEAEA;
    --text-secondary: #9DA3B4;
    --text-muted: #6B7280;
    --border-color: #2A2D42;
    --border-highlight: #F0B90B;
    --max-width: 1280px;
    --header-height: 64px;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
}

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

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

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

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

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-dark);
    border-bottom: 2px solid var(--accent-gold);
    height: var(--header-height);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.site-logo {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-gold);
    letter-spacing: -0.5px;
    white-space: nowrap;
}
.site-logo span { color: var(--text-primary); }

.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent-gold); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 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); }

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0; bottom: 0;
    background: var(--bg-dark);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 0;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
    display: block;
    padding: 16px 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav a:hover { color: var(--accent-gold); }

/* ── Hero ── */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    background: var(--bg-dark);
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
}
.hero-content { max-width: 900px; }
.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero h1 .highlight { color: var(--accent-gold); }
.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ── Inner Hero (secondary pages) ── */
.inner-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-section-alt);
    position: relative;
}
.inner-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
}
.inner-hero.tall { min-height: 45vh; }
.inner-hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
}
.inner-hero h1 .highlight { color: var(--accent-gold); }
.inner-hero p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 24px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}
.hero-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    border-radius: 0;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    border-radius: 0;
    text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-gold {
    background: var(--accent-gold);
    color: var(--bg-dark);
}
.btn-gold:hover {
    background: var(--accent-gold-hover);
    color: var(--bg-dark);
}
.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}
.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}
.btn-red {
    background: var(--accent-red);
    color: #fff;
}
.btn-red:hover { background: #c62d38; color: #fff; }

/* ── Section Spacing ── */
.section-spacing {
    padding: 80px 0;
}
.section-alt {
    background: var(--bg-section-alt);
}
.section-heading {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 40px;
    text-align: left;
    position: relative;
    padding-bottom: 16px;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

/* ── Casino Grid ── */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    transition: border-color 0.2s, background 0.2s;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}
.casino-card:hover {
    border-color: var(--accent-gold);
    background: var(--bg-card-hover);
}
.casino-card-rank {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.casino-card-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    margin-bottom: 16px;
    background: #0a0c16;
    padding: 8px;
    border-radius: 0;
}
.casino-card-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.casino-card-stars {
    color: var(--accent-gold);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.casino-card-bonus {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 12px;
    line-height: 1.4;
}
.casino-card-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 4px;
    line-height: 1.5;
}
.casino-card-meta strong { color: var(--text-primary); }
.casino-card-badge {
    display: inline-block;
    background: var(--accent-green);
    color: var(--bg-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    margin: 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
}
.casino-card-cta {
    margin-top: auto;
    padding-top: 16px;
}
.casino-card-cta .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
}
.casino-card-terms {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ── Review Blocks ── */
.review-block {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 60px;
}
.review-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.review-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--bg-card);
    border-left: 3px solid var(--accent-gold);
}
.review-topbar-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    background: #0a0c16;
    padding: 6px;
}
.review-topbar-info { flex: 1; min-width: 200px; }
.review-topbar-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}
.review-topbar-info .stars {
    color: var(--accent-gold);
    font-size: 16px;
    letter-spacing: 2px;
}
.review-topbar-cta .btn {
    white-space: nowrap;
    padding: 12px 28px;
}
.review-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.review-screenshot {
    cursor: pointer;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s;
}
.review-screenshot:hover { border-color: var(--accent-gold); }
.review-screenshot img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.review-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.review-body h2, .review-body h3, .review-body h4 {
    margin: 24px 0 12px;
    color: var(--text-primary);
}
.review-body p { margin-bottom: 16px; }
.review-body ul, .review-body ol { margin: 0 0 16px 24px; }

/* Pros/Cons Table */
.pros-cons-table {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}
.pros-col, .cons-col { padding: 20px; }
.pros-col {
    background: rgba(46, 204, 113, 0.05);
    border-right: 1px solid var(--border-color);
}
.cons-col {
    background: rgba(230, 57, 70, 0.05);
}
.pros-col h4 {
    color: var(--accent-green);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 700;
}
.cons-col h4 {
    color: var(--accent-red);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 700;
}
.pros-col ul, .cons-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pros-col li, .cons-col li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.pros-col li::before {
    content: '✓ ';
    color: var(--accent-green);
    font-weight: 700;
}
.cons-col li::before {
    content: '✗ ';
    color: var(--accent-red);
    font-weight: 700;
}

/* ── FAQ ── */
.faq-item {
    margin-bottom: 32px;
}
.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Author Box ── */
.author-box {
    display: flex;
    gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    margin: 0;
}
.author-box-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--accent-gold);
}
.author-box-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.author-box-info .role {
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.author-box-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
    background: var(--bg-dark);
    border-top: 2px solid var(--accent-gold);
    padding: 40px 0;
    text-align: left;
}
.footer-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 12px;
}
.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.footer-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 800px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* ── Lightbox ── */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 24px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid var(--accent-gold);
}

/* ── Content Section (plugin injected) ── */
.content-section {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.content-section h2, .content-section h3, .content-section h4 {
    margin: 24px 0 12px;
    color: var(--text-primary);
}
.content-section p { margin-bottom: 16px; }
.content-section ul, .content-section ol { margin: 0 0 16px 24px; }
.content-section table { width: 100%; border-collapse: collapse; table-layout: auto; margin-bottom: 16px; }
.content-section th, .content-section td { padding: 8px 12px; text-align: left; border: 1px solid var(--border-color); color: var(--text-secondary); }
.content-section th { background: var(--bg-card); color: var(--text-primary); font-weight: 600; }

/* ── Page Content ── */
.page-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}
.page-content h2, .page-content h3, .page-content h4 {
    margin: 32px 0 12px;
    color: var(--text-primary);
}
.page-content p { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; }
.page-content table { width: 100%; border-collapse: collapse; table-layout: auto; margin-bottom: 16px; }
.page-content th, .page-content td { padding: 8px 12px; text-align: left; border: 1px solid var(--border-color); color: var(--text-secondary); }
.page-content th { background: var(--bg-card); color: var(--text-primary); font-weight: 600; }

/* ── Contact Form ── */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    max-width: 640px;
}
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    margin-bottom: 20px;
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-gold);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { width: 100%; }

.contact-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    margin-top: 32px;
    max-width: 640px;
}
.contact-info-box h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--accent-gold);
}
.contact-info-box p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ── Toast ── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--accent-green);
    color: var(--bg-dark);
    padding: 14px 24px;
    font-weight: 700;
    font-size: 14px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
}
.toast.active { transform: translateY(0); opacity: 1; }

/* ── Team Grid (About) ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.team-member {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
}
.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 2px solid var(--accent-gold);
}
.team-member h4 { font-size: 16px; margin-bottom: 4px; }
.team-member p { font-size: 13px; color: var(--text-secondary); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { min-height: 50vh; padding: 60px 16px; }
    .inner-hero { min-height: 35vh; }
    .inner-hero.tall { min-height: 38vh; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-screenshots { grid-template-columns: 1fr; }
    .review-screenshot img { height: 180px; }
    .pros-cons-table { grid-template-columns: 1fr; }
    .pros-col { border-right: none; border-bottom: 1px solid var(--border-color); }
    .author-box { flex-direction: column; }
    .contact-form { padding: 24px; }
    .section-spacing { padding: 48px 0; }
}
@media (max-width: 480px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .casino-card { padding: 16px; }
    .casino-card-name { font-size: 15px; }
    .casino-card-bonus { font-size: 13px; }
}
