/* Design Minimalista e Efeitos Cósmicos */
:root {
    --bg-dark: #050507;
    --card-bg: rgba(15, 15, 20, 0.85);
    --accent-gold: #ffcc33;
    --accent-blue: #4a90e2;
    --accent-red: #ff4d4d;
    --text-main: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body {
    background: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: background 1.5s ease;
}

/* Efeito de Chuva de Meteoros */
#meteor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.meteor {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--accent-gold));
    opacity: 0.6;
    animation: meteorFall 3s linear infinite;
    filter: blur(1px);
}

@keyframes meteorFall {
    0% { transform: translate(100vw, -10vh) rotate(45deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(-10vw, 110vh) rotate(45deg); opacity: 0; }
}

/* Eras Visuais */
body.era-darkness { --current-glow: rgba(0,0,0,0.5); }
body.era-light { --current-glow: rgba(255,204,51,0.15); }
body.era-creation { --current-glow: rgba(74,144,226,0.15); }

#game-container { width: 95%; max-width: 600px; z-index: 10; }

.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 0 50px var(--current-glow), 0 20px 40px rgba(0,0,0,0.6);
    transition: box-shadow 1s ease;
}

#icon-display-container {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.icon-main {
    font-size: 7rem;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 30px var(--accent-gold));
    animation: divinePulse 4s ease-in-out infinite;
}

@keyframes divinePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 20px var(--accent-gold)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 50px var(--accent-gold)); }
}

#game-header { display: flex; justify-content: space-between; margin-bottom: 40px; gap: 15px; }
.stat-item { flex: 1; text-align: left; }
.stat-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.5); margin-bottom: 8px; display: block; }
.stat-bar-container { width: 100%; height: 5px; background: rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; }
.stat-bar { height: 100%; transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

.tag { color: var(--accent-gold); font-size: 0.75rem; letter-spacing: 3px; font-weight: 700; text-transform: uppercase; margin-bottom: 20px; display: block; }
#narrative-text { font-size: 1.15rem; line-height: 1.8; margin-bottom: 40px; color: #eee; font-weight: 300; }

#minigame-container { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.mg-icon { font-size: 3rem; color: var(--accent-gold); cursor: pointer; transition: 0.3s; }
.mg-icon:hover { transform: scale(1.3) rotate(15deg); color: #fff; }
.mg-icon.collected { opacity: 0.05; transform: scale(0.4); pointer-events: none; }

#choices-container { display: flex; flex-direction: column; gap: 15px; }
.choice-btn { 
    background: rgba(255,255,255,0.03); 
    border: 1px solid rgba(255,255,255,0.1); 
    color: #fff; 
    padding: 20px; 
    border-radius: 20px; 
    cursor: pointer; 
    font-size: 1rem;
    transition: all 0.4s ease;
}
.choice-btn:hover { background: var(--accent-gold); color: #000; border-color: var(--accent-gold); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255,204,51,0.2); }

@media (max-width: 600px) {
    .glass-panel { padding: 30px 20px; }
    .icon-main { font-size: 5rem; }
    #game-header { flex-direction: column; }
}
