        html,
        body {
            margin: 0;
            padding: 0;
            background-color: #1a0524;
            /* Brainrot default */
            color: #fff;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            overflow: hidden;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: background-color 0.5s;
            overscroll-behavior: none;
            touch-action: none;
        }

        #top-bar {
            width: 100%;
            height: 4rem;
            flex-shrink: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            box-sizing: border-box;
            background: rgba(20, 10, 30, 0.6);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 20;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 12px;
            height: 100%;
        }

        .app-logo {
            height: 100%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .app-title {
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            color: rgba(255, 255, 255, 0.9);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
            text-transform: uppercase;
        }

        .right-buttons {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        @media (max-width: 480px) {
            .app-title {
                /* Display title even on mobile since buttons are gone */
                display: block;
            }
        }

        /* Bottom Navigation */
        #bottom-nav {
            width: 100%;
            height: 70px;
            flex-shrink: 0;
            background: rgba(20, 10, 30, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            padding-bottom: env(safe-area-inset-bottom);
            /* iOS Safe Area */
            z-index: 20;
        }

        #bottom-nav .menu-btn {
            width: 48px;
            height: 48px;
            background: transparent;
            border: none;
            color: rgba(255, 255, 255, 0.6);
        }

        #bottom-nav .menu-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            transform: translateY(-2px);
        }

        #bottom-nav .menu-btn:active {
            transform: scale(0.9);
        }

        /* Desktop Layout (Responsive Nav) */
        @media (min-width: 768px) {
            #bottom-nav {
                position: fixed;
                top: 0;
                right: 0;
                bottom: auto;
                width: auto;
                /* Shrink to fit buttons */
                height: 4rem;
                /* Match top-bar height */
                background: transparent;
                backdrop-filter: none;
                -webkit-backdrop-filter: none;
                border: none;
                padding-right: 20px;
                padding-bottom: 0;
                gap: 15px;
            }

            #bottom-nav .menu-btn {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }

            #bottom-nav .menu-btn i {
                font-size: 20px !important;
            }
        }

        /* Responsive Leaderboard */
        @media (max-width: 480px) {

            /* --- Header & Summary (The 3 visible columns) --- */
            .lb-header,
            .lb-summary {
                display: grid;
                /* Rank (fixed) | Name (flexible) | Score (fixed) */
                grid-template-columns: 40px 1fr 80px;
                gap: 10px;
                align-items: center;
                padding: 12px 10px;
            }

            .lb-header {
                font-weight: bold;
                border-bottom: 2px solid rgba(255, 255, 255, 0.1);
                color: #aaa;
                font-size: 0.9rem;
            }

            /* --- Row Styling --- */
            .lb-item {
                border-bottom: 1px solid rgba(255, 255, 255, 0.05);
                cursor: pointer;
                transition: background 0.2s;
            }

            .lb-item:active {
                background: rgba(255, 255, 255, 0.05);
            }

            /* Truncate long names */
            .lb-summary .name {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .lb-summary .score {
                text-align: right;
                font-weight: bold;
                color: #FFCCAA;
                /* Or your theme color */
            }

            /* --- The Hidden Details Section --- */
            .lb-details {
                display: none;
                /* Hidden by default */
                padding: 10px 15px 15px;
                background: rgba(0, 0, 0, 0.2);
                /* Flex to spread out the details */
                gap: 20px;
                justify-content: space-around;
                border-top: 1px dashed rgba(255, 255, 255, 0.1);
            }

            /* Tiny boxes for the details */
            .detail-box {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .detail-box small {
                text-transform: uppercase;
                font-size: 10px;
                color: #888;
                margin-bottom: 2px;
            }

            /* --- The Toggle Logic --- */
            .lb-item.open .lb-details {
                display: flex;
                /* Shows the details when 'open' class is added */
                animation: slideDown 0.2s ease-out;
            }

            .lb-item.open {
                background: rgba(255, 255, 255, 0.05);
                /* Highlight open row */
            }

            @keyframes slideDown {
                from {
                    opacity: 0;
                    transform: translateY(-5px);
                }

                to {
                    opacity: 1;
                    transform: translateY(0);
                }
            }
        }

        /* NO MOVES HINT */
        #no-moves-overlay {
            position: absolute;
            top: 20%;
            left: 0;
            width: 100%;
            text-align: center;
            pointer-events: none;
            z-index: 50;
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        }

        #no-moves-text {
            font-size: 24px;
            font-weight: bold;
            color: #ff4040;
            margin-bottom: 20px;
            background: rgba(0, 0, 0, 0.6);
            padding: 10px 20px;
            border-radius: 10px;
            backdrop-filter: blur(4px);
        }

        .swipe-anim {
            width: 40px;
            height: 40px;
            border: 2px solid white;
            border-radius: 50%;
            border-top-color: transparent;
            animation: swipeUp 1.5s infinite;
            opacity: 0.8;
            margin-top: 10px;
        }

        .hand-icon {
            font-size: 40px;
            animation: moveHand 1.5s infinite;
        }

        @keyframes swipeUp {
            0% {
                transform: translateY(20px);
                opacity: 0;
            }

            50% {
                opacity: 1;
            }

            100% {
                transform: translateY(-40px);
                opacity: 0;
            }
        }

        @keyframes moveHand {
            0% {
                transform: translateY(20px);
                opacity: 0;
            }

            20% {
                opacity: 1;
            }

            80% {
                opacity: 1;
            }

            100% {
                transform: translateY(-40px);
                opacity: 0;
            }
        }

        .menu-btn {
            background: rgba(255, 255, 255, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.8);
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .menu-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-1px);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

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

        #ui-container {
            width: 100%;
            height: 60px;
            flex-shrink: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 15px;
            box-sizing: border-box;
            z-index: 10;
        }

        .stat-box {
            background: rgba(120, 0, 120, 0.3);
            padding: 5px 12px;
            border-radius: 8px;
            text-align: center;
            min-width: 60px;
            backdrop-filter: blur(4px);
            transition: background 0.3s;
        }

        .stat-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            color: #b3d9ff;
        }

        .stat-value {
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        }

        #game-wrapper {
            flex: 1;
            width: 100%;
            position: relative;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #game-canvas {
            display: block;
            cursor: grab;
            z-index: 5;
        }

        #game-canvas:active {
            cursor: grabbing;
        }

        /* MODALS */
        .hidden {
            display: none !important;
        }

        #modal-overlay,
        #leaderboard-overlay,
        #rules-overlay,
        #stat-details-overlay,
        #ios-install-overlay,
        #manual-install-overlay,
        #settings-overlay,
        #game-over-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
        }

        /* Mobile Layout Adjustments */
        @media (max-width: 480px) {
            #ui-container {
                padding: 0 5px;
            }

            .stat-box {
                min-width: 0;
                padding: 4px 8px;
                flex: 1;
                margin: 0 3px;
            }


            #difficulty-name.stat-value {
                white-space: nowrap;
            }

            /* Slider Styling */
            input[type=range] {
                -webkit-appearance: none;
                appearance: none;
                background: transparent;
            }

            input[type=range]::-webkit-slider-thumb {
                -webkit-appearance: none;
                height: 24px;
                width: 24px;
                border-radius: 50%;
                background: #FFD700;
                cursor: pointer;
                margin-top: -8px;
                box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
            }

            input[type=range]::-webkit-slider-runnable-track {
                width: 100%;
                height: 8px;
                cursor: pointer;
                background: #444;
                border-radius: 4px;
            }

            input[type=range]:focus {
                outline: none;
            }

            /* Boost text sizing on mobile */
            .modal-box p,
            .modal-box li,
            .modal-box label,
            .modal-box select,
            .diff-btn {
                font-size: 16px !important;
                /* Force readable size */
                line-height: 1.5;
            }

            .modal-box h3 {
                font-size: 22px;
            }

            .modal-box .warning-text,
            #diff-desc {
                font-size: 14px !important;
                /* Slightly smaller but readable */
            }

            .modal-btn {
                font-size: 18px !important;
                padding: 12px 20px;
                /* Larger touch target */
            }
        }

        /* MODAL TYPOGRAPHY & LAYOUT */
        /* MODAL TYPOGRAPHY & LAYOUT */
        .modal-box {
            background: #1a1a2e;
            padding: 0;
            /* Padding handled by children */
            border-radius: 0.75rem;
            /* 12px */
            text-align: center;
            border: 1px solid #444;
            box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.8);
            max-width: 85%;
            width: 20rem;
            /* 320px */
            position: relative;

            /* FIXED HEIGHT & FLEX LAYOUT */
            max-height: 80vh;
            display: flex;
            flex-direction: column;
        }

        .modal-header-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.25rem 1.25rem 0.5rem 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 0;
            flex-shrink: 0;
            padding-right: 3rem;
            /* Space for close X */
        }

        /* Generic header for modals without modal-header-row */
        .modal-box>h3:first-child {
            margin: 0;
            padding: 1.25rem 1.25rem 0.5rem 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            flex-shrink: 0;
            padding-right: 3rem;
            /* Space for close X */
        }

        .modal-content-scroll {
            padding: 1rem 1.25rem;
            overflow-y: auto;
            flex: 1;
            /* Takes remaining space */
            -webkit-overflow-scrolling: touch;
        }

        .modal-footer {
            padding: 1rem 1.25rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(0, 0, 0, 0.2);
            flex-shrink: 0;
            border-radius: 0 0 0.75rem 0.75rem;
        }

        .modal-close-icon {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 24px;
            color: #888;
            cursor: pointer;
            line-height: 1;
            z-index: 10;
            padding: 5px;
        }

        .modal-close-icon:hover {
            color: #fff;
        }

        .modal-box.wide {
            width: 90%;
            max-width: 31.25rem;
            /* 500px */
        }

        .modal-header-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .modal-title {
            margin: 0;
            font-size: 1.5rem;
        }

        .version-tag {
            color: #888;
            font-size: 0.75rem;
            /* 12px */
        }

        .section-title {
            margin: 1rem 0 0.5rem 0;
            color: #FFD700;
            font-size: 1.1rem;
            text-transform: uppercase;
        }

        .rules-list {
            padding-left: 1.25rem;
            color: #ddd;
            line-height: 1.6;
            margin: 0;
            font-size: 0.9rem;
            /* Default size */
        }

        .rule-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-top: 0.75rem;
            text-align: left;
            font-size: 0.9rem;
            color: #eee;
        }

        .rule-icon {
            font-size: 1.5rem;
            /* 24px */
            line-height: 1;
            flex-shrink: 0;
        }

        .meltdown-rule {
            margin-top: 1rem;
            border-top: 1px dashed #555;
            padding-top: 1rem;
        }

        .close-rules-btn {
            margin-top: 1.25rem;
            width: 100%;
        }

        /* MOBILE OVERRIDES (Using rem) */
        @media (max-width: 480px) {
            .modal-box {
                padding: 1rem;
                width: 95%;
            }

            .modal-title {
                font-size: 1.4rem;
                /* 22px approx */
            }

            .rules-list,
            .rule-item,
            .modal-box p,
            .modal-box li,
            .modal-box label,
            .diff-btn {
                font-size: 1rem !important;
                /* 16px base size */
                line-height: 1.5;
            }

            .rule-icon {
                font-size: 1.8rem;
                /* Bigger icons on mobile */
            }

            .modal-btn {
                font-size: 1.125rem !important;
                /* 18px */
                padding: 0.75rem 1.25rem;
            }
        }

        .text-left {
            text-align: left;
        }

        .modal-btn {
            margin: 10px 5px;
            padding: 10px 20px;
            border: none;
            border-radius: 20px;
            font-weight: bold;
            cursor: pointer;
            font-size: 14px;
        }

        .btn-yes {
            background: #FF4136;
            color: white;
        }

        .btn-no {
            background: #444;
            color: white;
        }

        .btn-row {
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .rule-item {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            background: rgba(255, 255, 255, 0.05);
            padding: 10px;
            border-radius: 8px;
            font-size: 13px;
            color: #ccc;
            margin-top: 5px;
        }

        /* GAME OVER */
        #game-over-screen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 100;
        }

        #submit-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px;
            margin-bottom: 20px;
            width: 100%;
            max-width: 280px;
            align-items: center;
        }

        #player-name {
            padding: 12px 15px;
            border-radius: 25px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            font-size: 16px;
            text-align: center;
            width: 100%;
            box-sizing: border-box;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            outline: none;
            transition: all 0.3s ease;
        }

        #player-name:focus {
            border-color: #FFD700;
            background: rgba(255, 255, 255, 0.15);
        }

        .big-btn {
            margin-top: 1rem;
            padding: 12px 0;
            font-size: 1.1rem;
            background: linear-gradient(45deg, #800080, #FF00FF);
            border: none;
            border-radius: 30px;
            color: #fff;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            box-shadow: 0 4px 15px rgba(255, 0, 255, 0.4);
            transition: transform 0.2s active;
        }

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

        /* LEADERBOARD CONTAINER */
        #leaderboard-list {
            text-align: left;
            margin: 15px 0;
            font-size: 14px;
            color: #ddd;
            width: 100%;
            max-height: 55vh;
            overflow-y: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* HEADER & ROW GRID */
        .lb-header,
        .lb-summary {
            display: grid;
            /* Rank | Name | Score */
            grid-template-columns: 40px 1fr 90px;
            gap: 10px;
            padding: 12px 10px;
            align-items: center;
        }

        .lb-header {
            font-weight: bold;
            color: #b3d9ff;
            text-transform: uppercase;
            font-size: 12px;
            background: rgba(0, 0, 0, 0.4);
            position: sticky;
            top: 0;
            z-index: 2;
        }

        /* ITEM STYLING */
        .lb-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            background: rgba(255, 255, 255, 0.02);
            cursor: pointer;
            transition: background 0.2s;
            overflow: hidden;
            /* Important for the animation */
        }

        .lb-item:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        /* Use .open to match the JS toggle */
        .lb-item.open {
            background: rgba(255, 255, 255, 0.12);
        }

        .lb-name {
            text-align: left;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-weight: 500;
        }

        .lb-score {
            color: #FFD700;
            font-weight: bold;
            text-align: right;
        }

        /* DETAILS (The Unfolding Part) */
        .lb-details {
            grid-column: 1 / -1;
            /* Span all columns */
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: space-evenly;
            background: rgba(0, 0, 0, 0.2);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: #aaa;
            font-size: 13px;

            /* ANIMATION LOGIC */
            max-height: 0;
            /* Start completely closed */
            padding: 0 15px;
            /* Start with NO padding */
            opacity: 0;
            transition: all 0.3s ease-out;
            /* Smooth slide */
        }

        /* When the parent has class 'open', expand the child */
        .lb-item.open .lb-details {
            max-height: 150px;
            /* Allow it to grow */
            padding: 10px 15px 15px;
            /* Restore padding */
            opacity: 1;
        }

        .detail-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            min-width: 80px;
        }

        .detail-box small {
            text-transform: uppercase;
            font-size: 10px;
            color: #888;
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        .detail-box span {
            color: #fff;
            font-size: 13px;
            font-weight: 500;
        }

        .danger-line {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: red;
            box-shadow: 0 0 15px red;
            opacity: 0.6;
            z-index: 5;
            pointer-events: none;
            display: none;
        }

        #instruction {
            position: absolute;
            bottom: 15px;
            width: 100%;
            text-align: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 12px;
            pointer-events: none;
            z-index: 10;
            text-shadow: 0 1px 2px black;
        }

        #snow-canvas {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        button {
            font-family: inherit;
        }

        /* UPDATE TOAST */
        #update-toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: white;
            padding: 15px 20px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
            display: none;
            /* Flex when active */
            align-items: center;
            gap: 15px;
            z-index: 2000;
            border: 1px solid #555;
            min-width: 280px;
        }

        #update-btn {
            background: #FFD700;
            color: black;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
        }

        /* DIFFICULTY SELECTOR */
        .difficulty-selector {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin-top: 10px;
        }

        .diff-btn {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 8px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 13px;
            flex: 1;
            transition: all 0.2s;
        }

        .diff-btn.selected {
            background: #FFD700;
            color: #000;
            font-weight: bold;
            border-color: #FFD700;
            box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
        }

        .setting-group {
            background: rgba(0, 0, 0, 0.2);
            padding: 15px;
            border-radius: 8px;
            text-align: center;
        }

        .setting-group label {
            font-size: 14px;
            font-weight: bold;
            color: #ddd;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        #theme-select {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
            cursor: pointer;
            outline: none;
            transition: all 0.2s;
        }

        #theme-select option {
            background-color: #1a1a2e;
            color: white;
        }

        #theme-select:hover,
        #theme-select:focus {
            border-color: #FFD700;
            background: rgba(255, 255, 255, 0.15);
        }

        /* ADMIN PANEL */
        #admin-panel {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.9);
            border-top: 2px solid #FF00FF;
            padding: 15px;
            z-index: 3000;
            display: flex;
            flex-direction: column;
            gap: 10px;
            box-sizing: border-box;
        }

        .admin-header {
            display: flex;
            justify-content: space-between;
            color: #FF00FF;
            font-weight: bold;
            text-transform: uppercase;
        }

        #admin-close {
            background: transparent;
            border: 1px solid #FF00FF;
            color: #FF00FF;
            cursor: pointer;
            padding: 2px 8px;
        }

        .admin-row {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .color-picker {
            display: flex;
            gap: 5px;
        }

        .color-btn {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            border: 2px solid #555;
            cursor: pointer;
        }

        .color-btn.selected {
            border-color: #FFF;
            box-shadow: 0 0 5px #FFF;
        }

        /* FIXES AND UNTOUCHED OVERRIDES */

        /* Center Modals with dvh and padding */
        #modal-overlay,
        #leaderboard-overlay,
        #rules-overlay,
        #stat-details-overlay,
        #ios-install-overlay,
        #manual-install-overlay,
        #game-over-overlay {
            height: 100dvh !important;
            padding: 20px !important;
            box-sizing: border-box !important;
        }

        /* Enhancing Stat Boxes */
        .stat-box {
            transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
            border: 1px solid transparent;
        }

        .stat-box.clickable {
            cursor: pointer;
            position: relative;
            background: rgba(120, 0, 120, 0.4);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .stat-box.clickable:hover {
            background: rgba(160, 20, 160, 0.5);
            transform: translateY(-2px);
            border-color: rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
        }

        .stat-box.clickable:active {
            transform: scale(0.96);
            background: rgba(120, 0, 120, 0.6);
        }

        .stat-icon {
            margin-left: 4px;
            opacity: 0.7;
            color: #FFD700;
        }