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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            overflow: hidden;
            position: relative;
        }

        .container {
            text-align: center;
            z-index: 10;
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: pulse 2s ease-in-out infinite;
        }

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

        .stats {
            display: flex;
            gap: 2rem;
            justify-content: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .stat-box {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 1rem 2rem;
            border-radius: 15px;
            border: 2px solid rgba(255,255,255,0.2);
        }

        .stat-label {
            font-size: 0.8rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .stat-value {
            font-size: 2rem;
            font-weight: bold;
            margin-top: 0.5rem;
        }

        .button-container {
            position: relative;
            margin: 3rem 0;
        }

        .rarity-glow {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 210px;
            height: 210px;
            border-radius: 50%;
            pointer-events: none;
            opacity: 0;
            z-index: 99;
        }

        .rarity-glow.uncommon {
            border: 3px solid rgba(77, 255, 136, 0.8);
            box-shadow: 0 0 15px rgba(77, 255, 136, 0.8),
                        inset 0 0 15px rgba(77, 255, 136, 0.3);
            animation: rarityRing 0.6s ease-out;
            opacity: 1;
        }

        .rarity-glow.rare {
            border: 4px solid rgba(77, 166, 255, 0.8);
            box-shadow: 0 0 20px rgba(77, 166, 255, 0.8),
                        inset 0 0 20px rgba(77, 166, 255, 0.3);
            animation: rarityRing 0.8s ease-out;
            opacity: 1;
        }

        .rarity-glow.epic {
            border: 5px solid rgba(166, 77, 255, 0.9);
            box-shadow: 0 0 30px rgba(166, 77, 255, 0.9),
                        inset 0 0 30px rgba(166, 77, 255, 0.4);
            animation: rarityRing 1s ease-out;
            opacity: 1;
        }

        .rarity-glow.legendary {
            border: 6px solid rgba(255, 215, 0, 1);
            box-shadow: 0 0 40px rgba(255, 215, 0, 1),
                        0 0 80px rgba(255, 215, 0, 0.6),
                        inset 0 0 40px rgba(255, 215, 0, 0.5);
            animation: legendaryRing 1.2s ease-out;
            opacity: 1;
        }

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

        @keyframes legendaryRing {
            0% {
                transform: translate(-50%, -50%) scale(0.7) rotate(-90deg);
                opacity: 0;
            }
            30% {
                transform: translate(-50%, -50%) scale(1.15) rotate(30deg);
                opacity: 1;
            }
            60% {
                transform: translate(-50%, -50%) scale(0.95) rotate(-15deg);
                opacity: 1;
            }
            100% {
                transform: translate(-50%, -50%) scale(1) rotate(0deg);
                opacity: 0;
            }
        }

        /* Unified Status Display - shows power-ups and notifications */
        .status-display {
            margin: 1.5rem auto;
            width: 90%;
            max-width: 600px;
            min-height: 60px;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            align-items: center;
        }

        .status-powerups {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            justify-content: center;
            min-height: 32px;
        }

        .status-notification {
            padding: 0.5rem 1rem;
            border-radius: 12px;
            font-weight: bold;
            font-size: 0.9rem;
            text-align: center;
            opacity: 0;
            transform: scale(0.8);
            transition: opacity 0.3s, transform 0.3s;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            white-space: nowrap;
        }

        .status-notification.show {
            opacity: 1;
            transform: scale(1);
        }

        .status-notification.uncommon {
            color: #4dff88;
            background: rgba(77, 255, 136, 0.2);
            border: 2px solid #4dff88;
            text-shadow: 0 0 10px #4dff88;
        }

        .status-notification.rare {
            color: #4da6ff;
            background: rgba(77, 166, 255, 0.2);
            border: 2px solid #4da6ff;
            text-shadow: 0 0 10px #4da6ff;
        }

        .status-notification.epic {
            color: #a64dff;
            background: rgba(166, 77, 255, 0.2);
            border: 2px solid #a64dff;
            text-shadow: 0 0 10px #a64dff;
        }

        .status-notification.legendary {
            color: #ffd700;
            background: rgba(255, 215, 0, 0.2);
            border: 2px solid #ffd700;
            text-shadow: 0 0 10px #ffd700;
            font-size: 1.1rem;
        }

        #theButton {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            border: none;
            font-size: 1.5rem;
            font-weight: bold;
            color: white;
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            cursor: pointer;
            transition: transform 0.1s, box-shadow 0.1s;
            position: relative;
            z-index: 100;
        }

        #theButton:hover {
            transform: scale(1.1);
            box-shadow: 0 15px 50px rgba(0,0,0,0.4);
        }

        #theButton:active {
            transform: scale(0.95);
            box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        }

        #theButton.clicked {
            animation: buttonClick 0.3s ease-out;
        }

        @keyframes buttonClick {
            0% { transform: scale(1); }
            50% { transform: scale(0.9) rotate(5deg); }
            100% { transform: scale(1) rotate(0deg); }
        }

        .message {
            min-height: 60px;
            font-size: 1.5rem;
            margin: 2rem 0;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            animation: fadeIn 0.3s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .combo {
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            font-weight: bold;
            color: #ffd700;
            text-shadow: 0 0 10px rgba(255,215,0,0.5);
            animation: comboPopup 0.5s ease-out;
            pointer-events: none;
        }

        @keyframes comboPopup {
            0% { opacity: 0; transform: translateX(-50%) translateY(0) scale(0.5); }
            50% { opacity: 1; transform: translateX(-50%) translateY(-20px) scale(1.2); }
            100% { opacity: 0; transform: translateX(-50%) translateY(-40px) scale(0.8); }
        }

        /* Scrolling Combat Text */
        .sct {
            position: absolute;
            font-size: 1.8rem;
            font-weight: bold;
            pointer-events: none;
            z-index: 1000;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
            animation: sctFloat 1.2s ease-out forwards;
        }

        .sct.common {
            color: #ffffff;
        }

        .sct.uncommon {
            color: #4dff88;
            text-shadow: 0 0 10px #4dff88, 2px 2px 4px rgba(0,0,0,0.8);
        }

        .sct.rare {
            color: #4da6ff;
            text-shadow: 0 0 10px #4da6ff, 2px 2px 4px rgba(0,0,0,0.8);
        }

        .sct.epic {
            color: #a64dff;
            text-shadow: 0 0 10px #a64dff, 2px 2px 4px rgba(0,0,0,0.8);
            font-size: 2rem;
        }

        .sct.legendary {
            color: #ffd700;
            text-shadow: 0 0 15px #ffd700, 2px 2px 4px rgba(0,0,0,0.8);
            font-size: 2.2rem;
        }

        .sct.critical {
            color: #ff4444;
            text-shadow: 0 0 15px #ff4444, 2px 2px 4px rgba(0,0,0,0.8);
            font-size: 2.5rem;
            animation: sctCritical 1.2s ease-out forwards;
        }

        @keyframes sctFloat {
            0% {
                opacity: 1;
                transform: translateY(0) scale(0.8);
            }
            20% {
                opacity: 1;
                transform: translateY(-20px) scale(1.1);
            }
            100% {
                opacity: 0;
                transform: translateY(-80px) scale(0.9);
            }
        }

        @keyframes sctCritical {
            0% {
                opacity: 1;
                transform: translateY(0) scale(0.5) rotate(-10deg);
            }
            15% {
                opacity: 1;
                transform: translateY(-10px) scale(1.3) rotate(5deg);
            }
            30% {
                opacity: 1;
                transform: translateY(-20px) scale(1.1) rotate(-3deg);
            }
            100% {
                opacity: 0;
                transform: translateY(-100px) scale(0.8) rotate(0deg);
            }
        }

        .particle {
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            pointer-events: none;
            animation: particleFloat 1s ease-out forwards;
        }

        @keyframes particleFloat {
            0% {
                opacity: 1;
                transform: translate(0, 0) scale(1);
            }
            100% {
                opacity: 0;
                transform: translate(var(--tx), var(--ty)) scale(0);
            }
        }

        .progress-section {
            margin-top: 2rem;
            width: 100%;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .progress-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }

        .progress-bar {
            width: 100%;
            height: 20px;
            background: rgba(255,255,255,0.2);
            border-radius: 10px;
            overflow: hidden;
            border: 2px solid rgba(255,255,255,0.3);
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #00f260 0%, #0575e6 100%);
            transition: width 0.3s ease;
            border-radius: 8px;
        }

        #saveStatus {
            font-weight: 500;
            text-shadow: 0 0 10px currentColor;
        }

        /* Rarity System Styles */
        .message.common {
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .message.uncommon {
            color: #4dff88;
            text-shadow: 0 0 10px #4dff88, 0 0 20px #4dff88;
            animation: uncommonPulse 0.4s ease-out;
        }

        .message.rare {
            color: #4da6ff;
            text-shadow: 0 0 10px #4da6ff, 0 0 20px #4da6ff;
            animation: rarePulse 0.5s ease-out;
        }

        .message.epic {
            color: #a64dff;
            text-shadow: 0 0 15px #a64dff, 0 0 30px #a64dff;
            animation: epicPulse 0.5s ease-out;
        }

        .message.legendary {
            background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700, 0 0 60px #ffd700;
            animation: legendaryPulse 0.8s ease-out;
            font-size: 2rem !important;
        }

        @keyframes uncommonPulse {
            0% { transform: scale(0.9); opacity: 0; }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); opacity: 1; }
        }

        @keyframes rarePulse {
            0% { transform: scale(0.8); opacity: 0; }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); opacity: 1; }
        }

        @keyframes epicPulse {
            0% { transform: scale(0.7) rotate(-5deg); opacity: 0; }
            50% { transform: scale(1.15) rotate(5deg); }
            100% { transform: scale(1) rotate(0); opacity: 1; }
        }

        @keyframes legendaryPulse {
            0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
            25% { transform: scale(1.3) rotate(5deg); }
            50% { transform: scale(0.9) rotate(-5deg); }
            75% { transform: scale(1.2) rotate(3deg); }
            100% { transform: scale(1) rotate(0); opacity: 1; }
        }

        /* Critical Hit Flash */
        @keyframes criticalFlash {
            0% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
            25% { background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%); }
            50% { background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); }
            75% { background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%); }
            100% { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
        }

        body.critical-hit {
            animation: criticalFlash 0.6s ease-out;
        }

        .crit-text {
            position: fixed;
            top: 30%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 4rem;
            font-weight: bold;
            color: #ffd700;
            text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700, 0 0 60px #ff0000;
            z-index: 2000;
            pointer-events: none;
            animation: critTextAnimation 1s ease-out forwards;
        }

        @keyframes critTextAnimation {
            0% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.5) rotate(-20deg);
            }
            20% {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1.5) rotate(10deg);
            }
            80% {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1.3) rotate(-5deg);
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
            }
        }

        /* Daily Streak Highlight */
        #dailyStreakBox {
            position: relative;
        }

        #dailyStreakBox.active {
            border-color: #ff6b6b;
            box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
            animation: streakGlow 2s ease-in-out infinite;
        }

        @keyframes streakGlow {
            0%, 100% {
                box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
            }
            50% {
                box-shadow: 0 0 25px rgba(255, 107, 107, 0.7);
            }
        }

        /* Rarity indicator - now using glow effect around button instead */
        .rarity-indicator {
            display: none;
        }

        /* Multi-sensory enhancement styles */
        @keyframes screenShake {
            0%, 100% { transform: translate(0, 0); }
            10% { transform: translate(-5px, -5px); }
            20% { transform: translate(5px, 5px); }
            30% { transform: translate(-5px, 5px); }
            40% { transform: translate(5px, -5px); }
            50% { transform: translate(-5px, -5px); }
            60% { transform: translate(5px, 5px); }
            70% { transform: translate(-5px, 5px); }
            80% { transform: translate(5px, -5px); }
            90% { transform: translate(-5px, -5px); }
        }

        body.shake {
            animation: screenShake 0.5s ease-in-out;
        }

        @keyframes buttonPulse {
            0% { transform: scale(1); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
            50% { transform: scale(1.15); box-shadow: 0 20px 60px rgba(255,215,0,0.6); }
            100% { transform: scale(1); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
        }

        #theButton.mega-click {
            animation: buttonPulse 0.4s ease-out;
        }

        @keyframes rainbowGlow {
            0% { filter: hue-rotate(0deg) brightness(1.2); }
            100% { filter: hue-rotate(360deg) brightness(1.2); }
        }

        body.rainbow {
            animation: rainbowGlow 2s linear infinite;
        }

        .confetti-piece {
            position: fixed;
            width: 10px;
            height: 10px;
            background: #ffd700;
            top: -10px;
            opacity: 1;
            animation: confettiFall 3s ease-out forwards;
            pointer-events: none;
            z-index: 1000;
        }

        @keyframes confettiFall {
            0% {
                transform: translateY(0) rotateZ(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(100vh) rotateZ(720deg);
                opacity: 0;
            }
        }

        .firework {
            position: fixed;
            pointer-events: none;
            z-index: 1000;
        }

        .firework-particle {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            animation: fireworkExplosion 1s ease-out forwards;
        }

        @keyframes fireworkExplosion {
            0% {
                opacity: 1;
                transform: translate(0, 0);
            }
            100% {
                opacity: 0;
                transform: translate(var(--tx), var(--ty));
            }
        }

        .ripple {
            position: absolute;
            border-radius: 50%;
            border: 3px solid rgba(255, 255, 255, 0.8);
            width: 0;
            height: 0;
            animation: rippleEffect 1s ease-out;
            pointer-events: none;
            z-index: 99;
        }

        @keyframes rippleEffect {
            0% {
                width: 0;
                height: 0;
                opacity: 1;
            }
            100% {
                width: 400px;
                height: 400px;
                opacity: 0;
            }
        }

        .message.mega {
            font-size: 2.5rem;
            animation: megaMessage 0.5s ease-out;
        }

        @keyframes megaMessage {
            0% { transform: scale(0) rotate(-20deg); opacity: 0; }
            50% { transform: scale(1.3) rotate(5deg); }
            100% { transform: scale(1) rotate(0deg); opacity: 1; }
        }

        .star {
            position: fixed;
            pointer-events: none;
            font-size: 2rem;
            animation: starFloat 2s ease-out forwards;
            z-index: 1000;
        }

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

        /* Quality Meter & Power-ups */
        .quality-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            padding: 0 0.5rem;
        }
        .quality-bar {
            height: 15px;
            background: rgba(255,255,255,0.2);
            border-radius: 10px;
            overflow: hidden;
            border: 2px solid rgba(255,255,255,0.3);
        }
        .quality-fill {
            height: 100%;
            background: linear-gradient(90deg, #ff6b6b 0%, #ffd700 50%, #00ff88 100%);
            transition: width 0.1s ease-out;
            width: 0%;
            position: relative;
        }

        .quality-fill::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
        }
        .powerup {
            display: inline-block;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: 2px solid #ffd700;
            padding: 0.4rem 0.8rem;
            border-radius: 8px;
            margin: 0.25rem;
            font-size: 0.85rem;
            box-shadow: 0 0 10px rgba(255,215,0,0.4);
            white-space: nowrap;
        }

        /* Icon Buttons */
        .icon-btn {
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.3);
            color: white;
            font-size: 1.5rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .icon-btn:hover {
            background: rgba(255,255,255,0.2);
            transform: scale(1.1);
        }
        .icon-btn:active {
            transform: scale(0.95);
        }

        /* Hamburger Menu */
        .hamburger-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .hamburger-menu.show {
            display: flex;
        }
        .menu-content {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 15px;
            padding: 2rem;
            max-width: 90%;
            width: 300px;
            position: relative;
        }
        .menu-close {
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .menu-item {
            width: 100%;
            padding: 0.75rem;
            margin: 0.5rem 0;
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,255,255,0.3);
            color: white;
            border-radius: 10px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s;
            text-align: left;
        }
        .menu-item:hover {
            background: rgba(255,255,255,0.2);
            transform: translateX(5px);
        }

        /* Prestige Button */
        .prestige-btn {
            background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
            border: 3px solid rgba(255, 215, 0, 0.8);
            color: #333;
            font-weight: bold;
            font-size: 1.1rem;
            padding: 0.75rem 2rem;
            border-radius: 15px;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
            text-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }
        .prestige-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
            background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
        }
        .prestige-btn:active {
            transform: scale(0.98);
        }
        .prestige-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        /* Prestige Box Glow */
        #prestigeBox {
            position: relative;
        }
        #prestigeBox.active {
            border-color: #ffd700;
            box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
            animation: prestigeGlow 2s ease-in-out infinite;
        }
        @keyframes prestigeGlow {
            0%, 100% {
                box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
            }
            50% {
                box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
            }
        }

        /* Modal (for event log) */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .modal.show {
            display: flex;
        }
        .modal-content {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: 3px solid rgba(255,255,255,0.3);
            border-radius: 15px;
            padding: 2rem;
            max-width: 90%;
            width: 500px;
            max-height: 80vh;
            position: relative;
            overflow: hidden;
        }

        /* Event Notifications */
        .event-notification {
            display: inline-block;
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            border-radius: 10px;
            border: 2px solid rgba(255,215,0,0.5);
            margin: 0.25rem;
            font-size: 0.9rem;
            animation: eventPop 0.5s ease-out;
            box-shadow: 0 0 15px rgba(255,215,0,0.3);
        }
        @keyframes eventPop {
            0% { transform: scale(0) rotate(-10deg); opacity: 0; }
            50% { transform: scale(1.1) rotate(5deg); }
            100% { transform: scale(1) rotate(0); opacity: 1; }
        }
        .event-log-item {
            background: rgba(255,255,255,0.1);
            padding: 0.75rem;
            margin: 0.5rem 0;
            border-radius: 8px;
            border-left: 3px solid #ffd700;
        }
        .event-log-time {
            font-size: 0.75rem;
            opacity: 0.7;
        }
        .unlock-notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translate(-50%, -20px) scale(0);
            background: linear-gradient(135deg, #667eea, #764ba2);
            border: 3px solid #ffd700;
            padding: 1.5rem;
            border-radius: 15px;
            z-index: 9999;
            opacity: 0;
            transition: all 0.3s;
            box-shadow: 0 0 30px rgba(255,215,0,0.6);
            pointer-events: none;
            max-width: 90%;
        }
        .unlock-notification.show {
            transform: translate(-50%, 0) scale(1);
            opacity: 1;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            body {
                justify-content: flex-start;
                padding-top: 1rem;
                overflow-y: auto;
            }
            .stats { gap: 0.75rem; margin-bottom: 1.25rem; }
            .stat-box { padding: 0.6rem 1rem; min-width: 90px; }
            .stat-label { font-size: 0.7rem; }
            .stat-value { font-size: 1.3rem; }
            #theButton { width: 150px; height: 150px; font-size: 1.2rem; }
            .rarity-glow { width: 160px; height: 160px; }
            .status-display { margin: 1rem auto; }
            .status-notification { font-size: 0.8rem; padding: 0.4rem 0.8rem; }
            .message { font-size: 1.1rem; margin: 1rem 0; min-height: 50px; }
            .unlock-notification { padding: 1rem; font-size: 0.9rem; }
            .icon-btn { width: 45px; height: 45px; font-size: 1.3rem; }
            .sct { font-size: 1.4rem; }
            .sct.epic { font-size: 1.6rem; }
            .sct.legendary { font-size: 1.8rem; }
            .sct.critical { font-size: 2rem; }
        }
        @media (max-width: 375px) {
            #theButton { width: 130px; height: 130px; font-size: 1rem; }
            .rarity-glow { width: 140px; height: 140px; }
            .status-notification { font-size: 0.75rem; padding: 0.35rem 0.7rem; }
            .stat-box { padding: 0.5rem 0.75rem; min-width: 80px; }
            .stat-value { font-size: 1.1rem; }
            .sct { font-size: 1.2rem; }
            .sct.epic { font-size: 1.4rem; }
            .sct.legendary { font-size: 1.6rem; }
            .sct.critical { font-size: 1.8rem; }
        }
