/*
Theme Name: Non UKGC Casinos
Theme URI: https://nonukgccasinos.it.com
Author: NonUKGCCasinos Team
Description: Casino affiliate theme for Non UKGC Casinos
Version: 1.0.0
Text Domain: nokyc-casinos
*/

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

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

:root {
    --primary: #DC2626;
    --secondary: #FFF1F2;
    --accent: #F87171;
    --background: #FFFFFF;
    --surface: #FEF2F2;
    --text: #1F2937;
    --text-muted: #6B7280;
    --cta: #DC2626;
    --cta-hover: #B91C1C;
    --border: #FECACA;
    --success: #16A34A;
    --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(--text);
    background: var(--background);
    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(--cta-hover); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; }

.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(--background);
    border-bottom: 2px solid var(--border);
    padding: 0;
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 70px;
}
.site-name {
    font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
    color: var(--primary); text-decoration: none;
}
.main-nav { display: flex; gap: 32px; list-style: none; }
.main-nav a {
    font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
    color: var(--text); text-decoration: none; transition: color 0.2s;
}
.main-nav a:hover { color: var(--primary); }
.hamburger {
    display: none; background: none; border: none; cursor: pointer;
    width: 30px; height: 24px; position: relative; flex-direction: column; justify-content: space-between;
}
.hamburger span {
    display: block; width: 100%; height: 3px; background: var(--text);
    transition: all 0.3s;
}
.mobile-nav {
    display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
    background: var(--background); z-index: 999;
    flex-direction: column; padding: 40px 20px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
    font-size: 1.25rem; padding: 16px 0; color: var(--text);
    border-bottom: 1px solid var(--border); font-weight: 500;
}

/* === HERO === */
.hero {
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    text-align: center; background: var(--secondary); padding: 60px 20px;
}
.hero h1 {
    font-size: 3rem; font-weight: 700; color: var(--text); margin-bottom: 16px;
}
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-cta {
    display: inline-block; background: var(--cta); color: #fff;
    padding: 16px 40px; font-size: 1.05rem; font-weight: 600;
    border-radius: var(--radius); transition: background 0.2s; cursor: pointer;
    border: none; font-family: var(--font-heading); text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hero-cta:hover { background: var(--cta-hover); color: #fff; }

.inner-hero {
    min-height: 40vh; display: flex; align-items: center; justify-content: center;
    text-align: center; background: var(--secondary); padding: 60px 20px;
}
.inner-hero.tall { min-height: 45vh; }
.inner-hero h1 { font-size: 2.5rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.inner-hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 24px; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.hero-badge {
    background: var(--background); border: 2px solid var(--border);
    padding: 10px 24px; font-size: 0.9rem; font-weight: 600;
    color: var(--primary); border-radius: var(--radius);
}

/* === CASINO GRID === */
.casino-grid-section { background: var(--background); }
.casino-grid-section h2 { font-size: 2rem; margin-bottom: 32px; text-align: left; }
.casino-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.casino-card {
    background: var(--background); border: 2px solid var(--border);
    border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s;
    display: flex; flex-direction: column;
}
.casino-card:hover { border-color: var(--primary); }
.casino-card-rank {
    position: absolute; top: 12px; left: 12px;
    background: var(--primary); color: #fff; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; border-radius: var(--radius);
}
.casino-card-header {
    position: relative; padding: 24px 24px 16px; text-align: center;
    background: var(--surface);
}
.casino-card-logo {
    width: 120px; height: 60px; object-fit: contain; margin: 0 auto 12px;
}
.casino-card-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.casino-card-stars { color: #F59E0B; font-size: 0.95rem; margin-bottom: 4px; }
.casino-card-rating { font-size: 0.85rem; color: var(--text-muted); }
.casino-card-badge {
    display: inline-block; background: var(--secondary); color: var(--success);
    padding: 4px 12px; font-size: 0.75rem; font-weight: 600; margin-top: 8px;
    border: 1px solid var(--success); border-radius: var(--radius);
}
.casino-card-body { padding: 16px 24px; flex: 1; }
.casino-card-bonus {
    font-size: 1rem; font-weight: 700; color: var(--primary);
    margin-bottom: 12px; line-height: 1.3;
}
.casino-card-meta { font-size: 0.82rem; color: var(--text-muted); line-height: 1.8; }
.casino-card-meta span { display: block; }
.casino-card-footer { padding: 16px 24px 24px; }
.casino-card-cta {
    display: block; width: 100%; background: var(--cta); color: #fff;
    padding: 14px; text-align: center; font-weight: 700; font-size: 0.95rem;
    border-radius: var(--radius); transition: background 0.2s;
    text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-heading);
}
.casino-card-cta:hover { background: var(--cta-hover); color: #fff; }
.casino-card-terms {
    display: block; text-align: center; font-size: 0.7rem;
    color: var(--text-muted); margin-top: 8px;
}

/* === REVIEW BLOCKS === */
.reviews-section { background: var(--surface); }
.reviews-section h2 { font-size: 2rem; margin-bottom: 40px; text-align: left; }
.review-block { margin-bottom: 48px; background: var(--background); border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.review-topbar {
    display: flex; align-items: center; gap: 20px; padding: 20px 24px;
    background: var(--surface); border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}
.review-topbar-logo { width: 80px; height: 40px; object-fit: contain; flex-shrink: 0; }
.review-topbar-info { flex: 1; min-width: 200px; }
.review-topbar-info h3 { font-size: 1.25rem; margin-bottom: 4px; }
.review-topbar-info .stars { color: #F59E0B; font-size: 0.9rem; }
.review-topbar-cta {
    display: inline-block; background: var(--cta); color: #fff;
    padding: 12px 28px; font-weight: 700; font-size: 0.9rem;
    border-radius: var(--radius); transition: background 0.2s;
    text-transform: uppercase; font-family: var(--font-heading);
    white-space: nowrap;
}
.review-topbar-cta:hover { background: var(--cta-hover); color: #fff; }

.review-screenshots {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    padding: 24px;
}
.review-screenshot {
    border: 1px solid var(--border); cursor: pointer; overflow: hidden;
    border-radius: var(--radius);
}
.review-screenshot img { width: 100%; height: 200px; object-fit: cover; display: block; transition: opacity 0.2s; }
.review-screenshot img:hover { opacity: 0.85; }

.review-body { padding: 0 24px 24px; }
.review-body p { margin-bottom: 16px; color: var(--text); line-height: 1.7; }
.review-body h4 { margin-bottom: 12px; font-size: 1.1rem; }

.review-pros-cons {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border: 2px solid var(--border); margin: 24px; border-radius: var(--radius);
    overflow: hidden;
}
.review-pros, .review-cons { padding: 20px; }
.review-pros { border-right: 2px solid var(--border); }
.review-pros h4 { color: var(--success); margin-bottom: 12px; font-size: 1rem; }
.review-cons h4 { color: var(--danger); margin-bottom: 12px; font-size: 1rem; }
.review-pros ul, .review-cons ul { list-style: none; padding: 0; }
.review-pros li, .review-cons li { padding: 6px 0; font-size: 0.9rem; line-height: 1.5; }
.review-pros li::before { content: "✓ "; color: var(--success); font-weight: 700; }
.review-cons li::before { content: "✗ "; color: var(--danger); font-weight: 700; }

/* === FAQ === */
.faq-section { background: var(--background); }
.faq-section h2 { font-size: 2rem; margin-bottom: 32px; text-align: left; }
.faq-item { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* === AUTHOR BOX === */
.author-box {
    display: flex; gap: 24px; align-items: flex-start;
    background: var(--surface); border: 2px solid var(--border);
    padding: 32px; border-radius: var(--radius);
}
.author-box img {
    width: 80px; height: 80px; object-fit: cover;
    border-radius: var(--radius); flex-shrink: 0;
}
.author-box-content h3 { font-size: 1.1rem; margin-bottom: 4px; }
.author-box-content .author-role { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.author-box-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* === FOOTER === */
.site-footer {
    background: var(--text); color: rgba(255,255,255,0.7);
    padding: 40px 0; font-size: 0.85rem; text-align: left;
}
.site-footer .site-name-footer { color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.site-footer .copyright { margin-bottom: 16px; }
.site-footer .disclaimer { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 800px; }

/* === CONTENT SECTION (injected) === */
.content-section { text-align: left; }
.content-section h2, .content-section h3 { margin-bottom: 16px; }
.content-section p { margin-bottom: 16px; line-height: 1.7; }

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

/* === CONTACT FORM === */
.contact-form-wrap {
    max-width: 700px; margin: 0; padding: 0;
}
.contact-form-wrap label {
    display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem;
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%; padding: 12px 16px; border: 2px solid var(--border);
    border-radius: var(--radius); font-family: var(--font-body);
    font-size: 0.95rem; margin-bottom: 20px; background: var(--background);
    transition: border-color 0.2s;
}
.contact-form-wrap input:focus,
.contact-form-wrap select:focus,
.contact-form-wrap textarea:focus {
    outline: none; border-color: var(--primary);
}
.contact-form-wrap textarea { min-height: 150px; resize: vertical; }
.contact-submit {
    background: var(--cta); color: #fff; padding: 14px 40px;
    border: none; font-weight: 700; font-size: 1rem; cursor: pointer;
    border-radius: var(--radius); transition: background 0.2s;
    font-family: var(--font-heading); text-transform: uppercase;
}
.contact-submit:hover { background: var(--cta-hover); }

.contact-info-box {
    background: var(--surface); border: 2px solid var(--border);
    padding: 32px; border-radius: var(--radius); margin-top: 40px;
}
.contact-info-box h3 { margin-bottom: 16px; }
.contact-info-box p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }

.toast {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--success); color: #fff; padding: 16px 28px;
    font-weight: 600; font-size: 0.95rem; border-radius: var(--radius);
    z-index: 10001; display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.toast.active { display: block; }

/* === ABOUT / HOW WE RATE PAGE CONTENT === */
.page-content { text-align: left; }
.page-content p { margin-bottom: 16px; line-height: 1.7; }
.page-content h2, .page-content h3 { margin-top: 32px; margin-bottom: 16px; }
.page-content ul, .page-content ol { margin-bottom: 16px; padding-left: 24px; }
.page-content li { margin-bottom: 8px; line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 40px; }
.team-member {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--surface); border: 2px solid var(--border);
    padding: 24px; border-radius: var(--radius);
}
.team-member img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
.team-member h3 { font-size: 1rem; margin-bottom: 4px; }
.team-member .role { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.team-member p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* === PLACEHOLDER === */
.placeholder-box {
    border: 2px dashed var(--border); padding: 40px; text-align: center;
    color: var(--text-muted); font-size: 0.9rem; background: var(--surface);
}

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

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .main-nav { display: none; }
    .hero { min-height: 50vh; }
    .hero h1 { font-size: 1.75rem; }
    .inner-hero h1 { font-size: 1.75rem; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-screenshots { grid-template-columns: 1fr 1fr; }
    .review-screenshot img { height: 150px; }
    .review-pros-cons { grid-template-columns: 1fr; margin: 16px; }
    .review-pros { border-right: none; border-bottom: 2px solid var(--border); }
    .author-box { flex-direction: column; }
    .team-grid { grid-template-columns: 1fr; }
    .team-member { flex-direction: column; }
    .section-spacing { padding: 40px 0; }
    .hero-badges { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .casino-card-header { padding: 16px 12px 12px; }
    .casino-card-body { padding: 12px; }
    .casino-card-footer { padding: 12px 12px 16px; }
    .casino-card-logo { width: 80px; height: 40px; }
    .casino-card-name { font-size: 0.9rem; }
    .casino-card-bonus { font-size: 0.85rem; }
    .casino-card-meta { font-size: 0.75rem; }
}
