:root {
    --primary: #2980b9;
    --secondary: #2c3e50;
    --danger: #c0392b;
    --win: #27ae60;
    --gold: #f1c40f;
    --glass: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: #000;
    color: white;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
}

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

/* --- HUD --- */
#hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    padding: 30px;
    z-index: 10;
}

.top-info {
    display: flex;
    justify-content: space-between;
}

.stat-badge {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.4rem;
    font-weight: bold;
}

#hint-msg {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    padding: 10px 30px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- SCREENS --- */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.menu-card {
    background: white;
    color: var(--secondary);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.glow-text {
    font-family: 'Black Han Sans', sans-serif;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-info {
    margin: 20px 0;
    font-size: 1.2rem;
    color: var(--danger);
}

.tutorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    background: #f1f2f6;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.tuto-item {
    font-weight: bold;
}

.tuto-item span {
    background: var(--secondary);
    color: white;
    padding: 2px 8px;
    border-radius: 5px;
    margin-right: 5px;
}

.main-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.5rem;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Black Han Sans', sans-serif;
    transition: 0.3s;
}

.main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(41, 128, 185, 0.4);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.sub-btn {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
}

.big-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.win h2 {
    color: var(--win);
}

.hidden {
    display: none !important;
}