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

html {
    height: 100%;
    background: #000000;
    overflow-x: hidden;
}

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #ff4444;
    --accent-hover: #ff6666;
    --border: #4a4a4a;
    --success: #44ff44;
    --warning: #ffaa44;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000000;
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

.banner {
    background: linear-gradient(135deg, var(--accent) 0%, #cc0000 100%);
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
    margin-bottom: 2rem;
}

.banner-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
    align-items: start;
}

.banner-left {
    display: flex;
    flex-direction: column;
}

.banner-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaderboard-section {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

.leaderboard-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: center;
}

.leaderboard-list {
    max-height: 200px;
    overflow-y: auto;
}

.leaderboard-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.leaderboard-item:last-child {
    margin-bottom: 0;
}

.leaderboard-winner {
    font-weight: 700;
    color: #ffff00;
}

.leaderboard-pick {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 0.25rem;
}

.leaderboard-empty {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-style: italic;
    padding: 1rem;
}

.banner-rules {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
}

.banner-rules h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: center;
}

.banner-rules .rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.banner-rules .rules-list li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.banner-rules .rules-list li:before {
    content: "•";
    color: #ffff00;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.banner-rules .rules-list li:last-child {
    margin-bottom: 0;
}

.banner-rules .rules-list li strong {
    color: #ffff00;
    font-weight: 700;
}

.current-holder {
    background: rgba(0, 0, 0, 0.5);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 1.5rem auto;
    max-width: 600px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: pulseGlow 2s ease-in-out infinite;
}

.current-holder-label {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
}

.current-holder-name {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffff00;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px #ffff00,
        0 0 20px #ffff00,
        0 0 30px #ffff00;
    animation: namePulse 1.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

@keyframes namePulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 
            0 0 10px #ffff00,
            0 0 20px #ffff00,
            0 0 30px #ffff00;
    }
    50% {
        transform: scale(1.05);
        text-shadow: 
            0 0 15px #ffff00,
            0 0 30px #ffff00,
            0 0 45px #ffff00;
    }
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

/* Death Announcement Banner */
.death-announcement {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in;
}

.death-announcement-content {
    background: linear-gradient(135deg, #8b0000 0%, #cc0000 100%);
    padding: 3rem 4rem;
    border-radius: 20px;
    border: 4px solid #ffff00;
    box-shadow: 
        0 0 40px rgba(255, 255, 0, 0.5),
        0 0 80px rgba(255, 68, 68, 0.8);
    text-align: center;
    position: relative;
    max-width: 600px;
    width: 90%;
    animation: deathPulse 2s ease-in-out infinite;
}

.death-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: deathShake 0.5s ease-in-out infinite;
}

.death-text {
    color: white;
}

.death-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: #ffff00;
    text-shadow: 0 0 20px #ffff00;
}

.death-name {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.death-picker {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.death-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
    color: white;
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.death-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes deathPulse {
    0%, 100% {
        box-shadow: 
            0 0 40px rgba(255, 255, 0, 0.5),
            0 0 80px rgba(255, 68, 68, 0.8);
    }
    50% {
        box-shadow: 
            0 0 60px rgba(255, 255, 0, 0.8),
            0 0 120px rgba(255, 68, 68, 1);
    }
}

@keyframes deathShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    min-width: 70px;
}

.countdown-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    line-height: 1;
    margin-bottom: 0.4rem;
    font-variant-numeric: tabular-nums;
}

.countdown-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    opacity: 0.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(255, 68, 68, 0.2);
}

.stat-card h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
}

.current-winner-section {
    background: linear-gradient(135deg, rgba(255, 255, 0, 0.2) 0%, rgba(255, 255, 0, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 3px solid #ffff00;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.3);
    animation: winnerPulse 2s ease-in-out infinite;
}

.current-winner-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.current-winner-label {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.current-winner-name {
    font-size: 3rem;
    font-weight: 900;
    color: #ffff00;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 
        0 0 10px #ffff00,
        0 0 20px #ffff00,
        0 0 30px #ffff00;
    animation: namePulse 1.5s ease-in-out infinite;
}

.current-winner-pick {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-top: 0.5rem;
}

@keyframes winnerPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(255, 255, 0, 0.3);
        border-color: #ffff00;
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 255, 0, 0.5);
        border-color: #ffff00;
    }
}

.pool-counter-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.pool-counter h3 {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.pool-amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    margin: 0;
}

.rules-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.rules-section h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.rules-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.rule-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.rule-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.1);
}

.rule-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.rule-item p {
    color: var(--text-primary);
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.rule-item p strong {
    color: var(--accent);
    font-weight: 700;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin: 0;
}

/* Rules Tooltip */
.rules-tooltip-container {
    position: relative;
    display: inline-block;
}

.rules-tooltip-trigger {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all 0.2s;
}

.rules-tooltip-trigger:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.rules-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.rules-tooltip.show {
    display: block;
    opacity: 1;
}

.rules-tooltip h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rules-tooltip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rules-tooltip-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
    position: relative;
}

.rules-tooltip-list li:before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.rules-tooltip-list li:last-child {
    margin-bottom: 0;
}

.rules-tooltip-list li strong {
    color: var(--accent);
    font-weight: 700;
}

.table-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.data-table thead {
    background: var(--bg-primary);
}

.data-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 1.25rem 1.5rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
}

.data-table tbody tr {
    transition: background-color 0.2s;
}

.data-table tbody tr:hover {
    background: rgba(255, 68, 68, 0.05);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(68, 255, 68, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.status-pending {
    background: rgba(255, 170, 68, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.status-completed {
    background: rgba(255, 68, 68, 0.2);
    color: var(--accent);
    border: 1px solid var(--accent);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-style: italic;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.3);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-primary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: 5% auto;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: var(--text-secondary);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .banner {
        padding: 2rem 1rem;
    }

    .banner-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .current-winner-name {
        font-size: 2rem;
    }

    .current-winner-pick {
        font-size: 1.2rem;
    }

    .banner-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rules-tooltip {
        left: auto;
        right: 0;
        min-width: 250px;
    }

    .leaderboard-section {
        padding: 1rem;
    }

    .leaderboard-section h3 {
        font-size: 1rem;
    }

    .banner-rules {
        padding: 1rem;
    }

    .banner-rules h3 {
        font-size: 1rem;
    }

    .banner-rules .rules-list li {
        font-size: 0.85rem;
    }

    .death-announcement-content {
        padding: 2rem;
    }

    .death-name {
        font-size: 2rem;
    }

    .death-picker {
        font-size: 1.2rem;
    }

    .grim-choice-text {
        font-size: 3rem;
        letter-spacing: 10px;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.5rem 0.75rem;
    }

    .countdown-value {
        font-size: 1.5rem;
    }

    .countdown-separator {
        font-size: 1.2rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .data-table {
        font-size: 0.9rem;
    }

    .data-table th,
    .data-table td {
        padding: 1rem;
    }

    .pool-amount {
        font-size: 2rem;
    }

    .rules-section {
        padding: 1.5rem;
    }

    .rules-section h2 {
        font-size: 1.5rem;
    }

    .rule-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .rule-number {
        align-self: flex-start;
    }
}

/* Floating Emojis Background */
.floating-emojis {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    opacity: 0.3;
    animation: float linear infinite;
    user-select: none;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* Ensure content is above floating emojis */
.container,
.banner {
    position: relative;
    z-index: 10;
}

/* Background Images */
.background-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.background-image {
    position: absolute;
    opacity: 0;
    filter: grayscale(80%);
    object-fit: cover;
    user-select: none;
    max-width: 300px;
    max-height: 300px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: imageFloat linear;
}

@keyframes imageFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* GRIM CHOICE Flash Overlay */
.grim-choice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: flashBackground 2s ease-out;
}

.grim-choice-overlay.active {
    display: flex;
}

.grim-choice-text {
    font-size: 6rem;
    font-weight: 900;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 20px;
    text-shadow: 
        0 0 20px var(--accent),
        0 0 40px var(--accent),
        0 0 60px var(--accent),
        0 0 80px var(--accent);
    animation: pulseText 0.5s ease-in-out infinite alternate, shake 0.3s ease-in-out infinite;
    z-index: 10000;
}

.spooky-emojis {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.spooky-emoji-burst {
    position: absolute;
    font-size: 4rem;
    animation: burstOut 1.5s ease-out forwards;
    user-select: none;
}

@keyframes flashBackground {
    0% {
        background: rgba(0, 0, 0, 0.95);
    }
    10% {
        background: rgba(255, 68, 68, 0.8);
    }
    20% {
        background: rgba(0, 0, 0, 0.95);
    }
    30% {
        background: rgba(255, 68, 68, 0.6);
    }
    40% {
        background: rgba(0, 0, 0, 0.95);
    }
    50% {
        background: rgba(255, 68, 68, 0.4);
    }
    100% {
        background: rgba(0, 0, 0, 0);
        opacity: 0;
    }
}

@keyframes pulseText {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px) rotate(-2deg);
    }
    75% {
        transform: translateX(10px) rotate(2deg);
    }
}

@keyframes burstOut {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(2) rotate(720deg) translateY(-200px);
        opacity: 0;
    }
}
