/* GLOBAL COMPONENTS */

#modal-system-root {
    width: 100%;
    height: 100%;
}

.modal-slot {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    pointer-events: none;
}

#modal-slot-1 {
    z-index: 1000;
}

#modal-slot-2 {
    z-index: 2000;
}

#modal-slot-3 {
    z-index: 3000;
}

.modal-slot.hidden {
    display: none;
}

.modal-slot .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.modal-slot .modal-overlay.active {
    opacity: 1;
}

.modal-content {
    background: rgb(46 0 78);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-2xl);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 40px rgb(0 240 255 / 37%), var(--sombra-dura);
    border: 3px solid var(--cian);
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent-amber);
    text-align: center;
}

/* ========== SETTINGS FORM - ESTRUCTURA ACTUALIZADA ========== */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.settings-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
    padding-bottom: 0;
}

.settings-tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: none;
    border-bottom: 3px solid transparent;
    color: rgba(199, 210, 254, 0.7);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
}

.settings-tab-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    color: rgba(199, 210, 254, 0.9);
}

.settings-tab-btn.active {
    background: rgba(139, 92, 246, 0.3);
    border-bottom-color: var(--color-accent-cyan);
    color: var(--color-accent-cyan);
}

.settings-tabs-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 280px;
}

.settings-tab-pane {
    display: none;
    flex-direction: column;
    gap: 18px;
    animation: fadeIn 0.25s ease;
}

.settings-tab-pane.active {
    display: flex;
}

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

.settings-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.settings-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.settings-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ========== RANGE DUAL-THUMB (JUGADORES) ========== */
.settings-dual-range {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: rgba(30, 41, 59, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(139, 92, 246, 0.2);
    height: 70px;
}

.settings-dual-range::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 12px;
    width: calc(100% - 24px);
    height: 5px;
    background: linear-gradient(to right, rgba(139, 92, 246, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    border-radius: 4px;
    z-index: 1;
    pointer-events: none;
}

.settings-range-min,
.settings-range-max {
    position: absolute;
    height: 5px;
    border-radius: 4px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    width: calc(100% - 24px);
    pointer-events: none;
    top: 18px;
    left: 12px;
    z-index: 5;
}

.settings-range-min::-webkit-slider-thumb,
.settings-range-max::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
    transition: all 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    pointer-events: auto;
}

.settings-range-min::-webkit-slider-thumb {
    background: var(--color-accent-cyan);
}

.settings-range-max::-webkit-slider-thumb {
    background: rgba(6, 182, 212, 0.7);
}

.settings-range-min::-webkit-slider-thumb:hover,
.settings-range-max::-webkit-slider-thumb:hover {
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
    transform: scale(1.15);
}

.settings-range-min::-moz-range-thumb,
.settings-range-max::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    pointer-events: auto;
}

.settings-range-min::-moz-range-thumb {
    background: var(--color-accent-cyan);
}

.settings-range-max::-moz-range-thumb {
    background: rgba(6, 182, 212, 0.7);
}

.settings-range-min::-moz-range-thumb:hover,
.settings-range-max::-moz-range-thumb:hover {
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
    transform: scale(1.15);
}

.settings-range-min::-moz-range-track {
    background: transparent;
    border: none;
}

.settings-range-max::-moz-range-track {
    background: transparent;
    border: none;
}

.settings-range-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding-top: 4px;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.settings-value-mini {
    font-weight: 700;
    color: var(--color-accent-amber);
    font-size: 16px;
    font-family: var(--font-mono);
    min-width: 30px;
    text-align: center;
}

.settings-range-divider {
    color: rgba(199, 210, 254, 0.5);
    font-weight: 600;
    font-size: 14px;
}

/* ========== SLIDERS PERSONALIZADOS ========== */
.settings-slider {
    height: 5px;
    border-radius: 4px;
    background: linear-gradient(to right, rgba(139, 92, 246, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
}

.settings-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
    transition: all 0.2s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.settings-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
    transform: scale(1.15);
}

.settings-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.settings-slider::-moz-range-thumb:hover {
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.8);
    transform: scale(1.15);
}

.settings-slider:focus {
    background: linear-gradient(to right, rgba(139, 92, 246, 0.5) 0%, rgba(6, 182, 212, 0.5) 100%);
}

.settings-value-display {
    font-weight: 700;
    color: var(--color-accent-amber);
    font-size: 14px;
    min-width: 40px;
    text-align: right;
    font-family: var(--font-mono);
}

.settings-hint {
    font-size: 12px;
    color: rgba(199, 210, 254, 0.5);
    font-weight: 500;
    margin-top: 2px;
}

/* ========== BOTÓN RESTABLECER INDIVIDUAL ========== */
.settings-reset-individual {
    padding: 6px 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: rgba(199, 210, 254, 0.7);
    font-size: 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.settings-reset-individual:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
    color: rgba(199, 210, 254, 0.95);
    transform: scale(1.1);
}

.settings-reset-individual:active {
    transform: scale(0.95);
}

/* LEGACY INPUT GROUPS (Kept for backward compatibility) */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-field {
    padding: var(--padding-input-field);
    font-size: 16px;
    border-radius: var(--radius-input);
    border: 2px solid rgba(139, 92, 246, 0.3);
    background: rgba(30, 41, 59, 0.5);
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.8);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.input-field::placeholder {
    color: rgba(199, 210, 254, 0.5);
}

.status-message-modal {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.status-message-modal.status-loading {
    background: #e3f2fd;
    color: #1976d2;
}

.status-message-modal.status-success {
    background: #e8f5e9;
    color: #388e3c;
}

.status-message-modal.status-error {
    background: #ffebee;
    color: #c62828;
}

.status-message-modal.status-info {
    background: #f3e5f5;
    color: #7b1fa2;
}

.custom-code-info {
    font-size: 12px;
    color: rgba(199, 210, 254, 0.6);
    font-style: italic;
}

.btn-modal-primary {
    flex: 1;
    padding: var(--space-md) var(--space-base);
    border: 2px solid rgba(0, 240, 255, 0.5);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 0 16px rgba(0, 240, 255, 0.25), var(--sombra-media);
    background: rgba(0, 240, 255, 0.85);
    color: #000;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-modal-primary:hover:not(:disabled) {
    background: rgba(0, 240, 255, 0.95);
    border-color: rgba(0, 240, 255, 0.8);
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.45);
    transform: translateY(-2px);
}

.btn-modal-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(100, 116, 139, 0.3);
    border-color: rgba(100, 116, 139, 0.4);
    box-shadow: none;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-buttons .btn {
    flex: 1;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    border: 2px solid rgba(139, 92, 246, 0.3);
    background: rgba(30, 41, 59, 0.8);
    color: var(--color-text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-buttons .btn:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(139, 92, 246, 0.2);
}

/* ========== AURA UTILITY CLASSES (GLOBAL, USED EVERYWHERE) ========== */
.aura-gradient {
    background: var(--aura-gradient, linear-gradient(135deg, #FF0055 0%, #00F0FF 100%));
}

.aura-gradient--neon-pink-cyan {
    background: linear-gradient(135deg, #FF0055 0%, #00F0FF 100%);
}

.aura-gradient--purple-cyan {
    background: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);
}

.aura-gradient--magenta-teal {
    background: linear-gradient(135deg, #D946EF 0%, #14B8A6 100%);
}

.aura-gradient--orange-pink {
    background: linear-gradient(135deg, #EA580C 0%, #EC4899 100%);
}

.aura-gradient--blue-green {
    background: linear-gradient(135deg, #3B82F6 0%, #10B981 100%);
}

/* ========== AURA SELECTOR (GLOBAL, USED IN MODALS) ========== */
.aura-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.aura-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    flex-shrink: 0;
}

.aura-circle:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.aura-circle.selected {
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1),
                inset 0 0 10px rgba(255, 255, 255, 0.5);
    animation: selectedPulse 1s infinite;
}

.aura-randomizer {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6) 0%, rgba(0, 240, 255, 0.6) 100%) !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
}

.aura-randomizer:hover {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.9);
}

/* ========== TIMER & COUNTDOWN (GLOBAL, USED IN MULTIPLE VIEWS) ========== */
.tc-timer {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.header-timer,
.timer-display {
    font-size: 18px;
    color: var(--color-accent-amber);
    font-family: var(--font-mono);
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
}

.timer-display {
    font-size: 42px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.50);
}

.countdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.countdown-overlay.hidden {
    display: none !important;
}

.countdown-number {
    font-size: 120px;
    font-weight: 700;
    color: var(--color-accent-amber);
    line-height: 1;
    animation: pulse-countdown 1s infinite;
}

/* ========== WORD DISPLAY (GLOBAL) ========== */
.current-word {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-accent-amber);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.word-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.word-display .label {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.word-display .word {
    font-size: clamp(32px, 4.5vw, 64px);
    font-weight: 900;
    color: var(--color-accent-amber);
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    text-align: center;
    max-width: 24ch;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding: 14px 28px;
    background: rgba(255, 0, 85, 0.18);
    border: 3px solid rgba(255, 0, 85, 0.55);
    border-radius: var(--radius-full);
    box-shadow: 0 0 28px rgba(255, 0, 85, 0.20), 0 8px 20px rgba(0, 0, 0, 0.40);
}

/* ========== RESULT ITEMS ========== */
.result-item {
    padding: var(--space-md) var(--space-lg);
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-input);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-word {
    font-weight: 600;
    color: var(--color-accent-amber);
}

.result-status {
    font-size: 12px;
    color: var(--color-text-muted);
}

.result-item.match {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.1);
}

.result-item.no-match {
    border-color: rgba(239, 68, 68, 0.2);
    opacity: 0.7;
}

/* ========== CATEGORY DISPLAY ========== */
.category-label,
.category-display {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-btn);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.category-display {
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
}

/* ========== HAMBURGER MENU - ENHANCED RESPONSIVE ========== */

.btn-hamburger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: rgba(46, 0, 78, 0.90);
    border: 2px solid rgba(0, 240, 255, 0.6);
    border-radius: 12px;
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 !important;
    transition: all 0.3s ease;
    z-index: 100;
    backdrop-filter: blur(var(--blur-standard));
    box-shadow: 0 0 22px rgba(0, 240, 255, 0.25), var(--sombra-dura);
}

.btn-hamburger:hover {
    background: rgba(46, 0, 78, 0.95);
    border-color: rgba(0, 240, 255, 0.85);
    box-shadow: 0 0 34px rgba(0, 240, 255, 0.32), var(--sombra-dura);
    transform: translateY(-2px);
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: rgba(199, 210, 254, 0.92);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: rgba(46, 0, 78, 0.95);
    border: 2px solid rgba(0, 240, 255, 0.55);
    border-radius: 16px;
    width: auto;
    min-width: 220px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 120px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.18), var(--sombra-dura);
    z-index: 99;
    overflow-y: auto;
    backdrop-filter: blur(var(--blur-standard));
    display: none !important;
    flex-direction: column;
    padding: 0 !important;
    margin: 0 !important;
}

.hamburger-menu.menu-open {
    display: flex !important;
    animation: slideDown 0.3s ease-out;
}

.hamburger-header {
    padding: 12px 16px;
    font-weight: 800;
    color: var(--color-accent-amber);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.22);
    white-space: nowrap;
    flex-shrink: 0;
}

.hamburger-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(0, 240, 255, 0.10);
    color: rgba(199, 210, 254, 0.92);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
    text-transform: none;
}

.hamburger-option:last-child {
    border-bottom: none;
}

.hamburger-option:hover {
    background: rgba(0, 240, 255, 0.10);
    color: rgba(255, 255, 255, 0.95);
    padding-left: 20px;
}

.hamburger-option.hamburger-danger {
    color: rgba(239, 68, 68, 0.95);
}

.hamburger-option.hamburger-danger:hover {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
}

.hamburger-option.hamburger-home {
    border-top: 1px solid rgba(0, 240, 255, 0.18);
    margin-top: 4px;
    color: rgba(0, 240, 255, 0.92);
}

.hamburger-option.hamburger-home:hover {
    background: rgba(0, 240, 255, 0.12);
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */
@media (max-width: 768px) {
    .modal-content {
        max-width: 90%;
        max-height: calc(100vh - 30px);
        padding: var(--padding-modal);
    }

    .modal-title {
        font-size: 18px;
    }

    .settings-slider {
        height: 4px;
    }

    .settings-slider::-webkit-slider-thumb {
        width: 16px;
        height: 16px;
    }

    .settings-slider::-moz-range-thumb {
        width: 16px;
        height: 16px;
    }

    .settings-range-min,
    .settings-range-max {
        height: 4px;
    }

    .settings-range-min::-webkit-slider-thumb,
    .settings-range-max::-webkit-slider-thumb {
        width: 16px;
        height: 16px;
    }

    .settings-range-min::-moz-range-thumb,
    .settings-range-max::-moz-range-thumb {
        width: 16px;
        height: 16px;
    }

    .settings-tabs {
        gap: 6px;
    }

    .settings-tab-btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    .settings-reset-individual {
        min-width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .input-field {
        font-size: 16px;
    }

    .btn-modal-primary {
        width: 100%;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .modal-buttons .btn,
    .modal-buttons .btn-modal-primary {
        width: 100%;
    }

    .aura-selector {
        gap: 12px;
    }

    .aura-circle {
        width: 60px;
        height: 60px;
    }

    .aura-randomizer {
        font-size: 28px;
    }

    .btn-hamburger {
        width: 45px;
        height: 45px;
        gap: 4px;
    }

    .hamburger-line {
        width: 20px;
        height: 2.5px;
    }

    .hamburger-menu {
        bottom: 65px;
        left: 15px;
        min-width: 180px;
        max-width: calc(100vw - 30px);
    }

    .hamburger-option {
        padding: 10px 14px;
        font-size: 13px;
    }

    .current-word {
        font-size: 40px;
    }

    .countdown-number {
        font-size: 80px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 95%;
        max-height: calc(100vh - 20px);
        padding: var(--space-lg);
        gap: 15px;
    }

    .modal-title {
        font-size: 16px;
    }

    .settings-input-wrapper {
        padding: 8px 10px;
        gap: 10px;
    }

    .settings-slider {
        height: 4px;
    }

    .settings-slider::-webkit-slider-thumb {
        width: 14px;
        height: 14px;
    }

    .settings-slider::-moz-range-thumb {
        width: 14px;
        height: 14px;
    }

    .settings-dual-range {
        padding: 10px;
    }

    .settings-range-min,
    .settings-range-max {
        height: 4px;
        width: calc(100% - 20px);
        left: 10px;
        top: 16px;
    }

    .settings-range-min::-webkit-slider-thumb,
    .settings-range-max::-webkit-slider-thumb {
        width: 14px;
        height: 14px;
    }

    .settings-range-min::-moz-range-thumb,
    .settings-range-max::-moz-range-thumb {
        width: 14px;
        height: 14px;
    }

    .settings-range-display {
        height: 28px;
        padding-top: 6px;
    }

    .settings-value-mini {
        font-size: 14px;
        min-width: 28px;
    }

    .settings-label {
        font-size: 12px;
    }

    .settings-value-display {
        font-size: 13px;
        min-width: 35px;
    }

    .settings-hint {
        font-size: 11px;
    }

    .settings-tabs {
        gap: 4px;
    }

    .settings-tab-btn {
        padding: 8px 10px;
        font-size: 11px;
    }

    .settings-reset-individual {
        min-width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .input-label {
        font-size: 12px;
    }

    .input-field {
        padding: 10px 14px;
        font-size: 14px;
    }

    .btn-modal-primary {
        padding: 12px 20px;
        font-size: 14px;
    }

    .modal-buttons .btn,
    .modal-buttons .btn-modal-primary {
        padding: 10px 16px;
        font-size: 12px;
    }

    .aura-selector {
        gap: 10px;
    }

    .aura-circle {
        width: 50px;
        height: 50px;
    }

    .aura-randomizer {
        font-size: 24px;
    }

    .btn-hamburger {
        width: 40px;
        height: 40px;
        bottom: 15px;
        left: 15px;
        gap: 3px;
    }

    .hamburger-line {
        width: 18px;
        height: 2px;
    }

    .hamburger-menu {
        bottom: 60px;
        left: 10px;
        min-width: 160px;
        max-width: calc(100vw - 20px);
    }

    .hamburger-option {
        padding: 9px 12px;
        font-size: 12px;
    }

    .hamburger-option:hover {
        padding-left: 16px;
    }

    .current-word {
        font-size: 28px;
    }

    .countdown-number {
        font-size: 60px;
    }
}
