        :root {
            --primary: #e74c3c;
            --secondary: #3498db;
            --bg-dark: #121212;
            --bg-darker: #0a0a0a;
            --bg-light: #f5f5f5;
            --bg-lighter: #ffffff;
            --text-dark: #121212;
            --text-light: #e0e0e0;
            --text-lighter: #f5f5f5;
            --border-dark: #444;
            --border-light: #ddd;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            overflow-y: auto;
            overflow-y: auto;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            height: 100vh;
            width: 100vw;
            background-color: var(--bg-darker);
            color: var(--text-light);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0;
            overflow: hidden;
            transition: background-color 0.3s, color 0.3s;
        }
        body.light-mode {
            background-color: var(--bg-light);
            color: var(--text-dark);
        }

        .header {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 15px;
            margin-top: env(safe-area-inset-top);
        }
        .header h1 {
            margin: 0;
            padding: 0;
            font-size: 1.5rem;
        }
        .settings-button {
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.5rem;
            cursor: pointer;
            width: 20%;
        }
        .setup {
            width: 100%;
        }
        .icon-image {
            width: 100%;
            height: auto;
            margin-top: 20px;
            object-fit: contain;
        }


        .icon-container {
            width: 100%;
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        .icon-image {
            max-width: 100%;
            max-height: 40vh;
            height: auto;
            object-fit: contain;
        }

        .container {
            width: 100%;
            max-width: 100%;
            padding: 15px;
            background-color: var(--bg-dark);
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            transition: background-color 0.3s, color 0.3s;
        }
        body.light-mode .container {
            background-color: var(--bg-lighter);
        }
        h1 {
            color: var(--primary);
            margin: 10px 0 20px;
            font-size: 1.8em;
            width: 100%;
            text-align: left;
        }
        .controls {
            width: 100%;
            margin: 0 0 10px;
        }
        label {
            display: block;
            margin: 8px 0 4px;
            font-weight: bold;
            color: var(--text-lighter);
            font-size: 0.9em;
        }
        
        body.light-mode label {
            color: var(--text-darker);
        }
        
        input, select {
            width: 100%;
            padding: 12px;
            margin-bottom: 12px;
            border: 1px solid var(--border-dark);
            border-radius: 5px;
            background-color: #222;
            color: var(--text-light);
            font-size: 1em;
        }
        body.light-mode input, body.light-mode select {
            background-color: var(--bg-lighter);
            color: var(--text-dark);
            border: 1px solid var(--border-light);
        }
        body.light-mode select option {
            background-color: var(--bg-lighter);
            color: var(--text-dark);
        }
        .mode-selector, .voice-selector {
            display: flex;
            justify-content: space-between;
            margin: 10px 0;
            width: 100%;
        }
        .selector-option {
            background-color: #333;
            color: var(--text-light);
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
            flex: 1;
            margin: 0 5px;
            text-align: center;
            font-weight: bold;
            border: 1px solid var(--border-dark);
            transition: background-color 0.3s;
        }
        body.light-mode .selector-option {
            background-color: #f0f0f0;
            color: var(--text-dark);
            border: 1px solid var(--border-light);
        }
        .selector-option.active {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        body.light-mode .selector-option.active {
            background-color: var(--primary);
            border-color: var(--primary);
        }
        
        button {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 14px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
            margin: 8px 0;
            width: 100%;
            font-weight: bold;
        }
        button:disabled {
            background-color: #555;
            cursor: not-allowed;
        }
        #timer, #combo, #countdown {
            font-size: 3.5em;
            margin: 10px 0;
            font-weight: bold;
            color: var(--primary);
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        body.light-mode #timer, body.light-mode #combo, body.light-mode #countdown {
            color: var(--primary);
        }
        #status {
            margin: 10px 0;
            font-size: 1.2em;
            color: var(--text-lighter);
            text-align: center;
        }
        body.light-mode #status {
            color: var(--text-dark);
        }
        .hidden {
            display: none;
        }
        .theme-toggle {
            position: fixed;
            top: 10px;
            right: 10px;
            background: transparent;
            color: var(--text-light);
            border: none;
            font-size: 1.5em;
            cursor: pointer;
            z-index: 1000;
            padding: 5px;
            transition: color 0.3s;
        }
        body.light-mode .theme-toggle {
            color: var(--text-dark);
        }
        .theme-menu {
            position: fixed;
            top: 45px;
            right: 10px;
            background-color: var(--bg-dark);
            border-radius: 8px;
            padding: 8px;
            z-index: 1000;
            display: none;
            flex-direction: column;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            transition: background-color 0.3s;
        }
        body.light-mode .theme-menu {
            background-color: var(--bg-lighter);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        .theme-menu button {
            width: auto;
            padding: 8px 12px;
            margin: 4px 0;
            font-size: 0.8em;
            background-color: transparent;
            color: var(--text-light);
            border: none;
            cursor: pointer;
            text-align: left;
        }
        body.light-mode .theme-menu button {
            color: var(--text-dark);
        }
        .theme-menu button:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }
        body.light-mode .theme-menu button:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }
        #app-icon {
            width: 50px;
            height: auto;
            margin-top: auto;
            margin-bottom: 10px;
            opacity: 0.8;
        }
        body.light-mode #app-icon {
            opacity: 0.6;
        }
        @media (max-width: 400px) {
            #timer, #combo, #countdown {
                font-size: 2.5em;
            }
        }