/*
Theme Name: Neue Krypto Casinos
Theme URI: https://neuekryptocasinos.de.com
Description: Premium German crypto casino affiliate theme — Midnight Maroon Edition
Version: 1.0.0
Author: neuekryptocasinos.de.com
Text Domain: neuekryptocasinos
*/

/* === RESET & VARIABLES === */
:root {
    --bg-primary: #110810;
    --bg-secondary: #1c0f14;
    --bg-card: #261319;
    --bg-card-alt: #2e1720;
    --bg-hero-start: #1a0510;
    --bg-hero-end: #110810;
    --accent: #c41e3a;
    --accent-hover: #a01830;
    --accent-glow: rgba(196, 30, 58, 0.25);
    --secondary: #c9c0bc;
    --silver: #d8d0cc;
    --text: #ece6e3;
    --text-muted: #9a8e89;
    --text-heading: #f5f0ee;
    --border: rgba(196, 30, 58, 0.15);
    --border-card: rgba(200, 192, 188, 0.1);
    --green: #3ddc84;
    --red: #ff4d6a;
    --star: #f0b240;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-w: 1280px;
    --radius: 8px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; object-fit: contain; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--silver); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 20px; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom: 12px; }
p { margin-bottom: 16px; }
strong { color: var(--silver); }

/* === HEADER === */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(17, 8, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.5px;
}
.site-logo span { color: var(--accent); }
.nav-menu { display: flex; gap: 28px; list-style: none; }
.nav-menu a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-menu a:hover, .nav-menu a.current { color: var(--accent); }
.hamburger {
    display: none; background: none; border: none;
    cursor: pointer; padding: 8px;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--silver); margin: 5px 0;
    transition: all .3s;
}
.mobile-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 8, 16, 0.97); z-index: 999;
    flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
    color: var(--text); font-size: 1.3rem; font-family: var(--font-heading);
}
.mobile-nav .close-btn {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; color: var(--silver);
    font-size: 2rem; cursor: pointer;
}

/* === HERO === */
.hero {
    min-height: 60vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: linear-gradient(170deg, var(--bg-hero-start), var(--bg-hero-end));
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}
.hero::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(196, 30, 58, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(200, 192, 188, 0.03) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; padding: 0 24px; }
.hero h1 { margin-bottom: 16px; }
.hero h1 span { color: var(--accent); }
.hero-sub { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 24px; line-height: 1.6; }
.hero-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; }
.hero-author { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 28px; }
.hero-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); }
.hero-cta {
    display: inline-block;
    background: var(--accent); color: #fff;
    padding: 14px 36px; border-radius: var(--radius);
    font-weight: 600; font-size: 1rem;
    transition: background .2s, transform .15s;
    font-family: var(--font-heading);
    letter-spacing: 0.3px;
}
.hero-cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

/* Inner page hero */
.inner-hero {
    min-height: 40vh; display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: linear-gradient(170deg, var(--bg-hero-start), var(--bg-hero-end));
    position: relative; padding: 60px 0;
}
.inner-hero.tall { min-height: 45vh; }
.inner-hero h1 { margin-bottom: 20px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.badge {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--silver);
    font-size: 13px; font-weight: 600;
    padding: 8px 18px; border-radius: 20px;
    font-family: var(--font-heading);
}

/* === TABLE OF CONTENTS === */
.toc-wrapper { max-width: 600px; margin: 0 auto 40px; padding: 0 24px; }
.toc-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    overflow: hidden;
}
.toc-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; cursor: pointer;
    font-size: 13px; font-weight: 600;
    color: var(--silver); font-family: var(--font-heading);
    user-select: none;
}
.toc-toggle:hover { color: var(--accent); }
.toc-toggle .arrow { transition: transform .3s; }
.toc-toggle.open .arrow { transform: rotate(180deg); }
.toc-list {
    display: none; padding: 0 18px 14px; list-style: none;
}
.toc-list.show { display: block; }
.toc-list li { padding: 4px 0; }
.toc-list a { color: var(--text-muted); font-size: 13px; transition: color .2s; }
.toc-list a:hover { color: var(--accent); }

/* === SECTION DIVIDERS === */
.section-divider {
    display: flex; justify-content: center; align-items: center;
    padding: 40px 0; gap: 8px;
}
.section-divider .dot {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.35;
}

/* === GRID === */
.grid-section { padding: 60px 0; }
.grid-section h2 { text-align: left; }
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}
.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex; flex-direction: column;
    position: relative;
    transition: border-color .3s, box-shadow .3s;
}
.casino-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 30px var(--accent-glow);
}
.card-rank {
    position: absolute; top: -1px; left: -1px;
    background: var(--accent); color: #fff;
    font-size: 11px; font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius) 0 var(--radius) 0;
    font-family: var(--font-heading);
}
.card-badge {
    position: absolute; top: -1px; right: -1px;
    background: rgba(61, 220, 132, 0.12);
    color: var(--green);
    font-size: 10px; font-weight: 600;
    padding: 4px 10px;
    border-radius: 0 var(--radius) 0 var(--radius);
}
.card-logo {
    width: 100%; max-height: 70px;
    object-fit: contain;
    margin: 12px 0 16px;
}
.card-name {
    font-family: var(--font-heading);
    font-size: 1.1rem; font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 4px;
}
.card-stars { color: var(--star); font-size: 14px; margin-bottom: 12px; }
.card-bonus {
    background: rgba(196, 30, 58, 0.08);
    border-left: 3px solid var(--accent);
    padding: 10px 14px;
    font-size: 14px; font-weight: 600;
    color: var(--silver);
    margin-bottom: 14px;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.card-details { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.card-details .label { color: var(--secondary); font-weight: 600; }
.card-details div { margin-bottom: 4px; }
.card-payments { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.card-payments .pay-icon {
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}
.bonus-details-toggle {
    background: none; border: none;
    color: var(--accent); font-size: 12px;
    cursor: pointer; padding: 0;
    margin-bottom: 10px;
    font-family: var(--font-body);
    display: flex; align-items: center; gap: 4px;
}
.bonus-details-toggle:hover { color: var(--silver); }
.bonus-details-content {
    display: none; font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    padding: 10px 12px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    line-height: 1.5;
}
.bonus-details-content.show { display: block; }
.card-cta {
    display: block; text-align: center;
    background: var(--accent); color: #fff;
    padding: 12px; border-radius: var(--radius);
    font-weight: 700; font-size: 14px;
    transition: background .2s;
    margin-top: auto;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.card-cta:hover { background: var(--accent-hover); color: #fff; }
.card-terms { font-size: 10px; color: var(--text-muted); text-align: center; margin-top: 8px; line-height: 1.4; }

/* === CONTENT SECTIONS === */
.content-section {
    padding: 50px 0;
}
.content-section.alt-bg {
    background: var(--bg-secondary);
}
.content-section h2 {
    color: var(--text-heading);
    position: relative;
    padding-bottom: 12px;
}
.content-section h2::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 50px; height: 2px;
    background: var(--accent);
}
.content-section h3 { color: var(--silver); margin-top: 24px; }
.content-section p { color: var(--text); width: 90%; }
.content-section table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.content-section th {
    background: var(--bg-card);
    color: var(--silver);
    font-family: var(--font-heading);
    font-size: 13px; font-weight: 600;
    padding: 12px 14px; text-align: left;
    border-bottom: 2px solid var(--accent);
    position: sticky; top: 0;
}
.content-section td {
    padding: 10px 14px; font-size: 13px;
    border-bottom: 1px solid var(--border-card);
    color: var(--text);
}
.content-section tr:hover td { background: rgba(196, 30, 58, 0.04); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.table-responsive table { min-width: 700px; }
.section-spacing { margin-bottom: 60px; }

/* === REVIEWS === */
.reviews-section { padding: 60px 0; }
.reviews-section > .container > h2 { margin-bottom: 40px; }
.review-block {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    margin-bottom: 40px;
    overflow: hidden;
}
.review-topbar {
    display: flex; align-items: center; gap: 16px;
    padding: 18px 24px;
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-card);
    flex-wrap: wrap;
}
.review-topbar img { height: 40px; width: auto; object-fit: contain; }
.review-topbar h3 { margin: 0; flex: 1; }
.review-topbar .stars { color: var(--star); font-size: 14px; }
.review-cta {
    background: var(--accent); color: #fff;
    padding: 8px 20px; border-radius: var(--radius);
    font-size: 13px; font-weight: 600;
    font-family: var(--font-heading);
    transition: background .2s;
}
.review-cta:hover { background: var(--accent-hover); color: #fff; }
.review-screenshots {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    padding: 20px 24px;
}
.review-screenshots img {
    width: 100%; height: auto; object-fit: contain;
    border-radius: var(--radius);
    cursor: pointer;
    border: 1px solid var(--border-card);
    transition: border-color .2s;
}
.review-screenshots img:hover { border-color: var(--accent); }
.review-body { padding: 20px 24px; }
.review-body p { width: 100%; }
.pros-cons {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    margin: 20px 24px 24px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    overflow: hidden;
}
.pros-col, .cons-col { padding: 16px 20px; }
.pros-col { border-right: 1px solid var(--border-card); }
.pros-col h4 { color: var(--green); font-size: 14px; margin-bottom: 10px; }
.cons-col h4 { color: var(--red); font-size: 14px; margin-bottom: 10px; }
.pros-col li, .cons-col li {
    font-size: 13px; color: var(--text-muted);
    margin-bottom: 6px; list-style: none;
    padding-left: 16px; position: relative;
}
.pros-col li::before { content: '+'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.cons-col li::before { content: '−'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* === FAQ === */
.faq-section { padding: 60px 0; background: var(--bg-secondary); }
.faq-section h2 { margin-bottom: 30px; }
.faq-item {
    border-bottom: 1px solid var(--border-card);
}
.faq-question {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600; font-size: 15px;
    color: var(--text-heading);
    user-select: none;
    min-height: 48px;
    transition: color .2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
    font-size: 20px; color: var(--accent);
    transition: transform .3s;
    flex-shrink: 0; margin-left: 12px;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease, padding .3s;
}
.faq-item.open .faq-answer { max-height: 600px; padding-bottom: 18px; }
.faq-answer p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* === AUTHOR BOX === */
.author-box {
    padding: 60px 0;
}
.author-inner {
    display: flex; gap: 24px; align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 30px;
}
.author-inner img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    flex-shrink: 0;
}
.author-text h3 { margin-bottom: 8px; }
.author-text p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* === FOOTER === */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
}
.footer-copy { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.footer-disclaimer { font-size: 12px; color: var(--text-muted); line-height: 1.6; max-width: 800px; margin: 0 auto; }
.footer-disclaimer a { color: var(--accent); }
.footer-disclaimer a:hover { color: var(--silver); }

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

/* === CONTACT FORM === */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.contact-field { margin-bottom: 16px; }
.contact-field label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--silver); margin-bottom: 6px;
    font-family: var(--font-heading);
}
.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    color: var(--text);
    padding: 12px 14px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color .2s;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-field textarea { min-height: 140px; resize: vertical; }
.contact-submit {
    background: var(--accent); color: #fff;
    border: none; padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700; font-size: 15px;
    cursor: pointer; font-family: var(--font-heading);
    transition: background .2s;
}
.contact-submit:hover { background: var(--accent-hover); }
.toast {
    display: none; position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: var(--green); color: #111; padding: 14px 28px;
    border-radius: var(--radius); font-weight: 600; z-index: 3000;
    font-size: 14px;
}
.toast.show { display: block; }

/* Contact info box */
.contact-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 30px;
    text-align: center;
}
.contact-info-box p { color: var(--text-muted); font-size: 14px; }

/* === PAGE CONTENT === */
.page-content {
    padding: 60px 0;
}
.page-content h2 { margin-top: 40px; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { color: var(--silver); margin-top: 24px; }
.page-content p { color: var(--text); }
.page-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.page-content th {
    background: var(--bg-card);
    color: var(--silver);
    font-family: var(--font-heading);
    font-size: 13px; font-weight: 600;
    padding: 12px 14px; text-align: left;
    border-bottom: 2px solid var(--accent);
}
.page-content td {
    padding: 10px 14px; font-size: 13px;
    border-bottom: 1px solid var(--border-card);
    color: var(--text);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .casino-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hamburger { display: block; }
    .casino-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hero { min-height: 50vh; padding: 40px 0; }
    .inner-hero { min-height: 35vh; }
    .review-topbar { flex-direction: column; align-items: flex-start; }
    .review-screenshots { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
    .pros-col { border-right: none; border-bottom: 1px solid var(--border-card); }
    .author-inner { flex-direction: column; align-items: center; text-align: center; }
    .content-section p { width: 100%; }
    .badge-row { gap: 8px; }
    .badge { font-size: 11px; padding: 6px 12px; }
    .table-responsive table td,
    .table-responsive table th { font-size: 13px; min-width: 100px; }
}
@media (max-width: 480px) {
    .casino-grid { grid-template-columns: 1fr; }
    body { font-size: 15px; }
}
