:root {
    --gold: #f1c40f;
    --pistachio: #93d3a2;
    --chocolate: #5d4037;
    --neon-blue: #00d2ff;
    --glass: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Fredoka', sans-serif;
    user-select: none;
}

body {
    background: #000;
    color: white;
    overflow: hidden;
}

#game-container {
    position: relative;
    width: 100vw; height: 100vh;
}

/* HUD */
#hud {
    position: absolute;
    top: 20px; left: 0; width: 100%;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.top-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.stat-box {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(241, 196, 15, 0.3);
}

.stat-box.money { color: var(--gold); }

#status-msg {
    background: rgba(0,0,0,0.4);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.pet-status {
    background: var(--pistachio);
    color: #1a2a1a;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 15px var(--pistachio);
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

/* OVERLAYS */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(93, 64, 55, 0.4) 0%, rgba(0,0,0,0.9) 100%);
    display: flex; justify-content: center; align-items: center;
    z-index: 100;
}

.glass-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: var(--pistachio);
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 0 20px var(--pistachio);
}

.rewards {
    margin: 20px 0;
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
}

#start-btn {
    padding: 20px 60px;
    background: var(--pistachio);
    color: #000;
    border: none;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

#start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--pistachio);
}

#interaction-prompt {
    position: absolute;
    bottom: 15%; left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    padding: 10px 30px;
    border-radius: 10px;
    font-weight: 700;
}

/* TRANSFORMATION */
#transform-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 200;
    display: flex; justify-content: center; align-items: center;
}

.flash {
    position: absolute;
    width: 100%; height: 100%;
    background: white;
    opacity: 0;
}

#transform-overlay .text {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--pistachio);
    text-shadow: 0 0 50px white;
    z-index: 201;
}

.hidden { display: none !important; }
