/*
Theme Name: NoKYC Casino Theme
Theme URI: https://casinoohnedeutschelizenz.bet
Description: German casino affiliate theme – Casino ohne deutsche Lizenz
Version: 1.0.0
Author: casinoohnedeutschelizenz.bet
Text Domain: nokyc-casino
*/

/* ========== CSS VARIABLES ========== */
:root {
    --bg-primary: #0a0f1e;
    --bg-secondary: #0f1529;
    --bg-card: #141b33;
    --bg-card-alt: #111828;
    --bg-hero: linear-gradient(165deg, #080d1a 0%, #0d1326 50%, #0a1228 100%);
    --accent: #00d4ff;
    --accent-hover: #00bfe6;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --accent-secondary: #5eead4;
    --text-primary: #e8ecf4;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(0, 212, 255, 0.12);
    --border-subtle: rgba(148, 163, 184, 0.08);
    --green: #22c55e;
    --red: #ef4444;
    --gold: #fbbf24;
    --radius: 8px;
    --max-width: 1280px;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --star-color: #fbbf24;
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; color: var(--text-primary); }
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
strong { color: var(--text-primary); }

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

/* ========== HEADER ========== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(10, 15, 30, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
}
.header-inner {
    max-width: var(--max-width); margin: 0 auto;
    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-primary); white-space: nowrap;
}
.site-logo span { color: var(--accent); }
.main-nav { display: flex; gap: 32px; list-style: none; }
.main-nav a {
    color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s; padding: 8px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.hamburger {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); transition: all 0.3s; }
.mobile-nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: rgba(10, 15, 30, 0.98); z-index: 999; padding: 32px 24px;
}
.mobile-nav.active { display: flex; flex-direction: column; gap: 0; }
.mobile-nav a {
    display: block; padding: 16px 0; color: var(--text-primary); font-size: 1.1rem;
    border-bottom: 1px solid var(--border-subtle);
}

/* ========== HERO ========== */
.hero {
    background: var(--bg-hero); min-height: 60vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 80px 24px 60px; position: relative;
}
.hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero h1 { margin-bottom: 1rem; font-size: 2.8rem; }
.hero h1 span { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 1.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.hero-author { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.hero-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; }
.hero-cta {
    display: inline-block; margin-top: 1.5rem; padding: 14px 36px;
    background: var(--accent); color: var(--bg-primary); font-weight: 700;
    border-radius: var(--radius); font-size: 1rem; transition: all 0.2s;
}
.hero-cta:hover { background: var(--accent-hover); color: var(--bg-primary); transform: translateY(-1px); }

/* Inner hero for secondary pages */
.inner-hero {
    background: var(--bg-hero); min-height: 40vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 80px 24px 60px; position: relative;
}
.inner-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
}
.inner-hero-content { position: relative; z-index: 1; }
.inner-hero h1 { font-size: 2.4rem; margin-bottom: 1rem; }
.inner-hero .badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.5rem; }
.inner-hero .badge-item {
    background: var(--bg-card); border: 1px solid var(--border-color);
    padding: 8px 20px; border-radius: var(--radius); font-size: 0.85rem;
    color: var(--accent); font-weight: 600;
}

/* ========== TABLE OF CONTENTS ========== */
.toc-wrapper {
    max-width: 600px; margin: -20px auto 40px; position: relative; z-index: 2;
}
.toc-toggle {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 12px 20px; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; font-size: 0.85rem; color: var(--text-primary);
    font-weight: 600; font-family: var(--font-heading);
}
.toc-toggle .toc-arrow { transition: transform 0.3s; color: var(--accent); font-size: 0.75rem; }
.toc-toggle.active .toc-arrow { transform: rotate(180deg); }
.toc-list {
    display: none; background: var(--bg-card); border: 1px solid var(--border-color);
    border-top: none; border-radius: 0 0 var(--radius) var(--radius);
    padding: 8px 20px 16px; list-style: none;
}
.toc-list.active { display: block; }
.toc-list li { padding: 6px 0; }
.toc-list a { font-size: 0.82rem; color: var(--text-secondary); }
.toc-list a:hover { color: var(--accent); }

/* ========== SECTION DIVIDER ========== */
.section-divider {
    display: flex; align-items: center; justify-content: center;
    padding: 40px 0; gap: 12px;
}
.section-divider span {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent); opacity: 0.25;
}

/* ========== CASINO GRID ========== */
.casino-grid-section { padding: 40px 0 60px; }
.section-heading {
    font-size: 1.8rem; margin-bottom: 2rem; text-align: left;
    padding-bottom: 12px; border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.casino-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.casino-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s;
    display: flex; flex-direction: column;
}
.casino-card:hover { border-color: var(--accent); }
.casino-card-rank {
    position: absolute; top: 12px; left: 12px;
    background: var(--accent); color: var(--bg-primary);
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.8rem;
}
.casino-card-header { position: relative; padding: 20px 16px 12px; text-align: center; }
.casino-card-logo {
    width: 100%; max-height: 60px; object-fit: contain;
    margin: 0 auto 8px;
}
.casino-card-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.casino-card-badge {
    display: inline-block; font-size: 0.7rem; font-weight: 600;
    background: rgba(0, 212, 255, 0.1); color: var(--accent);
    padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
}
.casino-card-stars { color: var(--star-color); font-size: 0.85rem; margin-bottom: 4px; }
.casino-card-rating { font-size: 0.8rem; color: var(--text-muted); }
.casino-card-body { padding: 0 16px 12px; flex: 1; }
.casino-card-bonus {
    background: rgba(0, 212, 255, 0.06); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 10px 12px; margin-bottom: 10px; text-align: center;
}
.casino-card-bonus strong { color: var(--accent); font-size: 0.95rem; }
.casino-card-details { font-size: 0.8rem; color: var(--text-secondary); }
.casino-card-details .detail-row {
    display: flex; justify-content: space-between; padding: 5px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.casino-card-details .detail-label { color: var(--text-muted); }
.casino-card-details .detail-value { color: var(--text-primary); font-weight: 500; }

/* Payment icons */
.payment-icons { display: flex; gap: 6px; justify-content: center; padding: 8px 0; flex-wrap: wrap; }
.payment-icon {
    width: 32px; height: 20px; background: var(--bg-secondary);
    border: 1px solid var(--border-subtle); border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.55rem; font-weight: 700; color: var(--text-muted);
}

/* Bonus details toggle */
.bonus-details-toggle {
    display: block; width: 100%; background: none; border: none;
    color: var(--accent); font-size: 0.75rem; cursor: pointer;
    padding: 6px 0; text-align: center; font-family: var(--font-body);
}
.bonus-details-toggle:hover { color: var(--accent-hover); }
.bonus-details-content {
    display: none; font-size: 0.78rem; color: var(--text-secondary);
    padding: 8px 12px; background: rgba(0, 212, 255, 0.04);
    border-radius: var(--radius); margin-bottom: 8px;
}
.bonus-details-content.active { display: block; }

/* Card footer */
.casino-card-footer { padding: 0 16px 16px; margin-top: auto; }
.casino-card-cta {
    display: block; text-align: center; padding: 12px;
    background: var(--accent); color: var(--bg-primary); font-weight: 700;
    border-radius: var(--radius); font-size: 0.9rem; transition: all 0.2s;
}
.casino-card-cta:hover { background: var(--accent-hover); color: var(--bg-primary); transform: translateY(-1px); }
.casino-card-terms { font-size: 0.65rem; color: var(--text-muted); text-align: center; margin-top: 8px; line-height: 1.4; }

/* ========== REVIEWS SECTION ========== */
.reviews-section { padding: 40px 0 60px; }
.review-block { margin-bottom: 48px; }
.review-topbar {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 16px 20px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: var(--radius) var(--radius) 0 0;
}
.review-topbar-logo { width: 100px; max-height: 40px; object-fit: contain; }
.review-topbar-name { font-size: 1.3rem; font-weight: 700; flex: 1; }
.review-topbar-stars { color: var(--star-color); font-size: 1rem; }
.review-topbar-cta {
    padding: 10px 24px; background: var(--accent); color: var(--bg-primary);
    font-weight: 700; border-radius: var(--radius); font-size: 0.85rem;
    transition: all 0.2s; white-space: nowrap;
}
.review-topbar-cta:hover { background: var(--accent-hover); color: var(--bg-primary); }
.review-body {
    padding: 24px 20px; background: var(--bg-secondary);
    border: 1px solid var(--border-color); border-top: none;
}
.review-screenshots {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-bottom: 20px;
}
.review-screenshot-wrap {
    border-radius: var(--radius); overflow: hidden; cursor: pointer;
    border: 1px solid var(--border-subtle);
}
.review-screenshot-wrap img { width: 100%; height: auto; object-fit: contain; }
.review-content { color: var(--text-secondary); line-height: 1.8; }
.review-content h3 { color: var(--text-primary); margin-top: 1.2rem; }
.review-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.review-content th, .review-content td { padding: 10px 14px; text-align: left; border: 1px solid var(--border-subtle); font-size: 0.85rem; }
.review-content th { background: var(--bg-card); color: var(--text-primary); font-weight: 600; }

/* Pros/Cons */
.review-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 20px; }
.review-pros, .review-cons { padding: 16px 20px; }
.review-pros { background: rgba(34, 197, 94, 0.06); border: 1px solid rgba(34, 197, 94, 0.15); border-radius: var(--radius) 0 0 var(--radius); }
.review-cons { background: rgba(239, 68, 68, 0.06); border: 1px solid rgba(239, 68, 68, 0.15); border-radius: 0 var(--radius) var(--radius) 0; }
.review-pros h4 { color: var(--green); font-size: 0.95rem; margin-bottom: 10px; }
.review-cons h4 { color: var(--red); font-size: 0.95rem; margin-bottom: 10px; }
.review-pros ul, .review-cons ul { list-style: none; }
.review-pros li, .review-cons li { font-size: 0.82rem; padding: 4px 0; color: var(--text-secondary); padding-left: 18px; position: relative; }
.review-pros li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.review-cons li::before { content: '✗'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.review-bottom {
    border: 1px solid var(--border-color); border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    padding: 60px 0;
}
.content-section.alt-bg { background: var(--bg-secondary); }
.content-section .container { width: 100%; }
.content-section h2 { font-size: 1.8rem; margin-bottom: 1.2rem; color: var(--text-primary); }
.content-section h3 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.content-section p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
.content-section strong { color: var(--text-primary); }
.content-section table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.content-section th, .content-section td { padding: 10px 14px; text-align: left; border: 1px solid var(--border-subtle); font-size: 0.85rem; }
.content-section th { background: var(--bg-card); color: var(--accent); font-weight: 600; white-space: nowrap; }
.content-section td { color: var(--text-secondary); }

/* Responsive tables */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0; }
.table-responsive table { min-width: 600px; }

/* ========== FAQ ACCORDION ========== */
.faq-section { padding: 60px 0; }
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-question {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; background: none; border: none; cursor: pointer;
    color: var(--text-primary); font-size: 1rem; font-weight: 600;
    font-family: var(--font-heading); text-align: left; min-height: 48px;
    gap: 16px;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
    font-size: 1.4rem; color: var(--accent); transition: transform 0.3s;
    flex-shrink: 0; line-height: 1;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
    color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8;
}
.faq-answer-inner { padding: 0 0 20px; }

/* ========== AUTHOR BOX ========== */
.author-box {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 28px; display: flex;
    gap: 20px; align-items: flex-start; margin: 40px 0;
}
.author-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: contain; flex-shrink: 0; }
.author-box-text h3 { margin-bottom: 6px; font-size: 1.1rem; }
.author-box-text p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0; }

/* ========== FOOTER ========== */
.site-footer {
    background: var(--bg-secondary); border-top: 1px solid var(--border-color);
    padding: 40px 24px; text-align: center;
}
.site-footer p { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.6; }
.site-footer a { color: var(--accent); }

/* ========== LIGHTBOX ========== */
.lightbox-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92); z-index: 10000;
    align-items: center; justify-content: center; padding: 24px; cursor: pointer;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 95%; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }

/* ========== PAGE CONTENT (secondary pages) ========== */
.page-content {
    padding: 40px 0 80px;
}
.page-content h2 { font-size: 1.7rem; margin-top: 2rem; margin-bottom: 1rem; }
.page-content h3 { font-size: 1.25rem; margin-top: 1.5rem; }
.page-content p { color: var(--text-secondary); line-height: 1.8; }
.page-content strong { color: var(--text-primary); }
.page-content table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.page-content th, .page-content td { padding: 10px 14px; text-align: left; border: 1px solid var(--border-subtle); font-size: 0.85rem; }
.page-content th { background: var(--bg-card); color: var(--accent); font-weight: 600; }

/* ========== CONTACT FORM ========== */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--text-primary); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: var(--radius);
    color: var(--text-primary); font-size: 0.9rem; font-family: var(--font-body);
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit {
    display: inline-block; padding: 14px 36px; background: var(--accent);
    color: var(--bg-primary); font-weight: 700; border: none;
    border-radius: var(--radius); cursor: pointer; font-size: 0.95rem;
    transition: all 0.2s;
}
.form-submit:hover { background: var(--accent-hover); }
.contact-info-box {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 24px; margin-top: 32px;
    text-align: center;
}
.contact-info-box p { font-size: 0.9rem; }
.toast {
    position: fixed; bottom: 24px; right: 24px; padding: 14px 24px;
    background: var(--green); color: #fff; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 600; z-index: 10000; display: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.toast.active { display: block; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .hero { min-height: 50vh; padding: 60px 24px 50px; }
    .hero h1 { font-size: 2rem; }
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-screenshots { grid-template-columns: 1fr; }
    .review-proscons { grid-template-columns: 1fr; }
    .review-pros { border-radius: var(--radius) var(--radius) 0 0; }
    .review-cons { border-radius: 0 0 var(--radius) var(--radius); }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .inner-hero { min-height: 35vh; }
    .content-section table { font-size: 0.78rem; }
    .content-section th, .content-section td { padding: 8px 10px; min-width: 100px; }
    .table-responsive table { font-size: 0.78rem; }
}
@media (max-width: 480px) {
    .casino-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .casino-card-bonus strong { font-size: 0.82rem; }
    .casino-card-details .detail-row { font-size: 0.72rem; }
    .payment-icons { gap: 4px; }
    .payment-icon { width: 26px; height: 16px; font-size: 0.5rem; }
}
