@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap');

:root {
    --bg-color: #0c0c0c;
    --card-bg: rgba(25, 25, 25, 0.7);
    --primary-glow: #ff4500;
    --secondary-glow: #ff8c00;
    --text-color: #ffffff;
    --accent-color: #ff2a00;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-color);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 69, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 0, 0.05) 0%, transparent 50%);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: var(--text-color);
    overflow: hidden;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.bg-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8em;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

.hidden {
    display: none !important;
}

h1 {
    margin-bottom: 2rem;
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Game HUD */
.game-hud {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rank-display, .score-display, .combo-display, .level-display, .total-display {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 69, 0, 0.3);
    font-size: 1.2em;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.total-display {
    border-color: rgba(255, 204, 0, 0.3);
    color: #fff;
    font-size: 0.95em;
}

.level-display {
    border-color: #00ffcc;
    color: #fff;
    position: relative;
    padding-bottom: 18px; /* space for xp bar */
}

.level-display span {
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.xp-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ccff, #00ffcc);
    width: 0%;
    transition: width 0.3s ease;
}

.high-score-text {
    font-size: 0.6em;
    color: #aaa;
    font-weight: normal;
    text-shadow: none;
    margin-left: 5px;
}

.rank-display span {
    color: #ff8c00;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.score-display span {
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.combo-display {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-color: #ff2a00;
}

.combo-display.hidden {
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
}

.combo-display span {
    color: #ff2a00;
    font-size: 1.4em;
    text-shadow: 0 0 10px rgba(255, 42, 0, 0.5);
}

.combo-timer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #ffcc00;
    width: 100%;
    transform-origin: left;
    transition: transform 0.1s linear;
}

#number {
    font-size: 5em;
    font-weight: 700;
    margin: 1.5rem 0;
    display: block;
    text-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



/* Particle Styles */
.particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    background: orange;
    z-index: 5;
    filter: blur(2px);
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(0) rotate(360deg);
        opacity: 0;
    }
}

.fire-flash {
    animation: flash 0.4s ease-out;
}

/* Confetti Styles */
.confetti {
    position: absolute;
    pointer-events: none;
    z-index: 6;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(200px) rotate(720deg);
        opacity: 0;
    }
}

/* Instagram Styled Flames */
.flame {
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 30px;
    background: linear-gradient(to top, #ff2a00, #ff8c00, #ffcc00, transparent);
    border-radius: 50% 50% 20% 20%;
    filter: blur(4px);
    pointer-events: none;
    z-index: 7;
    mix-blend-mode: screen;
}

@keyframes flicker {
    0%, 100% { transform: scale(1) rotate(-1deg); opacity: 0.8; }
    50% { transform: scale(1.1) rotate(1deg); opacity: 1; }
}

.flame-animation {
    animation: flicker 0.1s infinite;
}

/* Intense Button Edge Flames (Now Textured) */
.intense-flame {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    mix-blend-mode: plus-lighter;
    transform-origin: bottom center;
    filter: url(#fire-texture);
}

.flame-core {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 80%, #fff 0%, #ffcc00 40%, transparent 80%);
    filter: blur(1px);
}

.flame-outer {
    position: absolute;
    bottom: 0;
    width: 120%;
    height: 120%;
    left: -10%;
    background: radial-gradient(circle at 50% 80%, #ff4500 0%, #ff2a00 50%, transparent 90%);
    filter: blur(4px);
    opacity: 0.6;
}

@keyframes rise-and-flicker {
    0% { transform: translateY(0) scale(1) rotate(0deg); opacity: 1; }
    50% { transform: translateY(-30px) scale(1.2) rotate(2deg); opacity: 0.8; }
    100% { transform: translateY(-70px) scale(0.5) rotate(-2deg); opacity: 0; }
}

.flame-active {
    animation: rise-and-flicker 0.4s ease-out forwards;
}

/* Top Controls */
.top-controls {
    position: absolute;
    top: 20px;
    right: 20px; /* Moved to right */
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.icon-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 69, 0, 0.3);
    color: #ffcc00;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.icon-btn:hover {
    background: rgba(255, 69, 0, 0.3);
    transform: translateX(-5px);
    box-shadow: 0 4px 20px rgba(255, 69, 0, 0.5);
}

.icon-btn.active {
    background: rgba(255, 69, 0, 0.6);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

/* Menus Container (Slide in/out) */
.menus-container {
    display: none; /* Keep hidden until opened */
    position: absolute;
    top: 150px;
    right: -350px; /* Hidden off-screen right */
    width: 320px;
    height: calc(100vh - 170px);
    z-index: 90;
    transition: right 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
    /* Hide scrollbar */
    scrollbar-width: none; 
}
.menus-container::-webkit-scrollbar { display: none; }

.menus-container.open {
    display: block;
    right: 20px;
}

/* Shop & Skills Panel Styles */
.shop-panel, .skills-panel {
    width: 100%;
    background: rgba(20, 10, 5, 0.85);
    border: 1px solid rgba(255, 69, 0, 0.4);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    color: #ddd;
    margin-bottom: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.reset-btn {
    margin-top: 20px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #ff4444;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8em;
    transition: all 0.2s ease;
}

.reset-btn:hover {
    background: rgba(255, 0, 0, 0.4);
    color: #fff;
}

.shop-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 400px) {
    .menus-container {
        width: 380px;
    }
    .shop-grid {
        grid-template-columns: 1fr 1fr; /* Two column layout if wide enough */
    }
    .upgrade-item {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
    .buy-btn {
        margin-top: 10px;
        align-self: flex-end;
    }
}

.skills-panel {
    border-color: #ffcc00;
}

.shop-panel h2, .skills-panel h2 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    color: #ff8c00;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.skills-panel h2 {
    color: #ffcc00;
}

.skill-btn {
    background: linear-gradient(135deg, #ffcc00, #ff4500);
    color: #000;
    font-weight: bold;
}

.upgrade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.upgrade-item:hover {
    background: rgba(255, 69, 0, 0.1);
    border-color: rgba(255, 69, 0, 0.4);
    transform: translateY(-2px);
}

.upgrade-item.locked {
    opacity: 0.5;
    filter: grayscale(1);
    pointer-events: none;
}
.upgrade-item.locked::after {
    content: '🔒 Lvl ' attr(data-req-level);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    padding: 5px 10px;
    border-radius: 5px;
    color: #ff4500;
    font-weight: bold;
    z-index: 10;
}

.upg-info h3 {
    margin: 0;
    font-size: 1.1em;
    color: #fff;
}

.upg-info p {
    margin: 4px 0;
    font-size: 0.8em;
    color: #aaa;
}

.shield-status {
    font-size: 0.8em;
    color: #00ffcc;
    font-weight: bold;
    text-shadow: 0 0 5px #00ffcc;
}

.upg-cost {
    font-size: 0.8em;
    color: #ffcc00;
    font-weight: bold;
}

.buy-btn {
    padding: 8px 16px;
    font-size: 0.9em;
    background: #ff4500;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: none;
}
.buy-btn:hover {
    background: #ff2a00;
    transform: scale(1.05);
}
.buy-btn:active {
    transform: scale(0.95);
}
.buy-btn:disabled {
    background: #555;
    color: #888;
    cursor: not-allowed;
    border-color: #444;
}
.buy-btn:disabled::before {
    display: none;
}

/* Floating Text Animation */
.floating-text {
    position: absolute;
    color: #ffcc00;
    font-weight: bold;
    font-size: 1.5em;
    pointer-events: none;
    z-index: 1000;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
    animation: float-up 1s ease-out forwards;
}

@keyframes float-up {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(1.5); opacity: 0; }
}

/* Ultimate Mode: Maka Bosada Aag */
body.maka-bosada-mode {
    background: #110000;
    animation: screen-shake 0.5s infinite alternate;
}

body.maka-bosada-mode .container {
    box-shadow: 0 0 50px 20px rgba(255, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.6);
}

body.maka-bosada-mode h1 {
    background: linear-gradient(to bottom, #ffcc00, #ff0000);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: intense-pulse 0.5s infinite;
}

@keyframes screen-shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

@keyframes intense-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Arcade Mechanics Styles */
.fireball-target {
    position: absolute;
    width: 100px; /* MUCH LARGER HITBOX */
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #ffcc00, #ff4500, #8b0000);
    box-shadow: 0 0 40px #ff4500, inset 0 0 30px #ffcc00;
    cursor: crosshair;
    z-index: 50;
    /* Mix blend mode to make them look hotter when overlapping */
    mix-blend-mode: screen;
    /* No CSS animation for wobble anymore, handled by JS if needed, or static */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Fire emoji inside normal fireball */
.fireball-target:not(.target-star):not(.target-bomb):not(.target-powerup)::before {
    content: '🔥';
    font-size: 50px;
    filter: drop-shadow(0 0 10px #ff4500);
}

/* Star Target (Bonus points) */
.target-star {
    border-radius: 0;
    background: linear-gradient(135deg, #ffcc00, #ff4500);
    box-shadow: none;
    mix-blend-mode: normal;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    filter: drop-shadow(0 0 20px #ffcc00);
    animation: spin 3s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.target-star::after {
    background: radial-gradient(circle, rgba(255,204,0,0.8) 0%, transparent 70%);
}

/* Bomb Target (Game Over) */
.target-bomb {
    background: radial-gradient(circle at 30% 30%, #444, #111, #000);
    box-shadow: 0 0 30px #ff0000;
    border: 2px solid #ff0000;
    mix-blend-mode: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
}

.target-bomb::before {
    content: '💣';
    filter: drop-shadow(0 0 10px #ff0000);
}

.target-bomb::after {
    background: radial-gradient(circle, rgba(255,0,0,0.8) 0%, transparent 70%);
    animation: bomb-pulse 0.5s infinite alternate;
}

@keyframes bomb-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Power-Up Targets */
.target-powerup {
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.8);
    animation: pu-pulse 1s infinite alternate;
}

@keyframes pu-pulse {
    0% { transform: scale(1); filter: brightness(1); }
    100% { transform: scale(1.1); filter: brightness(1.5); }
}

.pu-fire {
    background: radial-gradient(circle at 30% 30%, #fff, #ff4500, #8b0000);
    box-shadow: 0 0 40px #ff4500, inset 0 0 30px #ffcc00;
}
.pu-fire::after { content: '🔥'; display: flex; justify-content: center; align-items: center; height: 100%; font-size: 40px; }

.pu-slow {
    background: radial-gradient(circle at 30% 30%, #fff, #00bfff, #00008b);
    box-shadow: 0 0 40px #00bfff, inset 0 0 30px #88ccff;
}
.pu-slow::after { content: '⏳'; display: flex; justify-content: center; align-items: center; height: 100%; font-size: 40px; }

.pu-shield {
    background: radial-gradient(circle at 30% 30%, #fff, #00fa9a, #006400);
    box-shadow: 0 0 40px #00fa9a, inset 0 0 30px #00ffcc;
}
.pu-shield::after { content: '🛡️'; display: flex; justify-content: center; align-items: center; height: 100%; font-size: 40px; }

.pu-burst {
    background: radial-gradient(circle at 30% 30%, #fff, #ffd700, #b8860b);
    box-shadow: 0 0 40px #ffd700, inset 0 0 30px #ffcc00;
}
.pu-burst::after { content: '💥'; display: flex; justify-content: center; align-items: center; height: 100%; font-size: 40px; }

/* Fire trail behind standard target */
.fireball-target:not(.target-star):not(.target-bomb):not(.target-powerup)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255,69,0,0.5) 0%, transparent 70%);
    filter: blur(5px);
    z-index: -1;
    pointer-events: none;
}

@keyframes target-wobble {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

.miss-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0);
    pointer-events: none;
    z-index: 200;
}

.miss-flash {
    animation: screen-red-flash 0.5s ease-out;
}

@keyframes screen-red-flash {
    0% { background: rgba(255, 0, 0, 0.6); }
    100% { background: rgba(255, 0, 0, 0); }
}

.level-up-flash {
    animation: screen-green-flash 0.5s ease-out;
}

@keyframes screen-green-flash {
    0% { box-shadow: inset 0 0 100px 20px rgba(0, 255, 204, 0.8); }
    100% { box-shadow: inset 0 0 100px 0px rgba(0, 0, 0, 0.8); }
}

/* Game State Overlay (Pause / Game Over) */
.state-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 300;
    backdrop-filter: blur(10px);
}

.state-overlay h2 {
    font-size: 5em;
    color: #ff4500;
    margin: 0;
    text-shadow: 0 0 30px #ff4500;
    letter-spacing: 5px;
}

.state-overlay p {
    font-size: 1.5em;
    color: #ddd;
    margin-top: 10px;
}

/* Cursor Fire Trail */
.cursor-fire {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #ffcc00;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    filter: blur(2px);
    mix-blend-mode: screen;
    animation: fade-shrink 0.4s ease-out forwards;
}

@keyframes fade-shrink {
    0% { transform: scale(1); opacity: 1; background: #fff; }
    50% { background: #ff4500; }
    100% { transform: scale(0); opacity: 0; background: #8b0000; }
}

/* Global Background Fire */
.global-bg-fire {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, #ff2a00, transparent);
    filter: url(#fire-texture) blur(10px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    animation: pulse-bg-fire 3s infinite alternate;
}

@keyframes pulse-bg-fire {
    0% { transform: scaleY(1); opacity: 0.2; }
    100% { transform: scaleY(1.3); opacity: 0.5; }
}
/* Intro Guide */
.intro-title {
    font-size: clamp(2em, 5vw, 3em);
    color: #ffcc00;
    margin-bottom: 20px;
    text-shadow: 0 0 30px #ff4500;
    letter-spacing: 4px;
    text-align: center;
}

.intro-body {
    text-align: left;
    max-width: 90%;
    width: 500px;
    color: #eee;
    font-size: clamp(0.9em, 3vw, 1.15em);
    line-height: 1.5;
    padding: 0 15px;
    box-sizing: border-box;
}

.controls-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.controls-list li {
    margin: 4px 0;
    font-size: 0.9em;
}

.controls-list kbd {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    color: #fff;
}

.intro-start-btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: clamp(1.2em, 4vw, 1.5em);
    animation: pulse-glow 1.5s infinite alternate;
}
/* --- Enhanced Intro UI --- */
.intro-card {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 69, 0, 0.4);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(255, 69, 0, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    animation: cardEntrance 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cardEntrance {
    from { opacity: 0; transform: scale(0.8) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.intro-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.intro-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin: 0;
    background: linear-gradient(to bottom, #fff 30%, #ff4500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(255, 69, 0, 0.3);
}

.fire-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px #ff4500);
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    from { opacity: 0.7; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.1); }
}

.intro-section {
    margin-bottom: 1.2rem;
    padding-left: 10px;
    border-left: 3px solid var(--primary-glow);
}

.intro-section h3 {
    font-size: 0.9rem;
    margin: 0 0 5px 0;
    color: #ff8c00;
    letter-spacing: 1px;
}

.intro-section p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
    color: #ccc;
}

.intro-section.danger {
    border-left-color: #ff2a00;
}

.intro-section.danger h3 {
    color: #ff4500;
}

.intro-controls {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 2rem;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.control-item kbd {
    background: #333;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #555;
    color: #fff;
    font-size: 0.75rem;
}

.intro-start-btn {
    width: 100%;
    margin-top: 2.5rem;
    padding: 1.2rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(45deg, #ff4500, #ff8c00);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
}

.intro-start-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 69, 0, 0.6);
}

.intro-start-btn:active {
    transform: translateY(0);
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.intro-start-btn:hover .btn-glow {
    opacity: 1;
}

@keyframes pulse-glow {
    0%   { box-shadow: 0 0 10px rgba(255, 69, 0, 0.4); }
    100% { box-shadow: 0 0 30px rgba(255, 204, 0, 0.8); }
}

