
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');
:root {
    --bg-primary: linear-gradient(to bottom, #FAFAFA, #FFFFFF);
    --text-primary: #222222;
    --text-secondary: #555555;
    --accent: #6366F1;
    --accent-light: #A5B4FC;
    --card-bg: rgba(255,255,255,0.85);
    --card-border: rgba(0, 0, 0, 0.06);
    --hero-overlay: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1) 80%);
    --moon-size: 160px;
    --cosmic-purple: #7C3AED;
    --cosmic-blue: #3B82F6;
    --cosmic-text: #222222;
    --cosmic-light: #FFFFFF;
    --cosmic-card-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--cosmic-text);
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Text shadows for readability */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Responsive typography */
@media (max-width: 640px) {
        #current-day {
            font-size: 5rem;
        }
        .moon-container img {
            filter: drop-shadow(0 0 12px rgba(255,255,255,0.3));
        }
#current-month, #cosmic-week {
        font-size: 1.1rem;
    }
}
h1 {
	font-size: 16px;
	margin-top: 0;
}

p {
	color: rgb(107, 114, 128);
	font-size: 15px;
	margin-bottom: 10px;
	margin-top: 5px;
}

.card {
	max-width: 620px;
	margin: 0 auto;
	padding: 16px;
	border: 1px solid lightgray;
	border-radius: 16px;
}

.card p:last-child {
	margin-bottom: 0;
}
