* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

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

.floating-particles {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.date-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 2s ease-out 0.2s both;
}

.today-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.current-date {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Streak Counter Styles - Subtle & Compact */
.streak-counter {
    text-align: center;
    margin-bottom: 1.5rem;
    animation: fadeInUp 2s ease-out 0.4s both;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.streak-counter:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.streak-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shimmerStreak 4s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes shimmerStreak {
    0% { left: -100%; }
    100% { left: 100%; }
}

.streak-message {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.streak-submessage {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.streak-stats {
    font-size: clamp(0.75rem, 1.8vw, 0.9rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.6rem;
    position: relative;
    z-index: 1;
}

/* Responsive adjustments for streak counter */
@media (max-width: 768px) {
    .streak-counter {
        margin-bottom: 1.2rem;
        padding: 0.7rem 1.2rem;
        border-radius: 12px;
        max-width: 420px;
    }
    
    .streak-message {
        margin-bottom: 0.25rem;
    }
    
    .streak-submessage {
        margin-bottom: 0.5rem;
    }
    
    .streak-stats {
        padding-top: 0.5rem;
        letter-spacing: 0.6px;
    }
}

@media (max-width: 480px) {
    .streak-counter {
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
        max-width: 360px;
    }
    
    .streak-stats {
        letter-spacing: 0.4px;
    }
}

.main-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    color: transparent;
    background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.02em;
}

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

.motivational-text {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 3rem;
    animation: fadeInUp 2s ease-out 0.5s both;
    max-width: 900px;
}

.emphasis {
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.emphasis:hover {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.action-section {
    animation: fadeInUp 2s ease-out 1s both;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

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

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

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 4s infinite;
    pointer-events: none;
    z-index: 5;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1s;
    width: 400px;
    height: 400px;
}

.pulse-ring:nth-child(3) {
    animation-delay: 2s;
    width: 500px;
    height: 500px;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5);
    }
}

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

.return-message {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 3rem;
    animation: fadeInUp 2s ease-out 1.5s both;
    font-style: italic;
    font-weight: 300;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .motivational-text {
        margin-bottom: 2rem;
    }
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Sparkle effect for emphasis words */
.sparkle {
    position: relative;
    display: inline-block;
}

.sparkle::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.8em;
    opacity: 0;
    animation: sparkleEffect 0.6s ease-out;
}

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

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

/* Error state */
.error {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* 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) {
    .emphasis {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .main-title {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .stars, .floating-particles, .gradient-overlay, .pulse-ring {
        display: none;
    }
    
    .main-title {
        color: black;
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
    }
    
    .motivational-text, .current-date, .today-label, .return-message {
        color: black;
    }
}