/*
Theme Name: Non Gamstop Casinos
Theme URI: https://nongamstopcasinos.me.uk
Description: A professional casino affiliate theme for non gamstop casinos.
Version: 1.0.0
Author: nongamstopcasinos.me.uk
Author URI: https://nongamstopcasinos.me.uk
License: GPL-2.0-or-later
Text Domain: nokyc
*/

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

:root {
    --color-primary: #854D0E;
    --color-secondary: #FEFCE8;
    --color-accent: #EAB308;
    --color-bg: #FFFFFF;
    --color-surface: #FFFDF0;
    --color-text: #422006;
    --color-cta: #A16207;
    --color-border: #FEF08A;
    --color-cta-hover: #854D0E;
    --color-star: #EAB308;
    --color-success: #16a34a;
    --color-danger: #dc2626;
    --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);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-cta-hover);
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

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

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

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

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

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.site-logo:hover {
    color: var(--color-cta);
}

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

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
    position: relative;
}

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

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.2s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    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 {
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 3px solid var(--color-border);
}

.hero-home {
    min-height: 60vh;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.85;
}

.hero-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

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

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--color-cta);
    border: 2px solid var(--color-cta);
}

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

/* === CASINO GRID === */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.casino-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.casino-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(133, 77, 14, 0.1);
}

.casino-card-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.casino-card-header {
    position: relative;
    padding: 24px 20px 16px;
    text-align: center;
    background: var(--color-bg);
    border-bottom: 2px solid var(--color-border);
}

.casino-card-logo {
    width: 100px;
    height: 60px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.casino-card-logo-placeholder {
    width: 100px;
    height: 60px;
    border: 2px dashed var(--color-border);
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-primary);
    opacity: 0.5;
}

.casino-card-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.casino-card-stars {
    color: var(--color-star);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.casino-card-rating {
    font-size: 0.85rem;
    color: var(--color-text);
    opacity: 0.7;
}

.casino-card-badge {
    display: inline-block;
    background: var(--color-secondary);
    border: 1px solid var(--color-accent);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 10px;
    margin-top: 6px;
    border-radius: var(--radius);
}

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

.casino-card-bonus {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.casino-card-meta {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--color-text);
    opacity: 0.8;
}

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

.casino-card-footer {
    padding: 0 20px 20px;
}

.casino-card-footer .btn {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
}

.casino-card-terms {
    font-size: 0.7rem;
    color: var(--color-text);
    opacity: 0.5;
    text-align: center;
    margin-top: 8px;
}

/* === REVIEW BLOCKS === */
.review-block {
    margin-bottom: 60px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 60px;
}

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

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

.review-topbar-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.review-topbar-info {
    flex: 1;
}

.review-topbar-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.review-topbar-stars {
    color: var(--color-star);
    font-size: 1rem;
}

.review-topbar .btn {
    padding: 10px 28px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

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

.review-screenshot-wrap {
    border: 2px solid var(--color-border);
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s;
}

.review-screenshot-wrap:hover {
    border-color: var(--color-accent);
}

.review-screenshot-wrap img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.review-screenshot-placeholder {
    width: 100%;
    height: 250px;
    border: 2px dashed var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--color-primary);
    opacity: 0.4;
}

.review-body {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.8;
}

.review-body p {
    margin-bottom: 1rem;
}

/* Pros/Cons Table */
.pros-cons-table {
    width: 100%;
    border: 2px solid var(--color-border);
    border-collapse: collapse;
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.pros-cons-table th {
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 14px 20px;
    text-align: left;
    width: 50%;
}

.pros-cons-table th.pros-header {
    background: #f0fdf4;
    color: var(--color-success);
    border-right: 2px solid var(--color-border);
}

.pros-cons-table th.cons-header {
    background: #fef2f2;
    color: var(--color-danger);
}

.pros-cons-table td {
    padding: 14px 20px;
    vertical-align: top;
    font-size: 0.95rem;
    line-height: 1.8;
}

.pros-cons-table td.pros-col {
    border-right: 2px solid var(--color-border);
}

.pros-cons-table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-cons-table .pros-col li::before {
    content: '✓ ';
    color: var(--color-success);
    font-weight: 700;
}

.pros-cons-table .cons-col li::before {
    content: '✗ ';
    color: var(--color-danger);
    font-weight: 700;
}

/* === FAQ === */
.faq-item {
    margin-bottom: 24px;
}

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

.faq-item p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
}

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

.author-box-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--color-border);
    border-radius: var(--radius);
}

.author-box-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.author-box-role {
    font-size: 0.85rem;
    color: var(--color-cta);
    font-weight: 600;
    margin-bottom: 8px;
}

.author-box-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
}

/* === FOOTER === */
.site-footer {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 40px 0;
}

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

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

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 16px;
}

.footer-disclaimer {
    font-size: 0.75rem;
    opacity: 0.6;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* === INNER PAGES === */
.page-content {
    padding: 60px 0;
}

.page-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    margin-top: 1.5rem;
}

.page-content ul, .page-content ol {
    margin-bottom: 1rem;
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* About Us Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    padding: 30px;
    text-align: center;
    border-radius: var(--radius);
}

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

.team-card h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.team-card .role {
    font-size: 0.85rem;
    color: var(--color-cta);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* How We Rate Criteria */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.criteria-card {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    padding: 24px;
    border-radius: var(--radius);
}

.criteria-card h4 {
    color: var(--color-primary);
    margin-bottom: 8px;
}

.criteria-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Form */
.contact-form-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

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

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

.contact-info-box {
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    padding: 30px;
    margin-top: 40px;
    border-radius: var(--radius);
}

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

.contact-info-box p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-success);
    color: #fff;
    padding: 16px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* === LIGHTBOX === */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    cursor: pointer;
}

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

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

/* === CONTENT SECTION (plugin injected) === */
.content-section {
    width: 100%;
}

.content-section .container {
    width: 90%;
    max-width: var(--max-width);
}

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

    .criteria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero h1 { font-size: 2.2rem; }

    .hamburger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 2px solid var(--color-border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .main-nav.active {
        display: flex;
    }

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

    .review-topbar {
        flex-direction: column;
        text-align: center;
    }

    .review-topbar .btn {
        width: 100%;
    }

    .review-screenshots {
        grid-template-columns: 1fr;
    }

    .review-screenshot-wrap img {
        height: 200px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box-img {
        margin: 0 auto;
    }

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

    .pros-cons-table th,
    .pros-cons-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }

    .casino-card-body {
        padding: 12px 14px;
    }

    .casino-card-bonus {
        font-size: 0.9rem;
    }

    .casino-card-meta {
        font-size: 0.8rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
