/* ==========================================
   DESIGN SYSTEM & CSS VARIABLES (Purple, Pink, Gold Theme)
   ========================================== */
:root {
    /* Colors */
    --color-bg-primary: #FAF8FF; /* Very soft lavender/cream tint */
    --color-bg-secondary: #FFFFFF;
    --color-purple: #7B2CBF; /* Romantic purple */
    --color-purple-dark: #3C096C;
    --color-purple-light: #9D4EDD;
    --color-pink: #F72585; /* Playful energetic pink */
    --color-pink-dark: #B5179E;
    --color-gold: #D4AF37; /* Metallic gold */
    --color-gold-light: #FCEFB4;
    --color-gold-dark: #AA7C11;
    --color-text-dark: #2B2135; /* Soft dark slate with purple undertone */
    --color-text-muted: #7E6C90;
    --color-rose-accent: #FFB3C6;
    
    /* Gradients */
    --gradient-cover: linear-gradient(135deg, #240046 0%, #3C096C 40%, #7B2CBF 100%);
    --gradient-purple-pink: linear-gradient(135deg, #7B2CBF 0%, #B5179E 50%, #F72585 100%);
    --gradient-gold: linear-gradient(135deg, #AA7C11 0%, #D4AF37 50%, #FCEFB4 100%);
    --gradient-gold-metallic: linear-gradient(90deg, #b28d46 0%, #ecd69a 25%, #d1ae62 50%, #f6e2a3 75%, #a07a33 100%);
    --gradient-overlay: linear-gradient(to bottom, rgba(36, 0, 70, 0.4) 0%, rgba(36, 0, 70, 0.85) 100%);
    
    /* Fonts */
    --font-arabic-heading: 'Reem Kufi', sans-serif;
    --font-arabic-body: 'Cairo', sans-serif;
    --font-arabic-serif: 'Amiri', serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.25s ease;
    --shadow-subtle: 0 4px 20px rgba(123, 44, 191, 0.04);
    --shadow-medium: 0 10px 30px rgba(123, 44, 191, 0.08);
    --shadow-purple: 0 6px 20px rgba(123, 44, 191, 0.35);
    --shadow-gold: 0 6px 20px rgba(212, 175, 55, 0.35);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-dark);
    font-family: var(--font-arabic-body);
    line-height: 1.7;
    overflow-x: hidden;
    text-align: right;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-arabic-heading);
    font-weight: 600;
}

p {
    font-weight: 300;
    letter-spacing: 0.2px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ==========================================
   BUTTONS & UI COMPONENTS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 32px;
    font-family: var(--font-arabic-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-fast);
    outline: none;
    text-decoration: none;
}

.btn-purple {
    background: var(--gradient-purple-pink);
    color: #FFF;
    box-shadow: var(--shadow-purple);
    border: 1px solid rgba(247, 37, 133, 0.2);
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.5);
    filter: brightness(1.05);
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--color-purple-dark);
    box-shadow: var(--shadow-gold);
    border: 1.5px solid var(--color-gold);
}

.btn-gold:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-outline-purple {
    background: transparent;
    border: 1.5px solid var(--color-purple);
    color: var(--color-purple);
}

.btn-outline-purple:hover {
    background: var(--gradient-purple-pink);
    color: #FFF;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.btn-pulse {
    animation: buttonPulse 2s infinite ease-in-out;
}

.btn-pulse-gold {
    animation: goldPulse 2s infinite ease-in-out;
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(247, 37, 133, 0);
    }
}

@keyframes goldPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }
}

/* ==========================================
   CANVAS BACKGROUND SPARKLES & HEARTS
   ========================================== */
#sparkle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10002; /* Float above everything when active */
}

/* ==========================================
   1. PRANK COVER SCREEN
   ========================================== */
.cover-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--gradient-cover);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1), opacity 1.2s ease-in-out;
    overflow: hidden;
}

/* Elegant Lace Pattern Overlay */
.cover-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0),
                      radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.6;
    pointer-events: none;
}

.cover-screen.opened {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.cover-content {
    text-align: center;
    color: #FAF8FF;
    z-index: 10;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wedding-monogram {
    width: 95px;
    height: 95px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-arabic-heading);
    font-size: 2rem;
    color: var(--color-gold-light);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
    background: rgba(60, 9, 108, 0.4);
    position: relative;
}

.wedding-monogram::after {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border: 1px dashed rgba(252, 239, 180, 0.4);
    border-radius: 50%;
}

.welcome-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-gold-light);
    margin-bottom: 12px;
    font-weight: 600;
}

.couple-names-cover {
    font-family: var(--font-arabic-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFF;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.instructions-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-rose-accent);
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Runaway & Pay Button Special Styles */
#escapeBtn {
    position: fixed;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    padding: 15px 28px;
    border: none;
    border-radius: 50px;
    background: #ffcc00;
    color: #2b0033;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.35);
    /* Smooth elastic jump transition */
    transition: top 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                left 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#escapeBtn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

#payBtn {
    padding: 15px 28px;
    border: none;
    border-radius: 50px;
    background: #ff4f9a;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 79, 154, 0.35);
    animation: goldPulse 2s infinite ease-in-out;
}


/* Warning/Prank Floating Toast */
.prank-tooltip {
    position: fixed;
    bottom: 40px;
    background: rgba(247, 37, 133, 0.9);
    border: 1px solid var(--color-gold-light);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    transform: scale(0.9);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 10001;
}

.prank-tooltip.active {
    transform: scale(1);
    opacity: 1;
}

/* Funny Reveal Card (Appears after 5 failed tries) */
.funny-reveal-card {
    background: rgba(255, 255, 255, 0.95);
    border: 2.5px solid var(--color-gold);
    border-radius: 20px;
    padding: 30px 25px;
    color: var(--color-text-dark);
    max-width: 480px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    margin-top: 20px;
    animation: cardScaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

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

.reveal-icon {
    font-size: 3.5rem;
    animation: wiggle 2s infinite ease-in-out;
}

.funny-reveal-card h3 {
    font-family: var(--font-arabic-heading);
    color: var(--color-purple-dark);
    font-size: 1.5rem;
}

.funny-reveal-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* ==========================================
   MAIN CONTENT (REAL INVITATION)
   ========================================== */
.main-content {
    opacity: 1;
    transition: filter 1.2s ease;
}

.main-content.locked {
    filter: blur(15px);
}

.section-padding {
    padding: 90px 0;
}

.section-title {
    font-family: var(--font-arabic-heading);
    font-size: 2.8rem;
    color: var(--color-purple-dark);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-family: var(--font-arabic-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 60px;
}

/* ==========================================
   MUSIC TOGGLE BUTTON
   ========================================== */
.music-toggle-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-purple-pink);
    border: 1px solid var(--color-gold);
    color: #FFF;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(123, 44, 191, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.music-toggle-btn:hover {
    transform: scale(1.1);
}

.music-icon {
    font-size: 1.2rem;
}

.music-waves {
    position: absolute;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    opacity: 0;
    transition: var(--transition-fast);
}

.music-toggle-btn.playing .music-icon {
    opacity: 0;
}

.music-toggle-btn.playing .music-waves {
    opacity: 1;
}

.music-waves span {
    width: 3px;
    height: 5px;
    background-color: var(--color-gold-light);
    animation: bounce-wave 1s infinite alternate;
}

.music-waves span:nth-child(2) { animation-delay: 0.2s; }
.music-waves span:nth-child(3) { animation-delay: 0.4s; }
.music-waves span:nth-child(4) { animation-delay: 0.6s; }

@keyframes bounce-wave {
    0% { height: 5px; }
    100% { height: 22px; }
}

/* ==========================================
   A. HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #FFF;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.tagline {
    font-family: var(--font-arabic-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold-light);
    display: block;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.couple-names {
    font-family: var(--font-arabic-heading);
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

.couple-names .amp {
    font-family: var(--font-arabic-serif);
    font-size: 3.5rem;
    color: var(--color-gold);
    display: inline-block;
    margin: 0 15px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    gap: 15px;
}

.divider .line {
    width: 90px;
    height: 1.5px;
    background: var(--gradient-gold-metallic);
}

.divider .leaf-left, .divider .leaf-right {
    color: var(--color-gold);
    font-size: 1.1rem;
}

.hero-date {
    font-family: var(--font-arabic-serif);
    font-size: 2rem;
    margin-bottom: 8px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.hero-venue {
    font-family: var(--font-arabic-body);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-rose-accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ==========================================
   B. COUNTDOWN SECTION
   ========================================== */
.countdown-section {
    background-color: var(--color-bg-secondary);
    border-bottom: 1px solid rgba(123, 44, 191, 0.08);
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.countdown-box {
    width: 130px;
    height: 130px;
    border-radius: 16px;
    background: #FFF;
    border: 1px solid rgba(123, 44, 191, 0.12);
    box-shadow: var(--shadow-medium);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient-purple-pink);
}

.countdown-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(123, 44, 191, 0.15);
}

.time-val {
    font-family: var(--font-arabic-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-purple);
    line-height: 1.2;
}

.time-lbl {
    font-family: var(--font-arabic-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: 5px;
}

/* ==========================================
   C. OUR STORY SECTION
   ========================================== */
.story-section {
    background-color: var(--color-bg-primary);
}

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2.5px;
    background: var(--gradient-purple-pink);
    top: 0; bottom: 0;
    right: 50%;
    margin-right: -1.25px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    right: 0;
    left: auto;
    text-align: right;
}

.timeline-item:nth-child(even) {
    right: 50%;
    left: auto;
    text-align: left;
}

.timeline-img {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-purple-pink);
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 15px;
}

.timeline-img i {
    color: #FFF;
    font-size: 1.1rem;
}

.timeline-item:nth-child(odd) .timeline-img {
    right: -23px;
}

.timeline-item:nth-child(even) .timeline-img {
    left: -23px;
}

.timeline-content {
    padding: 30px;
    background: var(--color-bg-secondary);
    border-radius: 16px;
    border: 1px solid rgba(123, 44, 191, 0.1);
    box-shadow: var(--shadow-subtle);
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    box-shadow: var(--shadow-medium);
    transform: scale(1.02);
}

.timeline-date {
    display: block;
    font-family: var(--font-arabic-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-pink);
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-family: var(--font-arabic-heading);
    font-size: 1.5rem;
    color: var(--color-purple-dark);
    margin-bottom: 12px;
}

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

/* ==========================================
   D. EVENT DETAILS SECTION
   ========================================== */
.details-section {
    background-color: var(--color-bg-secondary);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;
}

.detail-card {
    background: var(--color-bg-primary);
    border-radius: 20px;
    border: 1px solid rgba(123, 44, 191, 0.08);
    padding: 40px 30px;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(123, 44, 191, 0.12);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--color-purple);
    margin-bottom: 8px;
    animation: float 3s infinite ease-in-out;
}

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

.detail-card h3 {
    font-size: 1.6rem;
    color: var(--color-purple-dark);
}

.detail-card .highlight {
    font-weight: 600;
    color: var(--color-pink-dark);
    font-size: 1.1rem;
}

.detail-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.detail-card .btn {
    margin-top: 15px;
}

/* Dress Code styling */
.dress-code-box {
    margin: 60px auto 0;
    max-width: 800px;
    background: #FFF;
    border-radius: 20px;
    border: 1px solid rgba(123, 44, 191, 0.1);
    padding: 40px;
    box-shadow: var(--shadow-subtle);
}

.dress-code-box h3 {
    font-size: 1.8rem;
    color: var(--color-purple-dark);
    margin-bottom: 12px;
}

.dress-desc {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(123, 44, 191, 0.08);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(123, 44, 191, 0.2);
}

/* Swatches hexes */
.sw-purple { background-color: #9D4EDD; }
.sw-gold { background-color: #E6C280; }
.sw-blush { background-color: #FFB3C6; }
.sw-navy { background-color: #3C096C; }
.sw-sage { background-color: #B5E2FA; }

.swatch-label {
    position: absolute;
    bottom: -28px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.color-swatch:hover .swatch-label {
    opacity: 1;
    color: var(--color-purple);
}

/* ==========================================
   E. RSVP SECTION
   ========================================== */
.rsvp-section {
    background-color: var(--color-bg-primary);
}

.rsvp-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.rsvp-form-container {
    background: #FFF;
    border-radius: 24px;
    border: 1px solid rgba(123, 44, 191, 0.1);
    padding: 50px 40px;
    box-shadow: var(--shadow-medium);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    font-family: var(--font-arabic-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background-color: var(--color-bg-primary);
    border: 1.5px solid rgba(123, 44, 191, 0.15);
    border-radius: 12px;
    transition: var(--transition-fast);
    outline: none;
    text-align: right;
}

.form-group input[type="text"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-purple);
    background-color: #FFF;
    box-shadow: 0 0 10px rgba(123, 44, 191, 0.1);
}

/* Custom Radio style */
.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.radio-label input[type="radio"] {
    display: none;
}

.custom-radio {
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-purple);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: var(--transition-fast);
}

.radio-label input[type="radio"]:checked + .custom-radio {
    background-color: var(--color-purple);
    border-color: var(--color-purple);
}

.radio-label input[type="radio"]:checked + .custom-radio::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #FFF;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rsvp-success-msg {
    text-align: center;
    padding: 30px 10px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 2s infinite ease-in-out;
}

.rsvp-success-msg h3 {
    font-size: 2rem;
    color: var(--color-purple-dark);
    margin-bottom: 15px;
}

.rsvp-success-msg p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.hidden {
    display: none !important;
}

/* ==========================================
   F. GUESTBOOK / WISHES BOARD
   ========================================== */
.guestbook-section {
    background-color: var(--color-bg-secondary);
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.wish-card {
    background: var(--color-bg-primary);
    border: 1px solid rgba(123, 44, 191, 0.08);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    animation: cardScaleIn 0.5s ease-out;
}

.wish-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed rgba(123, 44, 191, 0.15);
    padding-bottom: 8px;
}

.wish-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-purple-dark);
}

.wish-badge {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    background-color: rgba(123, 44, 191, 0.08);
    color: var(--color-purple);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.wish-badge.no-attend {
    background-color: rgba(247, 37, 133, 0.08);
    color: var(--color-pink);
}

.wish-text {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
}

.wish-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: left;
    display: block;
}

/* ==========================================
   G. BLESSING SHOWER SECTION
   ========================================== */
.blessing-shower-section {
    background-color: var(--color-bg-primary);
}

.shower-title {
    font-size: 2.2rem;
    color: var(--color-purple-dark);
    margin-bottom: 10px;
}

.blessing-shower-section p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.animate-wiggle {
    animation: wiggle 2s infinite ease-in-out;
}

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

/* ==========================================
   H. FOOTER SECTION
   ========================================== */
.main-footer {
    background: var(--gradient-cover);
    color: #FFF;
    padding: 80px 0;
    position: relative;
    border-top: 2px solid var(--color-gold);
}

.footer-monogram {
    font-size: 2.4rem;
    color: var(--color-gold-light);
    margin-bottom: 15px;
}

.footer-names {
    font-size: 3.2rem;
    margin-bottom: 10px;
}

.footer-date {
    font-family: var(--font-arabic-serif);
    font-size: 1.1rem;
    color: var(--color-rose-accent);
    margin-bottom: 40px;
}

.footer-socials {
    margin-bottom: 40px;
}

.share-title {
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--color-gold-light);
    margin-bottom: 15px;
}

.footer-socials .btn {
    margin: 5px;
    border-color: rgba(252, 239, 180, 0.4);
    color: var(--color-gold-light);
}

.footer-socials .btn:hover {
    border-color: var(--color-gold);
    color: var(--color-purple-dark);
}

.footer-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   ========================================== */
@media screen and (max-width: 900px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }
    
    .timeline::after {
        right: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-right: 70px;
        padding-left: 20px;
        text-align: right !important;
    }
    
    .timeline-item:nth-child(even) {
        right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-img,
    .timeline-item:nth-child(even) .timeline-img {
        right: 8px;
        left: auto;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2.3rem;
    }
    
    .couple-names {
        font-size: 3.8rem;
    }
    
    .couple-names-cover {
        font-size: 2.8rem;
    }
    
    .countdown-box {
        width: 100px;
        height: 100px;
    }
    
    .time-val {
        font-size: 2.2rem;
    }
    
    .time-lbl {
        font-size: 0.75rem;
    }
    
    .rsvp-form-container {
        padding: 35px 20px;
    }
}

@media screen collector and (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .couple-names {
        font-size: 2.8rem;
    }
    
    .couple-names .amp {
        font-size: 2rem;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-box {
        width: 75px;
        height: 75px;
    }
    
    .time-val {
        font-size: 1.6rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .color-swatch {
        width: 60px;
        height: 60px;
    }
    
    .swatch-label {
        font-size: 0.65rem;
        bottom: -22px;
    }
    
    .dress-code-box {
        padding: 25px 15px;
    }
}
