/* CSS Custom Properties for theming */
:root {
    --primary-color: #7868E6;
    --secondary-color: #B8B5FF;
    --accent-color: #FFB4B4;
    --background-color: #EDEEF7;
    --surface-color: #E4FBFF;
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --success-color: #48BB78;
    --warning-color: #ED8936;
    --error-color: #F56565;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Paper Texture Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 104, 230, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(184, 181, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 180, 180, 0.05) 0%, transparent 50%);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    pointer-events: none;
    z-index: -1;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--secondary-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

/* App Container */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.app-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 1px solid rgba(120, 104, 230, 0.1);
    margin-bottom: 60px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    min-width: 70px;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 0 3px 3px;
    transition: var(--transition);
}

.nav-item.active::before {
    width: 60%;
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item.active {
    color: var(--primary-color);
}

.nav-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.25rem;
    stroke-width: 2;
    transition: var(--transition);
}

.nav-item.active .nav-icon {
    stroke-width: 2.5;
    transform: scale(1.05);
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1rem;
    padding-bottom: 80px; /* Space for bottom navigation */
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Screen Management */
.screen {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.screen.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Timer Screen */
.timer-container {
    max-width: 600px;
    margin: 0 auto;
}

.current-session {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.current-session::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.timer-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.session-label {
    color: var(--text-secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-side {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--background-color);
}

.side-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.current-side {
    font-weight: 600;
    color: var(--primary-color);
}

/* Control Buttons */
.control-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.side-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    border: 3px solid transparent;
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.side-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(120, 104, 230, 0.05));
    opacity: 0;
    transition: var(--transition);
}

.side-btn:hover::before {
    opacity: 1;
}

.side-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.side-btn.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-heavy);
}

.side-btn.active::before {
    display: none;
}

.left-btn.active {
    animation: pulse-left 2s infinite;
}

.right-btn.active {
    animation: pulse-right 2s infinite;
}

@keyframes pulse-left {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes pulse-right {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.btn-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
    stroke-width: 2;
    transition: var(--transition);
}

.side-btn.active .btn-icon {
    stroke-width: 2.5;
}

.btn-icon-small {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.btn-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.btn-time {
    font-size: 1.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    opacity: 0.8;
}

.side-btn.active .btn-time {
    opacity: 1;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 100px;
    justify-content: center;
}

.pause-btn {
    background: var(--warning-color);
    color: white;
}

.pause-btn:hover:not(:disabled) {
    background: #DD6B20;
    transform: translateY(-1px);
}

.stop-btn {
    background: var(--error-color);
    color: white;
}

.stop-btn:hover:not(:disabled) {
    background: #E53E3E;
    transform: translateY(-1px);
}

.reset-btn {
    background: var(--text-light);
    color: white;
}

.reset-btn:hover {
    background: var(--text-secondary);
    transform: translateY(-1px);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Session Notes */
.session-notes {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.session-notes textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 2px solid var(--background-color);
    border-radius: calc(var(--border-radius) - 4px);
    font-family: inherit;
    font-size: 0.875rem;
    resize: vertical;
    transition: var(--transition);
}

.session-notes textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(120, 104, 230, 0.1);
}

.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* History Screen */
.history-container {
    max-width: 800px;
    margin: 0 auto;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.history-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.history-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Filter Options */
.filter-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 0.75rem;
    border: 2px solid var(--background-color);
    border-radius: var(--border-radius);
    background: white;
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    min-width: 150px;
}

.filter-options select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(120, 104, 230, 0.1);
}

/* History List */
.history-list {
    display: grid;
    gap: 1rem;
}

.history-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.history-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.history-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.history-duration {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.history-sides {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.side-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--background-color);
    border-radius: calc(var(--border-radius) - 4px);
    flex: 1;
}

.side-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    flex-shrink: 0;
}

.side-duration {
    font-weight: 600;
    color: var(--text-primary);
}

.history-notes {
    background: var(--surface-color);
    padding: 1rem;
    border-radius: calc(var(--border-radius) - 4px);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border-left: 4px solid var(--primary-color);
}

.delete-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
}

.history-item:hover .delete-btn {
    opacity: 1;
}

.delete-btn:hover {
    background: #E53E3E;
    transform: scale(1.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Statistics Screen */
.stats-container {
    max-width: 1000px;
    margin: 0 auto;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.stats-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.stats-header select {
    padding: 0.75rem;
    border: 2px solid var(--background-color);
    border-radius: var(--border-radius);
    background: white;
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.stats-header select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(120, 104, 230, 0.1);
}

/* Quick Stats */
.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    width: 40px;
    height: 40px;
    stroke-width: 2;
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Charts Container */
.charts-container {
    display: grid;
    gap: 2rem;
}

.chart-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.chart-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.chart-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.chart-card canvas {
    width: 100% !important;
    height: auto !important;
    max-height: 300px;
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.notification {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    animation: slideIn 0.3s ease;
    position: relative;
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.warning {
    border-left-color: var(--warning-color);
}

.notification.error {
    border-left-color: var(--error-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.notification-close:hover {
    color: var(--text-primary);
}

/* Modal */
.modal {
    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: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-heavy);
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.app-footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    margin-bottom: 120px;
}

.app-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.app-footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header h1 {
        font-size: 1.25rem;
    }
    
    .header-logo {
        width: 40px;
        height: 40px;
    }
    
    .header-content {
        gap: 0.75rem;
    }
    
    .nav-item {
        min-width: 60px;
        padding: 0.4rem 0.75rem;
    }
    
    .nav-icon {
        width: 22px;
        height: 22px;
    }
    
    .nav-label {
        font-size: 0.7rem;
    }
    
    .main-content {
        padding: 0.5rem;
        padding-bottom: 75px;
    }
    
    .current-session {
        padding: 1.5rem;
    }
    
    .timer-display {
        font-size: 2.5rem;
    }
    
    .control-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .side-btn {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }
    
    .action-buttons {
        gap: 0.5rem;
    }
    
    .action-btn {
        padding: 0.5rem 1rem;
        min-width: 80px;
        font-size: 0.75rem;
    }
    
    .history-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .history-controls {
        justify-content: center;
    }
    
    .filter-options {
        flex-direction: column;
    }
    
    .filter-options select {
        min-width: auto;
    }
    
    .history-item-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .history-sides {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.25rem;
    }
    
    .charts-container {
        gap: 1rem;
    }
    
    .chart-card {
        padding: 1rem;
    }
    
    .notification-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .app-header h1 {
        font-size: 1rem;
    }
    
    .header-logo {
        width: 35px;
        height: 35px;
    }
    
    .header-content {
        gap: 0.5rem;
    }
    
    .timer-display {
        font-size: 2rem;
    }
    
    .side-btn {
        padding: 1rem;
        min-height: 80px;
    }
    
    .btn-icon {
        width: 36px;
        height: 36px;
    }
    
    .btn-label {
        font-size: 0.875rem;
    }
    
    .btn-time {
        font-size: 1rem;
    }
    
    .session-notes {
        padding: 1rem;
    }
    
    .history-item {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .nav-item {
        min-width: 50px;
        padding: 0.3rem 0.5rem;
    }
    
    .nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .nav-label {
        font-size: 0.65rem;
    }
    
    .main-content {
        padding-bottom: 70px;
    }
}

/* Print Styles */
@media print {
    .app-header,
    .bottom-nav,
    .action-buttons,
    .history-controls,
    .filter-options,
    .notification-container,
    .modal,
    .app-footer {
        display: none !important;
    }
    
    .screen {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .history-item,
    .stat-card,
    .chart-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000080;
        --secondary-color: #4B0082;
        --text-primary: #000000;
        --text-secondary: #333333;
        --background-color: #FFFFFF;
        --surface-color: #F5F5F5;
    }
}

/* Focus Styles for Accessibility */
button:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

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