:root {
    --gold: #C5B358;
    --gold-light: #e8d48a;
    --gold-dim: rgba(197, 179, 88, 0.15);
    --neon-green: #00ff9d;
    --neon-red: #ff2a6d;
    --bg: #080a0f;
    --bg-card: #0d1018;
    --bg-elevated: #131720;
    --border: rgba(197, 179, 88, 0.2);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --text: #f0ede6;
    --text-muted: #6b7280;
    --text-dim: #9ca3af;
    --radius: 16px;
    --shadow-gold: 0 0 40px rgba(197, 179, 88, 0.15);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── BACKGROUND ATMOSPHERE ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(197, 179, 88, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 90% 80%, rgba(0, 255, 157, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 10% 60%, rgba(197, 179, 88, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Felt texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.app {
    position: relative;
    z-index: 1;
}

/* ── AUTH SCREEN ── */
#authScreen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.auth-logo {
    width: 90px;
    height: 90px;
    margin-bottom: 32px;
    filter: drop-shadow(0 0 20px rgba(197, 179, 88, 0.4));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.auth-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    letter-spacing: 6px;
    color: var(--gold);
    text-shadow: 0 0 40px rgba(197, 179, 88, 0.4);
    line-height: 1;
    margin-bottom: 8px;
}

.auth-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-gold);
}

.auth-card h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 8px;
}

.auth-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-google:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
    box-shadow: 0 0 20px rgba(197, 179, 88, 0.2);
    transform: translateY(-2px);
}

.auth-tagline {
    margin-top: 32px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    opacity: 0.7;
}

/* ── MAIN APP ── */
#memberApp {
    display: none;
}

/* ── HEADER ── */
.app-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(197, 179, 88, 0.4));
}

.header-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--gold);
}

.btn-signout {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s;
}

.btn-signout:hover {
    border-color: var(--neon-red);
    color: var(--neon-red);
}

/* ── SCROLL CONTAINER ── */
.scroll-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 20px 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── MEMBER HERO CARD ── */
.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-gold);
    animation: fadeSlideUp 0.5s ease both;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Pool ball decorative element */
.hero-card::after {
    content: '🎱';
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 5rem;
    opacity: 0.04;
    transform: rotate(-15deg);
}

.member-greeting {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.member-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--text);
    line-height: 1;
    margin-bottom: 16px;
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tier-badge.pro {
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.2), rgba(197, 179, 88, 0.05));
    border: 1px solid rgba(197, 179, 88, 0.5);
    color: var(--gold-light);
    box-shadow: 0 0 15px rgba(197, 179, 88, 0.15);
}

.tier-badge.free {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.tier-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.tier-badge.pro .tier-dot {
    background: var(--gold);
    box-shadow: 0 0 6px var(--gold);
}

.tier-badge.free .tier-dot {
    background: var(--text-muted);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.hero-stat {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 14px;
}

.hero-stat-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.hero-stat-value {
    font-family: 'DM Mono', monospace;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text);
}

.hero-stat-value.gold {
    color: var(--gold);
}

.hero-stat-value.green {
    color: var(--neon-green);
}

/* ── POINTS CARD ── */
.points-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp 0.5s 0.1s ease both;
}

.card-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

/* Points Ring */
.points-ring-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
}

.ring-container {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.ring-svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.ring-fill {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 314;
    stroke-dashoffset: 314;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ring-fill.pro {
    stroke: var(--gold);
    filter: drop-shadow(0 0 6px rgba(197, 179, 88, 0.6));
}

.ring-fill.shadow {
    stroke: #333;
}

.ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-pts {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    line-height: 1;
}

.ring-pts.pro {
    color: var(--gold);
    text-shadow: 0 0 15px rgba(197, 179, 88, 0.5);
}

.ring-pts.shadow {
    color: #444;
}

.ring-label {
    font-size: 0.55rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
}

.points-info {
    flex: 1;
}

.points-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 8px;
}

.points-sub {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 14px;
}

.progress-bar-wrap {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    box-shadow: 0 0 8px rgba(197, 179, 88, 0.5);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.progress-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Shadow/upgrade section */
.upgrade-nudge {
    margin-top: 20px;
    background: rgba(197, 179, 88, 0.04);
    border: 1px solid rgba(197, 179, 88, 0.15);
    border-radius: 12px;
    padding: 16px;
}

.shadow-pts-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

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

.shadow-value {
    font-family: 'DM Mono', monospace;
    font-size: 1rem;
    color: #555;
    text-decoration: line-through;
}

.upgrade-tagline {
    font-size: 0.78rem;
    color: var(--gold);
    line-height: 1.5;
    margin-bottom: 14px;
    font-style: italic;
    opacity: 0.9;
}

.btn-upgrade {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.2), rgba(197, 179, 88, 0.08));
    border: 1px solid rgba(197, 179, 88, 0.4);
    border-radius: 10px;
    color: var(--gold-light);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-upgrade:hover {
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.3), rgba(197, 179, 88, 0.15));
    box-shadow: 0 0 20px rgba(197, 179, 88, 0.2);
    transform: translateY(-1px);
}

.btn-upgrade span {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    opacity: 0.7;
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
    font-weight: 400;
}

/* ── RESERVATION CARD ── */
.section-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 24px;
    animation: fadeSlideUp 0.5s 0.2s ease both;
}

.no-res {
    text-align: center;
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.res-item-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.res-date-block {
    text-align: center;
    background: var(--gold-dim);
    border: 1px solid rgba(197, 179, 88, 0.2);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 56px;
}

.res-month {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.res-day {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--gold);
    line-height: 1;
}

.res-details {
    flex: 1;
}

.res-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 3px;
}

.res-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.res-status-pill {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.status-awaiting {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-arrived {
    background: rgba(197, 179, 88, 0.12);
    color: var(--gold);
    border: 1px solid rgba(197, 179, 88, 0.3);
}

.status-cancelled {
    background: rgba(255, 42, 109, 0.08);
    color: var(--neon-red);
    border: 1px solid rgba(255, 42, 109, 0.2);
}

.status-noshow {
    background: rgba(255, 42, 109, 0.08);
    color: var(--neon-red);
    border: 1px solid rgba(255, 42, 109, 0.2);
}

/* ── HISTORY ── */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: border-color 0.2s;
}

.history-item:hover {
    border-color: rgba(197, 179, 88, 0.2);
}

.history-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.history-icon.earn {
    background: rgba(197, 179, 88, 0.1);
    border: 1px solid rgba(197, 179, 88, 0.2);
}

.history-icon.shadow {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.history-icon.redeem {
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.history-info {
    flex: 1;
}

.history-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 2px;
}

.history-date {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: 'DM Mono', monospace;
}

.history-pts {
    font-family: 'DM Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
}

.history-pts.earn {
    color: var(--gold);
}

.history-pts.shadow {
    color: #444;
}

.history-pts.redeem {
    color: var(--neon-green);
}

.history-hrs {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 2px;
    font-family: 'DM Mono', monospace;
}

/* ── FREE TIER LOCK ── */
.locked-overlay {
    position: relative;
}

.locked-overlay::after {
    content: '🔒 VIP MEMBERS ONLY';
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 15, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

/* ── LOADING ── */
.loading-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(197, 179, 88, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 12px;
}

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

/* ── ANIMATIONS ── */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── EMPTY STATE ── */
.empty-history {
    text-align: center;
    padding: 24px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-style: italic;
}

/* ── MOBILE TWEAKS ── */
@media (max-width: 380px) {
    .points-ring-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .ring-container {
        width: 100px;
        height: 100px;
    }

    .ring-svg {
        width: 100px;
        height: 100px;
    }
}


/* ── JS VISIBILITY TOGGLE ── */
.js-hidden {
    display: none !important;
}

/* ── FREE TIER SPECIFIC ── */
.ring-label-locked {
    color: #444;
}

.points-headline-locked {
    color: #555;
}

.points-sub-locked {
    color: #555;
}

.shadow-count {
    color: #888;
}

.progress-bar-shadow {
    background: #333;
    box-shadow: none;
}

.progress-label-locked {
    color: #444;
}

/* ── TABLE ASSIGNED NOTICE ── */
.table-assigned-notice {
    margin-top: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 1px;
    font-family: 'DM Mono', monospace;
}

/* ── RES LIMIT BOX (FREE TIER) ── */
.res-limit-box {
    background: rgba(8, 10, 15, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.res-limit-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.limit-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
    filter: grayscale(1);
}

.limit-msg {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.limit-msg strong {
    color: var(--gold);
    font-family: 'DM Mono', monospace;
}

.limit-upgrade-nudge {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    padding: 0 10px;
}

.limit-upgrade-nudge strong {
    color: var(--gold-light);
    font-weight: 500;
}

.btn-upgrade-simple {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold), #8a7a3a);
    border: none;
    border-radius: 8px;
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-upgrade-simple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 179, 88, 0.3);
    filter: brightness(1.1);
}

/* ── INLINE ERROR STATES ── */
.error-msg {
    color: var(--neon-red);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.6;
}

/* ── SETTINGS PANEL ── */
.settings-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    z-index: 500;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.settings-panel.open {
    right: 0;
}

.settings-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 499;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.settings-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.settings-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.settings-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 3px;
    color: var(--gold);
}

.btn-close-panel {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-close-panel:hover {
    border-color: var(--neon-red);
    color: var(--neon-red);
}

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

.settings-section-title {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.settings-field {
    margin-bottom: 16px;
}

.settings-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.settings-input {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    padding: 12px 14px;
    transition: border-color 0.2s;
}

.settings-input:focus {
    outline: none;
    border-color: var(--gold);
}

.settings-select {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    padding: 12px 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.settings-select:focus {
    outline: none;
    border-color: var(--gold);
}

.settings-read-only {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.9rem;
    color: var(--text-dim);
    font-family: 'DM Mono', monospace;
}

.settings-divider {
    height: 1px;
    background: var(--border-subtle);
}

.btn-save-settings {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.25), rgba(197, 179, 88, 0.1));
    border: 1px solid rgba(197, 179, 88, 0.4);
    border-radius: 12px;
    color: var(--gold-light);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-save-settings:hover {
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.35), rgba(197, 179, 88, 0.2));
    box-shadow: 0 0 20px rgba(197, 179, 88, 0.2);
}

.save-confirm {
    text-align: center;
    font-size: 0.8rem;
    color: var(--neon-green);
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    letter-spacing: 1px;
}

.save-confirm.visible {
    opacity: 1;
}

/* Settings gear button in header */
.btn-settings {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-settings:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ── RESERVE CTA CARD ── */
.reserve-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 24px;
    animation: fadeSlideUp 0.5s 0.15s ease both;
    position: relative;
    overflow: hidden;
}

.reserve-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(197, 179, 88, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.reserve-ball-deco {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 5rem;
    opacity: 0.04;
    transform: rotate(20deg);
}

.reserve-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 3px;
    color: var(--text);
    margin-bottom: 6px;
}

.reserve-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Tier comparison strip */
.tier-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.tier-compare-box {
    border-radius: 10px;
    padding: 14px;
    position: relative;
}

.tier-compare-box.current-free {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-compare-box.upgrade-pro {
    background: rgba(197, 179, 88, 0.06);
    border: 1px solid rgba(197, 179, 88, 0.25);
}

.tier-compare-name {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tier-compare-box.current-free .tier-compare-name {
    color: var(--text-muted);
}

.tier-compare-box.upgrade-pro .tier-compare-name {
    color: var(--gold);
}

.tier-compare-rule {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 4px;
}

.tier-compare-box.current-free .tier-compare-rule {
    color: var(--text-dim);
}

.tier-compare-box.upgrade-pro .tier-compare-rule {
    color: var(--gold-light);
}

.tier-compare-detail {
    font-size: 0.7rem;
    line-height: 1.4;
}

.tier-compare-box.current-free .tier-compare-detail {
    color: #555;
}

.tier-compare-box.upgrade-pro .tier-compare-detail {
    color: rgba(197, 179, 88, 0.6);
}

.tier-compare-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--gold);
    color: #000;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

/* PRO tier reserve - full CTA */
.btn-reserve-pro {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.25), rgba(197, 179, 88, 0.08));
    border: 1px solid rgba(197, 179, 88, 0.5);
    border-radius: 12px;
    color: var(--gold-light);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.btn-reserve-pro:hover {
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.35), rgba(197, 179, 88, 0.15));
    box-shadow: 0 0 25px rgba(197, 179, 88, 0.2);
    transform: translateY(-1px);
}

/* FREE tier reserve - subtle green CTA */
.btn-reserve-free {
    display: block;
    width: 100%;
    padding: 14px;
    background: rgba(0, 255, 157, 0.08);
    border: 1px solid rgba(0, 255, 157, 0.2);
    border-radius: 12px;
    color: #00ff9d;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.btn-reserve-free:hover {
    background: rgba(0, 255, 157, 0.15);
    border-color: #00ff9d;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.1);
}

.btn-reserve-note {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* ════════════════════════════════════════
   RESERVATION MODAL SYSTEM
   ════════════════════════════════════════ */

/* ── MODAL SHELL ── */
.res-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 600;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.res-modal-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.res-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.res-modal-backdrop.open .res-modal {
    transform: translateY(0);
}

.res-modal-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    margin: 14px auto 0;
    flex-shrink: 0;
}

.res-modal-header {
    padding: 16px 24px 16px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.res-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 3px;
    color: var(--gold);
}

.res-modal-step {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.res-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.res-modal-footer {
    padding: 16px 24px 32px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ── STEPS PROGRESS ── */
.res-steps-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
}

.res-step-pip {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s;
}

.res-step-pip.active {
    background: var(--gold);
}

.res-step-pip.done {
    background: rgba(197, 179, 88, 0.4);
}

/* ── CALENDAR ── */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-month-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: var(--text);
}

.cal-nav-btn {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cal-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.cal-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day-label {
    text-align: center;
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 4px 0 8px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    color: var(--text-dim);
    background: transparent;
}

.cal-day:hover:not(.disabled):not(.empty) {
    background: var(--gold-dim);
    border-color: var(--border);
    color: var(--text);
}

.cal-day.today {
    border-color: rgba(197, 179, 88, 0.3);
    color: var(--gold);
}

.cal-day.selected {
    background: var(--gold);
    color: #000;
    font-weight: 700;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(197, 179, 88, 0.35);
}

.cal-day.disabled {
    color: #2a2d35;
    cursor: not-allowed;
}

.cal-day.empty {
    cursor: default;
}

.cal-day.out-of-range {
    color: #252830;
    cursor: not-allowed;
}

/* Tier window notice */
.cal-tier-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.cal-tier-notice.pro-notice {
    border-color: rgba(197, 179, 88, 0.2);
    background: rgba(197, 179, 88, 0.04);
    color: var(--gold);
}

/* ── TIME SLOTS ── */
.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.time-slot {
    padding: 12px 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    text-align: center;
    font-size: 0.82rem;
    font-family: 'DM Mono', monospace;
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: rgba(197, 179, 88, 0.3);
    color: var(--text);
}

.time-slot.selected {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold-light);
    font-weight: 500;
}

/* Selected date display above time slots */
.selected-date-display {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 16px;
}

/* ── STEP 3: TABLE & PARTY ── */
.res-option-group {
    margin-bottom: 24px;
}

.res-option-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.res-option-row {
    display: flex;
    gap: 10px;
}

.res-option-btn {
    flex: 1;
    padding: 16px 10px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-dim);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.res-option-btn:hover {
    border-color: rgba(197, 179, 88, 0.3);
    color: var(--text);
}

.res-option-btn.selected {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold-light);
}

.res-option-btn .option-icon {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 6px;
}

.res-option-btn .option-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.res-option-btn.selected .option-sub {
    color: rgba(197, 179, 88, 0.6);
}

/* Party size stepper */
.party-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    max-width: 180px;
}

.stepper-btn {
    width: 48px;
    height: 52px;
    background: transparent;
    border: none;
    color: var(--gold);
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stepper-btn:hover {
    background: var(--gold-dim);
}

.stepper-btn:disabled {
    color: #333;
    cursor: not-allowed;
}

.stepper-val {
    flex: 1;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--text);
    border-left: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
}

/* Compact version for confirmation row */
.party-stepper.stepper-mini {
    max-width: 120px;
    height: 36px;
}

.party-stepper.stepper-mini .stepper-btn {
    width: 34px;
    height: 36px;
    font-size: 1rem;
}

.party-stepper.stepper-mini .stepper-val {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* ── STEP 4: CONFIRM ── */
.res-confirm-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
}

.res-confirm-header {
    background: var(--gold-dim);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--gold);
}

.res-confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.88rem;
}

.res-confirm-row:last-child {
    border-bottom: none;
}

.res-confirm-key {
    color: var(--text-muted);
}

.res-confirm-val {
    color: var(--text);
    font-weight: 500;
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
}

.res-phone-notice {
    background: rgba(197, 179, 88, 0.04);
    border: 1px solid rgba(197, 179, 88, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── SUCCESS SCREEN ── */
.res-success {
    text-align: center;
    padding: 20px 0 10px;
}

.res-success-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.res-success-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 8px;
}

.res-success-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.res-success-details {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
}

/* ── MODAL BUTTONS ── */
.btn-modal-back {
    flex: 0 0 auto;
    padding: 14px 20px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-back:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.btn-modal-next {
    flex: 1;
    padding: 15px;
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.25), rgba(197, 179, 88, 0.1));
    border: 1px solid rgba(197, 179, 88, 0.4);
    border-radius: 12px;
    color: var(--gold-light);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-modal-next:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(197, 179, 88, 0.35), rgba(197, 179, 88, 0.2));
    box-shadow: 0 0 20px rgba(197, 179, 88, 0.2);
}

.btn-modal-next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.btn-modal-submit {
    flex: 1;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold), #a8963a);
    border: none;
    border-radius: 12px;
    color: #000;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
}

/* ── ETA MODAL STYLES ── */
.eta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.eta-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    padding: 12px 5px;
    border-radius: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

.eta-btn.selected {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(197, 179, 88, 0.2);
}

.eta-btn:hover:not(.selected) {
    background: rgba(255, 255, 255, 0.1);
}

.btn-modal-submit:hover:not(:disabled) {
    box-shadow: 0 0 25px rgba(197, 179, 88, 0.4);
    transform: translateY(-1px);
}

.btn-modal-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.btn-modal-close {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-close:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.submitting-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

/* ════════════════════════════════════════
   SEGMENTED RESERVATION ROWS (V2: COMPACT & FLUSH)
   ════════════════════════════════════════ */
.res-row-segmented {
    display: flex;
    align-items: stretch;
    /* Forces all children to be exactly the same height */
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    /* This makes the flush buttons perfectly round off at the container edges */
}

/* Section 1: Date & Time (Unchanged width) */
.seg-datetime {
    padding: 10px 12px;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    gap: 6px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    white-space: nowrap;
}

.seg-date {
    color: var(--gold);
}

.seg-time {
    color: #fff;
}

/* Section 2: Details (Now Stacked to save horizontal space) */
.seg-details {
    padding: 6px 10px;
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    /* Stacks the pills vertically */
    justify-content: center;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.2);
    gap: 4px;
}

.seg-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;
}

/* Section 3: The Flush Push-Buttons */
/* Section 3: The Flush Push-Buttons */
.seg-action-block {
    flex: 1;
    /* Allows them to dynamically stretch and shrink */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    /* Shrunk slightly from 1.1rem */
    letter-spacing: 0.5px;
    /* Tightened from 1px */
    border: none;
    border-right: 1px solid var(--border-subtle);
    padding: 0 4px;
    /* Halved the padding to save horizontal space */
    transition: 0.15s;
    min-width: 0;
    /* Crucial: Allows the button to squeeze tighter than its default width */
    white-space: nowrap;
    /* Prevents text from wrapping to a second line */
}

.seg-action-block:last-child {
    border-right: none;
}

/* 📱 MOBILE AUTO-SQUEEZE: Kicks in automatically if the window is small */
@media (max-width: 550px) {
    .seg-action-block {
        font-size: 0.85rem;
        /* Drops font size just enough to keep CANCEL on screen */
        padding: 0 2px;
        letter-spacing: 0px;
    }
}

/* Status Block (Not a button) */
div.seg-action-block {
    cursor: default;
}

.block-status.status-pending {
    background: rgba(33, 98, 240, 0.05);
    color: var(--White);
}

.block-status.status-arrived {
    background: rgba(0, 255, 157, 0.05);
    color: var(--neon-green);
}

.block-table {
    background: rgba(0, 255, 157, 0.1);
    color: var(--neon-green);
    font-weight: bold;
}

/* Clickable Push-Buttons */
button.seg-action-block {
    cursor: pointer;
    outline: none;
}

button.block-modify {
    background: transparent;
    color: var(--gold);
}

button.block-modify:hover {
    background: rgba(197, 179, 88, 0.15);
}

button.block-cancel {
    background: transparent;
    color: var(--neon-red);
}

button.block-cancel:hover {
    background: rgba(255, 42, 109, 0.15);
}

/* The physical "push" effect when a user clicks the button */
button.seg-action-block:active {
    filter: brightness(0.7);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.4);
}

/* ── VIP WELCOME MODAL ── */
.vip-welcome-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 8, 15, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vip-welcome-backdrop.active {
    display: flex;
    opacity: 1;
}

.vip-welcome-modal {
    background: linear-gradient(135deg, #131720 0%, #080a0f 100%);
    border: 2px solid var(--gold);
    border-radius: 24px;
    padding: 48px 32px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(197, 179, 88, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vip-welcome-backdrop.active .vip-welcome-modal {
    transform: scale(1);
}

.vip-modal-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px var(--gold));
    display: block;
}

.vip-modal-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 16px;
    line-height: 1;
}

.vip-modal-body {
    color: #f0ede6;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-vip-dismiss {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-weight: bold;
}

.btn-vip-dismiss:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 179, 88, 0.4);
}

/* ── SAME DAY ARRIVAL ── */
.same-day-container {
    text-align: center;
}

.btn-sameday {
    background: linear-gradient(135deg, #ff8800, #e65c00);
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 136, 0, 0.4);
    transition: 0.3s;
}

.same-day-status {
    color: #ffb347;
    font-family: 'DM Mono', monospace;
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

.social-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vip-only-badge {
    font-size: 0.7rem;
    display: block;
    margin-top: 4px;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 1px;
    color: #aaa;
}

.vip-only-badge.orange {
    color: #ff8800;
    margin-top: 8px;
}

.vip-only-note {
    font-size: 0.75rem;
    color: #ff8800;
    margin-top: 10px;
    font-weight: 600;
}

.pos-relative {
    position: relative;
}

.btn-close-abs {
    position: absolute;
    top: 0px;
    right: 0px;
    background: transparent;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.inline-pts {
    display: inline-block;
    margin-right: 8px;
}

.text-right {
    text-align: right;
}

.no-border {
    border: none !important;
}

.white-nowrap {
    white-space: nowrap;
}

.js-hidden {
    display: none !important;
}

/* -- VIP ONBOARDING MODAL -- */
.vip-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 8, 15, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* -- ULTRA-PREMIUM VIP WELCOME MODAL -- */
.welcome-modal-ultra {
    background: #000;
    border: 2px solid #C5B358;
    border-radius: 32px;
    padding: 0;
    max-width: 480px;
    width: 94%;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 100px rgba(0, 0, 0, 1), 0 0 40px rgba(197, 179, 88, 0.2);
    animation: modalPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ultra-welcome-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center top, rgba(197, 179, 88, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.ultra-logo-container {
    padding-top: 50px;
    margin-bottom: 30px;
    z-index: 2;
}

.welcome-logo-img {
    width: 380px;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(197, 179, 88, 0.5));
}

.ultra-body {
    width: 100%;
    padding: 0 40px 50px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glitter-text-main {
    font-family: 'Cinzel', serif; /* Or similar premium serif */
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    margin-bottom: 30px;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
}

.ultra-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
}

.ultra-h-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fcf6ba;
    font-size: 1.2rem;
    font-weight: 500;
}

.ultra-h-item img, .ultra-h-item span.icon, .ultra-h-item svg {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 10px rgba(197, 179, 88, 0.6));
}

.ultra-personal-welcome {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: #fcf6ba;
    letter-spacing: 4px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.text-gold-condensed {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: #fcf6ba;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 10px;
}

.btn-ultra-beveled {
    background: linear-gradient(to bottom, #fcf6ba 0%, #bf953f 50%, #aa771c 100%);
    color: #111;
    border: 1px solid #bf953f;
    border-radius: 12px;
    padding: 18px 40px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 5px 0 #7a550d, 0 10px 20px rgba(0,0,0,0.5);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-ultra-beveled:hover {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #7a550d, 0 5px 15px rgba(0,0,0,0.6);
}

.btn-ultra-beveled:active {
    transform: translateY(5px);
    box-shadow: 0 0 0 #7a550d;
}

.icon-arrow-gold {
    font-size: 1.4rem;
}

/* Particle effect */
.particle-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: #fcf6ba;
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 10s linear infinite;
}

@keyframes floatParticle {
    from { transform: translateY(0) rotate(0); }
    to { transform: translateY(-700px) rotate(360deg); }
}



/* -- CROWD METER WIDGET -- */


.crowd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.crowd-count {
    font-family: 'DM Mono', monospace;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--gold-dim);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid var(--gold-dim);
}

.heat-scale {
    display: flex;
    gap: 4px;
    height: 12px;
    margin-bottom: 12px;
}

.tick {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.tick.active {
    box-shadow: 0 0 8px currentColor;
    animation: tickPulse 2s ease-in-out infinite;
}

@keyframes tickPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.crowd-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

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

.status-message {
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.crowd-updated {
    color: var(--text-muted);
    font-size: 0.65rem;
    font-family: 'DM Mono', monospace;
    margin-top: 10px;
    text-align: right;
    opacity: 0.6;
}

/* -- Duplicates removed, integrated into section above -- */

.fav-table-hero {
    font-size: 0.75rem;
    font-family: 'DM Mono', monospace;
    color: var(--gold-light);
    margin-top: 4px;
    letter-spacing: 1px;
    opacity: 0.9;
}

.fav-table-hero span {
    font-weight: 700;
}

/* ── UTILITIES & SHARED ── */
.btn-full-width {
    width: 100%;
}

.settings-help-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

/* ── LOGIN / PROVIDER ALERTS ── */
.auth-provider-alert {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255, 136, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 136, 0, 0.2);
    font-size: 0.85rem;
    color: #ff8800;
}

.provider-alert-title {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

/* ── SAME DAY ARRIVAL UI ── */
.eta-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eta-btn {
    width: 100%;
    padding: 15px !important;
    height: auto !important;
}

.same-day-table-select {
    width: 100%;
    margin-top: 5px;
}

.same-day-notice {
    margin-top: 15px;
}

.same-day-status-card {
    margin-top: 5px;
}

.sda-active-queue-btn {
    background: linear-gradient(135deg, #00b09b, #96c93d) !important;
    cursor: default !important;
    box-shadow: none !important;
}

.sda-limit-text {
    font-size: 0.65rem;
    opacity: 0.8;
    letter-spacing: 1px;
}

.sda-limit {
    margin-top: 5px;
}

/* ── LIMITATION / UPGRADE NUDGE BOXES ── */
.res-limit-box {
    background: rgba(40, 40, 40, 0.4);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.limit-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.limit-msg {
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.limit-upgrade-nudge {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}

.btn-upgrade-simple {
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-upgrade-simple:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}