/* style.css - Layout Fix & 3D Buttons */
:root {
    --dusty-pink: #B08480;
    --nude-bg: #F7F2EB;
    --warm-grey: #4A403A;
    --white: #FFFFFF;
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--nude-bg); 
    color: var(--warm-grey); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh;
    margin: 0; 
    padding: 20px; 
    box-sizing: border-box;
    overflow-x: hidden;
}

/* FIX: Zorgt dat het canvas de layout niet verpest */
canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: -1;
}

.container { 
    background: var(--white);
    width: 100%; 
    max-width: 450px; 
    border-radius: 20px; 
    box-shadow: 0 15px 40px rgba(176, 132, 128, 0.1); 
    border-top: 6px solid var(--dusty-pink);
    padding: 40px 30px; 
    text-align: center;
    position: relative;
    z-index: 10;
    margin: auto;
}

h1 { font-family: 'Playfair Display', serif; color: var(--dusty-pink); margin-bottom: 5px; font-size: 28px; }
.subtitle { font-size: 14px; color: #888; margin-bottom: 20px; display: block; }

/* COUNTDOWN */
#countdown-box {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; padding: 10px;
    background: #fff0f1; border-radius: 15px; border: 1px dashed var(--dusty-pink);
}
.cd-item { display: flex; flex-direction: column; align-items: center; }
.cd-item span { font-weight: bold; font-size: 20px; color: var(--warm-grey); font-family: 'Playfair Display', serif; }
.cd-item small { font-size: 10px; text-transform: uppercase; color: var(--dusty-pink); }

input { 
    width: 100%; padding: 15px; text-align: center; border: 2px solid #eee; border-radius: 50px; 
    margin-bottom: 15px; font-size: 16px; box-sizing: border-box; background: #fff; 
}
.btn-login { 
    background: var(--dusty-pink); color: white; border: none; padding: 15px 30px; 
    border-radius: 50px; font-weight: bold; cursor: pointer; width: 100%; font-size: 16px; 
}

/* MENU GRID - 3D */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; perspective: 1000px; }

.menu-card {
    background: #fff;
    border: 1px solid #E6D7D2;
    border-radius: 15px;
    padding: 20px 10px;
    text-decoration: none;
    color: var(--warm-grey);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.1s ease-out;
    will-change: transform;
    cursor: pointer;
}

.menu-icon { font-size: 32px; margin-bottom: 10px; display: block; transform: translateZ(20px); }
.menu-title { font-weight: bold; font-size: 14px; transform: translateZ(10px); }

.btn-logout { display: inline-block; margin-top: 40px; color: #aaa; font-size: 12px; text-decoration: none; border-bottom: 1px dotted #ccc; }

/* DISCO MODE */
body.disco-mode { animation: disco 2s infinite; }
@keyframes disco {
    0% { background: #ff0000; } 20% { background: #ffff00; } 40% { background: #00ff00; }
    60% { background: #00ffff; } 80% { background: #0000ff; } 100% { background: #ff00ff; }
}

/* --- SLOTJE STIJLEN --- */
.menu-card.locked {
    background-color: #f0f0f0 !important;
    color: #bbb !important;
    border-color: #ddd !important;
    cursor: not-allowed;
    position: relative;
    box-shadow: none !important;
    transform: none !important;
}

/* Zorgt dat iconen ook grijs worden */
.menu-card.locked .menu-icon {
    filter: grayscale(100%);
    opacity: 0.3;
}

/* Het slotje rechtsboven (Werkt dit niet? Geen ramp, PHP zet nu ook een slotje in de tekst) */
.menu-card.locked::after {
    content: '🔒';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    opacity: 0.5;
    filter: grayscale(0);
}