/* ============================================================
   GAS Restaurant Review System — Client-facing Styles
   reviews.gas.tn | Mobile-first | Luxury Dark Theme
   ============================================================ */

:root {
    /* ── Gold Spectrum ── */
    --gold:         #C9A84C;
    --gold-lt:      #E8C97A;
    --gold-pale:    #F5E6B8;
    --gold-dim:     rgba(201,168,76,0.12);
    --gold-glow:    rgba(201,168,76,0.18);
    --gold-border:  rgba(201,168,76,0.22);

    /* ── Surfaces ── */
    --dark:    #09090C;
    --card:    #111116;
    --card2:   #17171E;
    --card3:   #1E1E27;
    --border:  rgba(255,255,255,0.055);

    /* ── Text ── */
    --text:    #F0EDE6;
    --text-2:  #BAB6AF;
    --muted:   #6A6A72;

    /* ── Semantic ── */
    --green:   #00C48C;
    --red:     #E05C5C;
    --purple:  #7C6AF7;

    /* ── Typography ── */
    --font:         'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* ── Shape ── */
    --radius:    18px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    /* ── Shadow ── */
    --shadow:      0 20px 60px rgba(0,0,0,0.55);
    --shadow-card: 0 8px 30px rgba(0,0,0,0.35);
    --shadow-gold: 0 0 40px rgba(201,168,76,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font);
    background: var(--dark);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

/* ── Ambient Background ── */
.particles {
    position: fixed; inset: 0;
    pointer-events: none; overflow: hidden; z-index: 0;
}
.particles::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 15% 0%,   rgba(201,168,76,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 85% 100%,  rgba(201,168,76,0.04) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 50%,   rgba(124,106,247,0.025) 0%, transparent 60%);
}
.particles::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 100% 30% at 50% 0%, rgba(201,168,76,0.04) 0%, transparent 40%);
}

/* ── Header ── */
.review-header {
    position: sticky; top: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 16px;
    background: rgba(9,9,12,0.90);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(201,168,76,0.06);
}
.header-left { display: flex; align-items: center; gap: 10px; }

.review-header::after {
    content: '';
    position: absolute;
    left: 20%; right: 20%; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.32), transparent);
}

.btn-back-landing {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,.04); border: 1px solid var(--border);
    color: var(--muted); text-decoration: none;
    transition: all .2s; flex-shrink: 0;
}
.btn-back-landing:hover {
    background: rgba(255,255,255,.08);
    color: var(--gold); border-color: var(--gold-border);
}

.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo { height: 40px; width: auto; filter: drop-shadow(0 2px 10px rgba(201,168,76,.18)); }

/* ── Language Switcher ── */
.lang-switcher {
    display: flex; gap: 2px; padding: 3px;
    border-radius: 50px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
}
.lang-switcher a {
    padding: 5px 13px; border-radius: 50px;
    font-size: 11px; font-weight: 500; letter-spacing: .3px;
    color: rgba(255,255,255,.3); text-decoration: none;
    transition: all .22s;
}
.lang-switcher a.active {
    color: #000; background: var(--gold);
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 4px 14px rgba(201,168,76,.35);
}
.lang-switcher a:not(.active):hover {
    color: rgba(255,255,255,.65);
    background: rgba(255,255,255,.05);
}

/* ── Context Badge ── */
.context-badge {
    position: relative; z-index: 10;
    display: flex; align-items: center; justify-content: flex-start;
    gap: 12px; padding: 9px 16px;
    background: rgba(17,17,22,0.96);
    border-bottom: 1px solid var(--border);
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; flex-wrap: nowrap; white-space: nowrap;
}
.context-badge {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.context-badge::after {
    content: '';
    position: absolute;
    left: 16%; right: 16%; bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.28), transparent);
}
.context-badge::-webkit-scrollbar { display: none; }
.badge-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); flex-shrink: 0; }
.badge-item svg { width: 13px; height: 13px; stroke-width: 2; flex-shrink: 0; opacity: .7; }
.badge-item strong { color: var(--text-2); font-weight: 600; }
.badge-divider { width: 1px; height: 14px; background: var(--border); flex-shrink: 0; }

/* ── Form Container ── */
.form-container {
    position: relative; z-index: 10;
    max-width: 560px; margin: 0 auto;
    padding: 28px 16px 52px;
    width: 100%;
}

/* ── Steps Indicator ── */
.steps-indicator {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 32px;
}
.step { display: flex; align-items: center; gap: 6px; }
.step-dot {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 600;
    background: var(--card2); border: 1.5px solid var(--border);
    color: var(--muted); transition: all .35s cubic-bezier(.22,1,.36,1);
    position: relative;
}
.step-dot::after {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all .35s;
}
.step.active .step-dot {
    background: var(--gold); border-color: var(--gold);
    color: #000; box-shadow: 0 0 0 4px rgba(201,168,76,.12), 0 4px 16px rgba(201,168,76,.25);
}
.step.done .step-dot {
    background: var(--green); border-color: var(--green);
    color: #fff; box-shadow: 0 0 0 4px rgba(0,196,140,.10);
}
.step span { font-size: 11px; color: var(--muted); display: none; letter-spacing: .3px; }
.step.active span { color: var(--gold); display: inline; font-weight: 500; }
.step-line {
    flex: 1; height: 1px; min-width: 36px; max-width: 70px; margin: 0 8px;
    background: linear-gradient(90deg, var(--border), rgba(255,255,255,0.04));
    position: relative; overflow: hidden;
}

/* ── Form Steps ── */
.form-step { display: none; animation: fadeSlide .42s cubic-bezier(.22,1,.36,1); }
.form-step.active { display: block; }
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Step Header ── */
.step-header { text-align: center; margin-bottom: 28px; }
.step-header-inner {
    display: inline-block;
    padding: 24px 30px 19px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.08) 0%, transparent 65%);
    border-radius: 24px;
    border: 1px solid rgba(201,168,76,.14);
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
}
.step-header-inner::before {
    content: '';
    position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.3), transparent);
}
.step-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 6vw, 34px);
    font-weight: 600; font-style: italic;
    line-height: 1.18; margin-bottom: 9px;
    letter-spacing: -.1px;
    color: var(--text);
}
.step-subtitle { color: var(--muted); font-size: 12px; letter-spacing: .2px; }

.step-subtitle {
    font-family: var(--font);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(240,237,230,.58);
}

/* ── Location Selector Card ── */
.location-selector-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 22px; padding: 28px 20px; text-align: center;
    margin-bottom: 24px; width: 100%;
    box-shadow: var(--shadow-card);
    position: relative; overflow: hidden;
}
.location-selector-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.25), transparent);
}
.location-selector-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.location-selector-card p { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.loc-selector-title {
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-style: italic;
    font-size: 20px; font-weight: 400;
    margin-bottom: 20px; color: var(--text);
}

/* ── Mood Selector ── */
.mood-selector {
    display: flex; justify-content: center; gap: 8px;
    margin-bottom: 8px; padding: 4px 0;
}
.mood-btn {
    font-size: 28px; background: rgba(255,255,255,.025);
    border: 1.5px solid transparent;
    border-radius: 50%; width: 52px; height: 52px; cursor: pointer;
    transition: all .28s cubic-bezier(.22,1,.36,1);
    filter: grayscale(0.65) opacity(0.5);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mood-btn:hover, .mood-btn.selected {
    filter: grayscale(0) opacity(1);
    border-color: var(--gold-border);
    background: var(--gold-dim);
    transform: scale(1.22) translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,168,76,.22);
}
.mood-label {
    text-align: center; font-size: 12px; font-weight: 500;
    color: var(--gold); min-height: 18px; margin-bottom: 14px;
    letter-spacing: .3px;
}

/* ── Star Ratings ── */
.star-group { display: flex; justify-content: center; margin: 14px 0; }
.stars { display: flex; gap: 6px; }
.main-stars .stars { gap: 10px; }

.star {
    background: none; border: none; cursor: pointer;
    font-size: 40px; color: rgba(255,255,255,.08);
    transition: color .14s, transform .14s, text-shadow .14s;
    line-height: 1; padding: 4px;
}
.main-stars .star { font-size: clamp(36px, 11vw, 48px); }
.star.hover {
    color: rgba(201,168,76,.6);
    text-shadow: 0 0 12px rgba(201,168,76,.25);
    transform: scale(1.08);
}
.star.selected {
    color: var(--gold);
    text-shadow: 0 0 18px rgba(201,168,76,.45), 0 0 6px rgba(201,168,76,.3);
}
.star:active { transform: scale(0.88); }

/* Star ignition — cascade glow when star selected */
@keyframes starIgnite {
    0%   { text-shadow: 0 0 0 transparent; }
    40%  { text-shadow: 0 0 22px rgba(201,168,76,.8), 0 0 8px rgba(232,201,122,.5); color: var(--gold-lt); }
    100% { text-shadow: 0 0 18px rgba(201,168,76,.4); color: var(--gold); }
}
.star.just-selected { animation: starIgnite .32s ease forwards; }

/* ── Categories Grid ── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}
.category-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    transition: all .28s cubic-bezier(.22,1,.36,1);
    position: relative; overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
}
.category-card:hover {
    border-color: var(--gold-border);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 1px rgba(201,168,76,.08);
    background: var(--card2);
}
.category-card.rated {
    border-color: rgba(201,168,76,.35);
    background: rgba(201,168,76,.03);
}
.category-card.rated::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 16px rgba(201,168,76,.04);
    pointer-events: none;
}
.category-icon { font-size: 26px; margin-bottom: 4px; }
.category-icon-wrap {
    width: 42px; height: 42px;
    margin: 0 auto 7px;
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--icon-color) 11%, transparent);
    border: 1px solid color-mix(in srgb, var(--icon-color) 16%, transparent);
    transition: all .3s ease;
    position: relative;
}
.category-icon-svg { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.category-icon-svg svg { width: 20px; height: 20px; stroke: var(--icon-color); }
.category-card:hover .category-icon-wrap {
    background: color-mix(in srgb, var(--icon-color) 18%, transparent);
    transform: scale(1.1) translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--icon-color) 20%, transparent);
}
.category-card.rated .category-icon-wrap {
    background: color-mix(in srgb, var(--icon-color) 20%, transparent);
    border-color: color-mix(in srgb, var(--icon-color) 32%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--icon-color) 15%, transparent);
}
.category-name {
    font-size: 10.5px; color: var(--muted); margin-bottom: 8px;
    line-height: 1.2; font-weight: 500; letter-spacing: .2px;
}
.small-stars { display: flex; gap: 2px; justify-content: center; }
.small-stars .star { font-size: 17px; color: rgba(255,255,255,.08); padding: 2px; }
.small-stars .star.selected { color: var(--gold); text-shadow: none; }
.small-stars .star.hover    { color: rgba(201,168,76,.5); transform: scale(1.1); text-shadow: none; }

/* ── Form Groups ── */
.form-group { margin-bottom: 16px; position: relative; }
.form-group label {
    display: block; font-size: 11.5px; font-weight: 500;
    margin-bottom: 6px; color: var(--muted);
    letter-spacing: .3px; text-transform: uppercase;
}
.form-group .optional { font-size: 10px; color: #444; text-transform: none; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--card2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 14px; font-family: var(--font);
    color: var(--text);
    transition: border-color .2s, box-shadow .2s, background .2s;
    appearance: none;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(17,17,22,.95);
    box-shadow: 0 0 0 3px rgba(201,168,76,.08), 0 4px 16px rgba(0,0,0,.2);
}
.form-group textarea { resize: none; min-height: 90px; line-height: 1.6; }
.char-count { position: absolute; right: 12px; bottom: 10px; font-size: 10px; color: #3A3A42; }
.form-row { display: flex; gap: 12px; }
.form-group.half { flex: 1; min-width: 0; }

/* ── Photo Upload ── */
.photo-upload {
    border: 1.5px dashed rgba(255,255,255,.08);
    border-radius: var(--radius-sm); padding: 22px;
    text-align: center; cursor: pointer;
    position: relative; transition: all .3s;
    background: rgba(255,255,255,.012);
    overflow: hidden;
}
.photo-upload:hover {
    border-color: var(--gold-border);
    background: rgba(201,168,76,.025);
    box-shadow: inset 0 0 20px rgba(201,168,76,.04);
}
.photo-upload.uploaded { border-color: rgba(0,196,140,.35); background: rgba(0,196,140,.025); }
.photo-upload svg { width: 30px; height: 30px; stroke: var(--muted); margin-bottom: 6px; transition: all .3s; }
.photo-upload span { display: block; font-size: 12px; color: var(--muted); }
.photo-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.photo-upload .upload-inner { position: relative; z-index: 1; pointer-events: none; }

/* Photo preview */
.photo-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.photo-preview.has-photo { display: block; margin-top: 12px; }
.photo-preview.has-photo .photo-thumb-wrap { display: block; width: 100%; }
.photo-preview.has-photo .photo-thumb-wrap img {
    width: 100%; max-height: 240px; object-fit: cover;
    border-radius: 16px; border: 1px solid rgba(0,196,140,.25);
    box-shadow: 0 6px 24px rgba(0,0,0,.45);
}
.photo-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }

/* ── Rating Summary ── */
.rating-summary {
    background: var(--card2); border: 1px solid var(--border);
    border-radius: 14px; padding: 14px 16px; margin-bottom: 20px;
    position: relative; overflow: hidden;
}
.rating-summary::before {
    content: '';
    position: absolute; top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,.15), transparent);
}
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 12px; }
.summary-label { color: var(--muted); }
.summary-stars { color: var(--gold); letter-spacing: 1px; font-size: 12px; }

/* ── Buttons ── */
.btn-next, .btn-submit, .btn-back {
    display: flex; align-items: center; justify-content: center;
    gap: 8px; padding: 14px 28px; border-radius: 50px;
    font-size: 14px; font-weight: 600; font-family: var(--font);
    cursor: pointer; transition: all .28s cubic-bezier(.22,1,.36,1); border: none;
    letter-spacing: .2px;
}
.btn-next, .btn-submit {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 60%, var(--gold) 100%);
    background-size: 200% 100%;
    color: #000; width: 100%;
    box-shadow: 0 4px 20px rgba(201,168,76,.22);
    position: relative; overflow: hidden;
}
.btn-next::before, .btn-submit::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transition: left .5s ease;
}
.btn-next:hover::before, .btn-submit:hover::before { left: 150%; }
.btn-next:hover, .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(201,168,76,.32);
    background-position: right center;
}
.btn-next:active, .btn-submit:active { transform: translateY(0) scale(.98); }
.btn-next svg, .btn-submit svg, .btn-back svg { width: 16px; height: 16px; stroke-width: 2.5; flex-shrink: 0; }
.btn-back {
    background: var(--card2); border: 1px solid var(--border); color: var(--muted);
}
.btn-back:hover { border-color: var(--gold-border); color: var(--gold); background: var(--card3); }
.step-nav { display: flex; gap: 10px; margin-top: 16px; }
.step-nav .btn-next { flex: 1; }
.validation-msg { color: var(--red); font-size: 12px; text-align: center; margin: 8px 0; display: none; }
.validation-msg.visible { display: block; animation: shake .4s ease; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}
.required-star { color: #ff4757; font-weight: 700; }

/* ── Footer ── */
.review-footer {
    text-align: center; padding: 20px;
    color: rgba(255,255,255,.1); font-size: 11px;
    position: relative; z-index: 10;
}

/* ── Thank-You Page ── */
.thankyou-page {
    display: flex; flex-direction: column; align-items: center;
    min-height: 100vh; padding: 16px;
    background: var(--dark);
    position: relative;
}
.thankyou-page::before {
    content: ''; position: fixed; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(201,168,76,.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(124,106,247,.03) 0%, transparent 50%);
}
.thankyou-container { width: 100%; max-width: 440px; padding-top: 16px; position: relative; z-index: 1; }

.thankyou-logo {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    margin-bottom: 28px;
}
.thankyou-logo img { filter: brightness(1.1) drop-shadow(0 2px 12px rgba(201,168,76,.2)); }
.thankyou-location {
    font-size: 11px; color: var(--muted); font-weight: 400;
    letter-spacing: 2px; text-transform: uppercase;
}

.thankyou-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 24px; padding: clamp(24px, 6vw, 44px) clamp(18px, 5vw, 28px);
    text-align: center;
    box-shadow: 0 28px 72px rgba(0,0,0,.45), var(--shadow-gold);
    position: relative; overflow: hidden;
}
.thankyou-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.thankyou-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 120px;
    pointer-events: none;
}
.google-flow::before { background: linear-gradient(90deg, transparent, var(--gold), var(--gold-lt), var(--gold), transparent); }
.google-flow::after  { background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.08) 0%, transparent 60%); }
.negative-flow::before { background: linear-gradient(90deg, transparent, var(--purple), #a29bfe, var(--purple), transparent); }
.negative-flow::after  { background: radial-gradient(ellipse at 50% 0%, rgba(124,106,247,.07) 0%, transparent 60%); }

.thankyou-icon {
    width: clamp(60px, 16vw, 76px); height: clamp(60px, 16vw, 76px); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    position: relative;
}
.thankyou-icon::before {
    content: ''; position: absolute; inset: -6px;
    border-radius: 50%; border: 1px solid;
    opacity: .25; animation: iconRingPulse 2.5s ease-in-out infinite;
}
.thankyou-icon svg { width: 36px; height: 36px; }

.gold-pulse {
    background: linear-gradient(135deg, var(--gold), var(--gold-lt));
    animation: pulse 2.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(201,168,76,.4);
}
.gold-pulse::before { border-color: var(--gold); }
.gold-pulse svg { color: #000; }
.care-pulse {
    background: linear-gradient(135deg, var(--purple), #a29bfe);
    animation: pulse 2.2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(124,106,247,.4);
}
.care-pulse::before { border-color: var(--purple); }
.care-pulse svg { stroke: #fff; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
@keyframes iconRingPulse {
    0%, 100% { transform: scale(1); opacity: .25; }
    50%       { transform: scale(1.14); opacity: .08; }
}

.stars-display { display: flex; justify-content: center; gap: 5px; margin-bottom: 20px; }
.star-anim {
    font-size: clamp(26px, 8vw, 34px); color: var(--gold);
    animation: starPop .5s cubic-bezier(.22,1,.36,1) both;
    text-shadow: 0 0 18px rgba(201,168,76,.55);
}
.stars-display.dim .star-anim { color: rgba(255,255,255,.08); text-shadow: none; }
.stars-display.dim .star-anim.filled { color: var(--gold); text-shadow: 0 0 14px rgba(201,168,76,.35); }
@keyframes starPop {
    from { transform: scale(0) rotate(-20deg); opacity: 0; }
    70%  { transform: scale(1.25) rotate(5deg); }
    to   { transform: scale(1) rotate(0); opacity: 1; }
}

.thankyou-title {
    font-family: var(--font-display);
    font-size: clamp(20px, 6vw, 26px); font-weight: 400; font-style: italic;
    margin-bottom: 12px; letter-spacing: -.2px;
    line-height: 1.25;
}
.thankyou-subtitle {
    color: var(--text-2); font-size: 13px;
    line-height: 1.7; margin-bottom: 28px;
}

.btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: #fff; color: #222; font-family: var(--font);
    font-size: 14px; font-weight: 600; border: none;
    padding: 14px 28px; border-radius: 50px; cursor: pointer;
    text-decoration: none; margin-bottom: 14px;
    transition: all .28s; box-shadow: 0 6px 24px rgba(0,0,0,.3);
    width: 100%;
}
.btn-google:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.4); }

/* ── Google comment copy box ── */
.google-comment-box {
    width: 100%; background: rgba(212,175,55,.07); border: 1px solid rgba(212,175,55,.25);
    border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; text-align: left;
}
.gcb-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; color: var(--gold); text-transform: uppercase;
    letter-spacing: .5px; margin-bottom: 8px;
}
.gcb-text {
    font-size: 14px; color: var(--text-2); line-height: 1.55;
    background: rgba(255,255,255,.04); border-radius: 8px; padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.07); margin-bottom: 10px;
    white-space: pre-wrap; word-break: break-word; user-select: text;
}
.gcb-copy-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.35);
    color: var(--gold); border-radius: 20px; padding: 7px 16px;
    font-size: 12px; font-weight: 600; cursor: pointer;
    transition: all .2s; font-family: var(--font);
}
.gcb-copy-btn:hover, .gcb-copy-btn.copied { background: rgba(212,175,55,.3); border-color: var(--gold); }

.btn-skip {
    background: none; border: none; color: var(--muted); cursor: pointer;
    font-size: 12px; font-family: var(--font);
    text-decoration: none; margin-bottom: 24px;
    padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,.1);
    transition: color .2s, border-color .2s;
}
.btn-skip:hover { color: var(--text-2); border-color: rgba(255,255,255,.25); }

.countdown-ring {
    position: relative; width: 54px; height: 54px; margin: 0 auto 8px;
}
.countdown-ring svg { transform: rotate(-90deg); }
.countdown-ring #countdownNum {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-size: 16px; font-weight: 700; color: var(--gold);
}
.countdown-hint { font-size: 11px; color: var(--muted); margin-bottom: 20px; }

.alert-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(0,196,140,.08); border: 1px solid rgba(0,196,140,.18);
    padding: 10px 20px; border-radius: 50px; font-size: 13px;
    font-weight: 500; color: var(--green); margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0,196,140,.08);
}
.alert-badge svg { width: 16px; height: 16px; stroke: var(--green); stroke-width: 2; }
.comeback-msg { color: var(--muted); font-size: 13px; line-height: 1.6; margin-bottom: 22px; }

.thankyou-footer {
    padding: 24px 0;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.btn-back-to-landing {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.05); color: #888; text-decoration: none;
    padding: 13px 24px; border-radius: 50px; font-size: 13px; font-weight: 500;
    border: 1px solid rgba(255,255,255,.08); transition: all .25s;
    min-height: 44px;
}
.btn-back-to-landing:hover {
    color: var(--text); background: rgba(255,255,255,.09);
    transform: translateY(-1px); border-color: rgba(255,255,255,.14);
}
[dir="rtl"] .btn-back-to-landing svg { transform: scaleX(-1); }
.btn-contact-us {
    display: inline-flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff; text-decoration: none;
    padding: 13px 24px; border-radius: 50px; font-size: 13px; font-weight: 600;
    transition: all .25s; box-shadow: 0 4px 16px rgba(37,211,102,.2);
    min-height: 44px;
}
.btn-contact-us:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-contact-us svg { width: 16px; height: 16px; }

/* ── Confetti ── */
.confetti-burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti-piece {
    position: absolute; top: -20px;
    animation: confettiFall linear infinite;
    border-radius: 2px;
}
@keyframes confettiFall {
    to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ── Toast ── */
.toast {
    position: fixed; bottom: 24px; left: 50%;
    transform: translateX(-50%);
    background: var(--card2); border: 1px solid var(--gold-border);
    color: var(--text); padding: 11px 26px; border-radius: 50px;
    font-size: 13px; box-shadow: var(--shadow); z-index: 9999;
    animation: toastIn .3s ease;
    backdrop-filter: blur(16px);
}
@keyframes toastIn { from { opacity:0; transform: translateX(-50%) translateY(10px); } }

/* ── GPS Button ── */
.btn-gps {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold-dim); border: 1px solid var(--gold-border);
    color: var(--gold); padding: 10px 22px; border-radius: 50px;
    font-size: 13px; font-weight: 600; font-family: var(--font);
    cursor: pointer; transition: all .22s; margin-bottom: 16px;
    box-shadow: 0 0 16px rgba(201,168,76,.08);
}
.btn-gps:hover { background: rgba(201,168,76,.18); box-shadow: 0 4px 16px rgba(201,168,76,.15); }
.btn-gps svg { width: 16px; height: 16px; }
.loc-or { color: var(--muted); font-size: 11px; margin: 4px 0 12px; opacity: .6; }

/* ── Location Grid ── */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loc-btn {
    display: flex; align-items: center; gap: 10px;
    background: var(--card2); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 14px;
    font-size: 13px; font-weight: 500; font-family: var(--font);
    color: var(--text); cursor: pointer; text-align: left;
    transition: all .28s cubic-bezier(.22,1,.36,1);
}
.loc-btn:hover { border-color: rgba(255,255,255,.14); transform: translateY(-1px); background: var(--card3); }
.loc-btn.selected { border-color: var(--gold); background: rgba(201,168,76,.06); color: var(--gold-pale); }
.loc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 6px var(--loc-color, #888); }

/* ── Shift Selector ── */
.shift-selector { margin-bottom: 24px; }
.shift-label {
    font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 12px;
    text-align: center; letter-spacing: .5px; text-transform: uppercase;
}
.shift-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shift-btn {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    background: var(--card); border: 1.5px solid var(--border);
    border-radius: 16px; padding: 16px 10px;
    font-family: var(--font); cursor: pointer;
    transition: all .28s cubic-bezier(.22,1,.36,1); text-align: center;
}
.shift-btn:hover { border-color: var(--gold-border); transform: translateY(-1px); background: var(--card2); }
.shift-btn.selected {
    border-color: var(--gold); background: rgba(201,168,76,.06);
    box-shadow: 0 0 20px rgba(201,168,76,.10), 0 4px 16px rgba(0,0,0,.2);
}
.shift-icon { font-size: 22px; }
.shift-name { font-size: 13px; font-weight: 600; color: var(--text); }
.shift-hours { font-size: 10px; color: var(--muted); letter-spacing: .3px; }

/* ── Occasion Chips ── */
.occasion-row { margin-bottom: 20px; }
.occasion-row label,
.occasion-label {
    display: block; font-size: 11px; font-weight: 500;
    color: var(--muted); margin-bottom: 10px;
    letter-spacing: .3px; text-transform: uppercase;
}
.occasion-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
    display: inline-flex; align-items: center; gap: 4px;
    background: var(--card2); border: 1px solid var(--border);
    border-radius: 50px; padding: 7px 14px;
    font-size: 12px; font-family: var(--font); cursor: pointer;
    color: var(--muted); transition: all .2s;
    user-select: none;
}
.chip:hover { border-color: var(--gold-border); color: var(--text-2); background: var(--card3); }
.chip.selected { border-color: var(--gold); background: var(--gold-dim); color: var(--gold-pale); }

/* ── Phone Input ── */
.phone-input-wrap { display: flex; flex-direction: column; gap: 6px; }
.phone-input-wrap input { width: 100%; }
.phone-hint {
    display: none;
    background: rgba(201,168,76,.05); border: 1px solid rgba(201,168,76,.14);
    border-radius: 10px; padding: 10px 14px;
    font-size: 11px; color: var(--gold); line-height: 1.5; margin-top: 4px;
}
.phone-hint.visible { display: block; }
.phone-badge {
    display: inline-flex; align-items: center; gap: 4px;
    align-self: flex-start;
    background: rgba(0,196,140,.08); border: 1px solid rgba(0,196,140,.18);
    color: var(--green); border-radius: 50px; padding: 3px 10px;
    font-size: 10px; font-weight: 600;
}

/* ── WA Notify Strip ── */
.wa-notify-strip { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.wa-notify-label { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.btn-wa-notify {
    display: inline-flex; align-items: center; gap: 8px;
    background: #25D366; color: #fff; border: none;
    padding: 12px 22px; border-radius: 50px;
    font-size: 13px; font-weight: 600; font-family: var(--font);
    cursor: pointer; transition: all .25s;
    box-shadow: 0 4px 16px rgba(37,211,102,.25);
}
.btn-wa-notify:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }

/* ── Location Badge ── */
.loc-color-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 4px; }

/* ── Step dots clickable ── */
.step.done { cursor: pointer; }
.step.done:hover .step-dot { transform: scale(1.1); }

/* ── Photo thumb wrap ── */
.photo-thumb-wrap { position: relative; display: inline-block; }
.photo-thumb-wrap img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.photo-remove {
    position: absolute; top: 8px; right: 8px;
    background: rgba(0,0,0,.7); color: #fff; border: none;
    border-radius: 50%; width: 26px; height: 26px;
    font-size: 11px; cursor: pointer; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; backdrop-filter: blur(4px); z-index: 5;
    transition: background .2s;
}
.photo-remove:hover { background: var(--red); }

/* ── Menu Chip ── */
.menu-chip-wrap {
    position: relative; z-index: 10;
    max-width: 520px; margin: 0 auto;
    padding: 10px 16px 0;
}
.menu-chip {
    display: flex; align-items: center; gap: 9px;
    width: 100%; padding: 12px 16px;
    background: rgba(201,168,76,.07);
    border: 1px solid var(--gold-border);
    border-radius: 14px; color: var(--gold);
    font-family: var(--font); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all .22s;
    box-shadow: 0 0 16px rgba(201,168,76,.06);
}
.menu-chip:hover, .menu-chip:active {
    background: rgba(201,168,76,.14); border-color: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(201,168,76,.14);
}
.menu-chip svg { width: 15px; height: 15px; stroke: var(--gold); flex-shrink: 0; }
.menu-chip-arrow { margin-left: auto; width: 15px; height: 15px; stroke: var(--muted); flex-shrink: 0; }

/* ── Menu Viewer ── */
.menu-viewer-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: #040406;
    display: flex; flex-direction: column;
    opacity: 0; pointer-events: none;
    transition: opacity 0.28s ease;
    overscroll-behavior: contain;
}
.menu-viewer-overlay.open { opacity: 1; pointer-events: all; }
.menu-viewer-header {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    background: rgba(4,4,6,0.97);
    border-bottom: 1px solid rgba(201,168,76,.12);
    flex-shrink: 0; z-index: 10;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.menu-viewer-title {
    flex: 1; font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.85);
    display: flex; align-items: center; gap: 8px;
    overflow: hidden; min-width: 0;
}
.menu-viewer-title span { display: flex; flex-direction: column; overflow: hidden; }
.menu-viewer-title span > :first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-viewer-hint {
    font-size: 10px; color: rgba(255,255,255,.25);
    font-weight: 400; font-style: normal;
    display: block; margin-top: 1px; white-space: nowrap;
}
.menu-viewer-counter {
    font-size: 11px; font-weight: 600; letter-spacing: .4px;
    color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.07);
    padding: 3px 10px; border-radius: 20px;
    white-space: nowrap; flex-shrink: 0;
}
.menu-viewer-btn {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0; transition: all .2s;
}
.menu-viewer-btn:hover, .menu-viewer-btn:active { background: rgba(255,255,255,.15); color: #fff; }
.menu-viewer-btn svg { width: 16px; height: 16px; }
.menu-viewer-btn.back { border-radius: 50%; }
.menu-viewer-track {
    flex: 1; position: relative; overflow: hidden;
    touch-action: none;
}
.menu-viewer-slides {
    display: flex; width: 100%; height: 100%;
    will-change: transform; transition: none;
}
.menu-viewer-slide {
    width: 100vw; min-width: 100vw; height: 100%;
    flex-shrink: 0; position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; box-sizing: border-box;
}
.menu-viewer-slide img {
    max-width:  calc(100vw - 20px);
    max-height: calc(100% - 20px);
    object-fit: contain; display: block;
    border-radius: 8px;
    box-shadow: 0 16px 64px rgba(0,0,0,.9);
    user-select: none; -webkit-user-drag: none; -webkit-user-select: none;
    pointer-events: none;
    opacity: 0; transition: opacity 0.35s ease;
}
.menu-viewer-slide img.loaded { opacity: 1; }
.menu-viewer-nav {
    display: none !important;
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.8);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 5;
    transition: background .2s; pointer-events: all;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.menu-viewer-nav:hover  { background: rgba(255,255,255,.2); color: #fff; }
.menu-viewer-nav.prev   { left: 10px; }
.menu-viewer-nav.next   { right: 10px; }
.menu-viewer-nav svg    { width: 20px; height: 20px; }
.menu-viewer-dots {
    display: flex; align-items: center; justify-content: center;
    gap: 7px; padding: 10px 16px 14px; flex-shrink: 0;
    background: rgba(4,4,6,.75);
}
.menu-viewer-dots span {
    width: 6px; height: 6px; border-radius: 3px;
    background: rgba(255,255,255,.18);
    transition: all .25s ease; cursor: pointer;
}
.menu-viewer-dots span.active { background: var(--gold); width: 24px; }

/* ── Responsive ── */
@media (max-width: 430px) {
    .form-row { flex-direction: column; }
}
@media (max-width: 390px) {
    .form-container { padding: 16px 14px 40px; }
    .location-grid { grid-template-columns: 1fr; }
    .shift-grid { grid-template-columns: repeat(2, 1fr); }
    .mood-btn { font-size: 26px; width: 46px; height: 46px; }
    .mood-selector { gap: 5px; }
    .step-header { margin-bottom: 20px; }
    .step-header-inner { padding: 14px 16px 12px; }
    .step-title { font-size: clamp(19px, 5.5vw, 24px); }
    .step-subtitle { font-size: 11px; }
    .steps-indicator { margin-bottom: 22px; }
    .category-card { padding: 12px 8px; border-radius: 12px; }
    .category-icon { font-size: 20px; }
    .category-name { font-size: 11px; }
    .lang-switcher a { padding: 5px 9px; font-size: 10px; }
    .review-header { padding: 8px 14px; }
    .logo { height: 34px; }
    .context-badge { padding: 7px 14px; gap: 10px; }
}
@media (max-width: 340px) {
    .form-container { padding: 12px 10px 36px; }
    .mood-btn { font-size: 22px; width: 44px; height: 44px; }
    .mood-selector { gap: 4px; }
    .categories-grid { gap: 7px; }
    .step-line { min-width: 20px; }
    .step-dot { width: 32px; height: 32px; font-size: 11px; }
}
@media (min-width: 600px) {
    .form-container { padding: 32px 24px 56px; }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Responsive: thank-you ── */
@media (max-width: 390px) {
    .thankyou-footer { padding: 16px 0; gap: 10px; }
    .thankyou-logo { margin-bottom: 20px; }
    .alert-badge { padding: 9px 14px; font-size: 12px; }
    .btn-back-to-landing, .btn-contact-us { font-size: 13px; padding: 13px 20px; }
}
@media (max-width: 340px) {
    .thankyou-footer { flex-direction: column; align-items: stretch; }
    .btn-back-to-landing, .btn-contact-us { justify-content: center; }
}

/* ── RTL ── */
[dir="rtl"] .btn-back-landing svg { transform: scaleX(-1); }
[dir="rtl"] .btn-next svg         { transform: scaleX(-1); }
[dir="rtl"] .btn-back svg         { transform: scaleX(-1); }

/* ── Preloader ── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #09090C;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-logo {
    width: 200px;
    animation: starPulse 1.2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(200,16,46,0.5));
}
@keyframes starPulse {
    0%   { transform: scale(0.88); opacity: 0.7; }
    50%  { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.88); opacity: 0.7; }
}
