/* ==========================================================================
   TABLE OF CONTENTS:
   1. Design System & CSS Variables
   2. Reset & Base Typography
   3. Ambient Particle Background
   4. Stage 0: The Gate (Sensory Initialization Overlay)
   5. Floating Audio Controller (Vinyl Disc Widget)
   6. Main Layout & Section Headers
   7. Stage 1: Prologue & Real-Time Counter
   8. Stage 2: The Tapestry (Polaroid Memory Cards)
   9. Stage 3: The Vault (First Chat Artifacts)
   10. Stage 4: Reasons Deck (Interactive Swiper)
   11. Stage 5: The Epilogue (Envelope, Wax Seal & Letter)
   12. Stage 6: The Gifts (Train Tickets & Blinkit Surprise)
   13. Site Footer
   14. Responsive Media Queries
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette: Warm Midnight Romance */
    --bg-deep: #0a080c;
    --bg-surface: #130f17;
    --bg-card: rgba(26, 20, 31, 0.75);
    --bg-card-border: rgba(229, 185, 116, 0.18);
    
    /* Romantic Accents */
    --accent-rose: #e67d98;
    --accent-rose-soft: rgba(230, 125, 152, 0.15);
    --accent-gold: #e5b974;
    --accent-gold-soft: rgba(229, 185, 116, 0.15);
    --accent-red: #c93b58;
    --accent-green: #38ef7d;
    --accent-blinkit: #f7cb15;

    /* Text Colors */
    --text-primary: #f6f3f8;
    --text-secondary: #c5becc;
    --text-muted: #887d91;
    --text-ink: #2b222a;

    /* Tactile Materials */
    --parchment: #fcf9f2;
    --parchment-shadow: rgba(0, 0, 0, 0.35);
    --polaroid-paper: #fefefe;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-handwriting: 'Caveat', cursive;

    /* Transitions & Motion */
    --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
    --transition-mid: 0.45s var(--ease-out-cubic);
    --transition-slow: 0.8s var(--ease-out-cubic);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE TYPOGRAPHY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
    color: var(--text-primary);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background: radial-gradient(circle at 50% 15%, #1d1424 0%, var(--bg-deep) 70%);
    min-height: 100vh;
}

::selection {
    background-color: var(--accent-rose);
    color: #fff;
}

/* --------------------------------------------------------------------------
   3. AMBIENT PARTICLE BACKGROUND
   -------------------------------------------------------------------------- */
#ambient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

/* --------------------------------------------------------------------------
   4. STAGE 0: THE GATE (Sensory Initialization Overlay)
   -------------------------------------------------------------------------- */
.gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: radial-gradient(circle at center, #1b1322 0%, #060408 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    transition: opacity 1.2s var(--ease-in-out-smooth), visibility 1.2s;
}

.gate-overlay.gate-dismissed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-content {
    max-width: 500px;
    background: rgba(22, 17, 27, 0.65);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px var(--accent-rose-soft);
    animation: gateGlow 4s infinite alternate;
}

@keyframes gateGlow {
    from { box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 20px rgba(230, 125, 152, 0.1); }
    to { box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 45px rgba(229, 185, 116, 0.2); }
}

.gate-sparkle-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.2rem;
    animation: pulseSlow 2.5s infinite;
}

.gate-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-rose);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.gate-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 30%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gate-instructions {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.gate-instructions i {
    color: var(--accent-gold);
}

.gate-button {
    background: linear-gradient(135deg, var(--accent-rose) 0%, var(--accent-red) 100%);
    color: #fff;
    border: none;
    outline: none;
    padding: 1rem 2.4rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 10px 25px rgba(201, 59, 88, 0.35);
}

.gate-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px rgba(201, 59, 88, 0.55);
}

.gate-button:active {
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   5. FLOATING AUDIO CONTROLLER (Vinyl Disc Widget)
   -------------------------------------------------------------------------- */
.audio-controller {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(19, 15, 23, 0.85);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.5rem 1rem 0.5rem 0.6rem;
    border-radius: 40px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-mid), border-color var(--transition-fast);
}

.audio-controller:hover {
    border-color: rgba(229, 185, 116, 0.4);
    transform: translateY(-2px);
}

.vinyl-record {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.vinyl-groove {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle,
        #151515,
        #151515 2px,
        #242424 3px,
        #151515 4px
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-label {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-rose);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: #fff;
}

.vinyl-spinning {
    animation: spinDisc 3.5s linear infinite;
}

@keyframes spinDisc {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.audio-info {
    display: flex;
    flex-direction: column;
}

.track-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-status {
    font-size: 0.7rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.audio-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.audio-btn:hover {
    color: var(--accent-rose);
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   6. MAIN LAYOUT & SECTION HEADERS
   -------------------------------------------------------------------------- */
.main-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6.5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

.sub-heading {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. STAGE 1: PROLOGUE & REAL-TIME COUNTER
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 4rem;
}

.hero-inner {
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: var(--accent-rose-soft);
    border: 1px solid rgba(230, 125, 152, 0.3);
    color: var(--accent-rose);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 1.8rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-rose) 80%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 660px;
    margin: 0 auto 3.5rem auto;
    font-weight: 300;
    line-height: 1.8;
}

.counter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.counter-box {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.2rem 1.6rem;
    border-radius: 16px;
    min-width: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-number {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.counter-unit {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.counter-separator {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--accent-rose);
    opacity: 0.5;
    margin-top: -1rem;
}

.scroll-cue {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.scroll-cue i {
    color: var(--accent-rose);
    animation: bounceDown 2s infinite;
}

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

/* --------------------------------------------------------------------------
   8. STAGE 2: THE TAPESTRY (Polaroid Memory Cards)
   -------------------------------------------------------------------------- */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2.5rem;
    padding: 1rem 0;
}

.polaroid-card {
    background: var(--polaroid-paper);
    padding: 1rem 1rem 1.4rem 1rem;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}

.polaroid-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
}

.photo-frame {
    width: 100%;
    height: 270px;
    background: #201824;
    border-radius: 8px;
    overflow: hidden;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-mid);
}

.polaroid-card:hover .photo-frame img {
    transform: scale(1.04);
}

.polaroid-caption {
    margin-top: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 0.3rem;
    flex-grow: 1;
}

.caption-handwritten {
    font-family: var(--font-handwriting);
    font-size: 1.4rem;
    color: var(--text-ink);
    font-weight: 700;
    line-height: 1.35;
}

.caption-date {
    font-size: 0.75rem;
    color: #837a82;
    letter-spacing: 0.5px;
    align-self: flex-end;
}

/* --------------------------------------------------------------------------
   9. STAGE 3: THE VAULT (First Chat Artifacts)
   -------------------------------------------------------------------------- */
.vault-container {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.vault-unlocked-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.chat-artifact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.chat-artifact:nth-child(even) {
    direction: rtl;
}

.chat-artifact:nth-child(even) .artifact-narrative,
.chat-artifact:nth-child(even) .artifact-meta {
    direction: ltr;
}

.artifact-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.artifact-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--accent-rose-soft);
    color: var(--accent-rose);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
}

.artifact-timestamp {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.chat-media-wrapper {
    background: #0e0a12;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: transform var(--transition-mid);
}

.chat-media-wrapper:hover {
    transform: translateY(-4px);
}

.chat-screenshot {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.artifact-narrative h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.artifact-narrative p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. STAGE 4: REASONS DECK (Interactive Swiper)
   -------------------------------------------------------------------------- */
.deck-container {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.card-deck {
    position: relative;
    height: 250px;
    margin-bottom: 2rem;
}

.deck-card {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s var(--ease-out-cubic);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.deck-card.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

.card-num {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-rose);
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-thought {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    line-height: 1.5;
    color: var(--text-primary);
    font-style: italic;
}

.deck-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.nav-btn:hover {
    background: var(--accent-rose);
    border-color: var(--accent-rose);
    transform: scale(1.08);
}

.deck-indicator {
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. STAGE 5: THE EPILOGUE (Envelope, Wax Seal & Letter)
   -------------------------------------------------------------------------- */
.envelope-wrapper {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    min-height: 400px;
    display: flex;
    justify-content: center;
}

.envelope {
    width: 100%;
    max-width: 580px;
    height: 340px;
    background: #1c1524;
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.envelope-wrapper.opened .envelope {
    transform: translateY(60px) scale(0.92);
    opacity: 0.15;
    pointer-events: none;
}

.envelope-flap {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 290px solid transparent;
    border-right: 290px solid transparent;
    border-top: 170px solid #231a2e;
    transform-origin: top;
    transition: transform 0.6s var(--ease-out-cubic);
}

.envelope-pocket {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 290px solid #1a1322;
    border-right: 290px solid #1a1322;
    border-bottom: 170px solid #281d33;
    border-radius: 0 0 12px 12px;
}

.wax-seal {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, #e43f63 0%, var(--accent-red) 70%, #851b32 100%);
    border: 3px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(201, 59, 88, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    z-index: 5;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.wax-seal:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(201, 59, 88, 0.7);
}

.seal-tooltip {
    position: absolute;
    bottom: -32px;
    font-size: 0.75rem;
    font-family: var(--font-sans);
    letter-spacing: 1px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.85);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all var(--transition-fast);
}

.wax-seal:hover .seal-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.letter-parchment {
    position: absolute;
    top: 0;
    width: 100%;
    background: var(--parchment);
    color: var(--text-ink);
    border-radius: 6px;
    padding: 4rem 3.5rem;
    box-shadow: 0 20px 60px var(--parchment-shadow);
    background-image: radial-gradient(#d6cbbd 0.75px, transparent 0.75px);
    background-size: 18px 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px) scale(0.95);
    transition: all 0.9s var(--ease-out-cubic);
    z-index: 6;
}

.envelope-wrapper.opened .letter-parchment {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.letter-header {
    border-bottom: 1px solid rgba(43, 34, 42, 0.12);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.letter-date {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6d636b;
}

.letter-salutation {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
}

.letter-body p {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    line-height: 1.8;
    margin-bottom: 1.6rem;
    color: #2b222a;
}

.letter-signature {
    margin-top: 3.5rem;
    text-align: right;
}

.sig-closing {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-style: italic;
    color: #554952;
}

.sig-name {
    font-family: var(--font-handwriting);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
    margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   12. STAGE 6: THE GIFTS (Train Tickets & Blinkit Surprise)
   -------------------------------------------------------------------------- */
.gifts-section {
    position: relative;
}

.gifts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.gift-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    transition: border-color var(--transition-fast), transform var(--transition-mid);
}

.gift-card:hover {
    border-color: rgba(229, 185, 116, 0.35);
}

.gift-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.gift-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.3rem 0.85rem;
    border-radius: 30px;
    font-weight: 600;
}

.gift-pill.ready {
    background: rgba(56, 239, 125, 0.15);
    border: 1px solid rgba(56, 239, 125, 0.35);
    color: var(--accent-green);
}

.gift-pill.locked {
    background: var(--accent-rose-soft);
    border: 1px solid rgba(230, 125, 152, 0.35);
    color: var(--accent-rose);
}

.gift-heading {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.gift-sub {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Unboxing Action Button */
.gift-action-wrap {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.reveal-gift-btn {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #c9933b 100%);
    color: #110e14;
    border: none;
    outline: none;
    padding: 1rem 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(229, 185, 116, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    animation: pulseGift 2.5s infinite alternate;
}

@keyframes pulseGift {
    from { transform: scale(1); box-shadow: 0 10px 25px rgba(229, 185, 116, 0.35); }
    to { transform: scale(1.04); box-shadow: 0 15px 35px rgba(229, 185, 116, 0.6); }
}

.reveal-gift-btn:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Indian Railways Train Ticket Cards */
.tickets-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInTicket 0.8s var(--ease-out-cubic);
}

@keyframes fadeInTicket {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.irctc-ticket {
    background: linear-gradient(145deg, #18121f 0%, #100b14 100%);
    border: 1px solid rgba(229, 185, 116, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.irctc-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
}

.irctc-ticket.return-trip::before {
    background: var(--accent-rose);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    padding-bottom: 0.85rem;
    margin-bottom: 1.2rem;
}

.ticket-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
}

.ticket-pnr {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.ticket-pnr strong {
    color: #fff;
    font-family: monospace;
    font-size: 0.85rem;
}

.ticket-route-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.station-side {
    display: flex;
    flex-direction: column;
}

.station-side.arrival {
    text-align: right;
}

.stn-code {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stn-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stn-time {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-top: 0.2rem;
}

.stn-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.route-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex-grow: 1;
    padding: 0 1rem;
}

.dist {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.route-arrow {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.arrow-line {
    flex-grow: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--accent-rose), var(--accent-rose) 4px, transparent 4px, transparent 8px);
}

.route-arrow i {
    color: var(--accent-rose);
    font-size: 0.85rem;
    margin-left: 0.4rem;
}

.train-detail {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 0.9rem;
    margin-bottom: 0.8rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.m-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.m-val {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.seat-highlight {
    color: var(--accent-gold);
    font-weight: 700;
}

.status-confirmed {
    color: var(--accent-green);
    font-weight: 700;
}

.ticket-tagline {
    font-size: 0.8rem;
    color: var(--accent-rose);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

/* Locked Blinkit Delivery Surprise Card */
.shipping-lock-card {
    background: linear-gradient(145deg, #17111c 0%, #100b14 100%);
    border: 1px solid rgba(247, 203, 21, 0.25);
    border-radius: 18px;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.shipping-brand-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.2rem;
}

.shipping-truck-icon {
    font-size: 2.2rem;
    color: var(--accent-blinkit);
    background: rgba(247, 203, 21, 0.1);
    padding: 0.8rem;
    border-radius: 50%;
    border: 1px solid rgba(247, 203, 21, 0.3);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--accent-blinkit);
    letter-spacing: 0.5px;
}

.brand-tag {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Progress Tracker */
.shipping-tracker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
}

.tracker-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.tracker-node i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.tracker-node.done i {
    background: var(--accent-green);
    color: #110e14;
    box-shadow: 0 0 12px rgba(56, 239, 125, 0.4);
}

.tracker-node.done span {
    color: var(--text-primary);
}

.tracker-node.pending i {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.tracker-segment {
    flex-grow: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
}

.tracker-segment.done {
    background: var(--accent-green);
}

.tracker-segment.active-pulse {
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blinkit));
    animation: segmentPulse 2s infinite linear;
}

@keyframes segmentPulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Shipping Countdown Timer Box */
.shipping-timer-container {
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed rgba(247, 203, 21, 0.35);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.timer-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
}

.timer-countdown {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-blinkit);
    letter-spacing: 1px;
}

.shipping-hint {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.shipping-hint i {
    color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   13. SITE FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    text-align: center;
    padding: 6rem 1.5rem 4rem 1.5rem;
    border-top: 1px solid rgba(229, 185, 116, 0.1);
    position: relative;
    z-index: 1;
}

.footer-quote {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-copy {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .gifts-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 900px) {
    .chat-artifact,
    .chat-artifact:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 1.8rem;
    }

    .vault-unlocked-content {
        padding: 2.5rem 1.8rem;
    }

    .envelope-flap {
        border-left-width: 45vw;
        border-right-width: 45vw;
    }

    .envelope-pocket {
        border-left-width: 45vw;
        border-right-width: 45vw;
    }
}

@media (max-width: 600px) {
    section {
        padding: 4.5rem 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .counter-container {
        gap: 0.4rem;
    }

    .counter-box {
        min-width: 68px;
        padding: 0.8rem 0.5rem;
        border-radius: 12px;
    }

    .counter-number {
        font-size: 1.8rem;
    }

    .counter-unit {
        font-size: 0.65rem;
    }

    .counter-separator {
        font-size: 1.4rem;
    }

    .audio-controller {
        bottom: 1.2rem;
        right: 1.2rem;
        padding: 0.4rem 0.8rem 0.4rem 0.5rem;
    }

    .track-title {
        max-width: 90px;
    }

    .ticket-route-body {
        flex-direction: column;
        gap: 1rem;
    }

    .station-side.arrival {
        text-align: left;
    }

    .route-arrow {
        width: 60%;
        margin: 0.4rem 0;
    }

    .letter-parchment {
        padding: 2.5rem 1.5rem;
    }

    .letter-body p {
        font-size: 1.15rem;
    }

    .envelope-wrapper {
        min-height: 300px;
    }

    .envelope {
        height: 260px;
    }
}

/* --------------------------------------------------------------------------
   GIFT BLUR & TAP-TO-UNBLUR INTERACTION
   -------------------------------------------------------------------------- */
.gift-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* Card Content Blurring */
.gift-card.is-blurred > *:not(.gift-blur-overlay) {
    filter: blur(14px);
    user-select: none;
    pointer-events: none;
    transition: filter 0.6s var(--ease-out-cubic);
}

.gift-card:not(.is-blurred) > *:not(.gift-blur-overlay) {
    filter: blur(0px);
    transition: filter 0.6s var(--ease-out-cubic);
}

/* Tap to Reveal Frosted Glass Overlay */
.gift-blur-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(15, 10, 20, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    border-radius: 24px;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.gift-card:not(.is-blurred) .gift-blur-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gift-blur-overlay i {
    font-size: 2.2rem;
    color: var(--accent-gold);
    animation: pulseGift 2s infinite alternate;
}

.gift-blur-overlay span {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    background: rgba(26, 20, 31, 0.85);
    border: 1px solid rgba(229, 185, 116, 0.4);
    padding: 0.5rem 1.4rem;
    border-radius: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.gift-card:hover .gift-blur-overlay span {
    transform: scale(1.05);
    border-color: var(--accent-gold);
}