/* ===== WORLD-CLASS FEATURES CSS ===== */
/* Styles for: Gift Cards, Referral, Geofence, Music, Stories, Streaks, AR, Voice, Queue, Mood */

/* ── Gift Cards ── */
.gift-card-fab {
    position: fixed;
    bottom: 190px;
    right: 20px;
    z-index: 900;
}
.gift-card-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #D4A017, #b8860b);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 160, 23, .4);
    transition: transform .2s, box-shadow .2s;
}
.gift-card-trigger:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(212, 160, 23, .5); }
.gift-trigger-icon { font-size: 1.2rem; }

.gift-card-modal .gift-card-content {
    max-width: 500px;
    padding: 2rem;
}
.gift-card-title { color: var(--gold, #D4A017); margin-bottom: .25rem; }
.gift-card-subtitle { color: #aaa; margin-bottom: 1.5rem; }
.gift-card-step.hidden { display: none; }
.gift-card-step h3 { margin-bottom: 1rem; color: #e8d5b7; font-size: 1rem; }

.gift-designs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.gift-design-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
    color: #fff;
}
.gift-design-btn.selected { border-color: #fff; transform: scale(1.05); }
.gift-design-emoji { font-size: 1.8rem; margin-bottom: 6px; }
.gift-design-label { font-size: .75rem; font-weight: 600; }

.gift-amounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 1rem;
}
.gift-amount-btn {
    padding: 12px;
    background: rgba(255,255,255,.06);
    border: 2px solid rgba(255,255,255,.15);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.gift-amount-btn.selected { border-color: var(--gold, #D4A017); background: rgba(212,160,23,.15); }
.gift-custom-amount { margin-top: .5rem; }
.gift-custom-amount input {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}
.gift-custom-amount label { font-size: .8rem; color: #aaa; display: block; margin-bottom: 4px; }

.gift-card-step input[type="text"], .gift-card-step textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: #fff;
    font-size: .95rem;
    margin-bottom: .75rem;
}
.gift-card-step textarea { resize: vertical; }

.gift-preview-card {
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    color: #fff;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}
.gift-preview-logo { font-size: .8rem; opacity: .8; text-transform: uppercase; letter-spacing: 2px; }
.gift-preview-emoji { font-size: 2.5rem; }
.gift-preview-label { font-size: 1.1rem; font-weight: 600; }
.gift-preview-amount { font-size: 2rem; font-weight: 700; }
.gift-preview-message { font-style: italic; opacity: .9; }

.gift-card-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.gift-success { text-align: center; padding: 2rem 0; }
.gift-success-icon { font-size: 3rem; margin-bottom: 1rem; }
.gift-code-display {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold, #D4A017);
    background: rgba(212,160,23,.1);
    padding: 12px 24px;
    border-radius: 10px;
    margin: 1rem 0;
    font-family: monospace;
}
.gift-share-btns {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.gift-share-btns button {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: .85rem;
}
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-copy { background: rgba(255,255,255,.15); color: #fff; }
.btn-sms { background: #2196F3; color: #fff; }

/* ── Referral ── */
.referral-fab {
    position: fixed;
    bottom: 240px;
    right: 20px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, .4);
    transition: transform .2s;
}
.referral-fab:hover { transform: translateY(-2px); }
.referral-fab-icon { font-size: 1.1rem; }

.referral-modal .referral-content { max-width: 480px; padding: 2rem; }
.referral-header { text-align: center; margin-bottom: 1.5rem; }
.referral-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.referral-header h2 { color: #e8d5b7; }
.referral-header p { color: #aaa; }

.referral-badge-display {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold, #D4A017);
    margin-bottom: .75rem;
}
.referral-progress {
    height: 6px;
    background: rgba(255,255,255,.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: .5rem;
}
.referral-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width .5s ease;
}
.referral-progress-text { font-size: .75rem; color: #aaa; text-align: center; margin-bottom: 1rem; }

.referral-code-section, .referral-link-section { margin-bottom: 1rem; }
.referral-code-section label, .referral-link-section label {
    display: block;
    font-size: .75rem;
    color: #aaa;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.referral-code-box, .referral-link-box {
    display: flex;
    gap: 8px;
    align-items: center;
}
.referral-code-text {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold, #D4A017);
}
.referral-link-box input {
    flex: 1;
    padding: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    color: #ccc;
    font-size: .85rem;
}
.referral-copy-btn {
    padding: 10px 16px;
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.referral-share-grid {
    display: flex;
    gap: 8px;
    margin: 1rem 0;
    flex-wrap: wrap;
}
.referral-share-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: .85rem;
    min-width: 100px;
}
.referral-share-btn.whatsapp { background: #25D366; color: #fff; }
.referral-share-btn.sms { background: #2196F3; color: #fff; }
.referral-share-btn.native { background: rgba(255,255,255,.15); color: #fff; }

.referral-how-it-works { margin: 1.5rem 0; }
.referral-how-it-works h3 { font-size: .9rem; color: #e8d5b7; margin-bottom: .75rem; }
.referral-steps {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}
.referral-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: #ccc;
}
.step-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    font-weight: 700;
    font-size: .7rem;
    color: #fff;
    flex-shrink: 0;
}

.referral-tiers { margin-top: 1.5rem; }
.referral-tiers h3 { font-size: .9rem; color: #e8d5b7; margin-bottom: .75rem; }
.referral-tier {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    background: rgba(255,255,255,.03);
    opacity: .5;
    transition: opacity .2s;
}
.referral-tier.achieved { opacity: 1; background: rgba(212,160,23,.1); }
.tier-emoji { font-size: 1.2rem; }
.tier-name { flex: 1; font-weight: 600; color: #e8d5b7; font-size: .85rem; }
.tier-count { font-size: .75rem; color: #aaa; }
.tier-check { color: #4ade80; font-weight: 700; }

/* ── Geofence ── */
.im-here-btn {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: #fff;
    border: none;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 8px 30px rgba(76, 175, 80, .5);
}
.im-here-btn.pulse-animation { animation: imHerePulse 2s infinite; }
@keyframes imHerePulse {
    0%, 100% { box-shadow: 0 8px 30px rgba(76, 175, 80, .5); }
    50% { box-shadow: 0 8px 50px rgba(76, 175, 80, .8); }
}
.im-here-icon { font-size: 1.5rem; }
.im-here-text { font-size: 1rem; }
.im-here-sub { font-size: .7rem; opacity: .8; }
.im-here-confirmed { background: linear-gradient(135deg, #2196F3, #1565C0); }

.nearby-banner, .geofence-optin {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
}
.nearby-banner.slide-in, .geofence-optin.slide-in {
    animation: slideDown .4s ease forwards;
}
.nearby-banner.slide-out { animation: slideUp .3s ease forwards; }
@keyframes slideDown { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes slideUp { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(-20px); } }

.nearby-content, .geofence-optin-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(30, 20, 14, .95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 160, 23, .3);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.nearby-icon, .geofence-optin-icon { font-size: 1.5rem; }
.nearby-text strong, .geofence-optin-text strong { color: #e8d5b7; }
.nearby-text p, .geofence-optin-text p { font-size: .8rem; color: #aaa; margin: 2px 0 0; }
.nearby-dismiss {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
}
.geofence-optin-actions { display: flex; gap: 6px; flex-shrink: 0; }
.geofence-optin-yes {
    padding: 6px 14px;
    background: var(--gold, #D4A017);
    color: #1e140e;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: .8rem;
    cursor: pointer;
}
.geofence-optin-no {
    padding: 6px 14px;
    background: rgba(255,255,255,.1);
    color: #ccc;
    border: none;
    border-radius: 20px;
    font-size: .8rem;
    cursor: pointer;
}

/* ── Music Player ── */
.music-mini-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 900;
    transition: all .3s ease;
}
.music-toggle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1DB954, #191414);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.4);
    transition: transform .2s;
}
.music-toggle-btn:hover { transform: scale(1.1); }
.music-note-icon { animation: noteFloat 2s ease-in-out infinite; }
@keyframes noteFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

.music-player-expanded {
    display: none;
    background: rgba(25, 20, 20, .96);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 10px;
    width: 280px;
    box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.music-mini-player.expanded .music-player-expanded { display: block; animation: fadeInUp .3s ease; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.music-player-header { margin-bottom: 12px; }
.music-playlist-name { display: block; font-size: .75rem; color: #aaa; text-transform: uppercase; letter-spacing: .5px; }
.music-track-name { display: block; font-size: .95rem; font-weight: 600; color: #e8d5b7; margin-top: 2px; }

.music-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.music-ctrl-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: none;
    color: #fff;
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.music-ctrl-btn:hover { background: rgba(255,255,255,.15); }
.music-play-btn {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    background: var(--gold, #D4A017);
    color: #1e140e;
}
.music-play-btn:hover { background: #b8860b; }

.music-volume-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.music-vol-icon { font-size: .8rem; }
.music-volume-row input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: rgba(255,255,255,.15);
    border-radius: 2px;
    outline: none;
}
.music-volume-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--gold, #D4A017);
    border-radius: 50%;
    cursor: pointer;
}

.music-playlists { display: flex; flex-wrap: wrap; gap: 6px; }
.music-playlist-btn {
    padding: 4px 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    color: #ccc;
    font-size: .7rem;
    cursor: pointer;
    transition: all .2s;
}
.music-playlist-btn:hover, .music-playlist-btn.active { border-color: var(--gold, #D4A017); color: var(--gold, #D4A017); }

.music-mini-player.playing .music-toggle-btn { animation: musicPulse 1.5s ease-in-out infinite; }
@keyframes musicPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(29, 185, 84, .4); }
    50% { box-shadow: 0 4px 25px rgba(29, 185, 84, .7); }
}

/* ── Stories ── */
.stories-carousel {
    padding: 16px 0;
    overflow: hidden;
    background: rgba(0,0,0,.15);
}
.stories-scroll {
    display: flex;
    gap: 14px;
    padding: 8px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.stories-scroll::-webkit-scrollbar { display: none; }

.story-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.story-avatar-ring {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--gold, #D4A017), #ff6b9d, #667eea);
    transition: transform .2s;
}
.story-bubble:hover .story-avatar-ring { transform: scale(1.08); }
.story-bubble.viewed .story-avatar-ring { background: rgba(255,255,255,.2); }
.story-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #2c1810;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.story-author { font-size: .65rem; color: #ccc; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Story Viewer */
.story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}
.story-progress-bar {
    display: flex;
    gap: 3px;
    padding: 8px 12px;
    z-index: 2;
}
.story-progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,.2);
    border-radius: 2px;
    overflow: hidden;
}
.story-progress-segment.filled .story-progress-fill { width: 100%; }
.story-progress-segment.active .story-progress-fill { animation: storyProgress 5s linear forwards; }
.story-progress-fill { width: 0; height: 100%; background: #fff; border-radius: 2px; }
@keyframes storyProgress { to { width: 100%; } }

.story-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    z-index: 2;
}
.story-header-info { display: flex; align-items: center; gap: 10px; }
.story-header-avatar { font-size: 1.5rem; }
.story-header-name { color: #fff; font-weight: 600; font-size: .9rem; }
.story-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 8px; }

.story-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.story-image-container { position: relative; width: 100%; height: 100%; }
.story-image { width: 100%; height: 100%; object-fit: cover; }
.story-caption {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
    font-size: 1rem;
    text-align: center;
}
.story-text-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.story-text-content {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

.story-nav { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; z-index: 1; }
.story-nav-prev, .story-nav-next {
    flex: 1;
    background: none;
    border: none;
    cursor: pointer;
}

/* ── Streaks ── */
.streak-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 8px;
    width: 260px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    transform: translateX(-50%) translateY(-8px);
}
.streak-dropdown--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.streak-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}
.streak-card.active { border-color: rgba(255, 107, 0, .3); background: rgba(255, 107, 0, .05); }
.streak-header { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
.streak-fire { font-size: 1.5rem; }
.streak-title { color: #e8d5b7; font-size: 1rem; margin: 0; }
.streak-number { font-size: 3rem; font-weight: 800; color: var(--gold, #D4A017); line-height: 1; }
.streak-label { color: #aaa; font-size: .85rem; margin-bottom: 8px; }
.streak-best { font-size: .75rem; color: #aaa; margin-bottom: 8px; }
.streak-next { margin-top: 12px; }
.streak-progress {
    height: 6px;
    background: rgba(255,255,255,.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 6px;
}
.streak-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b00, #D4A017);
    border-radius: 3px;
    transition: width .5s ease;
}
.streak-next span { font-size: .75rem; color: #aaa; }
.streak-daily-bonus {
    margin-top: 8px;
    padding: 6px 14px;
    background: rgba(212, 160, 23, .1);
    border-radius: 20px;
    display: inline-block;
    font-size: .8rem;
    color: var(--gold, #D4A017);
    font-weight: 600;
}
.streak-cta { color: #aaa; font-size: .85rem; margin-top: 8px; }
.streak-max { color: var(--gold, #D4A017); font-weight: 600; margin-top: 8px; }

.streak-milestone-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.streak-milestone-overlay.active { opacity: 1; }
.streak-milestone-card {
    background: linear-gradient(145deg, #2c1810, #1e140e);
    border: 2px solid var(--gold, #D4A017);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    max-width: 350px;
    animation: bounceIn .5s ease;
}
@keyframes bounceIn {
    0% { transform: scale(.5); opacity: 0; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}
.streak-milestone-emoji { font-size: 3rem; margin-bottom: .5rem; }
.streak-milestone-title { color: var(--gold, #D4A017); font-size: 1.5rem; margin-bottom: .25rem; }
.streak-milestone-days { color: #aaa; margin-bottom: .75rem; }
.streak-milestone-reward {
    font-size: 1.3rem;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 1rem;
}
.streak-fire-animation { display: flex; justify-content: center; gap: 8px; margin-bottom: 1rem; }
.streak-fire-animation span { font-size: 1.5rem; animation: fireFlicker .8s ease-in-out infinite alternate; }
.streak-fire-animation span:nth-child(2) { animation-delay: .2s; }
.streak-fire-animation span:nth-child(3) { animation-delay: .4s; }
@keyframes fireFlicker { from { transform: translateY(0) scale(1); } to { transform: translateY(-5px) scale(1.1); } }
.streak-milestone-btn {
    padding: 12px 32px;
    background: var(--gold, #D4A017);
    color: #1e140e;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

/* ── AR Preview ── */
.ar-preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(103, 58, 183, .15);
    border: 1px solid rgba(103, 58, 183, .3);
    border-radius: 6px;
    color: #b39ddb;
    font-size: .7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.ar-preview-btn:hover { background: rgba(103, 58, 183, .25); }
.ar-icon { font-size: .85rem; }

.ar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}
.ar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0,0,0,.7);
    z-index: 2;
}
.ar-title { color: #fff; font-weight: 600; font-size: .9rem; }
.ar-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

.ar-camera-container { flex: 1; position: relative; overflow: hidden; }
.ar-camera-container video { width: 100%; height: 100%; object-fit: cover; }
.ar-camera-container canvas { display: none; }
.ar-food-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: auto;
    touch-action: none;
}
.ar-food-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.5));
}
.ar-instructions {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,.7);
    font-size: .8rem;
}

.ar-controls {
    display: flex;
    gap: 12px;
    padding: 16px;
    justify-content: center;
    background: rgba(0,0,0,.7);
}
.ar-ctrl-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: .9rem;
}
#arCapture { background: rgba(255,255,255,.15); color: #fff; }
#arAddToCart { background: var(--gold, #D4A017); color: #1e140e; }

.ar-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
}
.ar-fallback-image { max-width: 300px; border-radius: 16px; margin-bottom: 16px; }
.ar-fallback p { color: #aaa; text-align: center; }

/* ── Voice Ordering ── */
.voice-order-fab {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196F3, #1565C0);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(33, 150, 243, .4);
    transition: transform .2s;
}
.voice-order-fab:hover { transform: scale(1.1); }

.voice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}
.voice-overlay.active { display: flex; }
.voice-overlay-content { text-align: center; max-width: 350px; width: 90%; }

.voice-indicator {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}
.voice-mic-main {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196F3, #1565C0);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: background .2s;
}
.voice-mic-main.listening { background: linear-gradient(135deg, #F44336, #C62828); }
.voice-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(33, 150, 243, .3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}
.voice-indicator.active .voice-ripple {
    animation: voiceRipple 1.5s ease-out infinite;
}
.voice-indicator.active .voice-ripple:nth-child(2) { animation-delay: .5s; }
.voice-indicator.active .voice-ripple:nth-child(3) { animation-delay: 1s; }
@keyframes voiceRipple {
    from { width: 80px; height: 80px; opacity: .6; }
    to { width: 160px; height: 160px; opacity: 0; }
}

.voice-transcript {
    color: #fff;
    font-size: 1.2rem;
    min-height: 2em;
    margin-bottom: 12px;
}
.voice-transcript.final { color: var(--gold, #D4A017); }
.voice-hint { color: #aaa; font-size: .8rem; margin-bottom: 24px; }
.voice-close-btn {
    padding: 10px 24px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 30px;
    color: #fff;
    font-size: .9rem;
    cursor: pointer;
}

/* ── Live Queue ── */
.live-queue-widget { padding: 0 20px; margin: 16px 0; }
.queue-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 16px;
}
.queue-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.queue-status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.queue-status-label { font-weight: 600; color: #e8d5b7; font-size: .9rem; }
.queue-live-badge {
    margin-left: auto;
    padding: 2px 8px;
    background: #F44336;
    color: #fff;
    border-radius: 4px;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }

.queue-body {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 10px;
}
.queue-metric { text-align: center; flex: 1; min-width: 80px; }
.queue-metric-value { display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold, #D4A017); }
.queue-metric-label { font-size: .7rem; color: #aaa; text-transform: uppercase; letter-spacing: .5px; }
.queue-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 2px;
    overflow: hidden;
}
.queue-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width .5s ease;
}
.queue-message { font-size: .85rem; color: #ccc; margin-top: 8px; }
.queue-closed p { color: #aaa; text-align: center; padding: 12px 0; }
.queue-footer { margin-top: 8px; }
.queue-peak-hours { font-size: .7rem; color: #888; }

.checkout-estimate {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(76, 175, 80, .1);
    border: 1px solid rgba(76, 175, 80, .2);
    border-radius: 10px;
    margin: 10px 0;
}
.estimate-icon { font-size: 1.2rem; }
.estimate-text { font-size: .85rem; color: #ccc; }

/* ── Mood Ordering ── */
.mood-order-section {
    padding: 40px 20px;
}
.mood-order-section .section-header { text-align: center; margin-bottom: 24px; }
.mood-title { color: #e8d5b7; font-size: 1.5rem; margin-bottom: 4px; }
.mood-subtitle { color: #aaa; font-size: .9rem; }

.mood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}
.mood-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}
.mood-card:hover {
    border-color: var(--mood-color, rgba(255,255,255,.2));
    background: rgba(255,255,255,.07);
    transform: translateY(-2px);
}
.mood-emoji { font-size: 2rem; }
.mood-label { font-weight: 600; color: #e8d5b7; font-size: .85rem; }
.mood-desc { font-size: .7rem; color: #aaa; line-height: 1.3; }

.mood-results-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}
.mood-results-overlay.active { opacity: 1; }
.mood-results-content {
    background: #1e140e;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    max-width: 420px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}
.mood-results-header {
    padding: 24px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}
.mood-results-emoji { font-size: 2.5rem; }
.mood-results-header h2 { color: #fff; margin: 8px 0 4px; }
.mood-results-header p { color: rgba(255,255,255,.8); font-size: .9rem; }

.mood-results-list { padding: 16px; }
.mood-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    margin-bottom: 8px;
}
.mood-result-name { color: #e8d5b7; font-weight: 500; font-size: .9rem; }
.mood-add-btn {
    padding: 6px 14px;
    background: var(--gold, #D4A017);
    color: #1e140e;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: .8rem;
    cursor: pointer;
}
.mood-add-btn:disabled { background: #4ade80; color: #fff; }
.mood-no-results { text-align: center; padding: 16px; }
.mood-no-results p { color: #aaa; margin-bottom: 12px; }
.mood-suggestion {
    padding: 8px 14px;
    background: rgba(212, 160, 23, .1);
    border-radius: 8px;
    color: var(--gold, #D4A017);
    margin-bottom: 6px;
    font-weight: 500;
}

.mood-highlight { animation: moodGlow 2s ease-in-out; }
@keyframes moodGlow {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: 0 0 20px rgba(212, 160, 23, .4); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .gift-designs-grid { grid-template-columns: repeat(2, 1fr); }
    .gift-amounts-grid { grid-template-columns: repeat(2, 1fr); }
    .referral-steps { flex-direction: column; gap: 8px; }
    .mood-grid { grid-template-columns: repeat(2, 1fr); }
    .music-player-expanded { width: 250px; }
    .referral-fab { bottom: 200px; }
    .gift-card-fab { bottom: 150px; }
}
