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

        body {
            font-family: 'Arial Black', sans-serif;
            background: linear-gradient(135deg, #1a0000 0%, #330000 100%);
            color: #ff0000;
            overflow: hidden;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #game-container {
            text-align: center;
            width: 90%;
            max-width: 800px;
        }

        h1 {
            font-size: 3em;
            margin-bottom: 20px;
            text-shadow: 0 0 20px #ff0000;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { text-shadow: 0 0 20px #ff0000; }
            50% { text-shadow: 0 0 40px #ff0000, 0 0 60px #ff0000; }
        }

        #volume-display {
            font-size: 4em;
            margin: 20px 0;
            font-weight: bold;
        }

        #slider-container {
            position: relative;
            width: 300px;
            height: 80px;
            background: #000;
            border: 4px solid #ff0000;
            margin: 40px auto;
            box-shadow: 0 0 30px #ff0000;
        }

        #target-zone {
            position: absolute;
            height: 100%;
            background: rgba(0, 255, 0, 0.3);
            border: 2px solid #00ff00;
            top: 0;
        }

        #cursor {
            position: absolute;
            width: 4px;
            height: 100%;
            background: #ff0000;
            top: 0;
            box-shadow: 0 0 10px #ff0000;
        }

        .game-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            align-items: center;
        }

        #stop-button, #next-button {
            padding: 20px 60px;
            font-size: 2em;
            font-weight: bold;
            color: #fff;
            border: none;
            cursor: pointer;
            text-transform: uppercase;
            transition: all 0.3s;
        }

        #stop-button {
            background: #ff0000;
            box-shadow: 0 0 20px #ff0000;
        }

        #stop-button:hover {
            background: #cc0000;
            transform: scale(1.05);
        }

        #stop-button:disabled {
            background: #666;
            cursor: not-allowed;
            box-shadow: none;
        }

        #next-button {
            background: #0066ff;
            box-shadow: 0 0 20px #0066ff;
        }

        #next-button:hover {
            background: #0052cc;
            transform: scale(1.05);
        }

        #next-button:disabled {
            background: #666;
            cursor: not-allowed;
            box-shadow: none;
        }

        #message {
            font-size: 1.5em;
            margin: 20px 0;
            min-height: 40px;
            font-weight: bold;
        }

        .success {
            color: #00ff00;
            text-shadow: 0 0 10px #00ff00;
        }

        .fail {
            color: #ff0000;
            text-shadow: 0 0 10px #ff0000;
        }

        #stats {
            display: flex;
            justify-content: space-around;
            margin-top: 30px;
            font-size: 1.2em;
        }

        /* Popup Styles */
        #popup-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            overflow-y: auto;
        }

        #popup-overlay.active {
            display: flex;
        }

        #captcha-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            overflow-y: auto;
        }

        #captcha-overlay.active {
            display: flex;
        }

        #captcha-container {
            background: #fff;
            padding: 40px;
            border-radius: 10px;
            max-width: 600px;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
        }

        #captcha-container h2 {
            color: #333;
            font-size: 1.8em;
            margin-bottom: 20px;
            text-align: center;
            text-shadow: none;
        }

        #captcha-instruction {
            color: #666;
            font-size: 1.2em;
            margin-bottom: 20px;
            text-align: center;
            font-weight: normal;
        }

        #captcha-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
            margin-bottom: 20px;
        }

        .captcha-tile {
            aspect-ratio: 1;
            border: 3px solid #ccc;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3em;
            position: relative;
        }

        .captcha-tile:hover {
            border-color: #666;
            transform: scale(1.05);
        }

        .captcha-tile.selected {
            border-color: #0066ff;
            box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
        }

        .captcha-tile.selected::after {
            content: '✓';
            position: absolute;
            top: 5px;
            right: 5px;
            font-size: 0.5em;
            color: #0066ff;
        }

        #captcha-submit {
            width: 100%;
            padding: 15px;
            background: #0066ff;
            color: #fff;
            border: none;
            font-size: 1.2em;
            font-weight: bold;
            cursor: pointer;
            border-radius: 5px;
        }

        #captcha-submit:hover {
            background: #0052cc;
        }

        #captcha-error {
            color: #ff0000;
            font-size: 1.1em;
            margin-top: 15px;
            text-align: center;
            min-height: 30px;
            font-weight: bold;
        }

        #popup {
            background: linear-gradient(135deg, #1a0000 0%, #330000 100%);
            border: 4px solid #ff0000;
            padding: 30px;
            max-width: 900px;
            width: 90%;
            box-shadow: 0 0 50px #ff0000;
            animation: popupAppear 0.5s;
        }

        @keyframes popupAppear {
            0% { transform: scale(0.5); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        #popup h2 {
            font-size: 2em;
            margin-bottom: 10px;
            text-align: center;
        }

        #popup p {
            font-size: 1em;
            margin-bottom: 20px;
            text-align: center;
            color: #fff;
        }

        .subscription-tiers {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }

        .tier {
            background: #000;
            border: 2px solid #ff0000;
            padding: 20px 15px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
        }

        .tier:hover {
            border-color: #00ff00;
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
        }

        .tier h3 {
            font-size: 1.5em;
            margin-bottom: 10px;
            color: #ff0000;
        }

        .tier .price {
            font-size: 1.8em;
            margin: 10px 0;
            color: #00ff00;
        }

        .tier .features {
            text-align: left;
            color: #fff;
            margin-top: 10px;
            font-size: 0.85em;
        }

        .tier .features li {
            margin: 5px 0;
            list-style: none;
            padding-left: 15px;
            position: relative;
        }

        .tier .features li:before {
            content: "🔊";
            position: absolute;
            left: 0;
            font-size: 0.8em;
        }

        .best-value {
            border-color: #00ff00 !important;
        }

        .best-value:after {
            content: "BEST VALUE";
            position: absolute;
            top: -12px;
            right: 10px;
            background: #00ff00;
            color: #000;
            padding: 3px 10px;
            font-weight: bold;
            font-size: 0.7em;
        }

        #close-popup {
            display: block;
            margin: 15px auto 0;
            padding: 12px 30px;
            background: #666;
            color: #fff;
            border: none;
            font-size: 1em;
            cursor: pointer;
            font-weight: bold;
        }

        #close-popup:hover {
            background: #888;
        }

        #canvas-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }