/*
Theme Name: Curacao Casinos Not on Gamstop
Theme URI: https://curacao-casinos-not-signed-up-to-gamstop.cn.com
Author: CryptoCasinosUK
Description: A casino affiliate theme for Curacao casinos not signed up to Gamstop.
Version: 1.0.0
Text Domain: nokyc
*/

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

:root {
    --primary: #475569;
    --secondary: #F8FAFC;
    --accent: #64748B;
    --bg: #FFFFFF;
    --surface: #F1F5F9;
    --text: #0F172A;
    --cta: #334155;
    --border: #CBD5E1;
    --green: #22c55e;
    --red: #ef4444;
    --star: #eab308;
    --max-w: 1280px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

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

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

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.site-logo {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.site-logo a { color: inherit; }
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}
.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}
.main-nav a:hover { color: var(--primary); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    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;
    text-align: center;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 40px 20px;
}
.hero-inner { max-width: 800px; }
.hero h1 {
    font-size: 2.75rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.hero p {
    font-size: 1.15rem;
    color: var(--accent);
    margin-bottom: 28px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.hero-inner-page {
    min-height: 40vh;
}
.hero-inner-page.howwerate {
    min-height: 45vh;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 28px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.btn-cta {
    background: var(--cta);
    color: #fff;
}
.btn-cta:hover {
    background: var(--text);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--cta);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: var(--surface);
}

/* === BADGES === */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.02em;
}

/* === CASINO GRID === */
.casino-grid-section { background: var(--bg); }
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.casino-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: box-shadow 0.2s;
}
.casino-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.casino-card-rank {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.casino-card-logo {
    width: 100%;
    height: 60px;
    object-fit: contain;
    object-position: left;
}
.casino-card-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}
.casino-card-stars { color: var(--star); font-size: 0.95rem; letter-spacing: 1px; }
.casino-card-bonus {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}
.casino-card-meta {
    font-size: 0.78rem;
    color: var(--accent);
    line-height: 1.6;
}
.casino-card .btn {
    width: 100%;
    margin-top: auto;
}
.casino-card-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.02em;
}
.casino-card-terms {
    font-size: 0.68rem;
    color: var(--accent);
    line-height: 1.4;
}

/* === REVIEW BLOCKS === */
.reviews-section { background: var(--surface); }
.review-block {
    background: var(--bg);
    border: 1px solid var(--border);
    margin-bottom: 40px;
}
.review-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}
.review-topbar-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}
.review-topbar-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    flex: 1;
}
.review-topbar-stars {
    color: var(--star);
    font-size: 1rem;
    letter-spacing: 1px;
}
.review-topbar .btn {
    flex-shrink: 0;
}
.review-body {
    padding: 24px;
}
.review-screenshots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.review-screenshot {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: opacity 0.2s;
}
.review-screenshot:hover { opacity: 0.85; }
.review-content {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: left;
}
.review-content p { margin-bottom: 1rem; }
.review-content h2,
.review-content h3,
.review-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Pros/Cons Table */
.pros-cons-table {
    width: 100%;
    border: 1px solid var(--border);
    border-collapse: collapse;
}
.pros-cons-table th {
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--border);
}
.pros-cons-table th.pros-col { color: var(--green); background: rgba(34,197,94,0.05); }
.pros-cons-table th.cons-col { color: var(--red); background: rgba(239,68,68,0.05); }
.pros-cons-table td {
    padding: 12px 16px;
    font-size: 0.88rem;
    vertical-align: top;
    width: 50%;
    border: 1px solid var(--border);
    line-height: 1.6;
}
.pros-cons-table td ul {
    list-style: none;
    padding: 0;
}
.pros-cons-table td ul li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
}
.pros-cons-table td ul li::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}
.pros-col-data ul li::before { content: '✓'; color: var(--green); }
.cons-col-data ul li::before { content: '✗'; color: var(--red); }

/* === FAQ === */
.faq-section { background: var(--bg); }
.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.faq-answer {
    font-size: 0.92rem;
    color: var(--accent);
    line-height: 1.7;
}

/* === AUTHOR BOX === */
.author-box-section { background: var(--surface); }
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 24px;
}
.author-box-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    flex-shrink: 0;
}
.author-box-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}
.author-box-role {
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 8px;
}
.author-box-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text);
}

/* === FOOTER === */
.site-footer {
    background: var(--text);
    color: var(--secondary);
    padding: 40px 20px;
    font-size: 0.82rem;
    line-height: 1.7;
}
.site-footer .container { text-align: left; }
.footer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}
.footer-disclaimer {
    color: var(--accent);
    font-size: 0.78rem;
    margin-top: 12px;
    line-height: 1.7;
}

/* === 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;
    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 {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 32px;
    margin-bottom: 32px;
}
.contact-form-wrap label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.contact-form-wrap input,
.contact-form-wrap select,
.contact-form-wrap textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 16px;
    background: var(--secondary);
    color: var(--text);
}
.contact-form-wrap textarea { min-height: 140px; resize: vertical; }
.contact-info-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px;
}
.contact-info-box h3 { margin-bottom: 12px; font-size: 1.1rem; }
.contact-info-box p { font-size: 0.9rem; margin-bottom: 8px; }
.toast-message {
    display: none;
    padding: 12px 20px;
    background: var(--green);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.toast-message.show { display: block; }

/* === INNER PAGE CONTENT === */
.page-content {
    text-align: left;
}
.page-content p { margin-bottom: 1rem; }
.page-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.page-content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; }
.page-content ul, .page-content ol {
    margin-bottom: 1rem;
    padding-left: 24px;
}
.page-content li { margin-bottom: 0.4rem; }

/* === CONTENT SECTIONS === */
.content-section {
    text-align: left;
}
.content-section p { margin-bottom: 1rem; }
.content-section h2 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.content-section h3 { margin-top: 1.25rem; margin-bottom: 0.5rem; }

/* === ABOUT PAGE TEAM === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.team-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 24px;
    text-align: left;
}
.team-card-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 12px;
}
.team-card-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}
.team-card-role {
    font-size: 0.8rem;
    color: var(--accent);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hamburger { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px 20px;
    }
    .main-nav.open { display: block; }
    .main-nav ul {
        flex-direction: column;
        gap: 16px;
    }
    .hero h1 { font-size: 2rem; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-screenshots { grid-template-columns: 1fr; }
    .review-screenshot { height: 180px; }
    .author-box { flex-direction: column; }
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
    .pros-cons-table, .pros-cons-table tbody, .pros-cons-table tr, .pros-cons-table td {
        display: block;
        width: 100%;
    }
    .pros-cons-table th { display: block; width: 100%; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .casino-card { padding: 16px; }
    h2 { font-size: 1.6rem; }
}
