/* Basisvariabelen in BDMBet-stijl (wit + paars) */
:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f5f0ff;
    --color-primary: #7e3fff;
    --color-primary-dark: #4b248f;
    --color-accent: #ffd54a;
    --color-text: #1b132f;
    --color-muted: #7a7390;
    --color-border: #e0d7ff;
    --color-header-bg: #130627;
    --shadow-soft: 0 10px 25px rgba(19, 6, 39, 0.22);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --transition-fast: 0.2s ease-out;
    --max-width: 1120px;
}

/* Reset en basislayout */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #f5f0ff 0, #ffffff 60%);
    color: var(--color-text);
    line-height: 1.6;
}

/* Containerbreedte */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

/* Bovenbalk en navigatie */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, #130627 0%, #230b4a 50%, #130627 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 18px;
}

/* Logo links in de header */
.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffd54a 0, #ffb300 35%, #ff9100 80%);
    color: #130627;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.logo-text {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Hoofdmenu in het midden */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #e5ddff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd54a, #ff8f00);
    transition: width var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}

/* Actieknoppen rechts in de header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Algemene knoppenstijl */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    box-shadow: 0 6px 16px rgba(48, 13, 109, 0.55);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(48, 13, 109, 0.65);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

.btn-secondary {
    background: transparent;
    color: #f5f0ff;
    border-color: rgba(255,255,255,0.35);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255,255,255,0.06);
    border-color: #ffd54a;
    color: #ffffff;
}

.btn-lg {
    padding: 14px 26px;
    font-size: 15px;
}

.btn-wide {
    margin-top: 8px;
}

/* Hero-sectie */
.hero {
    padding: 36px 0 40px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.hero-content h1 {
    font-size: 30px;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--color-text);
}

.hero-content p {
    margin: 0 0 12px;
    color: var(--color-muted);
}

.hero-content .btn-primary {
    margin-top: 10px;
}

/* Visuele hero-box rechts */
.hero-media {
    min-height: 210px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(145deg, rgba(255,213,74,0.2), rgba(126,63,255,0.25)),
        radial-gradient(circle at 20% 0%, #ffd54a 0, transparent 60%),
        radial-gradient(circle at 100% 100%, #7e3fff 0, #130627 40%);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* Hoofdinhoud */
.main-content {
    padding-bottom: 48px;
}

/* Introblok over het casino */
.intro-section {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 22px 20px 24px;
    margin: 0 0 24px;
    box-shadow: 0 6px 24px rgba(19, 6, 39, 0.08);
    border: 1px solid var(--color-border);
}

.intro-section h2 {
    font-size: 22px;
    margin-top: 0;
}

.intro-section p {
    margin-top: 8px;
    margin-bottom: 8px;
    color: var(--color-muted);
}

/* Algemene contentblokken */
.content-section {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px 20px 22px;
    margin-bottom: 18px;
    border: 1px solid var(--color-border);
}

.content-section h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.content-section h2 a[name] {
    display: inline-block;
    width: 0;
    height: 0;
    overflow: hidden;
}

.content-section p {
    margin-top: 6px;
    margin-bottom: 8px;
    color: var(--color-muted);
}

.content-section ul,
.content-section ol {
    margin-top: 4px;
    margin-bottom: 10px;
    padding-left: 20px;
    color: var(--color-muted);
}

/* Tabellen in blokken (bonussen, games, betalingen) */
.table-wrapper {
    overflow-x: auto;
    margin: 10px -4px 10px 0;
}

.bonus-table,
.games-table,
.payments-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bonus-table th,
.bonus-table td,
.games-table th,
.games-table td,
.payments-table th,
.payments-table td {
    border: 1px solid var(--color-border);
    padding: 8px 10px;
    vertical-align: top;
    text-align: left;
}

.bonus-table thead,
.games-table thead,
.payments-table thead {
    background: var(--color-bg-alt);
}

.bonus-table th,
.games-table th,
.payments-table th {
    font-weight: 600;
    color: var(--color-text);
}

.bonus-table td,
.games-table td,
.payments-table td {
    color: var(--color-muted);
}

.btn-table {
    padding: 6px 12px;
    font-size: 13px;
}

/* Spelafbeeldingen in games-tabel */
.games-table img {
    max-width: 90px;
    border-radius: 10px;
    display: block;
}

/* FAQ-details en microdata-lijst */
.faq-list {
    margin-top: 8px;
}

.faq-item {
    border-radius: 12px;
    border: 1px solid var(--color-border);
    padding: 10px 12px;
    margin-bottom: 10px;
    background: var(--color-bg-alt);
}

.faq-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--color-text);
}

.faq-item p {
    margin: 0;
}

/* Zwevende CTA-knop onderaan/links */
.floating-cta {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 80;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 28px rgba(19, 6, 39, 0.65);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.25);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.floating-cta:hover,
.floating-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(19, 6, 39, 0.8);
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
}

/* Footer-sectie */
.site-footer {
    background: #0f061f;
    color: #d7cff0;
    padding-top: 26px;
    margin-top: 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    padding-bottom: 20px;
}

.footer-column h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 15px;
    color: #ffffff;
}

.footer-column p {
    margin-top: 4px;
    margin-bottom: 8px;
    font-size: 13px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 6px;
}

.footer-column a {
    color: #f3e6ff;
    text-decoration: none;
    font-size: 13px;
}

.footer-column a:hover,
.footer-column a:focus-visible {
    color: #ffd54a;
    text-decoration: underline;
}

.rg-links {
    margin-top: 8px;
}

.age-warning {
    font-weight: 700;
    margin-top: 8px;
}

.org-name {
    font-weight: 600;
}

.disclaimer {
    font-size: 12px;
    color: #a79cc9;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 10px 16px 14px;
    font-size: 12px;
    color: #a79cc9;
}

/* Responsieve layout voor kleinere schermen */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-media {
        order: -1;
    }

    .nav-container {
        gap: 10px;
    }

    .main-nav ul {
        gap: 14px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .nav-container {
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }

    .header-actions {
        order: 2;
    }

    .hero {
        padding-top: 20px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .intro-section h2 {
        font-size: 20px;
    }

    .floating-cta {
        left: 50%;
        transform: translateX(-50%);
    }

    .floating-cta:hover,
    .floating-cta:focus-visible {
        transform: translate(-50%, -1px);
    }
}
