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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #141419;
    --bg-card: rgba(26, 26, 34, .5);
    --text-primary: #e8e8f0;
    --text-secondary: #a0a0b8;
    --accent-gold: #d4af37;
    --accent-dim: #8b7929;
    --border-subtle: rgba(200, 200, 220, 0.1);
    --moon-glow: rgba(212, 175, 55, 0.4);
}

body {
    font-family: 'Crimson Pro', serif;
    background: linear-gradient(135deg, #12121a 0%, #0c0c24 50%, #0c0d10 100%);
    color: var(--text-primary);
    min-height: 100vh;
    background-attachment: fixed;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
}

.main-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 0 0 16px 16px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease-out;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    text-decoration: none;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.burger-menu:hover {
    background: var(--bg-secondary);
}

.burger-line {
    width: 24px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: .5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.menu-item:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
}

.menu-item.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 600;
}

.menu-item.active .menu-icon {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.menu-icon {
    font-size: 1rem;
}

.info-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    animation: fadeIn 0.6s ease-out;
}

.info-section .section-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-align: center;
}

.phase-explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.phase-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-dim);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.phase-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px var(--moon-glow));
}

.phase-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.phase-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.view-calendar-btn {
    background: var(--accent-gold);
    border: none;
    color: var(--bg-primary);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    text-decoration: none;
}

.view-calendar-btn:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.lunar-facts {
    background: rgba(26, 26, 34, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.lunar-facts h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.lunar-facts ul {
    list-style: none;
    padding: 0;
}

.lunar-facts li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
}

.lunar-facts li:before {
    content: "🌙";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.lunar-facts li:last-child {
    border-bottom: none;
}

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

.about-block {
    background: rgba(26, 26, 34, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.about-block h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.about-block p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

.about-block ul {
    list-style: none;
    padding: 0;
}

.about-block li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
}

.about-block li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1rem;
}

.about-block strong {
    color: var(--text-primary);
}

.eclipse-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.eclipse-countdown {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 26, 34, 0.8) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.2);
}

.countdown-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.countdown-title {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.countdown-label-small {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.countdown-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.eclipse-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--accent-dim);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
}

.eclipse-list {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.eclipse-item {
    background: rgba(26, 26, 34, 0.4);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--accent-gold);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.eclipse-item:hover {
    transform: translateX(4px);
    border-left-color: var(--accent-gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

.eclipse-item.hidden {
    display: none;
}

.eclipse-date {
    flex: 1;
    min-width: 200px;
}

.eclipse-date-main {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.eclipse-date-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.eclipse-details {
    flex: 2;
    min-width: 250px;
}

.eclipse-type {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.eclipse-type.partial {
    background: #8b7929;
}

.eclipse-type.penumbral {
    background: #5a5a6e;
}

.eclipse-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.eclipse-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    background: rgba(26, 26, 34, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-dim);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.info-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.site-description {
    background: rgba(26, 26, 34, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.description-title {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.site-description p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto;
    padding:0 1rem
}

.faq-section {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.faq-title {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
}

.faq-item {
    background: rgba(26, 26, 34, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-dim);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.faq-question span:first-child {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 300;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-subtle);
    margin-top: 4rem;
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.footer-heading {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.footer-description,
.footer-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}





}

























.helper-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.moon-icon {
    font-size: 8rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 30px var(--moon-glow));
    animation: float 6s ease-in-out infinite;
}

.hero-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 2.5rem;
    color: var(--accent-gold);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-dim);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lunar-info {
    background: rgba(26, 26, 34, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.today-calendar-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out;
}

.calendar-section-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.phase-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    animation: fadeIn 1s ease-out;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
}

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

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

.controls-right {
    justify-content: right;
    margin-bottom: 1rem;
}

.nav-button, .year-selector {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-button:hover, .year-selector:hover {
    background: var(--accent-dim);
    border-color: var(--accent-gold);
}

.year-selector {
    padding: 0.5rem;
    min-width: 90px;
}

.month-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.link-month-tab {
    text-decoration: none;
}

.month-tab {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 0.6rem 1.025rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.month-tab:hover {
    border-color: var(--accent-dim);
}

.month-tab.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.day-header {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    padding: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.link-day-cell {
    text-decoration: none;
}
.day-cell {
    aspect-ratio: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.day-cell:hover {
    transform: scale(1.05);
    border-color: var(--accent-dim);
    z-index: 10;
}

.day-cell.today {
    border: 2px solid var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.day-cell.other-month {
    opacity: 0.3;
}

.day-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    color: var(--text-secondary);
}

.day-cell.today .day-number {
    color: var(--accent-gold);
    font-weight: 600;
}

.moon-phase {
    font-size: 2rem;
    filter: drop-shadow(0 0 8px var(--moon-glow));
}

.current-indicator {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(26, 26, 34, 0.4);
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
}

.current-phase-name {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.current-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

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

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-logo {
        font-size: 1.4rem;
    }

    .burger-menu {
        display: flex;
    }

    .menu-header {
        flex-wrap: wrap;
    }

    .menu-items {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        order: 3;
        margin-top: 1rem;
    }

    .menu-items.active {
        display: flex;
    }

    .menu-item {
        width: 100%;
        justify-content: flex-start;
        border-radius: 8px;
        padding: 1rem;
        margin-bottom:8px
    }

    .countdown-title {
        font-size: 1.3rem;
    }

    .countdown-timer {
        gap: 1rem;
    }

    .countdown-unit {
        min-width: 60px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .eclipse-countdown {
        padding: 1.5rem;
    }

    .today-calendar-wrapper {
        padding: 1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .calendar-section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .month-tabs {
        justify-content: center;
    }

    .calendar-grid {
        gap: 0.2rem;
        grid-template-columns: repeat(6, 1fr);
    }

    .day-header {
        font-size: 0.7rem;
        padding: 0.4rem 0.2rem;
    }

    .day-cell {
        padding: 0.3rem 0.2rem;
        border-radius: 6px;
    }

    .day-number {
        font-size: 0.65rem;
        margin-bottom: 0.1rem;
    }

    .moon-phase {
        font-size: 1.2rem;
    }

    .phase-explanation-grid {
        grid-template-columns: 1fr;
    }

    .site-description,
    .faq-section {
        padding-left: 0;
        padding-right: 0;
    }
}

body.light {
    padding: 2rem 1rem;
}

.light .header {
    text-align: center;
    margin-bottom: 3rem;
}

.light .logo {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    text-decoration: none;
    display: inline-block;
}

.light .content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
}

.light h1 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.light .header {
    text-align: center;
    margin-bottom: 3rem;
}

.light .logo {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    text-decoration: none;
    display: inline-block;
}

.light .content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
}

.light h1 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.light .last-updated {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.light h2 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.light h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.light p {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.light ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.light li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

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

.light .back-link {
    display: inline-block;
    color: var(--accent-gold);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin-top: 2rem;
    transition: color 0.3s ease;
}

.light .back-link:hover {
    color: var(--accent-dim);
}

.light .contact-info {
    background: rgba(26, 26, 34, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

body.page-404 {
    font-family: 'Crimson Pro', serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1025 50%, #0f0a1a 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background-attachment: fixed;
}

.page-404 .logo {
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 3rem;
    text-align: center;
}

.page-404 .error-container {
    text-align: center;
    max-width: 600px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 3rem 2rem;
}

.page-404 .moon-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px var(--moon-glow));
    animation: float 6s ease-in-out infinite;
}

.page-404 .error-code {
    font-size: 5rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    line-height: 1;
}

.page-404 .error-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.page-404 .error-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.page-404 .home-button {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-404 .home-button:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.page-404 .suggestions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.page-404 .suggestions h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 400;
}

.page-404 .suggestions ul {
    list-style: none;
    padding: 0;
}

.page-404 .suggestions li {
    margin-bottom: 0.5rem;
}

.page-404 .suggestions a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-404 .suggestions a:hover {
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .page-404 .error-code {
        font-size: 4rem;
    }

    .page-404 .error-title {
        font-size: 1.5rem;
    }

    .page-404 .moon-icon {
        font-size: 4rem;
    }

    .page-404 .error-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .light .content-card {
        padding: 2rem 1.5rem;
    }

    .light h1 {
        font-size: 2rem;
    }

    .light h2 {
        font-size: 1.5rem;
    }

    .light h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .moon-icon {
        font-size: 4rem;
    }

    .hero-date {
        font-size: 0.8rem;
    }

    .stats-grid {
        gap: 0.5rem;
    }

    .stat-card {
        padding: 1rem 0.8rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .lunar-info {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .today-calendar-wrapper {
        padding: 0.8rem 0.5rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .calendar-section-title {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .calendar-grid {
        gap: 0.15rem;
    }

    .day-header {
        font-size: 0.6rem;
        padding: 0.3rem 0.1rem;
        letter-spacing: 0;
    }

    .day-cell {
        padding: 0.25rem 0.1rem;
        border-radius: 4px;
        min-height: 50px;
    }

    .day-number {
        font-size: 0.6rem;
        margin-bottom: 0.1rem;
    }

    .moon-phase {
        font-size: 1rem;
    }

    .site-description {
        padding: 1.5rem 1rem;
    }

    .description-title,
    .faq-title {
        font-size: 1.4rem;
    }

    .site-description p {
        font-size: 0.95rem;
    }

    .faq-question span:first-child {
        font-size: 0.95rem;
    }

    .faq-answer p {
        font-size: 0.9rem;
        padding: 0 1rem 1rem;
    }

    .countdown-title {
        font-size: 1.1rem;
    }

    .countdown-value {
        font-size: 1.6rem;
    }

    .countdown-unit {
        min-width: 50px;
    }

    .countdown-label-small {
        font-size: 0.7rem;
    }

    .eclipse-countdown {
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .main-menu {
        padding: 0.8rem 1rem;
    }

    .site-logo {
        font-size: 1.2rem;
    }
}
