/* ===== CSS Variables ===== */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-gold: #ffd700;
    --accent-green: #2ecc71;
    --accent-cyan: #00d4ff;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-primary);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===== Particle Canvas ===== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== Floating Lanterns ===== */
.lanterns-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.lantern {
    position: absolute;
    font-size: 2rem;
    color: var(--accent-gold);
    opacity: 0.6;
    animation: floatLantern 15s infinite ease-in-out;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.lantern:nth-child(1) { left: 10%; animation-delay: 0s; }
.lantern:nth-child(2) { left: 30%; animation-delay: 3s; font-size: 1.5rem; }
.lantern:nth-child(3) { left: 50%; animation-delay: 6s; font-size: 2.5rem; }
.lantern:nth-child(4) { left: 70%; animation-delay: 9s; font-size: 1.8rem; }
.lantern:nth-child(5) { left: 90%; animation-delay: 12s; font-size: 2.2rem; }

@keyframes floatLantern {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== Main Container ===== */
.main-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

/* Moon Animation */
.moon-container {
    position: absolute;
    top: 10%;
    right: 10%;
    animation: moonFloat 6s ease-in-out infinite;
}

.moon {
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: 50%;
    position: relative;
    box-shadow: 
        0 0 60px rgba(255, 215, 0, 0.4),
        0 0 100px rgba(255, 215, 0, 0.2),
        inset -20px -20px 40px rgba(0, 0, 0, 0.1);
}

.moon::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    top: -10px;
    right: -20px;
}

.moon-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: moonPulse 3s ease-in-out infinite;
}

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

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

/* Stars Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, #fff, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent);
    background-repeat: repeat;
    background-size: 350px 200px;
    animation: twinkle 5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    animation: fadeInUp 1s ease-out;
}

.eid-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: 30px;
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 25px rgba(255, 215, 0, 0.4); }
}

.main-title {
    font-family: 'Amiri', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

.title-line.highlight {
    font-size: 1.2em;
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6)); }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Blessing Box */
.blessing-box {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.quote-icon {
    color: var(--accent-gold);
    font-size: 1.5rem;
    opacity: 0.5;
}

.quote-icon:first-child {
    position: absolute;
    top: 15px;
    left: 20px;
}

.quote-icon:last-child {
    position: absolute;
    bottom: 15px;
    right: 20px;
}

.blessing-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
}

/* Celebrate Button */
.celebrate-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.celebrate-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

.celebrate-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.celebrate-btn i {
    font-size: 1.3rem;
    animation: giftBounce 2s ease-in-out infinite;
}

@keyframes giftBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-10deg); }
    75% { transform: translateY(-5px) rotate(10deg); }
}

/* ===== Blessings Section ===== */
.blessings-section {
    padding: 100px 20px;
    text-align: center;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--accent-gold);
}

.section-title i {
    color: var(--accent-gold);
    animation: heartBeat 1.5s ease-in-out infinite;
}

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

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blessing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.blessing-card:hover::before {
    left: 100%;
}

.blessing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: var(--shadow-glow);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.blessing-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
}

.blessing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

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

/* ===== Message Section ===== */
.message-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.message-card {
    position: relative;
    perspective: 1000px;
}

.envelope {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.envelope:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(255, 215, 0, 0.3);
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(135deg, #c9a227 0%, #e6c200 100%);
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    transform-origin: top;
    transition: transform 0.6s ease;
}

.envelope.open .envelope-flap {
    transform: rotateX(180deg);
}

.envelope-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    z-index: 5;
}

.envelope-body i {
    font-size: 3rem;
}

.envelope-body span {
    font-weight: 600;
    font-size: 1.1rem;
}

.message-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90vw;
    max-width: 500px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px;
    color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 20;
}

.message-content.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.close-message {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-message:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

.message-content h3 {
    font-family: 'Amiri', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.message-body {
    text-align: left;
    line-height: 1.8;
}

.message-body p {
    margin-bottom: 15px;
    color: #444;
}

.message-body .signature {
    text-align: right;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 20px;
}

.decoration-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--accent-gold);
}

.decoration-stars i {
    animation: starTwinkle 1.5s ease-in-out infinite;
}

.decoration-stars i:nth-child(2) { animation-delay: 0.5s; }
.decoration-stars i:nth-child(3) { animation-delay: 1s; }

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

/* ===== Countdown Section ===== */
.countdown-section {
    padding: 80px 20px;
    text-align: center;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px 25px;
    min-width: 100px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.countdown-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: var(--shadow-glow);
}

.count {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Amiri', serif;
}

.label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Footer ===== */
.footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-5px) rotate(360deg);
}

.footer-text {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.footer-subtext {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Confetti Canvas ===== */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .moon-container {
        top: 5%;
        right: 5%;
    }
    
    .moon {
        width: 80px;
        height: 80px;
    }
    
    .moon::before {
        width: 70px;
        height: 70px;
    }
    
    .blessing-box {
        padding: 25px 20px;
    }
    
    .quote-icon {
        font-size: 1rem;
    }
    
    .countdown-item {
        padding: 20px 15px;
        min-width: 80px;
    }
    
    .count {
        font-size: 2rem;
    }
    
    .envelope {
        width: 250px;
        height: 170px;
    }
    
    .message-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 20px 15px;
    }
    
    .celebrate-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 15px 10px;
        min-width: 70px;
    }
    
    .count {
        font-size: 1.5rem;
    }
    
    .label {
        font-size: 0.75rem;
    }
}

/* ===== Scroll Reveal Animation ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===== GIFT SECTION ===== */
.gift-section {
    padding: 100px 20px;
    text-align: center;
}

.gift-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
}

.gift-box-wrapper {
    position: relative;
    display: inline-block;
}

.gift-box {
    width: 200px;
    height: 200px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gift-box:hover {
    transform: scale(1.05);
}

.gift-box.opened {
    animation: giftOpen 0.6s ease forwards;
}

@keyframes giftOpen {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(0) rotate(360deg); opacity: 0; }
}

.gift-box-body {
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    position: absolute;
    bottom: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gift-box-lid {
    width: 110%;
    height: 35%;
    background: linear-gradient(135deg, #ff6b6b 0%, #e74c3c 100%);
    position: absolute;
    top: -5%;
    left: -5%;
    border-radius: 10px;
    transition: transform 0.4s ease;
    transform-origin: left center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.gift-box:hover .gift-box-lid {
    transform: rotateZ(-15deg) translateY(-10px);
}

.gift-ribbon {
    position: absolute;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gift-ribbon.vertical {
    width: 30px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.gift-ribbon.horizontal {
    width: 100%;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.gift-bow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.bow-loop {
    width: 50px;
    height: 50px;
    border: 8px solid #ffd700;
    border-radius: 50%;
    position: absolute;
    top: 0;
}

.bow-loop.left {
    left: -35px;
    border-right-color: transparent;
    transform: rotate(-30deg);
}

.bow-loop.right {
    right: -35px;
    border-left-color: transparent;
    transform: rotate(30deg);
}

.bow-knot {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.gift-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: giftGlow 2s ease-in-out infinite;
    pointer-events: none;
}

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

.gift-hint {
    margin-top: 30px;
    color: var(--accent-gold);
    font-size: 1.1rem;
    animation: hintPulse 1.5s ease-in-out infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Gift Reveal */
.gift-reveal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 100%;
    max-width: 500px;
}

.gift-reveal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.reveal-content {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 3px solid #ffd700;
}

.reveal-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: iconBounce 1s ease infinite;
}

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

.reveal-content h3 {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.eidi-coin {
    margin: 20px auto;
    animation: coinSpin 3s ease-in-out infinite;
}

.eidi-coin i {
    font-size: 8rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.6));
}

@keyframes coinSpin {
    0%, 100% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.1); }
}

.eidi-message {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.eidi-decorations {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 2rem;
}

.eidi-decorations span {
    animation: decorationSpin 3s ease-in-out infinite;
}

.eidi-decorations span:nth-child(2) { animation-delay: 0.5s; }
.eidi-decorations span:nth-child(3) { animation-delay: 1s; }

@keyframes decorationSpin {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

.collect-eidi-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.collect-eidi-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.4);
}

.collect-eidi-btn.collected {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    pointer-events: none;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    padding: 100px 20px;
    text-align: center;
}

.timeline-container {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-cyan) 100%);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 60px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-dot:hover {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
}

.timeline-dot.highlight {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(231, 76, 60, 0.4); }
    50% { box-shadow: 0 0 50px rgba(231, 76, 60, 0.7); }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    max-width: 350px;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: var(--shadow-glow);
}

.timeline-content.highlight {
    border-color: rgba(231, 76, 60, 0.4);
    background: rgba(231, 76, 60, 0.1);
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 100px 20px;
    text-align: center;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 60px auto;
}

.gallery-item {
    perspective: 1000px;
}

.gallery-frame {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 15px;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.gallery-frame:hover {
    transform: rotateY(5deg) rotateX(5deg) translateY(-10px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.gallery-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.gallery-placeholder:hover {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    border-color: rgba(255, 215, 0, 0.6);
}

.gallery-placeholder i {
    font-size: 3rem;
}

.gallery-placeholder span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Style for images inside gallery placeholder */
.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    border-radius: 13px;
    transition: transform 0.4s ease;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.gallery-placeholder:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    color: var(--accent-gold);
    font-weight: 500;
}

.gallery-caption i {
    color: #e74c3c;
}

.gallery-message {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    position: relative;
    font-style: italic;
    color: var(--text-muted);
}

.gallery-message i {
    color: var(--accent-gold);
    font-size: 1.5rem;
    position: absolute;
}

.gallery-message i:first-child {
    top: 15px;
    left: 20px;
}

.gallery-message i:last-child {
    bottom: 15px;
    right: 20px;
}

.gallery-message p {
    margin: 0 30px;
    line-height: 1.8;
}

/* ===== WISH JAR SECTION ===== */
.wish-jar-section {
    padding: 100px 20px;
    text-align: center;
}

.wish-jar-container {
    max-width: 500px;
    margin: 60px auto;
    position: relative;
    min-height: 400px;
}

.wish-jar {
    width: 200px;
    margin: 0 auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wish-jar:hover {
    transform: scale(1.05);
}

.wish-jar.shaking {
    animation: jarShake 0.5s ease-in-out;
}

@keyframes jarShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.jar-lid {
    width: 120%;
    height: 30px;
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    margin: 0 auto -5px;
    border-radius: 10px 10px 5px 5px;
    position: relative;
    left: -10%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lid-knob {
    width: 40px;
    height: 20px;
    background: linear-gradient(135deg, #a0522d 0%, #cd853f 100%);
    border-radius: 10px 10px 0 0;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.jar-body {
    width: 200px;
    height: 250px;
    background: linear-gradient(135deg, rgba(200, 220, 255, 0.3) 0%, rgba(180, 200, 240, 0.2) 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 
        inset 0 0 30px rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

.jar-glass {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    border-radius: 17px;
}

.wishes-inside {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
}

.wish-paper {
    position: absolute;
    width: 40px;
    height: 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 5px;
    transform: rotate(var(--rotation));
    animation: paperFloat 3s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.wish-paper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 5px;
    right: 5px;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.1), 0 20px 0 rgba(0, 0, 0, 0.1);
}

@keyframes paperFloat {
    0%, 100% { transform: rotate(var(--rotation)) translateY(0); }
    50% { transform: rotate(var(--rotation)) translateY(-10px); }
}

.jar-label {
    margin-top: 20px;
    padding: 10px 25px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold);
    font-weight: 500;
    animation: labelPulse 2s ease-in-out infinite;
}

@keyframes labelPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.4); }
}

.wish-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 100%;
    max-width: 400px;
}

.wish-display.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.wish-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid #ffd700;
}

.close-wish {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-wish:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

.wish-number {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wish-text {
    font-family: 'Amiri', serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wish-stars {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: var(--accent-gold);
}

.wish-stars i {
    animation: starTwinkle 1s ease-in-out infinite;
}

.wish-stars i:nth-child(2) { animation-delay: 0.3s; }
.wish-stars i:nth-child(3) { animation-delay: 0.6s; }

.wish-instruction {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 20px;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 80px;
        padding-right: 20px;
    }
    
    .timeline-dot {
        left: 30px;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
        max-width: 100%;
    }
    
    .eidi-amount {
        font-size: 3.5rem;
    }
    
    .reveal-content {
        padding: 30px 20px;
    }
    
    .gallery-frame:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .gift-box {
        width: 150px;
        height: 150px;
    }
    
    .bow-loop {
        width: 35px;
        height: 35px;
        border-width: 6px;
    }
    
    .bow-loop.left { left: -25px; }
    .bow-loop.right { right: -25px; }
    
    .jar-body {
        width: 150px;
        height: 200px;
    }
    
    .wish-text {
        font-size: 1.3rem;
    }
}
