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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #eaeaea;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

body.comic-mode {
    font-family: 'Comic Sans MS', cursive !important;
}

body.comic-mode * {
    font-family: 'Comic Sans MS', cursive !important;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
}

h1 {
    font-size: 4rem;
    background: linear-gradient(90deg, #e94560, #ff6b6b, #e94560);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    margin-bottom: 0.5rem;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.tagline {
    color: #888;
    margin-bottom: 2rem;
    font-style: italic;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(145deg, #e94560, #c73e54);
    color: white;
    font-weight: bold;
    transition: all 0.2s ease;
    position: relative;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

.btn:active {
    transform: scale(0.95);
}

#runaway {
    transition: all 0.1s ease;
}

#extras {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

#extras .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

#scream-zone {
    font-size: 2rem;
    margin-top: 1rem;
    min-height: 50px;
}

.spin {
    animation: spinny 0.5s linear infinite;
}

@keyframes spinny {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.success-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #4ecca3;
    color: #1a1a2e;
    padding: 2rem 3rem;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    animation: popIn 0.3s ease;
    z-index: 100;
}

@keyframes popIn {
    0% { transform: translate(-50%, -50%) scale(0); }
    80% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}
