/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #ffcc00;
    --secondary-orange: #ff8c00;
    --deep-brown: #1a0b00;
    --light-cream: #fff4e6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, #0f0500 0%, #1a0b00 50%, #2d1800 100%);
    color: var(--light-cream);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Enhanced Background Effects */
.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vw;
    height: 150vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 204, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 69, 19, 0.2) 0%, transparent 70%);
    z-index: -2;
    animation: divineGlow 8s infinite alternate;
}

@keyframes divineGlow {
    0% { opacity: 0.7; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.05) rotate(2deg); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1) rotate(-2deg); }
}

/* Floating Diya Lamps */
.floating-lamps {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.lamp {
    position: absolute;
    font-size: 2rem;
    animation: floatDiya 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.6));
}

.lamp-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.lamp-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.lamp-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

@keyframes floatDiya {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg, rgba(26, 11, 0, 0.8) 0%, transparent 100%);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-link {
    color: var(--light-cream);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-gold);
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

/* Main Container */
.container {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
    z-index: 1;
    margin-top: 60px;
}

/* Enhanced Logo Section */
.logo-container {
    margin-bottom: 3rem;
    position: relative;
}

.logo-placeholder {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.flame-icon {
    font-size: 5rem;
    animation: divineFlame 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 204, 0, 0.8));
}

.divine-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes divineFlame {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

/* Typography */
h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 25px rgba(255, 204, 0, 0.6);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 25px rgba(255, 204, 0, 0.6); }
    100% { text-shadow: 0 0 35px rgba(255, 204, 0, 0.9); }
}

.tagline {
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: #e0e0e0;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 204, 0, 0.4);
    display: inline-block;
    padding-bottom: 12px;
    font-weight: 300;
}

/* Content Section */
.content {
    margin-bottom: 3rem;
}

.content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-orange);
    font-weight: 600;
}

.content p {
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ccc;
    font-size: 1.1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Progress Indicator */
.progress-indicator {
    margin-top: 2rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-orange), var(--primary-gold));
    border-radius: 10px;
    width: 75%;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.progress-text {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 600;
}

/* Features Preview */
.features-preview {
    margin-bottom: 3rem;
}

.features-preview h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-gold);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 204, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 204, 0, 0.4));
}

.feature-card h4 {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Enhanced Countdown Timer */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.time-box {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.time-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--secondary-orange), var(--primary-gold), var(--secondary-orange));
    border-radius: 15px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.time-box:hover::before {
    opacity: 0.6;
}

.time-box:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-gold);
}

.time-box span {
    display: block;
}

.time-box span:first-child {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
}

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #aaa;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* Enhanced Newsletter Section */
.newsletter {
    margin-bottom: 3rem;
}

.newsletter p {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #e0e0e0;
}

.input-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

input[type="email"] {
    padding: 15px 25px;
    border-radius: 50px;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: white;
    width: 100%;
    max-width: 350px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
}

input[type="email"]::placeholder {
    color: #888;
}

.notify-btn {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(45deg, var(--secondary-orange), var(--primary-gold));
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-orange));
    transition: left 0.3s ease;
}

.notify-btn:hover::before {
    left: 0;
}

.notify-btn span {
    position: relative;
    z-index: 1;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.4);
}

.form-message {
    min-height: 20px;
    margin-top: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-message.success {
    color: #4CAF50;
}

.form-message.error {
    color: #f44336;
}

/* Social Links */
.social-links {
    margin-top: 2.5rem;
}

.social-links p {
    margin-bottom: 1rem;
    color: #ccc;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--light-cream);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--primary-gold);
    color: var(--deep-brown);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

/* Enhanced Footer */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .tagline { font-size: 1.1rem; letter-spacing: 2px; }
    .countdown { gap: 1rem; }
    .time-box { min-width: 80px; padding: 1rem; }
    .time-box span:first-child { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .nav-links { gap: 1rem; }
    .nav-link { font-size: 0.8rem; }
    .flame-icon { font-size: 4rem; }
}

@media (max-width: 480px) {
    .container { padding: 1rem; }
    h1 { font-size: 2.5rem; }
    .content h2 { font-size: 1.5rem; }
    .content p { font-size: 1rem; }
    .countdown { gap: 0.5rem; }
    .time-box { min-width: 70px; padding: 0.8rem; }
    .time-box span:first-child { font-size: 1.8rem; }
    .input-group { flex-direction: column; align-items: center; }
    input[type="email"] { max-width: 100%; }
    .footer-links { flex-direction: column; gap: 0.5rem; }
    .lamp { font-size: 1.5rem; }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeInUp 0.8s ease-out;
}

.container > *:nth-child(1) { animation-delay: 0.1s; }
.container > *:nth-child(2) { animation-delay: 0.2s; }
.container > *:nth-child(3) { animation-delay: 0.3s; }
.container > *:nth-child(4) { animation-delay: 0.4s; }
.container > *:nth-child(5) { animation-delay: 0.5s; }
.container > *:nth-child(6) { animation-delay: 0.6s; }