/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    --bg-dark: #030308;
    --bg-midnight: #0B1026;
    --bg-card: #141B3A;
    
    /* Neon Accents */
    --primary: #8B5CF6;       /* Violet */
    --accent: #A855F7;        /* Purple */
    --highlight: #C084FC;     /* Light Purple */
    
    /* Text Colors */
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.4);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Glow Effects */
    --glow-purple: 0 0 10px rgba(168, 85, 247, 0.6), 0 0 20px rgba(168, 85, 247, 0.3);
    --glow-highlight: 0 0 15px rgba(192, 132, 252, 0.7), 0 0 30px rgba(192, 132, 252, 0.3);
    --glow-btn: 0 0 15px rgba(168, 85, 247, 0.5), 0 5px 15px rgba(0, 0, 0, 0.5);
    
    /* Glassmorphism */
    --glass-bg: rgba(11, 16, 38, 0.6);
    --glass-border: rgba(168, 85, 247, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    background: linear-gradient(185deg, var(--bg-dark) 0%, var(--bg-midnight) 40%, var(--bg-dark) 100%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Hide scrollbar during preloader */
body.loading {
    overflow: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border: 2px solid var(--bg-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   PRELOADER
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-ring {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(168, 85, 247, 0.1);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    filter: drop-shadow(var(--glow-purple));
    margin: 0 auto 20px;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 4px;
    margin-bottom: 5px;
    animation: pulse 1.8s ease-in-out infinite;
}

.loader-text {
    font-size: 0.8rem;
    color: var(--highlight);
    letter-spacing: 6px;
    text-transform: uppercase;
}

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

.app-container {
    position: relative;
    z-index: 2;
}

/* ==========================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 10px 40px 0 rgba(168, 85, 247, 0.15), var(--glass-shadow);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--highlight) 100%);
    color: var(--text-white);
    border: none;
}

.btn-secondary {
    background: rgba(20, 27, 58, 0.6);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--highlight);
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(15px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--glow-btn);
}

.btn-glow:hover::after {
    opacity: 0.8;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-white);
    margin-bottom: 15px;
    position: relative;
}

.title-bar {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: 0 auto;
    position: relative;
}

.title-bar::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--highlight);
    border-radius: 50%;
    box-shadow: var(--glow-highlight);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('assets/2c5f865d-a775-3107-bf41-e145f586bbd3.jpg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 24px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(3, 3, 8, 0.4) 0%,
        rgba(11, 16, 38, 0.75) 50%,
        var(--bg-dark) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: -20px;
}

.hero-tag {
    font-size: 0.9rem;
    letter-spacing: 8px;
    color: var(--highlight);
    text-shadow: var(--glow-purple);
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 8px;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.hero-title span {
    display: block;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--highlight) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto 20px;
    color: var(--text-white);
    line-height: 1.6;
}

.hero-description {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto 40px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 500;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-muted);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    margin-top: 8px;
    animation: scroll-wheel 1.6s infinite;
    box-shadow: var(--glow-purple);
}

/* ==========================================
   INVITATION MESSAGE SECTION
   ========================================== */
.invitation-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.invitation-glow-card {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 30px;
    background: rgba(11, 16, 38, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.15);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.card-glow-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.invitation-text {
    position: relative;
    z-index: 2;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0;
    color: var(--accent);
    opacity: 0.3;
    display: block;
    height: 30px;
}

.quote-mark.text-right {
    text-align: right;
    margin-top: 30px;
}

.reveal-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 2px;
    color: var(--text-white);
    background: linear-gradient(135deg, #FFF 30%, var(--highlight) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================
   EVENT DETAILS SECTION
   ========================================== */
.details-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.detail-card {
    padding: 50px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-top-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--highlight));
    opacity: 0.8;
}

.highlighted-card {
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.1), var(--glass-shadow);
}

.highlighted-card:hover {
    border-color: rgba(192, 132, 252, 0.8);
    box-shadow: 0 10px 40px 0 rgba(192, 132, 252, 0.25), var(--glass-shadow);
}

.highlighted-card .card-glow-bg {
    background: radial-gradient(circle, rgba(192, 132, 252, 0.15) 0%, transparent 70%);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight);
    margin: 0 auto 25px;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.3));
    transition: var(--transition-smooth);
}

.detail-card:hover .card-icon {
    background: var(--accent);
    color: var(--text-white);
    transform: scale(1.1);
    box-shadow: var(--glow-purple);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--highlight);
    margin-bottom: 15px;
}

.card-value {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

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

.card-link {
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.card-link:hover {
    color: var(--highlight);
    text-shadow: var(--glow-highlight);
}

/* Attractions Sub-section */
.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 4px;
    text-align: center;
    color: var(--text-white);
    margin: 40px 0 25px;
}

.experience-glow-card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px;
    border-radius: 20px;
    background: rgba(11, 16, 38, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.15);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: var(--transition-smooth);
}

.experience-glow-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.1), 0 15px 35px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.experience-text {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-white);
    letter-spacing: 0.5px;
}

.experience-text .emoji {
    display: inline-block;
    margin: 0 4px;
    font-size: 1.4rem;
    filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.5));
    animation: pulse-emoji 2s infinite ease-in-out;
}

@keyframes pulse-emoji {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    grid-column: span 4;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

/* Layout variation for first item */
.gallery-item.horizontal {
    grid-column: span 8;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 16, 38, 0.95) 0%, rgba(168, 85, 247, 0.2) 100%);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: var(--text-white);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    text-shadow: var(--glow-purple);
    font-weight: 600;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}



/* ==========================================
   RSVP SECTION
   ========================================== */
.rsvp-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.rsvp-form-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 60px 50px;
}

.form-header {
    text-align: center;
    margin-bottom: 45px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

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

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: opacity 0.5s ease;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.form-row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--highlight);
}

input[type="text"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(3, 3, 8, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-white);
    transition: var(--transition-smooth);
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--highlight);
    background: rgba(20, 27, 58, 0.7);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

/* Styled Radio/Select */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C084FC' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    cursor: pointer;
}

.attendance-options {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.attendance-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-white);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    gap: 10px;
    user-select: none;
}

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

.radio-custom {
    width: 20px;
    height: 20px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    position: relative;
    background: rgba(3, 3, 8, 0.5);
    transition: var(--transition-smooth);
}

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

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

textarea {
    resize: none;
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--highlight) 100%);
    color: var(--text-white);
    border: none;
    margin-top: 15px;
    padding: 18px;
    width: 100%;
}

/* Success Message Box */
.success-message {
    text-align: center;
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: zoom-in 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-message.hide {
    display: none;
}

.success-icon {
    width: 72px;
    height: 72px;
    color: #10B981;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.4));
    margin-bottom: 10px;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.success-message h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    color: var(--text-white);
}

.success-message p {
    font-size: 1.1rem;
    color: var(--highlight);
    text-shadow: var(--glow-purple);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
    position: relative;
    padding: 100px 0 60px;
    background: #020205;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
    z-index: 2;
    overflow: hidden;
}

.footer-wave-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent) 50%, 
        transparent 100%
    );
    box-shadow: 0 0 15px var(--accent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Audio Visualizer / Equalizer */
.equalizer-container {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 50px;
    margin-bottom: 35px;
}

.equalizer-container .bar {
    width: 4px;
    background: linear-gradient(to top, var(--primary), var(--highlight));
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
    animation: bounce-eq 1.2s ease-in-out infinite alternate;
}

/* Give equalizer bars randomized animation delays */
.equalizer-container .bar:nth-child(1) { height: 35%; animation-duration: 0.8s; }
.equalizer-container .bar:nth-child(2) { height: 60%; animation-duration: 1.1s; }
.equalizer-container .bar:nth-child(3) { height: 90%; animation-duration: 0.9s; }
.equalizer-container .bar:nth-child(4) { height: 40%; animation-duration: 1.3s; }
.equalizer-container .bar:nth-child(5) { height: 75%; animation-duration: 0.7s; }
.equalizer-container .bar:nth-child(6) { height: 50%; animation-duration: 1.0s; }
.equalizer-container .bar:nth-child(7) { height: 85%; animation-duration: 1.2s; }
.equalizer-container .bar:nth-child(8) { height: 30%; animation-duration: 0.8s; }
.equalizer-container .bar:nth-child(9) { height: 65%; animation-duration: 0.9s; }

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-white);
    text-shadow: var(--glow-purple);
    margin-bottom: 15px;
}

.footer-credits {
    font-size: 0.85rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.footer-power {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.footer-power a.calligraphy {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    color: var(--highlight);
    text-decoration: none;
    text-shadow: var(--glow-purple);
    transition: var(--transition-smooth);
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
    margin-top: -5px;
}

.footer-power a.calligraphy:hover {
    color: var(--text-white);
    transform: scale(1.08) rotate(-1deg);
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.8);
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1.02); }
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(15px); }
}

@keyframes radar-wave {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes pin-pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes bounce-eq {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

@keyframes zoom-in {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* Scroll Animation Classes */
.animate-fade-in {
    opacity: 0;
    animation: fade-in-anim 1.2s forwards ease-out;
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-up-anim 1.2s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-reveal {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(10px);
    animation: reveal-anim 1.5s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes fade-in-anim {
    to { opacity: 1; }
}

@keyframes fade-up-anim {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal-anim {
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Scroll reveal initial states */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), 
                transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delays */
.hero-content .animate-fade-in { animation-delay: 0.2s; }
.hero-content .animate-reveal { animation-delay: 0.4s; }
.hero-content .animate-fade-up:nth-child(3) { animation-delay: 0.7s; }
.hero-content .animate-fade-up:nth-child(4) { animation-delay: 0.9s; }
.hero-content .animate-fade-up:nth-child(5) { animation-delay: 1.1s; }

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .reveal-text {
        font-size: 1.8rem;
    }
    
    .gallery-item {
        grid-column: span 6;
    }
    
    .gallery-item.horizontal {
        grid-column: span 12;
    }
}


/* RSVP Choice Buttons */
.rsvp-choices {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 30px;
}

.rsvp-choice-btn {
    flex: 1;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: rgba(20, 27, 58, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--text-white);
}

.rsvp-choice-btn:focus {
    outline: none;
}

.rsvp-choice-btn .choice-emoji {
    font-size: 2.5rem;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.rsvp-choice-btn .choice-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.rsvp-choice-btn.yes:hover {
    border-color: var(--highlight);
    background: rgba(139, 92, 246, 0.15);
    box-shadow: var(--glow-purple);
    transform: translateY(-5px);
}

.rsvp-choice-btn.yes:hover .choice-emoji {
    transform: scale(1.2) rotate(10deg);
}

.rsvp-choice-btn.no:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.rsvp-choice-btn.no:hover .choice-emoji {
    transform: scale(1.2) rotate(-10deg);
}



@media (max-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .invitation-glow-card {
        padding: 40px 24px;
    }
    
    .reveal-text {
        font-size: 1.5rem;
    }
    
    .gallery-item {
        grid-column: span 12;
        height: 240px;
    }
    

    
    .rsvp-form-container {
        padding: 40px 24px;
    }
    
    .rsvp-choices {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .rsvp-choice-btn {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }
    

    
    .form-row {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-tagline {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-tag {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }
    
    .btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .attendance-options {
        flex-direction: column;
        gap: 12px;
    }
}

/* Floating Audio Control */
.audio-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(20, 27, 58, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.audio-toggle-btn:focus {
    outline: none;
}

.audio-toggle-btn:hover {
    transform: scale(1.1);
    border-color: var(--highlight);
    box-shadow: var(--glow-purple);
}

.audio-icon-waves {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

.audio-icon-waves .wave-bar {
    width: 2px;
    height: 100%;
    background: var(--text-white);
    border-radius: 1px;
    animation: bounce-wave 0.8s ease-in-out infinite alternate;
}

.audio-icon-waves .wave-bar:nth-child(1) { animation-duration: 0.5s; }
.audio-icon-waves .wave-bar:nth-child(2) { animation-duration: 0.8s; }
.audio-icon-waves .wave-bar:nth-child(3) { animation-duration: 0.6s; }
.audio-icon-waves .wave-bar:nth-child(4) { animation-duration: 0.7s; }

/* Paused state for the floating button and footer visualizer */
.audio-toggle-btn.paused .wave-bar {
    animation-play-state: paused;
    height: 3px !important;
}

.equalizer-container.paused .bar {
    animation-play-state: paused;
    height: 6px !important;
}

@keyframes bounce-wave {
    from { height: 20%; }
    to { height: 100%; }
}

.enter-scene {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.enter-scene.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    display: none !important;
}
