/* ============================================
   UNDANGAN DIGITAL MODERN — STYLE
   Color Palette: Gold, Deep Green, Cream
   Fonts: Playfair Display, Poppins, Great Vibes
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-dark: #a07d2e;
    --green-deep: #1a3c2a;
    --green-dark: #0f2318;
    --green-mid: #2d5c42;
    --cream: #faf6ed;
    --cream-dark: #f0e8d5;
    --white: #ffffff;
    --text-dark: #2c2c2c;
    --text-light: #faf6ed;
    --overlay: rgba(15, 35, 24, 0.85);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(201, 168, 76, 0.25);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--green-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--green-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* ============================================
   ENVELOPE / COVER
   ============================================ */
#envelope-cover {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-deep) 50%, #0a1a12 100%);
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#envelope-cover.opened {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.envelope-wrapper {
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.envelope-guest {
    text-align: center;
    animation: fadeInDown 1s ease forwards;
}

.envelope-guest .label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--gold-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.envelope-guest .name {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: var(--gold);
    text-shadow: 0 2px 10px rgba(201, 168, 76, 0.4);
}

/* Envelope 3D */
.envelope {
    width: min(340px, 85vw);
    height: 220px;
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
}

.envelope-body {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #f5e6c8, #e8d5a8);
    border-radius: 8px;
    position: relative;
    box-shadow: var(--shadow), 0 0 40px rgba(201, 168, 76, 0.15);
    overflow: hidden;
}

.envelope-body::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1.5px solid var(--gold);
    border-radius: 4px;
    opacity: 0.3;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(165deg, #f0dbb4, #e0c890);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform-origin: top center;
    transition: transform 0.6s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.envelope-flap::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.6;
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.6);
}

.envelope.open .envelope-flap {
    transform: rotateX(180deg);
}

.envelope-inner {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
}

.envelope-inner .letter-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.envelope-inner p {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    color: var(--gold-dark);
    letter-spacing: 1px;
}

.open-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--green-dark);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.5);
}

/* Decorative particles */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 4s infinite;
}

/* ============================================
   MAIN INVITATION CONTENT
   ============================================ */
#invitation-content {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}

#invitation-content.visible {
    display: block;
    opacity: 1;
}

/* Section common */
.section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gold);
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.7;
}

.divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 30px auto;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, var(--green-dark), var(--green-deep));
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 35, 24, 0.7), rgba(26, 60, 42, 0.75), rgba(15, 35, 24, 0.85));
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero .bismillah {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 20px;
    letter-spacing: 2px;
    opacity: 0.8;
}

.hero .bismillah-arabic {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--gold);
}

.hero .couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--gold);
    line-height: 1.3;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.hero .couple-names .ampersand {
    display: block;
    font-size: 0.5em;
    color: var(--gold-light);
    margin: -5px 0;
}

.hero .wedding-date {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: 20px;
    opacity: 0.8;
}

.hero-ornament {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 50%;
    z-index: 2;
}

.hero-ornament:nth-child(1) {
    top: 10%;
    left: -50px;
}

.hero-ornament:nth-child(2) {
    bottom: 15%;
    right: -60px;
    width: 150px;
    height: 150px;
}

/* ============================================
   COUPLE SECTION
   ============================================ */
.couple-section {
    background: linear-gradient(180deg, var(--green-deep), var(--green-dark));
}

.couple-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.couple-card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    text-align: center;
    padding: 30px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.couple-card:hover {
    transform: translateY(-5px);
}

.couple-card .photo-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid var(--gold);
    overflow: hidden;
    position: relative;
    background: var(--green-mid);
}

.couple-card .photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Placeholder style when no image */
.couple-card .photo-placeholder .placeholder-icon {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    opacity: 0.5;
    font-size: 0.7rem;
    gap: 5px;
}

.couple-card .photo-placeholder .placeholder-icon span {
    font-size: 2.5rem;
}

.couple-card h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.couple-card .full-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.8;
    margin-bottom: 10px;
}

.couple-card .parents {
    font-size: 0.8rem;
    color: var(--gold-light);
    opacity: 0.6;
    line-height: 1.5;
}

.couple-and {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: var(--gold);
    align-self: center;
    text-shadow: 0 2px 10px rgba(201, 168, 76, 0.3);
}

/* ============================================
   EVENT SECTION
   ============================================ */
.event-section {
    background: var(--green-dark);
}

.event-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.event-card {
    flex: 1;
    min-width: 260px;
    max-width: 350px;
    padding: 40px 30px;
    background: linear-gradient(145deg, var(--glass), rgba(201, 168, 76, 0.05));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.event-card .event-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.event-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.event-card .event-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.85;
}

.event-card .event-detail .icon {
    color: var(--gold);
    font-size: 1.1rem;
    min-width: 24px;
}

.map-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.map-btn:hover {
    background: var(--gold);
    color: var(--green-dark);
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown-section {
    background: linear-gradient(180deg, var(--green-dark), var(--green-deep));
    text-align: center;
}

.countdown-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown-item {
    width: 90px;
    padding: 20px 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.countdown-item .number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.countdown-item .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    margin-top: 8px;
    opacity: 0.7;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
    background: var(--green-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--green-mid);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Placeholder for empty gallery items */
.gallery-item .gallery-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    opacity: 0.4;
    gap: 8px;
}

.gallery-item .gallery-placeholder span {
    font-size: 2rem;
}

.gallery-item .gallery-placeholder p {
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.gallery-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--gold-light);
    opacity: 0.5;
    font-style: italic;
}

/* ============================================
   LOVE STORY TIMELINE
   ============================================ */
.story-section {
    background: linear-gradient(180deg, var(--green-dark), var(--green-deep));
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--gold), var(--gold-dark), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.5);
}

.timeline-item .year {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.timeline-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--cream);
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.7;
    line-height: 1.6;
}

/* ============================================
   AMPLOP DIGITAL / GIFT
   ============================================ */
.gift-section {
    background: var(--green-dark);
}

.gift-intro {
    text-align: center;
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.gift-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gift-card {
    width: min(350px, 90vw);
    padding: 30px;
    background: linear-gradient(145deg, var(--glass), rgba(201, 168, 76, 0.06));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.gift-card .bank-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-card .bank-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.gift-card .bank-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    width: 100%;
    height: 100%;
}

.gift-card .bank-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.gift-card .account-name {
    font-size: 0.8rem;
    color: var(--cream);
    opacity: 0.7;
    margin-bottom: 15px;
}

.gift-card .account-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 2px;
    padding: 12px 20px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px dashed var(--gold-dark);
}

.copy-btn {
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--green-dark);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.copy-btn.copied {
    background: var(--green-mid);
    color: var(--gold);
}

/* ============================================
   UCAPAN / GUESTBOOK
   ============================================ */
.guestbook-section {
    background: linear-gradient(180deg, var(--green-dark), var(--green-deep));
}

.guestbook-form {
    max-width: 500px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guestbook-form input,
.guestbook-form textarea {
    width: 100%;
    padding: 14px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--cream);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.guestbook-form input::placeholder,
.guestbook-form textarea::placeholder {
    color: rgba(250, 246, 237, 0.4);
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

.guestbook-form textarea {
    resize: vertical;
    min-height: 110px;
}

.guestbook-form .attendance-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.guestbook-form .attendance-option {
    flex: 1;
    min-width: 120px;
}

.guestbook-form .attendance-option input[type="radio"] {
    display: none;
}

.guestbook-form .attendance-option label {
    display: block;
    padding: 12px;
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--cream);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guestbook-form .attendance-option input[type="radio"]:checked+label {
    background: rgba(201, 168, 76, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

.submit-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--green-dark);
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    align-self: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Guest Messages List */
.guest-messages {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.guest-messages::-webkit-scrollbar {
    width: 4px;
}

.guest-messages::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 2px;
}

.message-card {
    padding: 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.5s ease forwards;
}

.message-card .msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.message-card .msg-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.message-card .msg-time {
    font-size: 0.7rem;
    color: var(--gold-light);
    opacity: 0.5;
}

.message-card .msg-attendance {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.msg-attendance.hadir {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.msg-attendance.tidak-hadir {
    background: rgba(244, 67, 54, 0.15);
    color: #e57373;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.msg-attendance.masih-ragu {
    background: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.message-card .msg-text {
    font-size: 0.85rem;
    color: var(--cream);
    opacity: 0.85;
    line-height: 1.6;
}

.no-messages {
    text-align: center;
    color: var(--gold-light);
    opacity: 0.4;
    font-size: 0.85rem;
    padding: 30px;
}

.messages-count {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gold-light);
    opacity: 0.5;
    margin-bottom: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: 60px 20px 100px;
    background: var(--green-deep);
}

.footer .closing-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--cream);
    opacity: 0.7;
    max-width: 500px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.footer .quran-ref {
    font-size: 0.75rem;
    color: var(--gold);
    opacity: 0.6;
    letter-spacing: 2px;
}

.footer .couple-names-footer {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--gold);
    margin-top: 30px;
}

.footer .thank-you {
    font-size: 0.8rem;
    color: var(--cream);
    opacity: 0.5;
    margin-top: 10px;
}

/* ============================================
   MUSIC BUTTON
   ============================================ */
.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border: none;
    color: var(--green-dark);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    transform: scale(1.1);
}

.music-btn.playing {
    animation: music-pulse 1.5s infinite;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
    }

    50% {
        box-shadow: 0 4px 35px rgba(201, 168, 76, 0.6);
    }
}

@keyframes music-pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(201, 168, 76, 0.6);
        transform: scale(1.05);
    }
}

@keyframes float-particle {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0;
        transform: translateY(-200px) scale(1);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .section {
        padding: 60px 16px;
    }

    .couple-cards {
        gap: 20px;
    }

    .couple-card {
        min-width: 100%;
    }

    .couple-and {
        display: none;
    }

    .event-card {
        min-width: 100%;
    }

    .countdown-item {
        width: 72px;
    }

    .countdown-item .number {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: -24px;
        width: 10px;
        height: 10px;
    }

    .music-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}