:root {
    --primary-dark: #2c3e50;
    --primary-blue: #3498db;
    --light-gray: #ecf0f1;
    --danger-red: #e74c3c;
    --success-green: #2ecc71;
    
    /* Holographic colors */
    --holo-pink: #ff6b9d;
    --holo-purple: #a855f7;
    --holo-cyan: #06d6a0;
    --holo-gold: #ffd23f;
    
    /* Game colors */
    --simon-red: #e74c3c;
    --simon-blue: #3498db;
    --simon-green: #2ecc71;
    --simon-yellow: #f1c40f;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a252f 100%);
    color: var(--light-gray);
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Flash de erro na tela inteira */
.error-flash::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(231, 76, 60, 0.35);
    pointer-events: none;
    animation: errorFlash 420ms ease-out;
    z-index: 3000;
}

@keyframes errorFlash {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 0; }
}

/* Holographic effects */
.holographic {
    background: linear-gradient(45deg, var(--holo-pink), var(--holo-purple), var(--holo-cyan), var(--holo-gold));
    background-size: 400% 400%;
    animation: holographicShift 4s ease-in-out infinite;
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--holo-pink), var(--holo-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo {
    height: 28px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.language-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-gray);
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active, .lang-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Main content */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.section.active {
    display: block;
}

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

/* Game Container */
.game-container {
    max-width: 600px;
    margin: 0 auto;
}

.score-display {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.current-score, .best-score {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Game Board */
.game-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
    aspect-ratio: 1;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.12);
}

.simon-pad {
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.double-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.2s ease;
}

.double-badge.show {
    opacity: 1;
    transform: translateY(0);
}

.simon-pad:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.simon-pad[data-color="red"] {
    background: var(--simon-red);
}

.simon-pad[data-color="blue"] {
    background: var(--simon-blue);
}

.simon-pad[data-color="green"] {
    background: var(--simon-green);
}

.simon-pad[data-color="yellow"] {
    background: var(--simon-yellow);
}

.simon-pad:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.simon-pad.active {
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
    filter: brightness(1.35);
}

/* Subtle ripple highlight when pad is active */
.simon-pad.active::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
    animation: padPulse 400ms ease-out;
}

@keyframes padPulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.6); }
    100% { box-shadow: 0 0 0 18px rgba(255,255,255,0); }
}

.simon-pad.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Visual feedback disabled state */
.no-visual-feedback .simon-pad,
.no-visual-feedback .simon-pad:hover,
.no-visual-feedback .simon-pad.active {
    transform: none;
    box-shadow: none;
    filter: none;
}

/* Game Controls */
.game-controls {
    text-align: center;
    margin-bottom: 20px;
}

.mode-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

#mode-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-gray);
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.95rem;
    min-width: 220px;
}

#mode-select option {
    background: var(--primary-dark);
    color: var(--light-gray);
}

.mode-btn:focus-visible,
.start-btn:focus-visible,
.stop-btn:focus-visible,
#difficulty-select:focus-visible,
#sequence-speed:focus-visible,
#sound-pack:focus-visible {
    outline: 2px solid var(--holo-cyan);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(6,214,160,0.25);
}

.difficulty-selector {
    margin-bottom: 12px;
}

.difficulty-selector label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

#difficulty-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-gray);
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 1rem;
    width: 200px;
}

#difficulty-select option {
    background: var(--primary-dark);
    color: var(--light-gray);
}

.start-btn, .stop-btn {
    background: linear-gradient(45deg, var(--success-green), var(--holo-cyan));
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 6px 10px 6px;
}

.stop-btn {
    background: linear-gradient(45deg, var(--danger-red), var(--holo-pink));
}

.start-btn:hover, .stop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hidden {
    display: none !important;
}

/* Game Status */
.game-status {
    text-align: center;
    margin-top: 20px;
}

.sequence-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    display: inline-block;
}

.message {
    font-size: 1.1rem;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
}

.message.success {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success-green);
}

.message.error {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger-red);
}

.message.info {
    background: rgba(52, 152, 219, 0.2);
    color: var(--primary-blue);
}

/* Input Progress */
.input-progress {
    position: relative;
    max-width: 400px;
    margin: 10px auto 10px auto;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
/* Game Over Overlay */
.game-over-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.game-over-card {
    background: rgba(44, 62, 80, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.game-over-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.game-over-reason {
    opacity: 0.85;
    margin: 10px 0 20px 0;
}

.game-over-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.input-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--holo-cyan), var(--holo-pink), var(--holo-gold));
    background-size: 200% 100%;
    animation: progressFlow 2s linear infinite;
    width: 0%;
    transition: width 0.2s ease;
}

@keyframes progressFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.input-progress-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    pointer-events: none;
}

/* Statistics */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--holo-cyan);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.mode-stats {
    margin-top: 30px;
}

.mode-stats h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--holo-pink);
}

.mode-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.mode-stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.mode-stat h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.mode-stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--holo-gold);
}

.reset-btn {
    background: var(--danger-red);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.reset-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Achievements */
.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card.unlocked {
    background: rgba(46, 204, 113, 0.2);
    border-color: var(--success-green);
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.3);
}

.achievement-card.unlocked::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.achievement-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.achievement-card.unlocked .achievement-icon {
    filter: grayscale(0%);
}

.achievement-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.achievement-description {
    font-size: 0.9rem;
    opacity: 0.8;
    text-align: center;
    line-height: 1.4;
}

.achievement-progress {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.achievement-progress-bar {
    height: 100%;
    background: linear-gradient(45deg, var(--holo-cyan), var(--holo-pink));
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.achievement-progress-text {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 5px;
    opacity: 0.7;
}

/* Settings */
.settings-container {
    max-width: 600px;
    margin: 0 auto;
}

.setting-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.setting-group label {
    font-weight: bold;
    flex: 1;
    min-width: 150px;
}

#volume-slider {
    width: 150px;
    margin-right: 10px;
}

#volume-display {
    font-weight: bold;
    color: var(--holo-cyan);
    min-width: 40px;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--success-green);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

#sequence-speed {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-gray);
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 1rem;
    min-width: 120px;
}

#sequence-speed option {
    background: var(--primary-dark);
    color: var(--light-gray);
}

/* Sound pack selector - match sequence speed styles */
#sound-pack {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--light-gray);
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 1rem;
    min-width: 220px;
}

#sound-pack option {
    background: var(--primary-dark);
    color: var(--light-gray);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Legal/Docs and FAQ page containers */
.faq-detailed {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.faq-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.faq-intro h2 {
    color: var(--holo-cyan);
    margin-bottom: 10px;
}

.faq-intro p {
    font-size: 1.05rem;
    opacity: 0.9;
    line-height: 1.6;
}

.back-link {
    margin-top: 15px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: white;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.faq-category {
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-category h3 {
    color: var(--holo-pink);
    margin-bottom: 14px;
    font-size: 1.25rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.faq-category p,
.faq-category li {
    opacity: 0.9;
    line-height: 1.6;
}

.doc-meta .chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--light-gray);
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px 20px;
    line-height: 1.6;
    opacity: 0.9;
    animation: slideDown 0.3s ease;
}

.faq-answer[hidden] {
    display: none;
}

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

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 10px;
    min-width: 60px;
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

.nav-item.active,
.nav-item:hover {
    color: var(--holo-cyan);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav-item.active i,
.nav-item:hover i {
    color: var(--holo-cyan);
    filter: drop-shadow(0 0 8px var(--holo-cyan));
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
  
}

footer p {
    margin: 5px 0;
}

footer a {
    color: var(--holo-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--holo-pink);
    text-decoration: underline;
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    .game-board {
        max-width: 300px;
        gap: 10px;
    }
    
    .simon-pad {
        border-radius: 15px;
        font-size: 1.5rem;
    }
    
    .mode-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .mode-btn {
        width: 200px;
        margin-bottom: 10px;
    }
    
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .achievements-container {
        grid-template-columns: 1fr;
    }
    
    .setting-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .setting-group label {
        min-width: auto;
    }
    
    #volume-slider {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    main {
        padding: 15px;
    }
    
    .game-board {
        max-width: 250px;
    }
    
    .score-display {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .start-btn, .stop-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .mode-btn {
        width: 180px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .nav-item span {
        font-size: 0.6rem;
    }
    
    .nav-item i {
        font-size: 1.3rem;
    }

    /* Reduce visual intensity on mobile to save battery */
    .glow {
        animation: glow 1.8s ease-in-out infinite;
    }
    .simon-pad.active {
        box-shadow: 0 0 18px rgba(255, 255, 255, 0.6);
    }
}

/* Animations and Effects */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.35); }
    50% { box-shadow: 0 0 18px rgba(255, 255, 255, 0.6); }
}

.glow {
    animation: glow 1.2s ease-in-out infinite;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--holo-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .simon-pad {
        border-width: 4px;
    }
    
    .nav-item.active {
        background: white;
        color: black;
    }
}
