/* ==========================================================================
   HONEY & GHEE - PRE-LAUNCH CAMPAIGN CSS STYLE SHEET
   Color Theme: Deep Teal (#013832) & Warm Honey Orange (#ff7d39)
   Base: Organic Warm Cream (#FAF6F0)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN SYSTEM
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --primary-color: #013832;
    --primary-light: #0d4b44;
    --primary-dark: #00221e;
    --primary-glow: rgba(1, 56, 50, 0.08);
    --primary-glow-thick: rgba(1, 56, 50, 0.15);
    
    --accent-color: #ff7d39;
    --accent-hover: #e56a2b;
    --accent-glow: rgba(255, 125, 57, 0.15);
    --accent-glow-thick: rgba(255, 125, 57, 0.3);

    --bg-base: #FAF6F0;
    --bg-card: #FFFFFF;
    --bg-card-alt: #FFFBF6;
    
    --border-color: #E6DFD5;
    --border-focus: #ff7d39;
    
    --text-main: #142422;
    --text-muted: #5c706d;
    --text-light: #ffffff;
    
    --error-color: #d93838;
    --error-bg: rgba(217, 56, 56, 0.05);
    --success-color: #27ae60;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(1, 56, 50, 0.02);
    --shadow-md: 0 10px 25px rgba(1, 56, 50, 0.05);
    --shadow-lg: 0 20px 40px rgba(1, 56, 50, 0.08);
    --shadow-accent: 0 10px 25px rgba(255, 125, 57, 0.15);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & GLOBAL STYLES
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    /* Do NOT set overflow-x:hidden on html — breaks iOS Safari scrolling */
    height: 100%;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    width: 100%;
    /* iOS Safari momentum scrolling */
    -webkit-overflow-scrolling: touch;
    overflow-x: clip;
}

/* Background Ambient Glow Container */
.glow-wrapper-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* No overflow:hidden — that clips content on iOS */
    pointer-events: none;
    z-index: 0;
}

.ambient-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.10;
    pointer-events: none;
}

.glow-top-left {
    background-color: var(--primary-color);
    top: -100px;
    left: -100px;
}

.glow-bottom-right {
    background-color: var(--accent-color);
    /* Anchored to bottom of wrapper, not page — prevents extra scroll space on iOS */
    top: 60%;
    right: -100px;
}


/* Confetti Canvas */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* App Container */
.app-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    /* Removed min-height: 100vh — causes blank white space on iOS Safari */
}

/* --------------------------------------------------------------------------
   3. HEADER
   -------------------------------------------------------------------------- */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 20px 0;
    margin-bottom: 20px;
    background-color: rgb(0 45 39);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(1, 56, 50, 0.05);
    transition: all var(--transition-fast);
    /* iOS Safari: isolate sticky element from scroll layer */
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.main-header.scrolled {
    padding: 12px 0;
    background-color: rgba(0, 45, 39, 0.96);
    border-bottom: 1px solid rgba(255, 125, 57, 0.15);
    box-shadow: 0 8px 30px rgba(0, 20, 18, 0.22);
}




.logo-wrapper {
    height: 60px;
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(61%) sepia(74%) saturate(4156%) hue-rotate(349deg) brightness(101%) contrast(101%) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
    transition: transform var(--transition-fast);
}


.brand-logo:hover {
    transform: scale(1.02);
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

.location-badge {
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffdcb3;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 125, 57, 0.25);
}


@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 125, 57, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(255, 125, 57, 0);
    }
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(255, 125, 57, 0);
    }
}

/* --------------------------------------------------------------------------
   4. LAYOUT GRID
   -------------------------------------------------------------------------- */
.main-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    padding: 20px 0 60px 0;
    align-items: start;
    flex-grow: 1;
}

/* --------------------------------------------------------------------------
   5. LEFT COLUMN: CAMPAIGN INFO
   -------------------------------------------------------------------------- */
.campaign-info {
    position: sticky;
    top: 40px;
    /* iOS Safari: sticky inside grid can clip siblings — use -webkit-sticky */
    position: -webkit-sticky;
    position: sticky;
}

.info-content-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.campaign-tag {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.campaign-title {
    font-family: var(--font-heading);
    font-size: 3.3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.prize-pill {
    background-color: #FFF0E6;
    color: var(--accent-color);
    border: 1px solid rgba(255, 125, 57, 0.25);
    padding: 0 16px;
    border-radius: 50px;
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    box-shadow: 0 6px 12px rgba(255, 125, 57, 0.06);
    transform: rotate(-1.5deg);
    transition: all var(--transition-fast);
}

.prize-pill:hover {
    transform: rotate(1deg) scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 125, 57, 0.12);
}

.serif-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--accent-color);
}

.desktop-only {
    display: inline;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none;
    }
}


.campaign-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   5. BESPOKE COUNTDOWN & QR BANNER REDESIGN (MATCHING SPECIFICATION IMAGE)
   ========================================================================== */

/* Countdown Container (Teal Card) */
.countdown-container {
    background: #002d27; /* Rich deep forest teal background */
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 20px 40px rgba(0, 45, 39, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Decorative absolute golden ribbons inside countdown */
.countdown-container::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.decor-element.confetti-left {
    position: absolute;
    left: 15px;
    top: 20px;
    width: 50px;
    height: 80px;
    background-image: radial-gradient(#d4af37 20%, transparent 20%),
                      radial-gradient(#cf9f2e 15%, transparent 15%);
    background-size: 8px 8px, 12px 12px;
    background-position: 0 0, 8px 16px;
    opacity: 0.35;
    pointer-events: none;
}

.decor-element.ribbon-right {
    position: absolute;
    right: 15px;
    bottom: 20px;
    width: 60px;
    height: 100px;
    border-right: 4px solid rgba(212, 175, 55, 0.35);
    border-bottom: 4px solid rgba(212, 175, 55, 0.35);
    border-radius: 0 0 50px 0;
    transform: rotate(-10deg);
    opacity: 0.4;
    pointer-events: none;
}

/* Cursive "Grand Opening" Overlay Title */
.countdown-cursive {
    font-family: 'Great Vibes', cursive;
    font-size: 2.3rem;
    color: #cf9f2e; /* Warm golden/honey script color */
    line-height: 1;
    margin-bottom: 2px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* "COUNTDOWN" Uppercase Title block */
.countdown-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

/* Sparkle decoration beams around title */
.sparkle-decoration {
    position: absolute;
    top: 32px;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.left-sparkles {
    left: 45px;
}

.right-sparkles {
    right: 45px;
}

.sparkle-decoration .beam {
    position: absolute;
    width: 3px;
    height: 12px;
    background: linear-gradient(to bottom, #d4af37, transparent);
    border-radius: 50%;
}

.sparkle-decoration .beam.b1 { transform: rotate(45deg) translateY(-8px); }
.sparkle-decoration .beam.b2 { transform: rotate(90deg) translateY(-8px); }
.sparkle-decoration .beam.b3 { transform: rotate(135deg) translateY(-8px); }

/* Horizontal Timer display */
.countdown-timer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Perfect double-bordered white circles for numbers */
.timer-box-circle {
    background: #ffffff;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid #cf9f2e; /* Gold border */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    cursor: default;
}

.timer-box-circle:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 28px rgba(207, 159, 46, 0.25);
}

.timer-box-circle .timer-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #013832; /* Deep teal number */
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: none;
}

.timer-box-circle .timer-label {
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #013832; /* Deep teal label */
}

/* Beige divider lines between timer circles */
.timer-divider {
    width: 1px;
    height: 48px;
    background-color: rgba(212, 175, 55, 0.2);
    align-self: center;
}

/* --- QR BANNER CARD --- */
.qr-banner-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    color: #013832;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid #E6DFD5;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.qr-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Wave organic background graphics */
.qr-wave-decor {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.qr-wave-decor.wave-left {
    bottom: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    border-radius: 50% 50% 0 50%;
    background-color: #e2e8e4;
    filter: blur(10px);
}

.qr-wave-decor.wave-right {
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50% 50% 50% 0;
    background-color: #d8e2dc;
    filter: blur(12px);
}

.qr-dot-decor.dot-grid-right {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 70px;
    height: 70px;
    background-image: radial-gradient(rgba(207, 159, 46, 0.2) 20%, transparent 20%);
    background-size: 8px 8px;
    opacity: 0.55;
    pointer-events: none;
}

.qr-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
}

.qr-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Circular gift badge */
.qr-gift-badge {
    width: 32px;
    height: 32px;
    background-color: #ffdcb3; /* Soft amber/gold circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #013832;
    flex-shrink: 0;
    box-shadow: 0 4px 8px rgba(255, 125, 57, 0.08);
}

.qr-gift-badge svg {
    width: 16px;
    height: 16px;
}

.qr-small-tag {
    color: #013832;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.qr-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: #013832; /* Deep teal title text */
    margin-top: 4px;
}

.highlight-gold {
    color: #cf771d; /* Elegant gold/ochre text color */
}

/* Thin horizontal gold divider line */
.qr-divider-line {
    height: 1px;
    width: 80%;
    background-color: #cf9f2e;
    opacity: 0.25;
    margin: 8px 0;
}

.qr-description {
    font-size: 0.95rem;
    color: #304643;
    line-height: 1.45;
    font-weight: 500;
}

/* Elevated QR Card wrapper */
.qr-code-wrapper-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.qr-white-card {
    background: #ffffff;
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(1, 56, 50, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(1, 56, 50, 0.03);
}

.qr-svg-v2 {
    width: 96px;
    height: 96px;
    display: block;
}

/* Dark Green bottom label tag overlay */
.qr-bottom-label {
    background: #013832; /* Deep teal label block */
    width: calc(100% - 16px);
    padding: 6px 0;
    border-radius: 0 0 12px 12px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: -6px; /* Shifts up to overlay the bottom of the white card slightly */
    box-shadow: 0 4px 10px rgba(1, 56, 50, 0.15);
}



/* --------------------------------------------------------------------------
   6. RIGHT COLUMN: FORM CARD
   -------------------------------------------------------------------------- */
.campaign-form-section {
    position: relative;
}

.form-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(1, 56, 50, 0.05);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

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

.form-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

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

.form-section {
    border-bottom: 1px solid rgba(1, 56, 50, 0.05);
    padding-bottom: 32px;
    margin-bottom: 32px;
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 24px;
}

.section-step {
    display: inline-block;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.heading-desc-block {
    margin-bottom: 16px;
}

.heading-desc-block .section-heading {
    margin-bottom: 4px;
}

.section-subheading {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 6px;
}

.subheading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    background-color: #ff7d39;
    color: #ffffff;
    border-radius: 50%;
    padding: 3px;
    box-sizing: border-box;
    flex-shrink: 0;
}

/* Form Inputs styling */
.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 16px 16px 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all var(--transition-fast);
}

/* Floating labels */
.input-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all var(--transition-fast);
    background-color: transparent;
    padding: 0 4px;
}

/* Floating state */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent-color);
    background-color: var(--bg-card);
    transform: translateY(-50%);
}

.input-group input:focus {
    border-color: var(--accent-color);
    background-color: var(--bg-card);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* Error States */
.input-group.has-error input {
    border-color: var(--error-color);
    background-color: var(--error-bg);
}

.input-group.has-error input:focus {
    box-shadow: 0 0 0 4px rgba(217, 56, 56, 0.15);
}

.input-group.has-error label {
    color: var(--error-color);
}

.error-msg {
    color: var(--error-color);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
    margin-left: 8px;
    display: none;
}

/* Section-level & Wishlist Error States */
.wishlist-input-row.has-error {
    border-color: var(--error-color);
    background-color: var(--error-bg);
}

.wishlist-input-row.has-error:focus-within {
    box-shadow: 0 0 0 4px rgba(217, 56, 56, 0.15);
}

.wishlist-input-row.has-error .wishlist-number {
    color: var(--error-color);
}

.wishlist-input-row.has-error input::placeholder {
    color: rgba(217, 56, 56, 0.45);
}

.error-msg-container {
    display: none;
    color: var(--error-color);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 14px;
    padding: 10px 16px;
    background: var(--error-bg);
    border: 1px solid rgba(217, 56, 56, 0.15);
    border-radius: 12px;
    text-align: center;
    transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   7. INTERACTIVE CATEGORY CARDS
   -------------------------------------------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.category-tile {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    user-select: none;
    height: auto;
    min-height: 135px;
}

.tile-icon-container {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    height: 55px;
}

.tile-image {
    width: 55px;
    height: 55px;
    object-fit: contain;
    transition: all var(--transition-fast);
}

.tile-icon {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.tile-label {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.check-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: all var(--transition-fast);
}

.check-indicator::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid var(--text-light);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
    display: block;
}

/* Hover State */
.category-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 125, 57, 0.4);
    background-color: var(--bg-card-alt);
    box-shadow: var(--shadow-md);
}

/* Active / Checked State */
.category-tile.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px var(--primary-glow-thick);
}

.category-tile.active .tile-icon-container {
    color: var(--accent-color);
    transform: scale(1.1);
}

.category-tile.active .tile-label {
    color: var(--text-light);
}

.category-tile.active .check-indicator {
    opacity: 1;
    transform: scale(1);
}

/* --------------------------------------------------------------------------
   8. WISHLIST INPUT ROW
   -------------------------------------------------------------------------- */
.wishlist-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wishlist-input-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    padding: 4px 4px 4px 14px;
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.wishlist-input-row:focus-within {
    border-color: var(--accent-color);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.wishlist-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent-color);
    width: 14px;
}

.wishlist-field {
    flex: 1;
}

.wishlist-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 10px 10px 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
}

.wishlist-input::placeholder {
    color: #92a4a1;
}

/* --------------------------------------------------------------------------
   9. SUBMIT BUTTON
   -------------------------------------------------------------------------- */
.submit-container {
    margin-top: 10px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-color), #f76214);
    color: var(--text-light);
    border: none;
    border-radius: 12px;
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 125, 57, 0.25);
    background: linear-gradient(135deg, #ff8b4d, var(--accent-hover));
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

/* Button Loading State */
.submit-btn.loading {
    pointer-events: none;
    background: #ccc7c0;
    box-shadow: none;
}

.submit-btn .btn-loader {
    display: none;
    margin-left: 12px;
}

.submit-btn.loading .btn-loader {
    display: inline-block;
}

.submit-btn.loading .btn-text {
    opacity: 0.8;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    display: inline-block;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Legal disclaimer */
.legal-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: justify;
    line-height: 1.5;
    margin-top: 18px;
    font-style: italic;
    font-weight: 500;
}


/* --------------------------------------------------------------------------
   10. SUCCESS MODAL OVERLAY & CARD
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(1, 56, 50, 0.45); /* Soft deep teal backing */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.success-modal-card {
    background: var(--bg-card);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(1, 56, 50, 0.15);
    width: 90%;
    max-width: 500px;
    text-align: center;
    border: 1px solid rgba(1, 56, 50, 0.05);
    transform: translateY(30px);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-overlay.active .success-modal-card {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--accent-color);
}

.success-illustration {
    position: relative;
    margin-bottom: 24px;
}

.success-circle {
    width: 80px;
    height: 80px;
    background-color: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(255, 125, 57, 0.1);
}

.success-icon {
    width: 40px;
    height: 40px;
}

/* Sparkles animation */
.sparkles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0;
    animation: spark 1.8s infinite;
}

.sparkle.s1 { top: -10px; left: 10px; animation-delay: 0.2s; }
.sparkle.s2 { top: 20px; right: -15px; animation-delay: 0.6s; }
.sparkle.s3 { bottom: -10px; left: 50%; animation-delay: 1s; }

@keyframes spark {
    0% { transform: scale(0.3) rotate(0deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1) rotate(45deg); opacity: 0; }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.success-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 420px;
}

.success-body strong {
    color: var(--primary-color);
    font-weight: 700;
}

.success-sign-off {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}


/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    border-top: 1px solid rgba(1, 56, 50, 0.05);
    padding: 32px 0;
    margin-top: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-address {
    font-size: 0.95rem;
    color: #1f1f1f;
    cursor: pointer;
    user-select: none;
    transition: color var(--transition-fast);
    font-weight: 500;
}

.footer-address:hover {
    color: var(--accent-color);
}

.footer-copyright {
    font-size: 0.85rem;
    color: #002d27;
}


/* --------------------------------------------------------------------------
   12. ADMIN registrations PANEL
   -------------------------------------------------------------------------- */
.admin-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    background: #ffffff;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 -15px 30px rgba(0,0,0,0.1);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    animation: slideUpPanel 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpPanel {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
}

.admin-header {
    background: var(--primary-color);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-live {
    background: var(--accent-color);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.admin-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-height: 250px;
}

.registrations-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.registrations-table th {
    background: var(--bg-base);
    color: var(--primary-color);
    font-weight: 700;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.registrations-table td {
    padding: 12px;
    border-bottom: 1px solid #f1ece2;
    color: var(--text-main);
}

.registrations-table tr:last-child td {
    border-bottom: none;
}

.empty-table {
    text-align: center;
    color: var(--text-muted);
    padding: 24px !important;
    font-style: italic;
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.admin-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.admin-btn.btn-danger {
    background: #e74c3c;
    color: white;
}

.admin-btn.btn-danger:hover {
    background: #c0392b;
}

.admin-btn.btn-secondary {
    background: var(--primary-color);
    color: white;
}

.admin-btn.btn-secondary:hover {
    background: var(--primary-light);
}

/* --------------------------------------------------------------------------
   13. MEDIA QUERIES & RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
    .campaign-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .campaign-info {
        position: static;
    }
    
    .campaign-title {
        font-size: 2.6rem;
    }
    
    .qr-banner-card {
        margin-top: 0px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    .app-container {
        padding: 0 16px;
    }
    
    .main-header {
        padding: 16px 0;
    }
    
    .logo-wrapper {
        height: 48px;
    }
    
    .location-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .campaign-title {
        font-size: 2.2rem;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .timer-box {
        padding: 10px 4px;
    }
    
    .timer-num {
        font-size: 1.8rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .campaign-title {
        font-size: 1.8rem;
    }
    
    .qr-banner-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 16px;
    }
    
    .qr-code-wrapper {
        align-self: center;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .success-title {
        font-size: 2rem;
    }
    
    .success-card {
        padding: 40px 16px;
    }
}

/* ==========================================================================
   14. SHARE MODAL & BUTTON
   ========================================================================== */

/* Share Button in QR Banner */
.qr-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #013832;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 10px rgba(1, 56, 50, 0.15);
}

.qr-share-btn:hover {
    background-color: #0d4b44;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(1, 56, 50, 0.25);
}

.qr-share-btn svg {
    width: 18px;
    height: 18px;
}

/* Share Modal Styles */
.share-modal-card {
    max-width: 450px;
    text-align: center;
    padding: 25px;
    background: #fff;
    border-radius: 20px;
}

.share-icon-top {
    position: relative;
    display: inline-block;
}

.gift-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fdfaf6;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(1,56,50,0.05);
}

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

.share-options-grid.new-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.new-grid .share-option-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.share-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.share-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.share-subtitle {
    font-size: 0.75rem;
    color: #5c706d;
    margin-top: 2px;
}

.new-grid .share-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.new-grid .share-option-btn:hover .share-icon-wrapper {
    transform: scale(1.1);
}

.new-grid .share-icon-wrapper svg {
    width: 18px;
    height: 18px;
}

/* Button Variants */
.copy-link-btn {
    background: #f8f6f0;
    border: 1px solid #e9e2ce;
}
.copy-link-btn:hover { background: #f0ecdf; }
.copy-link-btn .share-icon-wrapper {
    background: rgba(1, 56, 50, 0.1);
    color: #013832;
}

.whatsapp-btn {
    background: #f1faec;
    border: 1px solid #dceecf;
}
.whatsapp-btn:hover { background: #e5f6db; }
.whatsapp-btn .share-icon-wrapper {
    background: #25D366;
    color: #fff;
}

.facebook-btn {
    background: #eff5ff;
    border: 1px solid #d6e6fe;
}
.facebook-btn:hover { background: #e3edfe; }
.facebook-btn .share-icon-wrapper {
    background: #1877F2;
    color: #fff;
}

.instagram-btn {
    background: #fef0f4;
    border: 1px solid #fad0db;
}
.instagram-btn:hover { background: #fde2ea; }
.instagram-btn .share-icon-wrapper {
    background: #E1306C;
    color: #fff;
}
