/*
Theme Name: Brand New Casinos Not on Gamban
Theme URI: https://brandnewcasinosnotongamban.de.com
Description: Casino affiliate theme for Brand New Casinos Not on Gamban
Author: BrandNewCasinos Team
Version: 1.0.0
Text Domain: brandnew-casinos
*/

/* ── Reset & Base ─────────────────────────────────── */
:root {
    --color-primary: #374151;
    --color-secondary: #F9FAFB;
    --color-accent: #6B7280;
    --color-bg: #FFFFFF;
    --color-surface: #F3F4F6;
    --color-text: #111827;
    --color-cta: #1F2937;
    --color-border: #E5E7EB;
    --color-cta-hover: #374151;
    --color-star: #D97706;
    --color-green: #059669;
    --color-red: #DC2626;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
    --section-spacing: 64px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 24px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4 { font-size: 1.25rem; margin-bottom: 12px; }

p { margin-bottom: 16px; }

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

.section-spacing {
    padding: var(--section-spacing) 0;
}

.btn-cta {
    display: inline-block;
    background: var(--color-cta);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease;
    text-align: center;
}

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

.btn-cta-outline {
    display: inline-block;
    background: transparent;
    color: var(--color-cta);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 28px;
    border: 2px solid var(--color-cta);
    border-radius: 0;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    text-align: center;
}

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

/* ── Header ───────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

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

.site-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.site-logo a {
    color: inherit;
}

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

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.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 {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-primary);
    color: #FFFFFF;
    padding: 0 24px;
}

.hero h1 {
    color: #FFFFFF;
    font-size: 3rem;
    margin-bottom: 16px;
    max-width: 800px;
}

.hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 32px;
}

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

.hero .btn-cta:hover {
    background: var(--color-secondary);
}

/* Inner hero for secondary pages */
.inner-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-primary);
    color: #FFFFFF;
    padding: 60px 24px;
}

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

.inner-hero h1 {
    color: #FFFFFF;
    font-size: 2.75rem;
    margin-bottom: 16px;
}

.inner-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 24px;
}

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

.hero-badge {
    background: rgba(255,255,255,0.12);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0;
    letter-spacing: 0.5px;
}

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

.casino-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.casino-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

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

.casino-card-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.casino-card-rank {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-card-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-green);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
}

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

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

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

.casino-card-meta {
    font-size: 0.85rem;
    color: var(--color-accent);
    line-height: 1.8;
    margin-bottom: 16px;
}

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

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

.casino-card-footer .btn-cta {
    display: block;
    width: 100%;
}

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

/* ── Stars ─────────────────────────────────────────── */
.stars {
    color: var(--color-star);
    font-size: 1rem;
    letter-spacing: 2px;
}

.stars .empty {
    color: var(--color-border);
}

/* ── Reviews ──────────────────────────────────────── */
.review-block {
    border-bottom: 1px solid var(--color-border);
    padding: var(--section-spacing) 0;
}

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

.review-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.review-topbar-logo {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-topbar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.review-topbar-info h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.review-topbar-cta {
    flex-shrink: 0;
}

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

.review-screenshot {
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/10;
    background: var(--color-surface);
}

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

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

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

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

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

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

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

.review-pros h4, .review-cons h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.review-pros h4 {
    color: var(--color-green);
}

.review-cons h4 {
    color: var(--color-red);
}

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

.review-pros li, .review-cons li {
    padding: 6px 0;
    font-size: 0.9rem;
    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-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--color-accent);
    margin-bottom: 0;
}

/* ── Author Box ───────────────────────────────────── */
.author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0;
}

.author-box-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.author-box-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box-info h3 {
    margin-bottom: 8px;
}

.author-box-info p {
    color: var(--color-accent);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ── Footer ───────────────────────────────────────── */
.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.7);
    padding: 40px 0;
}

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

.footer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.footer-copy {
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 800px;
}

/* ── Content Section (plugin injected) ────────────── */
.content-section {
    line-height: 1.8;
}

.content-section h2 {
    margin-top: 32px;
}

.content-section h3 {
    margin-top: 24px;
}

.content-section ul, .content-section ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

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

/* ── Lightbox ─────────────────────────────────────── */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    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;
    border-radius: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 300;
    z-index: 10000;
}

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

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

.contact-form label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: var(--color-text);
}

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

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

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

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

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

.contact-info-box p {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.toast-message {
    display: none;
    padding: 16px 24px;
    background: var(--color-green);
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: 0;
}

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

/* ── Page Content ─────────────────────────────────── */
.page-content {
    line-height: 1.8;
}

.page-content h2 {
    margin-top: 32px;
}

.page-content h3 {
    margin-top: 24px;
}

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

.page-content img {
    margin: 24px 0;
}

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

.team-member {
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    background: var(--color-bg);
}

.team-member-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-surface);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    padding: 20px;
}

.team-member-info h3 {
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.team-member-info p {
    color: var(--color-accent);
    font-size: 0.85rem;
    margin: 0;
}

/* ── Placeholder ──────────────────────────────────── */
.placeholder-box {
    border: 2px dashed var(--color-border);
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-style: italic;
}

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

@media (max-width: 768px) {
    :root {
        --section-spacing: 48px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 16px 24px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
    }

    .hamburger {
        display: block;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero {
        height: auto;
        min-height: 50vh;
        padding: 60px 24px;
    }

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

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

    .review-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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

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

    .inner-hero {
        min-height: auto;
        padding: 48px 24px;
    }

    .inner-hero.tall {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .casino-card-header {
        padding: 14px;
        gap: 12px;
    }

    .casino-card-logo {
        width: 44px;
        height: 44px;
    }

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

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

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