/*
Theme Name: Casinos Not On Gamstop
Theme URI: https://casinos-not-on-gamstop.me.uk
Description: Casino affiliate theme for casinos-not-on-gamstop.me.uk
Version: 1.0.0
Author: CNOG Team
Text Domain: nokyc
*/

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

:root {
    --color-primary: #E63946;
    --color-secondary: #1D3557;
    --color-accent: #F4A261;
    --color-bg: #F1FAEE;
    --color-surface: #FFFFFF;
    --color-text: #1D3557;
    --color-text-light: #457B9D;
    --color-border: #D4DDE6;
    --color-green: #2A9D8F;
    --color-red: #E63946;
    --color-star: #F4A261;
    --color-badge: #264653;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
    --section-pad: 60px 0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

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

/* ── UTILITY ─────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section-spacing { padding: var(--section-pad); }

/* ── HEADER ──────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-secondary);
    border-bottom: 3px solid var(--color-primary);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}
.site-name:hover { text-decoration: none; }
.site-name span { color: var(--color-accent); }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.main-nav a:hover { color: var(--color-accent); text-decoration: none; }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    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); }

/* ── HERO ────────────────────────────────────────── */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-secondary);
    text-align: center;
    padding: 80px 24px;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.1;
}
.hero h1 em {
    font-style: normal;
    color: var(--color-accent);
}
.hero p {
    font-size: clamp(16px, 2vw, 20px);
    color: #A8DADC;
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.5;
}
.hero .cta-btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 40px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.hero .cta-btn:hover { background: #c1121f; text-decoration: none; }

/* Inner hero (secondary pages) */
.inner-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--color-secondary);
    text-align: center;
    padding: 60px 24px;
}
.inner-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.inner-hero p {
    font-size: 18px;
    color: #A8DADC;
    max-width: 600px;
}
.inner-hero.tall { min-height: 45vh; }

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}
.hero-badge {
    background: var(--color-badge);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 0;
    border: 1px solid rgba(244,162,97,0.3);
    letter-spacing: 0.5px;
}

/* ── CASINO GRID ──────────────────────────────────── */
.casino-grid-section { background: var(--color-bg); }
.casino-grid-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: left;
}

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

.casino-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.2s;
    position: relative;
}
.casino-card:hover { box-shadow: 0 4px 20px rgba(29,53,87,0.12); }

.casino-card-rank {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.casino-card-logo {
    width: 100%;
    height: 100px;
    background: #0a0e17;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.casino-card-logo img {
    max-height: 70px;
    max-width: 80%;
    object-fit: contain;
}

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

.casino-card-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.casino-card-stars { margin-bottom: 8px; color: var(--color-star); font-size: 14px; }
.casino-card-stars .empty { color: var(--color-border); }

.casino-card-bonus {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: 8px;
    line-height: 1.3;
}

.casino-card-badge {
    display: inline-block;
    background: var(--color-badge);
    color: var(--color-accent);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.casino-card-meta {
    font-size: 12px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.casino-card-cta {
    display: block;
    width: 100%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.casino-card-cta:hover { background: #c1121f; text-decoration: none; color: #fff; }

.casino-card-terms {
    font-size: 10px;
    color: #999;
    text-align: center;
    padding: 6px 16px 10px;
}

/* ── REVIEWS SECTION ─────────────────────────────── */
.reviews-section { background: var(--color-surface); }
.reviews-section > .container > h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
}

.review-block {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border);
}
.review-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.review-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.review-topbar-logo {
    width: 60px;
    height: 60px;
    background: #0a0e17;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 6px;
}
.review-topbar-logo img { max-height: 48px; max-width: 48px; object-fit: contain; }

.review-topbar-info { flex: 1; }
.review-topbar-info h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}
.review-topbar-stars { color: var(--color-star); font-size: 14px; }
.review-topbar-stars .empty { color: var(--color-border); }

.review-topbar-cta {
    display: inline-block;
    background: var(--color-green);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 28px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}
.review-topbar-cta:hover { background: #21867a; text-decoration: none; color: #fff; }

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

.review-body {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: left;
    width: 100%;
}
.review-body h2, .review-body h3, .review-body h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 20px 0 10px;
}
.review-body p { margin-bottom: 12px; }
.review-body ul, .review-body ol { margin: 0 0 12px 24px; }

/* Pros/Cons */
.review-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--color-border);
}
.review-pros, .review-cons { padding: 20px; }
.review-pros { border-right: 1px solid var(--color-border); }
.review-pros-heading, .review-cons-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-bottom: 8px;
}
.review-pros-heading { color: var(--color-green); border-bottom: 2px solid var(--color-green); }
.review-cons-heading { color: var(--color-red); border-bottom: 2px solid var(--color-red); }

.review-pros ul, .review-cons ul { list-style: none; padding: 0; }
.review-pros li, .review-cons li {
    font-size: 14px;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.review-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--color-green); font-weight: 700; }
.review-cons li::before { content: "✗"; position: absolute; left: 0; color: var(--color-red); font-weight: 700; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-section { background: var(--color-bg); }
.faq-section h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: left;
}
.faq-item { margin-bottom: 24px; }
.faq-item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-secondary);
}
.faq-item p { font-size: 15px; line-height: 1.6; }

/* ── AUTHOR BOX ──────────────────────────────────── */
.author-box-section { background: var(--color-surface); }
.author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    border: 1px solid var(--color-border);
    padding: 28px;
}
.author-box-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}
.author-box-info .author-role {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 8px;
}
.author-box-info p { font-size: 14px; line-height: 1.6; }

/* ── CONTENT SECTIONS (plugin injected) ──────────── */
.content-section {
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
}
.content-section h2, .content-section h3, .content-section h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 24px 0 12px;
}
.content-section h2 { font-size: 28px; }
.content-section h3 { font-size: 22px; }
.content-section p { margin-bottom: 14px; }
.content-section ul, .content-section ol { margin: 0 0 14px 24px; }
.content-section a { color: var(--color-primary); text-decoration: underline; }
.content-section a:hover { color: #c1121f; }

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
    background: var(--color-secondary);
    color: #A8DADC;
    padding: 40px 0;
    font-size: 13px;
    line-height: 1.7;
}
.site-footer .footer-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.site-footer .footer-name span { color: var(--color-accent); }
.site-footer .footer-copy { margin-bottom: 16px; }
.site-footer .footer-disclaimer {
    font-size: 11px;
    color: #6d8ea0;
    max-width: 800px;
    line-height: 1.6;
}

/* ── PAGE CONTENT ────────────────────────────────── */
.page-content {
    padding: 60px 0;
    background: var(--color-surface);
}
.page-content .entry-content {
    font-size: 15px;
    line-height: 1.7;
    width: 90%;
    max-width: var(--max-width);
}
.page-content .entry-content h2, .page-content .entry-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 28px 0 12px;
}
.page-content .entry-content h2 { font-size: 28px; }
.page-content .entry-content h3 { font-size: 22px; }
.page-content .entry-content p { margin-bottom: 14px; }
.page-content .entry-content ul, .page-content .entry-content ol { margin: 0 0 14px 24px; }
.page-content .entry-content a { color: var(--color-primary); text-decoration: underline; }

/* ── ABOUT TEAM ──────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.team-member {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    text-align: center;
    padding: 24px;
}
.team-member img { width: 100px; height: 100px; object-fit: cover; margin: 0 auto 12px; }
.team-member h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}
.team-member p { font-size: 13px; color: var(--color-text-light); }

/* ── CONTACT FORM ────────────────────────────────── */
.contact-form-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 40px;
}
.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 14px;
    margin-bottom: 16px;
    background: var(--color-bg);
    color: var(--color-text);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.contact-form button {
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 14px 40px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
}
.contact-form button:hover { background: #c1121f; }

.contact-info-box {
    background: var(--color-secondary);
    color: #fff;
    padding: 28px;
}
.contact-info-box h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 16px;
}
.contact-info-box p { font-size: 14px; color: #A8DADC; margin-bottom: 12px; line-height: 1.6; }

.toast-message {
    display: none;
    background: var(--color-green);
    color: #fff;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
}
.toast-message.visible { display: block; }

/* ── HOW WE RATE ─────────────────────────────────── */
.criteria-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

/* ── LIGHTBOX ────────────────────────────────────── */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    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;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--color-secondary);
        padding: 20px 24px;
        gap: 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .hamburger { display: block; }
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
    .review-screenshots { grid-template-columns: 1fr 1fr; }
    .review-proscons { grid-template-columns: 1fr; }
    .review-pros { border-right: none; border-bottom: 1px solid var(--color-border); }
    .contact-form-wrap { grid-template-columns: 1fr; }
    .author-box { flex-direction: column; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .casino-card-body { padding: 10px; }
    .casino-card-name { font-size: 15px; }
    .hero-badges { gap: 8px; }
    .hero-badge { font-size: 11px; padding: 6px 12px; }
}
