/*
Theme Name: Casinos Not On Gamban
Theme URI: https://casinosnotongamban.org.uk
Author: CasinosNotOnGamban Team
Author URI: https://casinosnotongamban.org.uk
Description: Casino affiliate theme for casinos not on Gamban.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nokyc
*/

/* ===== RESET & BASE ===== */
@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');

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

:root {
    --primary: #3B82F6;
    --secondary: #0F172A;
    --accent: #60A5FA;
    --background: #020617;
    --surface: #0F172A;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --cta: #1E40AF;
    --cta-hover: #1D4ED8;
    --border: #1E293B;
    --success: #22C55E;
    --danger: #EF4444;
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --max-width: 1280px;
    --radius: 0px;
}

html {
    scroll-behavior: smooth;
}

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

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;
}

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

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

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--secondary);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

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

.site-name:hover {
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.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;
    background: var(--secondary);
    border-bottom: 1px solid var(--border);
}

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

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

.mobile-menu a:hover {
    color: var(--text);
    background: var(--background);
}

/* ===== HERO ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    background: var(--secondary);
    padding: 40px 20px;
}

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

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

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

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

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

/* Inner hero for secondary pages */
.inner-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--secondary);
    padding: 40px 20px;
}

.inner-hero.hero-40 {
    min-height: 40vh;
}

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

.inner-hero h1 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

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

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

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

/* ===== SECTION HEADINGS ===== */
.section-heading {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text);
}

.section-heading span {
    color: var(--primary);
}

/* ===== 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-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border);
}

.casino-rank {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    min-width: 32px;
}

.casino-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.casino-logo-placeholder {
    width: 48px;
    height: 48px;
    border: 2px dashed var(--border);
    flex-shrink: 0;
}

.casino-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.casino-stars {
    color: #FBBF24;
    font-size: 13px;
    margin-top: 2px;
}

.casino-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.casino-bonus {
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}

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

.casino-meta span {
    display: block;
}

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

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

.casino-card-footer .btn-cta {
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

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

/* ===== REVIEW BLOCKS ===== */
.review-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 40px;
    overflow: hidden;
}

.review-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.review-topbar .casino-logo {
    width: 40px;
    height: 40px;
}

.review-topbar-info {
    flex: 1;
    min-width: 200px;
}

.review-topbar-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.review-topbar-info .casino-stars {
    font-size: 14px;
}

.review-topbar .btn-cta {
    padding: 10px 28px;
    font-size: 13px;
    white-space: nowrap;
}

.review-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.review-screenshot {
    cursor: pointer;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

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

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

.screenshot-placeholder {
    width: 100%;
    height: 200px;
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
}

.review-body {
    padding: 24px;
}

.review-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

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

.review-placeholder-text {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    padding: 24px;
}

/* Pros/Cons */
.pros-cons-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
}

.pros-col, .cons-col {
    padding: 24px;
}

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

.pros-col h4 {
    color: var(--success);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cons-col h4 {
    color: var(--danger);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pros-col li, .cons-col li {
    list-style: none;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.pros-col li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.cons-col li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

/* ===== FAQ ===== */
.faq-section {
    padding: 60px 0;
}

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

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

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

/* ===== AUTHOR BOX ===== */
.author-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.author-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.author-info .author-role {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

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

/* ===== FOOTER ===== */
.site-footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    text-align: left;
}

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

.footer-copyright {
    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: 100%;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    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;
    background: none;
    border: none;
    font-weight: 300;
}

/* ===== CONTENT SECTIONS (from plugin) ===== */
.content-section {
    padding: 60px 0;
}

.content-section .container {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.content-section h2,
.content-section h3,
.content-section h4 {
    color: var(--text);
    margin-bottom: 12px;
    margin-top: 20px;
}

.content-section p {
    margin-bottom: 14px;
}

.content-section ul, .content-section ol {
    margin-bottom: 14px;
    padding-left: 20px;
}

.content-section li {
    margin-bottom: 6px;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    padding: 60px 0;
}

.page-content .container {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    width: 90%;
}

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

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

.page-content ul, .page-content ol {
    margin-bottom: 14px;
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 6px;
}

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 40px;
}

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

.contact-form-wrap label:first-child {
    margin-top: 0;
}

.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    border-radius: var(--radius);
    outline: none;
}

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

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

.contact-form-wrap .btn-cta {
    margin-top: 20px;
}

.contact-info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-info-box h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

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

.toast-message {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: #fff;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    z-index: 9999;
}

.toast-message.active {
    display: block;
}

/* ===== TEAM MEMBERS (About Page) ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-member {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 0 auto 16px;
}

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

.team-member p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== HOW WE RATE CRITERIA ===== */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.criteria-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.criteria-item h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 8px;
}

.criteria-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .casino-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 36px;
    }
    .inner-hero h1 {
        font-size: 32px;
    }
    .criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .casino-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 15px;
    }
    .section-heading {
        font-size: 24px;
    }
    .review-topbar {
        padding: 16px;
    }
    .review-screenshots {
        padding: 16px;
    }
    .review-screenshot img {
        height: 150px;
    }
    .review-body {
        padding: 16px;
    }
    .pros-cons-table {
        grid-template-columns: 1fr;
    }
    .pros-col {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .criteria-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
    }
    .hero h1 {
        font-size: 24px;
    }
    .casino-card-header {
        padding: 14px;
    }
    .casino-card-body {
        padding: 14px;
    }
    .casino-card-footer {
        padding: 12px 14px;
    }
    .review-screenshots {
        grid-template-columns: 1fr;
    }
}
