/* ===================================
   Valentine's Week for Rifa - Styles
   A beautiful, romantic web experience
   =================================== */

/* ============= CSS RESET & BASE STYLES ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Elegant Purple Theme */
    --primary-color: #9C27B0;
    --secondary-color: #E91E63;
    --accent-color: #FFD54F;
    --background-color: #F3E5F5;
    --card-background: #FFFFFF;
    --text-dark: #4A148C;
    --text-light: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
    --gradient-2: linear-gradient(135deg, #E91E63 0%, #FFD54F 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 12px 24px rgba(0, 0, 0, 0.2);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ============= FLOATING HEARTS BACKGROUND ============= */
.hearts-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hearts-background::before {
    content: '💕';
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float-heart-1 20s infinite ease-in-out;
    top: 10%;
    left: 10%;
}

.hearts-background::after {
    content: '💖';
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: float-heart-2 25s infinite ease-in-out;
    top: 50%;
    right: 15%;
}

@keyframes float-heart-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

@keyframes float-heart-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(30px) rotate(-10deg); }
}

/* ============= CONTAINER ============= */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md);
}

/* ============= LANDING SECTION ============= */
.landing-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.landing-content {
    text-align: center;
    width: 100%;
}

.main-title {
    font-family: var(--font-script);
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.date-range {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-dark);
    font-weight: 300;
    margin-bottom: var(--spacing-xs);
}

.special-dates {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
}

/* Letter Introduction */
.letter-intro {
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--card-background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
}

.letter-text {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.letter-text em {
    font-family: var(--font-script);
    font-size: 1.2em;
    color: var(--secondary-color);
    font-style: normal;
}

/* ============= TIMELINE GRID ============= */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.day-card {
    position: relative;
    background: var(--card-background);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-light);
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.day-card.unlocked {
    background: var(--gradient-1);
    color: var(--text-light);
}

.day-card.unlocked .day-number,
.day-card.unlocked .day-date,
.day-card.unlocked .day-title {
    color: var(--text-light);
}

.day-card-inner {
    position: relative;
    text-align: center;
    width: 100%;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    z-index: 2;
    transition: all 0.3s ease;
}

.day-card.unlocked .lock-overlay {
    display: none;
}

.lock-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.countdown-text {
    font-size: 0.75rem;
    color: var(--text-dark);
    font-weight: 500;
}

.day-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.day-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.day-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.day-icon {
    font-size: 2rem;
    margin-top: var(--spacing-xs);
}

/* ============= PROGRESS TRACKER ============= */
.progress-tracker {
    max-width: 500px;
    margin: 0 auto;
}

.progress-text {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(156, 39, 176, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
    width: 0%;
}

/* ============= DAY SECTIONS ============= */
.day-section {
    display: none;
    min-height: 100vh;
    padding: var(--spacing-xl) var(--spacing-md);
    animation: fadeInUp 0.6s ease;
}

.day-section.active {
    display: block;
}

.landing-section.active {
    display: flex;
}

.day-content {
    max-width: 800px;
    margin: 0 auto;
}

.back-btn {
    background: var(--gradient-1);
    color: var(--text-light);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    font-family: var(--font-body);
    min-width: 44px;
    min-height: 44px;
}

.back-btn:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-medium);
}

.day-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.day-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.day-subheading {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--secondary-color);
    font-weight: 300;
}

.content-card {
    background: var(--card-background);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-medium);
    animation: fadeIn 0.8s ease;
}

/* ============= DAY 1: WELCOME ============= */
.welcome-message {
    margin-bottom: var(--spacing-xl);
}

.welcome-message h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.welcome-message p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.photo-placeholder {
    text-align: center;
}

.day-photo {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    margin-bottom: var(--spacing-md);
}

.photo-caption {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* ============= DAY 2: LETTER ============= */
.letter-content {
    display: flex;
    justify-content: center;
}

.letter-paper {
    background: linear-gradient(to bottom, #FFFEF9 0%, #FFF8E7 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    max-width: 600px;
    border: 1px solid rgba(156, 39, 176, 0.1);
}

.letter-heading {
    font-family: var(--font-script);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.letter-paragraph {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    text-align: justify;
}

.letter-signature {
    margin-top: var(--spacing-xl);
    text-align: right;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.signature-text {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--secondary-color);
    display: block;
    margin-top: var(--spacing-sm);
}

/* ============= DAY 3: GALLERY ============= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-heavy);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: var(--spacing-md);
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-heavy);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: var(--spacing-md);
    font-size: 2rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 44px;
    min-height: 44px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ============= DAY 4: VIDEO/VOICE ============= */
.media-container {
    text-align: center;
}

.video-placeholder {
    margin-bottom: var(--spacing-lg);
}

.day-video,
.finale-video {
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
}

.media-fallback {
    margin-top: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--background-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 0.9rem;
}

.message-text {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-dark);
    font-style: italic;
}

/* ============= DAY 5: REASONS ============= */
.reasons-list {
    max-width: 600px;
    margin: 0 auto;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: var(--background-color);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--secondary-color);
    animation: slideInLeft 0.6s ease both;
    transition: all 0.3s ease;
}

.reason-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

.reason-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: var(--spacing-md);
    min-width: 30px;
}

.reason-text {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    line-height: 1.6;
    color: var(--text-dark);
}

/* ============= DAY 6: VIRTUAL DATE ============= */
.date-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.date-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--background-color);
    border-radius: var(--radius-md);
}

.date-section h4 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.date-description {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.playlist-placeholder {
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-md);
    border: 2px dashed var(--primary-color);
    text-align: center;
}

.instruction-text {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-style: italic;
}

.movie-list {
    list-style: none;
    padding: 0;
}

.movie-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    background: white;
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

/* ============= DAY 7: COUNTDOWN ============= */
.countdown-container {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.countdown-container h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg);
    background: var(--gradient-1);
    border-radius: var(--radius-md);
    min-width: 100px;
    box-shadow: var(--shadow-medium);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-light);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promises-section h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.promise-list {
    display: grid;
    gap: var(--spacing-md);
    max-width: 600px;
    margin: 0 auto;
}

.promise-item {
    padding: var(--spacing-md);
    background: var(--background-color);
    border-radius: var(--radius-md);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-dark);
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.promise-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

/* ============= DAY 8: FINALE ============= */
.finale-card {
    background: var(--gradient-1);
    color: var(--text-light);
}

.finale-message {
    margin-bottom: var(--spacing-xl);
}

.finale-heading {
    font-family: var(--font-script);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.finale-text {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.9;
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

.finale-signature {
    margin-top: var(--spacing-xl);
    text-align: right;
    font-size: 1.1rem;
}

.finale-signature .signature-text {
    color: var(--accent-color);
}

.video-montage {
    margin-bottom: var(--spacing-xl);
}

.video-montage h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.final-hearts {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    font-size: 2rem;
    margin-top: var(--spacing-xl);
}

.heart-symbol {
    animation: heartbeat 1.5s infinite;
}

.heart-symbol:nth-child(2) { animation-delay: 0.2s; }
.heart-symbol:nth-child(3) { animation-delay: 0.4s; }
.heart-symbol:nth-child(4) { animation-delay: 0.6s; }
.heart-symbol:nth-child(5) { animation-delay: 0.8s; }

/* ============= UNLOCK CELEBRATION ============= */
.unlock-celebration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(156, 39, 176, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.unlock-celebration.active {
    display: flex;
}

.celebration-content {
    text-align: center;
}

.sparkles {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
    animation: sparkle 1s infinite;
}

.celebration-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-light);
}

/* ============= ANIMATIONS ============= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease 0.9s both;
}

.fade-in-delay-4 {
    animation: fadeIn 1s ease 1.2s both;
}

.fade-in-delay-5 {
    animation: fadeIn 1s ease 1.5s both;
}

.fade-in-delay-6 {
    animation: fadeIn 1s ease 1.8s both;
}

/* ============= RESPONSIVE DESIGN ============= */

/* Tablet - 768px to 1024px */
@media (max-width: 1024px) {
    .container {
        padding: var(--spacing-sm);
    }
    
    .timeline-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: var(--spacing-sm);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Mobile - Less than 768px */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .landing-section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .day-card {
        min-height: 150px;
        padding: var(--spacing-sm);
    }
    
    .content-card {
        padding: var(--spacing-lg);
    }
    
    .letter-paper {
        padding: var(--spacing-lg);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .countdown-display {
        gap: var(--spacing-sm);
    }
    
    .countdown-unit {
        min-width: 80px;
        padding: var(--spacing-md);
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: var(--spacing-sm);
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 2rem;
    }
}

/* Small Mobile - Less than 480px */
@media (max-width: 480px) {
    .timeline-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-display {
        flex-direction: column;
        align-items: center;
    }
    
    .countdown-unit {
        width: 100%;
        max-width: 200px;
    }
}

/* Touch-Friendly Enhancements for iOS */
@media (hover: none) and (pointer: coarse) {
    .day-card,
    .back-btn,
    .gallery-item,
    .lightbox-prev,
    .lightbox-next {
        min-width: 44px;
        min-height: 44px;
    }
    
    .day-card:active {
        transform: scale(0.98);
    }
    
    .back-btn:active {
        transform: translateX(-3px);
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .day-card {
        border: 2px solid var(--primary-color);
    }
    
    .lock-overlay {
        border: 2px solid var(--text-dark);
    }
}

/* Print Styles */
@media print {
    .hearts-background,
    .back-btn,
    .lock-overlay,
    .progress-tracker {
        display: none;
    }
    
    .day-section {
        page-break-after: always;
    }
}
