/* --- ALTIJD DONKER & VOLLEDIGE ACHTERGROND --- */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Playfair+Display:ital,wght@1,700&display=swap');

:root {
    color-scheme: dark;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* Achtergrond aangepast om 100% zichtbaar te zijn op PC */
    background: #000 url('background.jpg') no-repeat center center fixed;
    background-size: 100% 100%; 
    font-family: 'Special Elite', cursive;
    color: #d4af37;
    -webkit-font-smoothing: antialiased;
}

#falling-objects-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.main-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* --- KRANTENKNIPSEL --- */
.newspaper-clip {
    position: fixed;
    right: -30px; bottom: 20px;
    z-index: 100;
    transition: transform 0.4s ease-in-out;
    cursor: zoom-in;
}

.newspaper-clip img {
    width: 45vw;
    max-width: 500px;
    height: auto;
    filter: sepia(0.4) brightness(0.9) drop-shadow(5px 5px 15px #000);
    transform: rotate(-2deg);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.newspaper-clip:hover { transform: rotate(5deg); }

.newspaper-clip.enlarged { cursor: zoom-out; right: 10px; }
.newspaper-clip.enlarged img { width: 90vw; max-width: 1000px; transform: rotate(0deg); }

/* --- TYPOGRAFIE --- */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 10vw, 4.5rem);
    text-shadow: 2px 2px 10px #000;
    margin: 0; cursor: pointer;
}

.tagline-box {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 25px;
    border-top: 1px solid #d4af37;
    border-bottom: 1px solid #d4af37;
    margin-top: 10px;
}

.tagline {
    font-size: clamp(0.7rem, 3.5vw, 1.1rem);
    font-style: italic; margin: 0;
}

.content-box {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #d4af37;
    padding: 25px;
    width: 100%; max-width: 600px;
    backdrop-filter: blur(8px);
}

#countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.time-node { background: #000; border: 1px solid #d4af37; padding: 12px 5px; }
.time-node span { display: block; font-size: clamp(1.3rem, 5vw, 2.5rem); font-weight: bold; }
.time-node label { font-size: 0.6rem; text-transform: uppercase; }

/* --- OBJECTEN & ANIMATIE --- */
@keyframes fallAnimation {
    0% { transform: translateY(-15vh) rotate(0deg); opacity: 0; }
    15% { opacity: 0.9; }
    85% { opacity: 0.9; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
.card, .poker-chip, .dollar-bill { position: absolute; z-index: 2; pointer-events: none; }
.card { width: 35px; height: 50px; background: #eee; border-radius: 4px; color: #000; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.poker-chip { width: 38px; height: 38px; border-radius: 50%; border: 4px dashed #fff; }
.dollar-bill { width: 60px; height: 30px; background: #5a7556; border: 1px solid #222; color: #111; font-weight: bold; text-align: center; line-height: 30px; }

.hidden { display: none; }
#admin-panel { margin-top: 25px; width: 100%; max-width: 300px; }
input[type="password"] { width: 100%; padding: 15px; background: #111; border: 1px solid #d4af37; color: #d4af37; font-size: 16px; margin-bottom: 10px; box-sizing: border-box; }
button { width: 100%; padding: 15px; background: #d4af37; color: #000; font-weight: bold; border: none; cursor: pointer; }
footer { margin-top: auto; padding: 30px; font-size: 0.75rem; opacity: 0.5; }

/* MOBIEL: Achtergrond weer op 'cover' zetten voor betere verticale vulling */
@media screen and (max-width: 600px) {
    body, html { background-size: cover; }
    .newspaper-clip img { width: 45vw; }
}