html { scroll-padding-top: 120px; scroll-behavior: smooth; }
:root {
    --bg-color: #FAF9F6;
    --bg-gradient: linear-gradient(135deg, #FAF9F6 0%, #FFF5F6 100%);
    --primary-color: #B76E79; /* Rose Gold */
    --primary-dark: #8b4e57;
    --secondary-color: #FFDAB9; /* Peach */
    --tertiary-color: #E6E6FA; /* Lavender */
    --accent-color: #FFD700; /* Gold */
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(183, 110, 121, 0.15);
    --container-width: 1100px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.cursive {
    font-family: 'Great Vibes', cursive;
    font-weight: 700;
}

.text-center {
    text-center;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-lg);
}

.glass-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(250, 249, 246, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(183, 110, 121, 0.1);
    transition: all 0.3s ease;
}

/* Header & Nav */
header {
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

#main-logo {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(183, 110, 121, 0.2));
}

.brand-name {
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(183, 110, 121, 0.3);
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.language-selector:hover {
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.15);
    background: var(--white);
}

.language-selector select {
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

/* Background Particles Container */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(255,215,0,0) 70%);
    border-radius: 50%;
    opacity: 0.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 12px 24px rgba(183, 110, 121, 0.35);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 32px rgba(183, 110, 121, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-color);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(183, 110, 121, 0.05);
    transform: translateY(-4px);
}

/* Shimmer Effect for Primary Button */
.shimmer-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.1) 60%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg) translate(-100%, 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: rotate(45deg) translate(-100%, 100%); }
    20%, 100% { transform: rotate(45deg) translate(100%, -100%); }
}

/* Typography Glow */
.title-glow {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(183, 110, 121, 0.2));
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

.text-center { text-align: center; }

/* Hero Section */
#hero {
    padding: 180px 0 100px;
    text-align: center;
    background: radial-gradient(circle at 80% 20%, rgba(255, 218, 185, 0.4), transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(230, 230, 250, 0.5), transparent 50%);
}

#hero-title {
    font-size: 5.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color), #8b4e57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(183, 110, 121, 0.15));
}

#hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 50px;
    font-weight: 300;
}

/* Gift Showcase (Hero) */
.gift-showcase {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 60px;
    perspective: 1000px;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,218,185,0.6) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    animation: pulse-glow 4s infinite alternate;
}

@keyframes pulse-glow {
    0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

#gift-visual {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

.floating-asset {
    width: 90%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(183, 110, 121, 0.25);
    transition: transform 0.3s ease;
}

.sparkles {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 2rem;
    animation: sparkle-anim 2s infinite alternate;
}

@keyframes sparkle-anim {
    0% { opacity: 0.2; transform: scale(0.8) rotate(0deg); }
    100% { opacity: 1; transform: scale(1.2) rotate(15deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(5deg) rotateY(0deg); }
    50% { transform: translateY(-25px) rotateX(-5deg) rotateY(10deg); }
}

/* Concept Section */
#concept {
    position: relative;
}

#concept h2 {
    font-size: 4rem;
    margin-bottom: 32px;
}

.lead-text {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

/* Video Showcase (NEW) */
#video-showcase {
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.8), transparent);
}

#video-showcase h2 {
    font-size: 4rem;
    margin-bottom: 50px;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    padding: 12px; /* padding inside the glass card for the thumbnail */
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: url('assets/logo-art.jpg') center/cover no-repeat;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    cursor: not-allowed;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Locked Overlay */
.locked-overlay {
    position: absolute;
    inset: 0;
    background: rgba(250, 249, 246, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: all 0.4s ease;
}

.locked-content {
    text-align: center;
    color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.glowing-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 15px rgba(183, 110, 121, 0.5));
    animation: icon-pulse 2s infinite;
}

@keyframes icon-pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(183, 110, 121, 0.5)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 25px rgba(183, 110, 121, 0.8)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(183, 110, 121, 0.5)); }
}

.coming-soon-text {
    font-size: 3rem;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.small-text {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.8;
}

.play-button-mock {
    position: absolute;
    z-index: 1;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

/* How it works */
#how-it-works h2 {
    font-size: 3.5rem;
    margin-bottom: 60px;
    font-family: 'Great Vibes', cursive;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step {
    padding: 50px 30px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.step-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(183, 110, 121, 0.15);
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--tertiary-color), var(--white));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(183, 110, 121, 0.1);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.step p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Downloads */
#downloads {
    position: relative;
    overflow: hidden;
}

#downloads::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(230, 230, 250, 0.4) 0%, transparent 60%);
    z-index: -1;
}

#downloads h2 {
    font-size: 4rem;
    margin-bottom: 40px;
}

.download-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--white);
    border-top: 1px solid rgba(183, 110, 121, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    height: 70px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.filter-glow {
    filter: drop-shadow(0 4px 8px rgba(183, 110, 121, 0.2));
}

footer p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Reveal Animations Class */
.reveal-section {
    opacity: 0;
    transform: translateY(40px);
}

/* Selection */
::selection {
    background: var(--secondary-color);
    color: var(--primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(183, 110, 121, 0.5);
    border-radius: 6px;
    border: 3px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    #hero-title { font-size: 3.5rem; }
    #concept h2, #video-showcase h2, #how-it-works h2, #downloads h2 { font-size: 2.8rem; }
    .nav-container { flex-direction: column; gap: 16px; }
    .btn { padding: 14px 32px; width: 100%; margin-bottom: 12px; }
    .download-btns { flex-direction: column; gap: 16px; width: 100%; }
    .download-btns .btn { margin: 0; }
    .steps-grid { grid-template-columns: 1fr; }
    #hero { padding: 150px 0 60px; }
    .coming-soon-text { font-size: 2rem; }
    .glowing-icon { font-size: 2.5rem; }
}

/* --- NEW NAVIGATION AND CALENDAR STYLES --- */

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--primary-color);
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Page Content Base */
.page-content {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 80vh;
}

.legal-content {
    text-align: left;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- CALENDAR SPECIFIC STYLES --- */
.calendar-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media (min-width: 992px) {
    .calendar-layout {
        flex-direction: row;
        align-items: flex-start;
    }
}

.calendar-sidebar {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .calendar-sidebar {
        width: 320px;
        flex-shrink: 0;
        position: sticky;
        top: 100px;
    }
}

.calendar-main {
    flex: 1;
    width: 100%;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.calendar-nav-btn {
    background: var(--white);
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.1);
    transition: all 0.3s;
}

.calendar-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(183, 110, 121, 0.2);
}

.calendar-month-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    min-width: 200px;
    text-align: center;
}

/* Grid Days */
.calendar-grid-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.calendar-day-name {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-cell {
    min-height: 100px;
    padding: 8px;
    border-radius: var(--border-radius-sm);
    background: var(--white);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.calendar-cell:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(183, 110, 121, 0.1);
}

.calendar-cell.is-today {
    background: linear-gradient(135deg, rgba(255, 218, 185, 0.2), rgba(230, 230, 250, 0.2));
    border-color: var(--primary-color);
}

.calendar-cell.empty {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
}

.calendar-date-num {
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-color);
}

.calendar-cell.is-today .calendar-date-num {
    color: var(--primary-color);
}

/* Event Tags */
.event-tags-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    overflow: hidden;
}

.event-tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* Category Colors */
.cat-religion { background-color: rgba(66, 153, 225, 0.15); color: #2b6cb0; border: 1px solid rgba(66, 153, 225, 0.3); }
.cat-civil { background-color: rgba(245, 101, 101, 0.15); color: #c53030; border: 1px solid rgba(245, 101, 101, 0.3); }
.cat-lunar { background-color: rgba(72, 187, 120, 0.15); color: #2f855a; border: 1px solid rgba(72, 187, 120, 0.3); }
.cat-family { background-color: rgba(159, 122, 234, 0.15); color: #6b46c1; border: 1px solid rgba(159, 122, 234, 0.3); }
.cat-season { background-color: rgba(236, 201, 75, 0.15); color: #b7791f; border: 1px solid rgba(236, 201, 75, 0.3); }

/* Sidebar Items */
.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.sidebar-event-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    background: var(--white);
    border: 1px solid var(--glass-border);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-event-item:hover {
    box-shadow: 0 4px 12px rgba(183, 110, 121, 0.1);
    transform: translateX(4px);
}

.sidebar-date-box {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-gradient);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-date-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.sidebar-date-day {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.sidebar-event-content h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-color);
}

.sidebar-event-content p {
    font-size: 0.8rem;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-gradient);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--glass-border);
    text-align: right;
}

.event-detail-card {
    padding: 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
}

.event-detail-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(250, 249, 246, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        border-bottom: 1px solid rgba(183, 110, 121, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .main-nav.active .nav-links {
        display: flex;
    }
    
    .calendar-grid-header, .calendar-grid {
        gap: 4px;
    }
    
    .calendar-cell {
        min-height: 70px;
        padding: 4px;
    }
    
    .event-tag {
        font-size: 0.6rem;
        padding: 1px 4px;
    }
}
