/* ============================================================
   BOLLYWOOD BLOCKBUSTER — RSVP VIP EXPERIENCE
   Complete override of Standard/rsvp.css
   ============================================================ */

/* ─── Variables Override ─────────────────────────────── */
:root {
    --bg-color: oklch(15% 0.03 260);
    --card-bg: oklch(20% 0.04 260 / 0.85);
    --primary: oklch(85% 0.12 75);
    --primary-dark: oklch(75% 0.1 70);
    --primary-light: oklch(85% 0.12 75 / 0.15);
    --text-dark: oklch(98% 0.01 260);
    --text-light: oklch(70% 0.1 70);
    --border-color: rgba(212, 175, 55, 0.2);
    --accent-red: oklch(35% 0.15 25);
    --accent-red-glass: oklch(35% 0.15 25 / 0.3);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Sparkle Canvas ─────────────────────────────────── */
#sparkle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9998;
}

/* ─── Film Grain Overlay ─────────────────────────────── */
.film-grain-overlay {
    position: fixed;
    top: -50%; left: -50%;
    right: -50%; bottom: -50%;
    width: 200%; height: 200%;
    background: transparent url('data:image/svg+xml,%3Csvg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="n"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.75" numOctaves="4" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23n)"/%3E%3C/svg%3E');
    opacity: 0.04;
    pointer-events: none;
    z-index: 9997;
    mix-blend-mode: overlay;
    animation: grainShift 0.5s steps(4) infinite;
}

@keyframes grainShift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2%, -1%); }
    50% { transform: translate(1%, 2%); }
    75% { transform: translate(-1%, -2%); }
    100% { transform: translate(2%, 1%); }
}

/* ─── Base Body ──────────────────────────────────────── */
body.bollywood-rsvp-bg {
    background-color: var(--bg-color) !important;
    background-image: 
        linear-gradient(to bottom, rgba(15, 10, 20, 0.7), rgba(15, 10, 20, 0.95)),
        radial-gradient(ellipse at 20% 30%, oklch(35% 0.15 25 / 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, oklch(85% 0.12 75 / 0.15) 0%, transparent 60%),
        url('../images/hero-bg.webp') !important;
    background-size: cover, cover, cover, cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    color: var(--text-dark) !important;
    font-family: 'Lato', sans-serif !important;
}

body.bollywood-rsvp-bg::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: oklch(15% 0.03 260 / 0.6) !important;
    z-index: -1;
}

/* Removed floating film strip decoration as requested */
/* Event SVG Sizing */
.event-svg-small {
    width: 65px !important;
    height: 65px !important;
    object-fit: contain;
    filter: drop-shadow(0 0 8px oklch(85% 0.12 75 / 0.3));
}

/* ─── Navigation ─────────────────────────────────────── */
.bollywood-nav {
    background: oklch(15% 0.03 260 / 0.9) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: none !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15) !important;
}

.bollywood-nav a,
.bollywood-nav .nav-back {
    color: var(--text-dark) !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.bollywood-nav .nav-back:hover {
    color: var(--primary) !important;
}

/* ─── RSVP Header ────────────────────────────────────── */
.bollywood-rsvp-header {
    height: 55vh !important;
    background-image: url('../images/hero-bg.webp') !important;
    background-size: cover !important;
    background-position: center !important;
}

.bollywood-rsvp-header .overlay {
    background: linear-gradient(180deg,
            oklch(15% 0.03 260 / 0.5) 0%,
            oklch(15% 0.03 260 / 0.7) 50%,
            var(--bg-color) 100%) !important;
}

.rsvp-main-title {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(3.5rem, 8vw, 6rem) !important;
    color: var(--primary) !important;
    letter-spacing: 10px !important;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    font-weight: 900 !important;
}

.rsvp-header-sub {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-light);
    letter-spacing: 3px;
    margin-top: 10px;
}

.header-content {
    color: var(--text-dark) !important;
}

/* ─── Main Container Override ────────────────────────── */
.main-container {
    margin-top: -20vh !important;
}

/* ─── Form Card ──────────────────────────────────────── */
.bollywood-form-card {
    background: oklch(18% 0.035 260 / 0.9) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-radius: 4px !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 80px oklch(35% 0.15 25 / 0.1),
        inset 0 1px 0 rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    position: relative;
    overflow: hidden;
}

/* Spotlight shimmer on form card */
.bollywood-form-card::before {
    content: '';
    position: absolute;
    top: -100%; left: -100%;
    width: 300%; height: 300%;
    background: radial-gradient(ellipse at center,
        oklch(85% 0.12 75 / 0.03) 0%, transparent 40%);
    pointer-events: none;
    animation: formSpotlight 8s ease-in-out infinite;
    z-index: 0;
}

@keyframes formSpotlight {
    0%, 100% { transform: translate(-20%, -20%); opacity: 0.4; }
    50% { transform: translate(10%, 10%); opacity: 1; }
}

/* Film-strip accent stripe on form card left edge */
.bollywood-form-card::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent-red), var(--primary), var(--accent-red));
    opacity: 0.7;
    z-index: 1;
}

.bollywood-form-title {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(2rem, 5vw, 3rem) !important;
    color: var(--primary) !important;
    letter-spacing: 8px !important;
    font-weight: 900 !important;
}

/* ─── Golden Divider ─────────────────────────────────── */
.bollywood-form-card .custom-divider::before,
.bollywood-form-card .custom-divider::after {
    background-color: var(--primary) !important;
    opacity: 0.3 !important;
}

.bollywood-form-card .divider-icon-center {
    color: var(--accent-red) !important;
    filter: drop-shadow(0 0 8px var(--accent-red-glass));
}

.bollywood-optional-divider i {
    color: var(--primary) !important;
}

.bollywood-optional-divider .optional-label {
    color: var(--primary);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ─── Form Labels & Inputs ───────────────────────────── */
.bollywood-form-card label {
    font-family: 'Lato', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.78rem !important;
    color: var(--text-light) !important;
}

.bollywood-form-card .input-styled {
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 4px !important;
    font-family: 'Lato', sans-serif !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2) !important;
    color: var(--text-dark) !important;
    transition: all 0.4s ease !important;
    position: relative;
}

.bollywood-form-card .input-styled:focus {
    border-color: transparent !important;
    border-bottom-color: var(--primary) !important;
    box-shadow: 0 2px 0 0 var(--primary), 0 0 20px oklch(85% 0.12 75 / 0.1) !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

.bollywood-form-card .input-styled::placeholder {
    color: oklch(60% 0.05 75) !important;
    opacity: 0.6;
}

/* Calendar icon in date fields */
.bollywood-form-card .date-time-row i {
    color: var(--primary) !important;
}

/* ─── Event Selection Cards ──────────────────────────── */
.bollywood-event-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 20px !important;
    min-height: 80px !important;
    margin-bottom: 15px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(212, 175, 55, 0.12) !important;
    border-left: 3px solid rgba(212, 175, 55, 0.2) !important;
    transition: all 0.4s var(--ease-out-expo) !important;
    position: relative;
    overflow: hidden;
    width: 100% !important;
}

/* Horizontal accent line at top of each card */
.bollywood-event-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
}

.bollywood-event-card .evt-title {
    color: var(--text-dark) !important;
}

.bollywood-event-card .evt-date {
    color: oklch(70% 0.05 260) !important;
}

.bollywood-event-card .evt-loc {
    color: var(--primary) !important;
}

.bollywood-event-card:hover {
    border-color: var(--text-light) !important;
    transform: translateX(4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
}

.bollywood-event-card:has(input:checked) {
    border-color: var(--primary) !important;
    border-left-color: var(--primary) !important;
    background: linear-gradient(135deg, oklch(85% 0.12 75 / 0.08) 0%, rgba(0, 0, 0, 0.4) 100%) !important;
    box-shadow: 
        0 0 30px oklch(85% 0.12 75 / 0.1),
        inset 0 0 40px oklch(85% 0.12 75 / 0.03) !important;
}

.bollywood-event-card input:checked ~ .check-container .check-icon {
    background: var(--accent-red) !important;
    border-color: var(--accent-red) !important;
    color: var(--primary) !important;
    box-shadow: 0 0 12px var(--accent-red-glass) !important;
}

.bollywood-event-card .check-icon {
    border-color: rgba(212, 175, 55, 0.3) !important;
    background: transparent !important;
}

.bollywood-event-card .card-icon-container {
    background: oklch(20% 0.04 260 / 0.5) !important;
    border-radius: 12px !important;
    padding: 8px !important;
    flex: 0 0 65px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-right: 15px !important;
}

.bollywood-event-card .card-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: left !important;
    padding-right: 10px !important;
}

.bollywood-event-card .check-container {
    flex-shrink: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-left: auto !important;
}

/* ─── VIP Buttons ────────────────────────────────────── */
.bollywood-btn {
    background: var(--primary) !important;
    color: var(--bg-color) !important;
    border-radius: 4px !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-color: var(--primary) !important;
    transition: all 0.4s var(--ease-out-expo) !important;
    box-shadow: 0 6px 25px oklch(85% 0.12 75 / 0.25) !important;
    position: relative;
}

.bollywood-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 
        0 15px 40px oklch(85% 0.12 75 / 0.35),
        0 0 60px oklch(85% 0.12 75 / 0.1) !important;
    background: oklch(90% 0.12 75) !important;
}

.bollywood-btn:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease !important;
}

.bollywood-btn-cancel {
    background: transparent !important;
    border: 1px solid var(--text-light) !important;
    color: var(--text-light) !important;
    border-radius: 4px !important;
    font-family: 'Cinzel', serif !important;
}

.bollywood-btn-cancel:hover {
    border-color: var(--accent-red) !important;
    color: var(--accent-red) !important;
    background: oklch(35% 0.15 25 / 0.1) !important;
    box-shadow: 0 0 20px var(--accent-red-glass) !important;
}

/* ─── Select All Override ────────────────────────────── */
.bollywood-form-card .select-all-btn {
    color: var(--primary) !important;
}

.bollywood-form-card .select-all-circle {
    border-color: var(--primary) !important;
}

.bollywood-form-card .select-all-circle.active {
    background: var(--primary) !important;
}

/* ─── Event Selection Label ──────────────────────────── */
.bollywood-form-card .event-selection-label {
    color: var(--text-light) !important;
}

/* ─── Summary Card ───────────────────────────────────── */
.bollywood-summary-card {
    background: oklch(18% 0.035 260 / 0.9) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 4px !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
    padding: 50px 40px !important;
    position: relative;
}

/* Film accent on summary card too */
.bollywood-summary-card::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--accent-red), var(--primary));
    opacity: 0.6;
}

.bollywood-summary-card .summary-icon {
    background-color: var(--accent-red) !important;
    color: var(--primary) !important;
    box-shadow: 0 0 30px var(--accent-red-glass);
    border-radius: 4px !important;
}

.bollywood-summary-card .summary-title {
    font-family: 'Cinzel', serif !important;
    color: var(--primary) !important;
    font-size: 1.8rem !important;
}

.bollywood-summary-card .summary-subtitle {
    color: var(--text-light) !important;
}

.bollywood-summary-card .detail-label {
    color: oklch(60% 0.05 260) !important;
}

.bollywood-summary-card .detail-value {
    color: var(--primary) !important;
    font-family: 'Cinzel', serif !important;
}

.bollywood-summary-card .highlight-text {
    color: var(--primary) !important;
}

.bollywood-summary-card .event-pill {
    background-color: var(--accent-red) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-family: 'Lato', sans-serif;
}

.bollywood-summary-card .reset-link {
    color: oklch(60% 0.05 260) !important;
}

.bollywood-summary-card .reset-link:hover {
    color: var(--accent-red) !important;
}

.bollywood-summary-card .reset-container {
    border-top-color: rgba(212, 175, 55, 0.15) !important;
}

/* ─── Guest Sub Cards ────────────────────────────────── */
.bollywood-form-card .guest-sub-card {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    border-radius: 4px !important;
}

.bollywood-form-card .guest-sub-card strong {
    color: var(--primary) !important;
}

/* ─── Popups ─────────────────────────────────────────── */
.bollywood-popup {
    background: oklch(18% 0.035 260 / 0.98) !important;
    border: 2px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 4px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9) !important;
    position: relative;
    overflow: hidden;
}

/* Marquee dots on popup */
.bollywood-popup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px, transparent 10px,
        var(--primary) 10px, var(--primary) 14px
    );
    opacity: 0.3;
}

.bollywood-popup .popup-icon {
    background: var(--accent-red) !important;
    color: var(--primary) !important;
    box-shadow: 0 0 30px var(--accent-red-glass);
    border-radius: 4px !important;
}

.bollywood-popup h2 {
    font-family: 'Cinzel', serif !important;
    color: var(--primary) !important;
}

.bollywood-popup p {
    color: var(--text-light) !important;
}

/* ─── Mobile Adjustments ─────────────────────────────── */
@media (max-width: 600px) {
    .bollywood-rsvp-header {
        height: 45vh !important;
    }

    .rsvp-main-title {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
        letter-spacing: 5px !important;
    }

    .bollywood-form-card {
        border-radius: 4px !important;
        padding: 35px 20px !important;
    }

    .bollywood-event-card {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    .bollywood-event-card .card-icon-container {
        flex: 0 0 50px !important;
        margin-right: 10px !important;
    }

    .bollywood-event-card .card-icon-container img {
        width: 45px !important;
        height: 45px !important;
    }

    .bollywood-event-card .evt-title {
        font-size: 0.95rem !important;
    }

    .main-container {
        margin-top: -12vh !important;
    }

    body.bollywood-rsvp-bg::after {
        display: none;
    }
}

/* ─── Scrollbar Styling ────────────────────────────────── */
.bollywood-form-card ::-webkit-scrollbar {
    width: 4px;
}
.bollywood-form-card ::-webkit-scrollbar-track {
    background: transparent;
}
.bollywood-form-card ::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 2px;
}
.bollywood-form-card ::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* ─── Selection Color ──────────────────────────────────── */
::selection {
    background: oklch(85% 0.12 75 / 0.25);
    color: oklch(98% 0.01 260);
}