:root {
    --primary: #d4a5a5;
    --secondary: #9c7c7c;
    --accent: #ffd6d6;
    --dark: #4a2c2c;
    --bg: #fff9f5;
    --text: #2d1f1f;
    --gold: #d4af37;
    --rose: #ff9eaf;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Optimización para móviles */
html, body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(135deg, #fff9f5 0%, #ffe8e8 50%, #fff9f5 100%);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    overscroll-behavior-y: contain;
}

/* Custom cursor (solo desktop) */
@media (hover: hover) {
    body {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">💕</text></svg>') 12 12, auto;
    }

    button,
    .dot {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">👆</text></svg>') 12 12, pointer;
    }
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 214, 214, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 165, 165, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 158, 175, 0.15) 0%, transparent 50%);
    animation: moveGradient 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes moveGradient {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
}

/* Confetti Canvas */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* Enhanced particle system */
.floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.heart {
    position: absolute;
    font-size: 20px;
    opacity: 0;
    animation: floatHeart 12s infinite ease-in-out;
    will-change: transform, opacity;
    transform: translateZ(0);
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
        transform: translateY(90vh) translateX(10px) rotate(10deg) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(40vh) translateX(-30px) rotate(-20deg) scale(0.8);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) translateX(50px) rotate(30deg) scale(0);
        opacity: 0;
    }
}

/* Sparkles with color variation */
.sparkles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.sparkle.gold {
    background: linear-gradient(45deg, var(--gold), white);
    box-shadow: 0 0 10px var(--gold);
}

.sparkle.rose {
    background: linear-gradient(45deg, var(--rose), white);
    box-shadow: 0 0 10px var(--rose);
}

.sparkle.white {
    background: linear-gradient(45deg, white, var(--accent));
    box-shadow: 0 0 10px white;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.8) rotate(180deg);
    }
}

/* Loading screen enhancement */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffd6d6 0%, #d4a5a5 50%, #ffd6d6 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
    transition: opacity 1s ease, visibility 1s ease;
}

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

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-heart {
    font-size: 6rem;
    animation: heartbeatPulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(212, 165, 165, 1));
}

@keyframes heartbeatPulse {
    0%, 100% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    56% {
        transform: scale(1);
    }
}

.loading-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--dark);
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInSlide 1s ease forwards 0.5s;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 0 2rem;
}

.loading-name {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeInSlide 1s ease forwards 1s;
    letter-spacing: 4px;
    text-shadow: 0 3px 15px rgba(212, 165, 165, 0.6);
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-top: 2rem;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSlide 1s ease forwards 1.2s;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--rose), var(--gold));
    width: 0;
    animation: loadProgress 2s ease forwards 1.5s;
    box-shadow: 0 0 10px var(--gold);
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

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

/* Main container */
.container {
    position: relative;
    z-index: 2;
    max-width: 950px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card wrapper with enhanced 3D */
.card-wrapper {
    position: relative;
    width: 100%;
    perspective: 2000px;
}

/* Enhanced page card */
.page {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    padding: 4rem 3rem;
    box-shadow:
        0 30px 80px rgba(156, 124, 124, 0.25),
        0 0 0 1px rgba(212, 165, 165, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border: 2px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Enhanced shimmer */
.page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 70%);
    animation: shimmer 8s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% {
        transform: translateX(-100%) translateY(-100%) rotate(0deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(10deg);
    }
}

.page.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    position: relative;
}

.page.exit-left {
    animation: slideOutLeft 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.page.exit-right {
    animation: slideOutRight 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-150px) scale(0.8);
        filter: blur(5px);
    }
}

@keyframes slideOutRight {
    to {
        opacity: 0;
        transform: translateX(150px) scale(0.8);
        filter: blur(5px);
    }
}

/* Enhanced page emoji */
.page-emoji {
    font-size: 5rem;
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.3s backwards, floatEmoji 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(212, 165, 165, 0.4));
}

@keyframes floatEmoji {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Recipient name styling */
.recipient-name {
    text-align: center;
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    text-shadow: 
        0 2px 10px rgba(212, 165, 165, 0.3),
        0 0 30px rgba(212, 165, 165, 0.2);
    background: linear-gradient(135deg, var(--primary), var(--rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page title */
.page-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(212, 165, 165, 0.2);
}

/* Page subtitle */
.page-subtitle {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.5s backwards;
    opacity: 0.9;
}

/* Flourish divider */
.flourish {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 2rem auto;
    position: relative;
    animation: fadeIn 1s ease 0.6s backwards;
}

.flourish::before,
.flourish::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.8rem;
}

.flourish::before {
    left: -20px;
}

.flourish::after {
    right: -20px;
}

/* Page content */
.page-content {
    text-align: center;
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
    line-height: 2;
    color: var(--text);
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.7s backwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page accents */
.page-accent {
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    pointer-events: none;
    animation: floatAccent 4s ease-in-out infinite;
}

.accent-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.accent-2 {
    top: 15%;
    right: 8%;
    animation-delay: 1s;
}

.accent-3 {
    bottom: 20%;
    left: 8%;
    animation-delay: 2s;
}

.accent-4 {
    bottom: 15%;
    right: 5%;
    animation-delay: 3s;
}

@keyframes floatAccent {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

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

/* Navigation */
.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    animation: fadeIn 1s ease 0.9s backwards;
}

.nav-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(156, 124, 124, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.nav-button:hover::before {
    left: 100%;
}

.nav-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(156, 124, 124, 0.5);
}

.nav-button:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Enhanced page indicator */
.page-indicator {
    font-family: 'Cinzel', serif;
    color: var(--dark);
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent), rgba(255, 255, 255, 0.8));
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(212, 165, 165, 0.3);
    position: relative;
    overflow: hidden;
}

.page-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: slideLight 3s infinite;
}

@keyframes slideLight {
    to {
        left: 100%;
    }
}

/* Enhanced dots */
.dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeIn 1s ease 1.1s backwards;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(212, 165, 165, 0.3);
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    opacity: 0;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.5);
}

.dot.active::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
}

.dot:hover {
    background: var(--secondary);
    transform: scale(1.3);
}

/* Corner decorations */
.corner-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    pointer-events: none;
    opacity: 0.2;
    z-index: 1;
}

.corner-decoration.top-left {
    top: -30px;
    left: -30px;
    background: radial-gradient(circle at top left, var(--rose), transparent);
    border-radius: 0 0 100% 0;
    animation: pulseCorner 4s ease-in-out infinite;
}

.corner-decoration.bottom-right {
    bottom: -30px;
    right: -30px;
    background: radial-gradient(circle at bottom right, var(--gold), transparent);
    border-radius: 100% 0 0 0;
    animation: pulseCorner 4s ease-in-out infinite 2s;
}

@keyframes pulseCorner {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.15);
    }
}

/* Final message */
.final-message {
    text-align: center;
    margin-top: 3rem;
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--primary);
    animation: fadeIn 1.5s ease 1.2s backwards, pulse 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(212, 165, 165, 0.3);
    letter-spacing: 1px;
}

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

/* Scroll hint */
.scroll-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary);
    font-size: 0.95rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 5;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(212, 165, 165, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hint-icon {
    font-size: 1.2rem;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

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

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Sound toggle button */
.sound-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(156, 124, 124, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 7px 20px rgba(156, 124, 124, 0.5);
}

.sound-toggle:active {
    transform: scale(0.95);
}

.sound-toggle.muted {
    opacity: 0.6;
    background: linear-gradient(135deg, #888, #666);
}

/* Share button */
.share-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--rose), var(--primary));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(255, 158, 175, 0.4);
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideInFromBottom 0.8s ease 1s backwards;
}

.share-button.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100px);
}

.share-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 158, 175, 0.5);
}

.share-button:active {
    transform: translateY(-2px);
}

.share-icon {
    font-size: 1.3rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

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

/* Responsive design */
@media (max-width: 768px) {
    /* Optimizaciones para móvil */
    .page::before {
        animation: none;
    }
    
    body::before {
        animation: moveGradient 20s ease infinite;
    }
    
    .heart {
        filter: none;
    }
    
    .container {
        padding: 2rem 1rem;
    }

    .page {
        padding: 3.5rem 2rem;
        border-radius: 25px;
    }

    .recipient-name {
        font-size: 2.5rem;
        letter-spacing: 2px;
        line-height: 1.3;
    }

    .loading-name {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }

    .page-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
        line-height: 1.4;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }

    .page-content {
        font-size: 1.15rem;
        line-height: 1.9;
    }

    .page-emoji {
        font-size: 4.5rem;
    }

    .nav-button {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .loading-text {
        font-size: 1.5rem;
        padding: 0 1.5rem;
    }

    .page-indicator {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }

    .sound-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .share-button {
        bottom: 100px;
        right: 20px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .scroll-hint {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .page {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }

    .recipient-name {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 1.5rem;
    }

    .loading-name {
        font-size: 1.8rem;
        letter-spacing: 1px;
        padding: 0 1rem;
    }

    .page-title {
        font-size: 1.9rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .page-content {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .page-emoji {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .navigation {
        margin-top: 2.5rem;
        gap: 0.5rem;
    }

    .nav-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .page-indicator {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .loading-heart {
        font-size: 4.5rem;
    }

    .loading-text {
        font-size: 1.3rem;
    }

    .accent-1, .accent-2, .accent-3, .accent-4 {
        font-size: 2rem;
    }

    .sound-toggle {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .final-message {
        font-size: 1.8rem;
    }

    .share-button {
        bottom: 90px;
        right: 15px;
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .scroll-hint {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        bottom: 20px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Touch feedback */
@media (hover: none) {
    .nav-button:active:not(:disabled) {
        background: linear-gradient(135deg, var(--secondary), var(--dark));
    }
    
    .dot:active {
        transform: scale(1.5);
    }
}