/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B0000;
    --primary-dark: #5C0000;
    --secondary-color: #DC143C;
    --accent-color: #B22222;
    --text-light: #FFFFFF;
    --text-dark: #2C0A0A;
    --background-dark: #1A1A1A;
    --background-light: #F5F5F5;
    --border-color: rgba(255, 255, 255, 0.2);
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.8);
    --transition: all 0.3s ease;
}

html, body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: var(--text-light);
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Prevent scrolling but allow pan/zoom on touch elements */
    touch-action: pan-x pan-y;
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    position: fixed;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-ghost {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-google {
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-google:hover {
    background: #f8f9fa;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.user-avatar:hover {
    background: var(--primary-dark);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

#userInitials {
    font-weight: 600;
    font-size: 0.9rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.user-menu:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-light);
    transition: var(--transition);
}

/* Main App Container */
.app-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    padding-top: 80px;
    /* Completely prevent any scrolling or bounce */
    overscroll-behavior: none;
    -webkit-overscroll-behavior: none;
    touch-action: none;
    -webkit-overflow-scrolling: auto;
}

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

.loading-spinner {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 1rem;
}

.cross-loader {
    position: relative;
    width: 120px;
    height: 120px;
}

/* Cross structure with individual bars */
.cross-vertical,
.cross-horizontal {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.cross-vertical {
    width: 16px;
    height: 100px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.cross-horizontal {
    width: 56px;
    height: 16px;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
}

/* Fluid fill elements */
.cross-fill-vertical,
.cross-fill-horizontal {
    position: absolute;
    background: linear-gradient(135deg,
        var(--primary-color) 0%,
        #a50000 25%,
        var(--primary-color) 50%,
        #6b0000 75%,
        var(--primary-color) 100%);
    border-radius: 1px;
    box-shadow: 
        inset 0 0 8px rgba(139, 0, 0, 0.8),
        inset 0 0 15px rgba(255, 255, 255, 0.2),
        0 0 8px var(--primary-color),
        0 0 15px rgba(139, 0, 0, 0.4);
}

.cross-fill-vertical {
    width: 100%;
    height: 0%;
    bottom: 0;
    left: 0;
    animation: fluidFillVertical 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.cross-fill-horizontal {
    width: 0%;
    height: 100%;
    left: 0;
    top: 0;
    animation: fluidFillHorizontal 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite 1.5s;
}

/* Sacred red fluid animation */
@keyframes fluidFillVertical {
    0% { 
        height: 0%;
        box-shadow: 
            inset 0 0 8px rgba(139, 0, 0, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.1),
            0 0 5px var(--primary-color),
            0 0 10px rgba(139, 0, 0, 0.3);
    }
    30% {
        height: 50%;
        box-shadow: 
            inset 0 0 10px rgba(139, 0, 0, 0.8),
            inset 0 0 20px rgba(255, 255, 255, 0.2),
            0 0 8px var(--primary-color),
            0 0 15px rgba(139, 0, 0, 0.4);
    }
    60% { 
        height: 100%;
        box-shadow: 
            inset 0 0 12px rgba(139, 0, 0, 1),
            inset 0 0 25px rgba(255, 255, 255, 0.3),
            0 0 12px var(--primary-color),
            0 0 20px rgba(139, 0, 0, 0.5);
    }
    80% {
        height: 70%;
        box-shadow: 
            inset 0 0 10px rgba(139, 0, 0, 0.8),
            inset 0 0 20px rgba(255, 255, 255, 0.2),
            0 0 8px var(--primary-color),
            0 0 15px rgba(139, 0, 0, 0.4);
    }
    100% { 
        height: 0%;
        box-shadow: 
            inset 0 0 8px rgba(139, 0, 0, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.1),
            0 0 5px var(--primary-color),
            0 0 10px rgba(139, 0, 0, 0.3);
    }
}

@keyframes fluidFillHorizontal {
    0% { 
        width: 0%;
        box-shadow: 
            inset 0 0 8px rgba(139, 0, 0, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.1),
            0 0 5px var(--primary-color),
            0 0 10px rgba(139, 0, 0, 0.3);
    }
    30% {
        width: 50%;
        box-shadow: 
            inset 0 0 10px rgba(139, 0, 0, 0.8),
            inset 0 0 20px rgba(255, 255, 255, 0.2),
            0 0 8px var(--primary-color),
            0 0 15px rgba(139, 0, 0, 0.4);
    }
    60% { 
        width: 100%;
        box-shadow: 
            inset 0 0 12px rgba(139, 0, 0, 1),
            inset 0 0 25px rgba(255, 255, 255, 0.3),
            0 0 12px var(--primary-color),
            0 0 20px rgba(139, 0, 0, 0.5);
    }
    80% {
        width: 70%;
        box-shadow: 
            inset 0 0 10px rgba(139, 0, 0, 0.8),
            inset 0 0 20px rgba(255, 255, 255, 0.2),
            0 0 8px var(--primary-color),
            0 0 15px rgba(139, 0, 0, 0.4);
    }
    100% { 
        width: 0%;
        box-shadow: 
            inset 0 0 8px rgba(139, 0, 0, 0.6),
            inset 0 0 15px rgba(255, 255, 255, 0.1),
            0 0 5px var(--primary-color),
            0 0 10px rgba(139, 0, 0, 0.3);
    }
}

/* Authentication Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.auth-modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.auth-modal-close:hover {
    opacity: 1;
}

.auth-form h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-form p {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    opacity: 0.6;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: rgba(0, 0, 0, 0.95);
    padding: 0 1rem;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.auth-switch a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Quote Container */
.quote-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
}

/* Animation system for smooth transitions */
.quote-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Enable hardware acceleration */
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.quote-slide.current {
    transform: translateY(0);
    z-index: 2;
}

.quote-slide.next {
    transform: translateY(100%);
    z-index: 1;
}

.quote-slide.prev {
    transform: translateY(-100%);
    z-index: 1;
}

.quote-slide.animating-up {
    transform: translateY(-100%);
}

.quote-slide.animating-down {
    transform: translateY(100%);
}

/* Background image */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease-out;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23654321;stop-opacity:1" /><stop offset="100%" style="stop-color:%23321654;stop-opacity:1" /></linearGradient></defs><rect width="1920" height="1080" fill="url(%23grad1)"/></svg>');
}

/* Dark overlay for text readability */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Content container */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    width: 90%;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 0.8rem;
    justify-items: center;
    text-align: center;
}

/* Quote text styling */
.quote-text {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: clamp(0.9rem, 2.5vw, 1.4rem);
    font-weight: 400;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
    letter-spacing: 0.3px;
    text-transform: none;
    grid-row: 1;
    justify-self: center;
    max-width: 600px;
}

/* Quote author styling */
.quote-author {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: clamp(0.6rem, 1.5vw, 0.85rem);
    font-weight: 400;
    opacity: 0;
    letter-spacing: 1px;
    text-transform: none;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
    grid-row: 2;
    justify-self: center;
}

/* Quote Actions */
.quote-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.9s forwards;
    position: relative;
    z-index: 5;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    pointer-events: auto;
    position: relative;
    z-index: 6;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.action-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Navigation hints */
.navigation-hints {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.swipe-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 300;
    animation: bounce 2s infinite;
}

.swipe-indicator svg {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Progress bar removed */

/* Touch area */
.touch-area {
    position: absolute;
    top: 80px; /* Start below navbar */
    left: 0;
    width: 100%;
    height: calc(100% - 80px); /* Full height minus navbar */
    /* Allow manipulation but prevent scrolling */
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 1; /* Below action buttons (z-index: 6) */
    cursor: pointer;
}

/* Paywall Overlay */
.paywall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.paywall-overlay.show {
    opacity: 1;
    transform: translateY(0);
}

.paywall-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.8) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.paywall-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 2rem;
    text-align: center;
    color: var(--text-light);
    z-index: 1;
}

.paywall-icon {
    margin-bottom: 1.5rem;
}

.paywall-logo {
    width: 60px;
    height: 60px;
    opacity: 0.9;
}

.paywall-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.paywall-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.5;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.paywall-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.paywall-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    min-width: 120px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.paywall-footer {
    font-size: 0.8rem;
    opacity: 0.6;
    margin: 0;
    font-style: italic;
}

/* Toast Notifications */
.toast {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: rgba(220, 53, 69, 0.95);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 53, 69, 0.3);
    z-index: 3000;
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transition);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success {
    background: rgba(40, 167, 69, 0.95);
    border-color: rgba(40, 167, 69, 0.3);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpCentered {
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .auth-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .app-container {
        padding-top: 70px;
    }
    
    .quote-container {
        height: calc(100vh - 70px);
    }
    
    .content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .quote-text {
        font-size: clamp(0.8rem, 3vw, 1.2rem);
        line-height: 1.4;
        margin-bottom: 0.6rem;
        letter-spacing: 0.2px;
    }
    
    .quote-author {
        font-size: clamp(0.5rem, 2vw, 0.75rem);
        letter-spacing: 0.8px;
    }
    
    .navigation-hints {
        bottom: 1.5rem;
    }
    
    .swipe-indicator {
        font-size: 0.8rem;
    }
    
    /* Progress bar removed */
    
    .toast {
        right: 1rem;
        left: 1rem;
        top: 90px;
    }
    
    .auth-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .paywall-content {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .paywall-content h3 {
        font-size: 1.5rem;
    }
    
    .paywall-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .paywall-buttons {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .paywall-features {
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .paywall-logo {
        width: 50px;
        height: 50px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .content {
        padding: 1rem;
    }
    
    .quote-text {
        font-size: clamp(1rem, 3vw, 1.8rem);
        margin-bottom: 0.5rem;
    }
    
    .quote-author {
        font-size: clamp(0.8rem, 2vw, 1rem);
    }
    
    .navigation-hints {
        bottom: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .quote-text {
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .progress-fill {
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .swipe-indicator {
        animation: none;
    }
}

/* Hide elements when loading */
.loading .navbar,
.loading .quote-container,
.loading .navigation-hints,
.loading .progress-bar {
    opacity: 0;
}