:root {
    --bg-color-main: #0B0A11;
    --text-primary: #F4E8D3;
    --text-secondary: #BFAEA4;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #E8C96C;
    --glass-bg: rgba(20, 18, 28, 0.6);
    --glass-border: rgba(212, 175, 55, 0.2);
    --btn-primary-bg: linear-gradient(135deg, #A85A21, #622216);
    --btn-primary-hover: linear-gradient(135deg, #C26C2A, #823023);
    --correct: #508643;
    --wrong: #9D2D2D;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background effects */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center 30%, #1c152a 0%, #0B0A11 60%);
    z-index: -3;
}

.stars, .twinkling {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    display: block;
}
.stars {
    background: #0B0A11 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="20" cy="20" r="1" fill="white" opacity="0.5"/><circle cx="120" cy="80" r="1.5" fill="white" opacity="0.3"/><circle cx="80" cy="180" r="0.8" fill="white" opacity="0.7"/></svg>') repeat;
    z-index: -2;
}
.twinkling {
    background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400"><circle cx="50" cy="50" r="1.5" fill="white" opacity="0.1"/><circle cx="250" cy="200" r="2" fill="white" opacity="0.3"/><circle cx="150" cy="350" r="1" fill="white" opacity="0.2"/></svg>') repeat;
    animation: move-twink-back 100s linear infinite;
    z-index: -1;
}

@keyframes move-twink-back {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title & Header section */
.hero-section {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeIn 2s ease-out forwards;
}

.logo-container {
    margin-bottom: 20px;
}

.game-logo {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    /* Basic glow filter on logo */
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-logo:hover {
    transform: scale(1.05);
}

.coming-soon-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
}

.description strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.teaser-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 30px;
    opacity: 0.8;
}

/* Scena with animations */
.scene {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.scene-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

canvas {
    filter: drop-shadow(0px 10px 10px rgba(0,0,0,0.8));
    /* image-rendering preserves pixel art if it's pixelated */
    image-rendering: pixelated; 
    transform: scale(1);
    transition: transform 0.3s;
}

canvas:hover {
    transform: scale(1.1);
}

.shadow {
    width: 60%;
    height: 15px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    filter: blur(5px);
    margin-top: -10px;
}

/* Glassmorphism Box */
.box-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Quiz Section */
.quiz-section {
    width: 100%;
}

.quiz-container {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

#quiz-intro h2 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 2rem;
    margin-bottom: 15px;
}

#quiz-intro p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.dice-icon {
    display: block;
    margin: 30px auto 0;
    max-width: 80px;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
    animation: float 4s ease-in-out infinite;
}

/* Utilities */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.primary-btn {
    background: var(--btn-primary-bg);
    box-shadow: 0 5px 15px rgba(168, 90, 33, 0.4);
}

.primary-btn:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 90, 33, 0.6);
}

.secondary-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--glass-border);
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}


/* Active Quiz */
.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.progress-bar {
    width: 60%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--accent-gold);
    width: 10%;
    transition: width 0.4s ease;
}

#question-text {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.answers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.answer-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    padding: 15px 20px;
    font-size: 1rem;
    font-family: var(--font-body);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.answer-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.answer-btn:disabled {
    cursor: default;
    opacity: 0.8;
}

.answer-btn.correct {
    background: var(--correct);
    border-color: #79D168;
}

.answer-btn.wrong {
    background: var(--wrong);
    border-color: #F76B6B;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive */
@media (max-width: 768px) {
    .answers-grid {
        grid-template-columns: 1fr;
    }
    .scene {
        gap: 10px;
    }
    .coming-soon-title {
        font-size: 2rem;
    }
}

footer {
    margin-top: 60px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    opacity: 0.7;
}
