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

body {
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: white;
    overflow: hidden;
}

/* =========================
   LOADER
========================= */

#loader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#loader img {
    width: 200px;
    opacity: 0;
    transform: scale(0.85);
    animation: loaderIn 1.2s ease forwards;
}

@keyframes loaderIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.loader-line {
    width: 0;
    height: 2px;
    margin-top: 22px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: lineGrow 1.6s ease forwards 0.4s;
}

@keyframes lineGrow {
    to {
        width: 260px;
    }
}

#loader.fade-out {
    animation: fadeOut 0.8s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* =========================
   PAGE
========================= */

#page {
    display: none;
    animation: pageIn 1s ease forwards;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   LANDING
========================= */

.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 40px 20px;

    background:
        linear-gradient(rgba(0,0,0,0.90), rgba(0,0,0,0.90)),
        url("images/hero-bg.jpg");

    background-size: cover;
    background-position: center;
}

/* TITEL */
h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 1.05rem;
    color: #cccccc;
    margin-bottom: 50px;
}

/* =========================
   SPLIT LAYOUT
========================= */

.choices {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 22px;
    position: relative;

    transform: translateY(-10px);
}

/* =========================
   CARDS
========================= */

.choice-card {
    width: 320px;
    min-height: 280px;

    padding: 26px 22px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    text-decoration: none;
    color: white;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.55);
    border-radius: 20px;

    backdrop-filter: blur(12px);

    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;

    position: relative;
    z-index: 2;
}

.choice-card:hover {
    transform: translateY(-8px);
    border-color: #f1c75b;
    box-shadow: 0 0 30px rgba(212,175,55,0.22);
}

/* LOGO */
.choice-logo {
    width: 100%;
    max-width: 200px;
    margin-bottom: 18px;
    transition: transform 0.25s ease;
}

.choice-card:hover .choice-logo {
    transform: scale(1.04);
}

.choice-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #ddd;
    margin-bottom: 20px;
}

.choice-card span {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.9rem;
}

/* =========================
   CENTER IMAGE
========================= */

.center-image {
    position: relative;
    z-index: 5;
    pointer-events: none;

    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: riseCenter 1s ease forwards 0.35s;
}

.center-image img {
    width: 300px;
    max-width: 44vw;

    animation: float 8s ease-in-out infinite;
    filter: drop-shadow(0 0 50px rgba(212,175,55,0.22));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes riseCenter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1.08);
    }
}

/* =========================
   SPLIT ANIMATIE CARDS
========================= */

.choice-card {
    opacity: 0;
}

.choice-card:nth-child(1) {
    transform: translateX(-80px) scale(0.96);
    animation: slideLeft 0.9s ease forwards 0.2s;
}

.choice-card:nth-child(3) {
    transform: translateX(80px) scale(0.96);
    animation: slideRight 0.9s ease forwards 0.2s;
}

@keyframes slideLeft {
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes slideRight {
    to { opacity: 1; transform: translateX(0) scale(1); }
}

/* =========================
   COOKIE POPUP
========================= */
.cookie-popup {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99999;

    opacity: 0;
    transform: translateX(40px) translateY(20px);
    visibility: hidden;

    transition: all 0.45s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
    visibility: visible;
}

/* CARD */
.cookie-box {
    width: 290px;

    background: rgba(15,15,15,0.92);
    border: 1px solid rgba(212,175,55,0.45);
    border-radius: 16px;

    padding: 16px 14px;

    backdrop-filter: blur(14px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.55);

    position: relative;
    overflow: hidden;

    animation: glowPulse 4s ease-in-out infinite;
}

/* subtiele gold glow */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 15px 50px rgba(0,0,0,0.55),
                    0 0 0 rgba(212,175,55,0);
    }
    50% {
        box-shadow: 0 15px 50px rgba(0,0,0,0.55),
                    0 0 18px rgba(212,175,55,0.12);
    }
}

.cookie-box h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.cookie-box p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 12px;
}

/* BUTTONS */
.cookie-buttons {
    display: flex;
    gap: 8px;
}

.cookie-buttons button {
    flex: 1;

    padding: 8px 10px;
    border-radius: 10px;

    font-size: 0.85rem;
    font-weight: 600;

    cursor: pointer;
    border: none;

    transition: 0.25s ease;
}

#acceptCookies {
    background: #d4af37;
    color: #000;
}

#acceptCookies:hover {
    transform: translateY(-2px);
}

#declineCookies {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
}

#declineCookies:hover {
    border-color: #999;
}

/* MOBILE */
@media (max-width: 600px) {

    .cookie-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-box {
        width: auto;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 1000px) {

    body {
        overflow-y: auto;
    }

    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        margin-bottom: 35px;
    }

    .choices {
        flex-direction: column;
        gap: 18px;
    }

    .center-image {
        display: none;
    }

    .choice-card {
        width: 100%;
        max-width: 400px;
        min-height: auto;
    }
}