/* ========================================
   ULTRA-PREMIUM KHITAN INVITATION
   Modern, Elegant, World-Class Design
======================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Premium Color Palette */
    --primary-dark: #0f172a;
    --primary: #1e3a5f;
    --primary-light: #334155;
    --secondary: #d4a72c;
    --secondary-light: #f0c850;
    --secondary-glow: rgba(212, 167, 44, 0.4);
    --accent: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #94a3b8;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    --gradient-gold: linear-gradient(135deg, #d4a72c 0%, #f0c850 50%, #d4a72c 100%);
    --gradient-mesh: radial-gradient(ellipse at 20% 20%, rgba(212, 167, 44, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(30, 58, 95, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(212, 167, 44, 0.05) 0%, transparent 70%);

    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Great Vibes', cursive;

    /* Spacing */
    --section-padding: 5rem 1.5rem;
    --card-radius: 24px;
    --btn-radius: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--primary-dark);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 167, 44, 0.2);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        text-shadow: 0 0 10px var(--secondary-glow),
            0 0 20px var(--secondary-glow);
    }

    50% {
        text-shadow: 0 0 20px var(--secondary-glow),
            0 0 40px var(--secondary-glow),
            0 0 60px var(--secondary-glow);
    }
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    min-height: 100vh;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.5);
}

/* ===== OPENING COVER ===== */
#opening {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.8s ease;
    overflow: hidden;
}

#opening::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    animation: mesh-move 10s ease-in-out infinite alternate;
}

@keyframes mesh-move {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.1) rotate(3deg);
    }
}

#opening.open {
    transform: translateY(-100%);
    opacity: 0;
}

.opening-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.opening-ornament {
    width: 120px;
    height: auto;
    margin: 0 auto 1.5rem;
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.opening-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.opening-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px var(--secondary-glow);
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow: 0 4px 20px var(--secondary-glow);
    }

    to {
        text-shadow: 0 4px 40px var(--secondary-glow), 0 0 60px var(--secondary-glow);
    }
}

.opening-guest-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.opening-guest-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
    padding: 0.5rem 1.5rem;
    background: var(--glass-bg);
    border-radius: 8px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-open {
    padding: 16px 40px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--btn-radius);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 8px 32px var(--secondary-glow);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-open::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-open:hover::before {
    left: 100%;
}

.btn-open:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px var(--secondary-glow);
}

.btn-open i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-open:hover i {
    transform: rotate(-10deg) scale(1.1);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===== AUDIO CONTROL ===== */
.audio-control {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--secondary-glow);
    transition: all var(--transition-normal);
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.audio-control:hover {
    transform: scale(1.1);
}

.audio-control.playing {
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 var(--secondary-glow);
    }

    70% {
        box-shadow: 0 0 0 15px transparent;
    }

    100% {
        box-shadow: 0 0 0 0 transparent;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 1.5rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg-hero.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-bismillah {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-label {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px var(--secondary-glow);
}

.hero-date {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1rem;
}

.countdown-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1rem 0.8rem;
    min-width: 70px;
    text-align: center;
}

.countdown-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 4px;
}

.countdown-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    color: var(--secondary);
    font-size: 1.5rem;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: var(--section-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 1rem auto 2rem;
    border-radius: 3px;
}

/* ===== QUOTES SECTION ===== */
.quotes {
    background: linear-gradient(180deg, var(--accent) 0%, var(--white) 100%);
    padding: 4rem 1.5rem;
}

.quote-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.quote-card::before,
.quote-card::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid var(--secondary);
    opacity: 0.3;
}

.quote-card::before {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.quote-card::after {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.quote-text {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.quote-source {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

/* ===== PROFILE SECTION ===== */
#profile {
    background: var(--white);
    padding: 5rem 1.5rem;
}

.profile-card {
    perspective: 1000px;
    max-width: 350px;
    margin: 0 auto;
}

.profile-card-inner {
    position: relative;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: var(--card-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.6s ease;
}

.profile-card:hover .profile-card-inner {
    transform: rotateY(5deg) rotateX(5deg);
}

.profile-img-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--secondary),
        0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.profile-img-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-gold);
    border-radius: 50%;
    opacity: 0;
    animation: glow-pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.profile-name {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.profile-parents {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.profile-message {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.7;
    padding: 1rem;
    background: var(--accent);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

/* ===== EVENT SECTION ===== */
#event {
    background: linear-gradient(180deg, var(--accent) 0%, var(--white) 100%);
    padding: 5rem 1.5rem;
}

.event-timeline {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.event-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--secondary), var(--primary));
}

.event-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.event-dot {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1rem;
    box-shadow: 0 4px 15px var(--secondary-glow);
    z-index: 2;
}

.event-content {
    flex: 1;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: all var(--transition-normal);
}

.event-content:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.event-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.event-detail {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.event-address {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Map Button */
.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--btn-radius);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

.btn-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
}

/* ===== GALLERY SECTION ===== */
#gallery {
    background: var(--white);
    padding: 5rem 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item:nth-child(3) {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item-overlay i {
    font-size: 1.5rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    transform: scale(0.9);
    transition: transform var(--transition-slow);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lightbox-close:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lightbox-nav:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ===== VIDEO SECTION ===== */
#video {
    background: linear-gradient(180deg, var(--accent) 0%, var(--white) 100%);
    padding: 5rem 1.5rem;
}

.video-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    background: var(--primary-dark);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-dark);
    cursor: pointer;
    box-shadow: 0 10px 40px var(--secondary-glow);
    transition: all var(--transition-normal);
    animation: pulse-ring 2s ease-out infinite;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    margin-left: 5px;
}

/* ===== GIFT SECTION ===== */
#gift {
    background: var(--gradient-primary);
    padding: 5rem 1.5rem;
    color: var(--white);
}

#gift .section-title {
    color: var(--secondary);
}

#gift .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

#gift .section-divider {
    background: var(--secondary);
}

.gift-intro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 350px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.bank-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    transform-style: preserve-3d;
}

.bank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.bank-card:hover::before {
    left: 100%;
}

.bank-card:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bank-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-logo i {
    font-size: 1.5rem;
}

.bank-number {
    font-size: 1.2rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.bank-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-copy {
    margin-top: 1rem;
    padding: 8px 20px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--btn-radius);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-copy:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--secondary-glow);
}

.btn-copy.copied {
    background: #10b981;
    color: var(--white);
}

/* ===== RSVP SECTION ===== */
#rsvp {
    background: var(--white);
    padding: 5rem 1.5rem;
}

.rsvp-form {
    max-width: 350px;
    margin: 0 auto 3rem;
}

/* Floating Labels */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 16px 8px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: all var(--transition-normal);
    outline: none;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-normal);
    background: var(--white);
    padding: 0 4px;
}

.form-group textarea~label {
    top: 20px;
    transform: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px var(--secondary-glow);
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: 0;
    font-size: 0.75rem;
    color: var(--secondary);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
}

.form-group.select-group::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: var(--btn-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px var(--secondary-glow);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--secondary-glow);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form Hint */
.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.form-hint i {
    color: #25d366;
    margin-right: 4px;
}

/* Wishes List */
.wishes-container {
    max-width: 400px;
    margin: 0 auto;
}

.wishes-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.wishes-count {
    background: var(--secondary);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.wishes-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.wishes-list::-webkit-scrollbar {
    width: 4px;
}

.wishes-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

.wish-item {
    background: var(--accent);
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    text-align: left;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.wish-item:hover {
    border-color: var(--secondary);
    transform: translateX(5px);
}

.wish-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.wish-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wish-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.wish-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.wish-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.wish-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.wish-badge.hadir {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid #10b981;
}

.wish-badge.tidak-hadir {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.wish-badge.ragu {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.wish-message {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-thanks {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-family {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.footer-ornament {
    width: 80px;
    height: auto;
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.footer-credit {
    font-size: 0.8rem;
    opacity: 0.5;
}

.footer-credit a {
    color: var(--secondary);
}

/* ===== FLOATING NAVIGATION ===== */
.floating-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.floating-nav.visible {
    opacity: 1;
    visibility: visible;
}

.nav-item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.nav-item:hover,
.nav-item.active {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-gold);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .container {
        max-width: 500px;
    }

    .opening-title {
        font-size: 3rem;
    }

    .hero-name {
        font-size: 3rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1.2rem 1rem;
    }

    .countdown-value {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item:nth-child(3) {
        grid-column: span 1;
        aspect-ratio: 1;
    }
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
[data-delay="100"] {
    transition-delay: 0.1s;
}

[data-delay="200"] {
    transition-delay: 0.2s;
}

[data-delay="300"] {
    transition-delay: 0.3s;
}

[data-delay="400"] {
    transition-delay: 0.4s;
}

[data-delay="500"] {
    transition-delay: 0.5s;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}