/* 
 * Hold and Release Game Styles
 * Compatibilidade: Modern browsers + fallbacks for older versions
 * Features: CSS Grid, Flexbox, transforms, backdrop-filter
 */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    /* Fallback for older browsers */
    background: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Holographic UI Theme */
.holographic {
    /* Fallback for older browsers */
    background: rgba(33, 150, 243, 0.5);
    background: linear-gradient(45deg, 
        rgba(33, 150, 243, 0.3) 0%,
        rgba(156, 39, 176, 0.3) 25%,
        rgba(76, 175, 80, 0.3) 50%,
        rgba(255, 193, 7, 0.3) 75%,
        rgba(244, 67, 54, 0.3) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* HUD Styles */
.hud {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

.hud-left, .hud-center, .hud-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.level-display {
    font-weight: bold;
    color: #2196F3;
}

.stars-display {
    display: flex;
    gap: 3px;
}

.stars-display .fas {
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
}

.stars-display .fas.active {
    color: #FFC107;
    text-shadow: 0 0 10px #FFC107;
}

.score-display {
    font-weight: bold;
    font-size: 18px;
    color: #4CAF50;
}

.wind-display {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #9C27B0;
}

.settings-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.settings-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Game Container */
.game-container {
    margin-top: 60px;
    margin-bottom: 140px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: calc(100vh - 200px);
}

/* Canvas Styles */
.canvas-container {
    position: relative;
    max-width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#game-canvas {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px;
    background: linear-gradient(180deg, #87CEEB 0%, #98FB98 100%);
}

/* Charge Bar - Layout horizontal com controles */
.charge-bar-container {
    width: 100%;
    max-width: 600px; /* Aumentado para acomodar controles ao lado */
    padding: 0 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.charge-bar {
    position: relative;
    width: 100%;
    height: 35px; /* Reduzido de 40px para 35px */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 18px; /* Ajustado para a nova altura */
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25); /* Sombra mais sutil */
}

.charge-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4CAF50 0%, #FFC107 80%, #F44336 100%);
    border-radius: 18px;
    transition: width 0.1s ease-out;
    position: relative;
}

.charge-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.precision-zone {
    position: absolute;
    top: 0;
    left: 60%;
    width: 20%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
    opacity: 0.5;
    border: 2px solid #4CAF50;
    border-top: none;
    border-bottom: none;
}

.charge-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.charge-tips {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    min-height: 20px;
}

/* Screen Management */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: none;
    flex-direction: column;
    z-index: 500;
    overflow-y: auto;
}

.screen.active {
    display: flex;
}

/* Garantir que headers das telas não sejam sobrepostos */
.screen-header {
    position: sticky;
    top: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Garantir que o conteúdo das telas não sobreponha o header */
.screen > *:not(.screen-header) {
    margin-top: 0;
    padding-top: 10px;
}

/* Ajustar espaçamento específico para cada container */
.levels-grid,
.settings-container,
.credits-container,
.faq-container {
    margin-top: 10px;
}

/* Garantir que botões de voltar sejam sempre visíveis */
.back-btn {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

/* Ajustar títulos dos headers para serem sempre legíveis */
.screen-header h2 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Menu Screen */
.menu-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.game-title {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #2196F3, #4CAF50, #FFC107, #F44336, #9C27B0);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s ease-in-out infinite;
}

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

.game-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.menu-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.menu-btn.primary {
    background: linear-gradient(45deg, #2196F3, #4CAF50);
    border: none;
}

.menu-btn.danger {
    background: linear-gradient(45deg, #F44336, #E91E63);
    border: none;
}

/* Level Select */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.level-btn {
    aspect-ratio: 1;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    overflow: hidden;
}

.level-btn.unlocked {
    background: linear-gradient(45deg, #2196F3, #4CAF50);
    color: #ffffff;
}

.level-btn.completed {
    background: linear-gradient(45deg, #4CAF50, #FFC107);
    color: #ffffff;
}

.level-btn.locked {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
}

.level-btn:hover:not(.locked) {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.level-stars {
    display: flex;
    gap: 2px;
    font-size: 12px;
}

/* Settings */
.settings-container {
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.setting-item label {
    font-size: 16px;
    font-weight: bold;
}

.setting-item input[type="checkbox"] {
    width: 50px;
    height: 25px;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.setting-item input[type="checkbox"]:checked {
    background: #4CAF50;
}

.setting-item input[type="checkbox"]::after {
    content: '';
    width: 21px;
    height: 21px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s;
}

.setting-item input[type="checkbox"]:checked::after {
    transform: translateX(25px);
}

.setting-item select {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
}

/* Credits */
.credits-container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.credits-container h3 {
    color: #2196F3;
    margin-bottom: 10px;
}

.credits-container h4 {
    color: #4CAF50;
    margin: 20px 0 10px 0;
}

.credits-container ul {
    list-style: none;
    padding-left: 20px;
}

.credits-container li {
    margin-bottom: 8px;
    position: relative;
}

.credits-container li::before {
    content: '▶';
    color: #FFC107;
    position: absolute;
    left: -15px;
}

/* Pause Screen */
.pause-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.pause-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin-top: 30px;
}

/* Result Screen */
.result-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
}

.result-header {
    margin-bottom: 30px;
}

.result-stars {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
    font-size: 30px;
}

.result-stars .fas {
    color: #666;
    transition: all 0.3s;
}

.result-stars .fas.earned {
    color: #FFC107;
    text-shadow: 0 0 15px #FFC107;
    animation: starEarn 0.5s ease-out;
}

@keyframes starEarn {
    0% { transform: scale(0) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

.result-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
}

.result-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

/* FAQ Section */
.faq-container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

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

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-answer.show {
    padding: 20px;
    max-height: 200px;
}

.faq-answer p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Game Controls - Agora ao lado da barra de força */
.game-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    /* Removido position: fixed para integrar com o layout */
}

.control-btn {
    width: 55px; /* Reduzido de 65px para 55px */
    height: 55px; /* Reduzido de 65px para 55px */
    border: none;
    border-radius: 50%;
    background: rgba(33, 150, 243, 0.7);
    color: white;
    font-size: 18px; /* Reduzido de 20px para 18px */
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px; /* Reduzido de 3px para 2px */
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.control-btn:hover {
    transform: scale(1.05); /* Reduzido de 1.1 para 1.05 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: rgba(33, 150, 243, 0.8);
}

.control-btn:active {
    transform: scale(0.98); /* Reduzido de 0.95 para 0.98 */
}

.control-btn span {
    font-size: 9px; /* Reduzido de 10px para 9px */
    font-weight: bold;
    opacity: 0.9;
}

.control-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px; /* Reduzido de 11px para 10px */
    opacity: 0.8;
}

/* Aim Controls - Controles de mira menores e mais discretos */
.aim-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px; /* Reduzido de 8px para 6px */
    margin-top: 12px; /* Reduzido de 15px para 12px */
    padding: 8px; /* Reduzido de 10px para 8px */
    background: rgba(0, 0, 0, 0.2); /* Mais transparente */
    border-radius: 12px; /* Reduzido de 15px para 12px */
    backdrop-filter: blur(8px); /* Reduzido de 10px para 8px */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15); /* Mais transparente */
}

.aim-control-row {
    display: flex;
    gap: 6px; /* Reduzido de 8px para 6px */
    align-items: center;
}

.aim-btn {
    width: 38px; /* Reduzido de 45px para 38px */
    height: 38px; /* Reduzido de 45px para 38px */
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1); /* Mais transparente */
    color: rgba(255, 255, 255, 0.8); /* Mais transparente */
    font-size: 14px; /* Reduzido de 16px para 14px */
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Mais transparente */
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aim-btn:hover {
    background: rgba(255, 255, 255, 0.2); /* Mais transparente */
    transform: scale(1.08); /* Reduzido de 1.1 para 1.08 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Sombra mais sutil */
}

.aim-btn:active {
    transform: scale(0.96); /* Reduzido de 0.95 para 0.96 */
}

.aim-btn#aim-center {
    background: rgba(255, 193, 7, 0.2); /* Mais transparente */
    border-color: rgba(255, 193, 7, 0.3); /* Mais transparente */
    width: 42px; /* Reduzido de 50px para 42px */
    height: 42px; /* Reduzido de 50px para 42px */
    font-size: 16px; /* Reduzido de 18px para 16px */
}

.aim-btn#aim-center:hover {
    background: rgba(255, 193, 7, 0.3); /* Mais transparente */
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

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

.nav-item:hover,
.nav-item.active {
    color: #2196F3;
    background: rgba(33, 150, 243, 0.1);
    transform: translateY(-2px);
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 12px;
    font-weight: bold;
}

/* Footer */
footer {
    position: relative;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.7);
    z-index: 999;
}

/* App Footer - Estilo específico para o footer da aplicação */
.app-footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #374151;
    border-top: 1px solid #e5e7eb;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.app-footer p {
    margin: 0;
}

.app-footer a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.app-footer a:hover {
    color: #1d4ed8;
}

.app-footer .website {
    color: #6b7280;
}

/* Accessibility */
.high-contrast {
    filter: contrast(150%) brightness(120%);
}

.reduce-animations * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Responsive Design - Garantir que FAQ não apareça na tela do jogo */
@media (max-width: 768px) {
    .hud {
        padding: 0 15px;
        height: 50px;
    }
    
    .game-container {
        margin-top: 50px;
        padding: 15px;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .charge-bar-container {
        padding: 0 15px;
        max-width: 500px; /* Ajustado para controles integrados */
    }
    
    .result-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .levels-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 10px;
    }
    
    /* Garantir que FAQ não apareça na tela do jogo */
    .faq-section {
        display: none !important;
    }
    
    .faq-section.screen.active {
        display: flex !important;
    }
    
    /* Ajustar controles integrados para telas pequenas */
    .game-controls {
        gap: 8px;
    }
    
    .control-btn {
        width: 50px; /* Ainda menor para telas pequenas */
        height: 50px;
        font-size: 16px;
    }
    
    .control-btn span {
        font-size: 8px;
    }
    
    .control-info {
        font-size: 9px;
    }
    
    /* Ajustar HUD para telas pequenas */
    .hud {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    /* Ajustar indicadores de jogo para telas pequenas */
    .game-indicators {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .hud {
        padding: 0 10px;
        height: 45px;
    }
    
    .game-container {
        margin-top: 45px;
        padding: 10px;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .charge-bar-container {
        padding: 0 10px;
        max-width: 400px; /* Ajustado para telas muito pequenas */
    }
    
    /* Controles ainda menores para telas muito pequenas */
    .game-controls {
        gap: 6px;
    }
    
    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .control-btn span {
        font-size: 7px;
    }
    
    .control-info {
        font-size: 8px;
    }
    
    /* HUD mais compacto */
    .hud {
        font-size: 11px;
        padding: 6px 8px;
    }
    
    /* Indicadores menores */
    .game-indicators {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .hud {
        padding: 0 8px;
        height: 40px;
    }
    
    .game-container {
        margin-top: 40px;
        padding: 8px;
    }
    
    .game-title {
        font-size: 1.8rem;
    }
    
    .charge-bar-container {
        padding: 0 8px;
        max-width: 350px; /* Mínimo para telas muito pequenas */
    }
    
    /* Controles mínimos */
    .game-controls {
        gap: 5px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .control-btn span {
        font-size: 6px;
    }
    
    .control-info {
        font-size: 7px;
    }
    
    /* HUD mínimo */
    .hud {
        font-size: 10px;
        padding: 5px 6px;
    }
    
    /* Indicadores mínimos */
    .game-indicators {
        font-size: 9px;
    }
}

/* Garantir que FAQ nunca apareça na tela do jogo */
.faq-section:not(.screen.active) {
    display: none !important;
}

/* Apenas mostrar FAQ quando ativo */
.faq-section.screen.active {
    display: flex !important;
}

/* Animation for particles and effects */
@keyframes particleFloat {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    100% { transform: translateY(-50px) scale(0); opacity: 0; }
}

.particle {
    position: absolute;
    pointer-events: none;
    animation: particleFloat 1s ease-out forwards;
}

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

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
