/* ============================
   CSS Variables & Reset
   ============================ */
:root {
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark theme */
[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-card-active: rgba(252, 230, 0, 0.1);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-card-hover: rgba(255, 255, 255, 0.16);
    --border-card-active: rgba(252, 230, 0, 0.5);
    --text-primary: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.6);
    --text-muted: rgba(240, 240, 245, 0.35);
    --accent: #FCE600;
    --accent-light: #FFD600;
    --accent-glow: rgba(252, 230, 0, 0.3);
    --accent-gradient: linear-gradient(135deg, #FCE600, #FFB800);
    --accent-text: #0a0a0f;
    --green: #00cec9;
    --green-glow: rgba(0, 206, 201, 0.3);
    --yellow: #FFC107;
    --yellow-dim: rgba(255, 193, 7, 0.15);
    --yellow-border: rgba(255, 193, 7, 0.35);
    --header-bg: rgba(10, 10, 15, 0.8);
    --header-border: rgba(255, 255, 255, 0.04);
    --toast-bg: rgba(20, 20, 30, 0.95);
}

/* Light theme */
[data-theme="light"] {
    --bg-primary: #f7f7f9;
    --bg-secondary: #ededf0;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --bg-card-active: rgba(252, 230, 0, 0.08);
    --border-card: rgba(0, 0, 0, 0.08);
    --border-card-hover: rgba(0, 0, 0, 0.14);
    --border-card-active: rgba(200, 170, 0, 0.5);
    --text-primary: #1a1a1f;
    --text-secondary: rgba(26, 26, 31, 0.6);
    --text-muted: rgba(26, 26, 31, 0.35);
    --accent: #d4a800;
    --accent-light: #b8920a;
    --accent-glow: rgba(200, 170, 0, 0.25);
    --accent-gradient: linear-gradient(135deg, #e6b800, #cc9900);
    --accent-text: #fff;
    --green: #00b3a6;
    --green-glow: rgba(0, 179, 166, 0.2);
    --yellow: #e6a800;
    --yellow-dim: rgba(230, 168, 0, 0.1);
    --yellow-border: rgba(230, 168, 0, 0.3);
    --header-bg: rgba(255, 255, 255, 0.85);
    --header-border: rgba(0, 0, 0, 0.06);
    --toast-bg: rgba(255, 255, 255, 0.95);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] {
    color-scheme: light;
}

[data-theme="light"] .screen__bg-glow--1 {
    background: rgba(80, 80, 120, 0.12);
    opacity: 1;
    filter: blur(100px);
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
}

[data-theme="light"] .screen__bg-glow--2 {
    background: rgba(60, 60, 100, 0.09);
    opacity: 1;
    filter: blur(100px);
    width: 450px;
    height: 450px;
    bottom: -80px;
    left: -80px;
}

[data-theme="light"] .live-toast__inner {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

[data-theme="light"] .btn--glow {
    box-shadow: 0 4px 20px rgba(200, 170, 0, 0.25);
}

[data-theme="dark"] {
    color-scheme: dark;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    position: relative;
    transition: background-color 0.4s ease, color 0.4s ease;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
    background: none;
    color: inherit;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

/* ============================
   Site Header
   ============================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    z-index: 90;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--header-border);
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header__icon {
    color: var(--accent-light);
}

.site-header__name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.site-header__tag {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

/* ============================
   Live Toast
   ============================ */
.live-toast {
    position: fixed;
    bottom: 40px;
    left: 20px;
    z-index: 80;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    max-width: 280px;
}

.live-toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.live-toast__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--toast-bg);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.live-toast__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.live-toast__text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.live-toast__text strong {
    color: var(--text-primary);
}

.live-toast__time {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================
   Result Timer
   ============================ */
.result__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 100px;
    display: inline-flex;
}

.result__timer svg {
    color: var(--yellow);
}

.result__timer strong {
    color: var(--yellow);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ============================
   Progress Bar
   ============================ */
.progress-bar {
    position: fixed;
    top: 45px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 100;
    opacity: 0;
    transition: opacity var(--transition);
}

.progress-bar.visible {
    opacity: 1;
}

.progress-bar__fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: 0 2px 2px 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ============================
   Screens
   ============================ */
.screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.screen.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0s;
}

.screen.exit {
    opacity: 0;
    transform: translateY(-30px);
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0.4s;
}

.screen__inner {
    width: 100%;
    max-width: 600px;
    padding: 24px 20px;
    position: relative;
    z-index: 2;
}

.screen__bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.screen__bg-glow--1 {
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    top: -150px;
    right: -100px;
    opacity: 0.4;
}

.screen__bg-glow--2 {
    width: 350px;
    height: 350px;
    background: var(--green-glow);
    bottom: -100px;
    left: -100px;
    opacity: 0.3;
}

/* ============================
   Hero Screen
   ============================ */
.hero {
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 28px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero__badge--yellow {
    color: var(--yellow);
    border-color: var(--yellow-border);
    background: var(--yellow-dim);
}

/* ============================
   Pulse Dot
   ============================ */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pulse-dot--green {
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--green); }
    50% { opacity: 0.5; box-shadow: 0 0 12px var(--green), 0 0 24px var(--green-glow); }
}

.hero__title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero__earnings {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2rem;
}

.hero__accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 36px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero__stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero__stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-card);
}

/* ============================
   Buttons
   ============================ */
.btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--accent-gradient);
    color: var(--accent-text);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    box-shadow: 0 4px 24px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--primary:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn--lg {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.btn--glow {
    animation: btnGlow 2s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 24px var(--accent-glow); }
    50% { box-shadow: 0 8px 48px var(--accent-glow), 0 0 80px rgba(252, 230, 0, 0.12); }
}

.btn__arrow {
    transition: transform var(--transition-fast);
}

.btn--primary:hover .btn__arrow {
    transform: translateX(3px);
}

.btn--link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition-fast);
    margin-top: 12px;
}

.btn--link:hover {
    color: var(--text-primary);
}

/* ============================
   Quiz Common
   ============================ */
.quiz {
    text-align: center;
}

.btn--back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px 0;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
    font-family: inherit;
}

.btn--back:hover {
    color: var(--text-secondary);
}

.quiz__step-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.quiz__title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.quiz__hint {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.quiz__next-btn {
    margin-top: 28px;
}

/* ============================
   City Selection
   ============================ */
.city-detected {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.city-detected__label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.btn--city-confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-card-active);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition);
    font-size: 1.3rem;
    font-weight: 700;
}

.btn--city-confirm:hover {
    background: var(--bg-card-active);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.city-detected__check {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-light);
}

.city-search {
    position: relative;
    margin-bottom: 20px;
}

.city-search__icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.city-search__input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.city-search__input::placeholder {
    color: var(--text-muted);
}

.city-search__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.city-popular__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.btn--city {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn--city:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-card-hover);
    transform: translateY(-1px);
}

.btn--city:active {
    transform: translateY(0);
    background: var(--bg-card-active);
    border-color: var(--border-card-active);
}

.city-results {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* ============================
   Option Cards (Transport, Hours, Priority)
   ============================ */
.options-grid {
    display: grid;
    gap: 12px;
}

.options-grid--2x2 {
    grid-template-columns: 1fr 1fr;
}

.options-grid--list {
    grid-template-columns: 1fr;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.option-card:hover {
    border-color: var(--border-card-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.option-card:active {
    transform: translateY(0);
}

.option-card:hover::before {
    opacity: 0.05;
}

.option-card > * {
    position: relative;
    z-index: 1;
}

.option-card__icon {
    color: var(--accent-light);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-card__icon-sm {
    color: var(--accent-light);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-card__label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.option-card__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-align: left;
}

/* Horizontal variant (hours) */
.option-card--horizontal {
    flex-direction: row;
    padding: 18px 24px;
    gap: 16px;
    justify-content: flex-start;
}

/* Selectable variant (priority) - multi-select */
.option-card--selectable.selected {
    border-color: var(--border-card-active);
    background: var(--bg-card-active);
}

.option-card--selectable.selected::before {
    opacity: 0.1;
}

.option-card--selectable.selected::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================
   Result Screen
   ============================ */
.result {
    text-align: center;
}

.result__loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px;
}

.result__spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-card);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.result__loader-text {
    font-size: 1rem;
    color: var(--text-secondary);
}

.result__badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.result__badge--ya {
    color: var(--yellow);
    border-color: var(--yellow-border);
    background: var(--yellow-dim);
}

.result__hiring {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.result__hiring strong {
    color: var(--text-primary);
}

.result__slots {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 10px 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
}

.result__slots strong {
    color: #ef4444;
    font-weight: 700;
}

.pulse-dot--red {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

.result__disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.result__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.result__card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.result__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0.04;
    z-index: 0;
}

.result__card > * {
    position: relative;
    z-index: 1;
}

.result__city {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.result__transport {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.result__earnings {
    margin-bottom: 16px;
}

.result__range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.result__from, .result__to {
    font-size: 2.6rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.result__separator {
    font-size: 1.6rem;
    color: var(--text-muted);
    font-weight: 300;
}

.result__separator-styled {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    opacity: 0.5;
    padding: 0 4px;
}

.result__dash {
    display: inline-block;
    width: 14px;
    height: 3px;
    background: var(--text-muted);
    border-radius: 2px;
    flex-shrink: 0;
    vertical-align: middle;
    font-size: 0;
    line-height: 0;
    color: transparent;
    overflow: hidden;
}

.result__currency {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.result__monthly {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border-card);
    flex-wrap: wrap;
}

.result__monthly-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.result__monthly-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green);
}

.result__monthly-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.result__perks {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.result__perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.result__perk svg {
    color: var(--green);
    flex-shrink: 0;
}

.result__fine-print {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 14px;
}

/* Result - single amount display */
.result__amount {
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Result - live orders */
.result__live-orders {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 10px 16px;
    background: rgba(0, 206, 201, 0.06);
    border: 1px solid rgba(0, 206, 201, 0.2);
    border-radius: var(--radius-md);
}

.result__live-orders strong {
    color: var(--green);
    font-weight: 700;
}

/* Result - Steps */
.result__steps {
    margin-bottom: 28px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    text-align: left;
}

.result__steps-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.result__step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.result__step:not(:last-child) {
    border-bottom: 1px solid var(--border-card);
}

.result__step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Result - Requirements */
.result__requirements {
    margin-top: 20px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    text-align: left;
}

.result__req-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.result__req-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result__req-item {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.result__req-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
}

.result__phone-block {
    margin-bottom: 16px;
}

.result__phone-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.result__phone-row {
    display: flex;
    gap: 8px;
    max-width: 320px;
    margin: 0 auto;
}

.result__phone-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.result__phone-input:focus {
    border-color: var(--accent-light);
    outline: none;
}

.result__phone-input::placeholder {
    color: var(--text-muted);
}

.result__phone-btn {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.result__phone-success {
    font-size: 0.85rem;
    color: var(--green);
    margin-top: 8px;
}

.result__divider-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.result__divider-or::before,
.result__divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-card);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.6rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
    }

    .hero__stats {
        gap: 14px;
    }

    .hero__stat-number {
        font-size: 0.95rem;
    }

    .hero__stat-label {
        font-size: 0.68rem;
    }

    .quiz__title {
        font-size: 1.35rem;
    }

    .btn--lg {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .options-grid--2x2 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .option-card {
        padding: 18px 12px;
    }

    .option-card__icon {
        width: 40px;
        height: 40px;
    }

    .option-card__icon svg {
        width: 36px;
        height: 36px;
    }

    .option-card__label {
        font-size: 0.9rem;
    }

    .result__from, .result__to {
        font-size: 1.8rem;
    }

    .result__amount {
        font-size: 2rem;
    }

    .result__card {
        padding: 20px 14px;
    }

    .result__hiring {
        font-size: 0.78rem;
    }

    .btn--city-confirm {
        padding: 16px 36px;
        font-size: 1.1rem;
    }

    .option-card--horizontal {
        padding: 14px 16px;
        gap: 12px;
    }

    .screen__bg-glow--1 {
        width: 250px;
        height: 250px;
    }

    .screen__bg-glow--2 {
        width: 200px;
        height: 200px;
    }

    .city-grid {
        gap: 6px;
    }

    .btn--city {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 360px) {
    .hero__title {
        font-size: 1.35rem;
    }

    .hero__subtitle {
        font-size: 0.85rem;
    }

    .options-grid--2x2 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .option-card {
        padding: 14px 8px;
        gap: 6px;
    }

    .option-card__icon svg {
        width: 32px;
        height: 32px;
    }

    .option-card__label {
        font-size: 0.82rem;
    }

    .option-card__desc {
        font-size: 0.72rem;
    }

    .hero__stats {
        flex-direction: column;
        gap: 10px;
    }

    .hero__stat-divider {
        width: 32px;
        height: 1px;
    }

    .result__from, .result__to {
        font-size: 1.5rem;
    }

    .result__amount {
        font-size: 1.7rem;
    }

    .result__range {
        gap: 8px;
    }
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__subtitle {
        font-size: 1.15rem;
    }

    .quiz__title {
        font-size: 1.9rem;
    }

    .result__from, .result__to {
        font-size: 3.2rem;
    }

    .result__amount {
        font-size: 3.4rem;
    }

    .screen__inner {
        padding: 40px 20px;
    }
}

/* ============================
   Animations - Entrance
   ============================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screen.active .hero__badge,
.screen.active .quiz__step-label {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.1s;
}

.screen.active .hero__title,
.screen.active .quiz__title {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.15s;
}

.screen.active .hero__subtitle,
.screen.active .quiz__hint {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.2s;
}

.screen.active .btn--primary:not(.quiz__next-btn),
.screen.active .city-detected,
.screen.active .city-manual {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.3s;
}

.screen.active .hero__stats {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.4s;
}

.screen.active .options-grid {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.25s;
}

.screen.active .result__badge {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.1s;
}

.screen.active .result__title {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.15s;
}

.screen.active .result__card {
    animation: fadeInUp 0.6s ease both;
    animation-delay: 0.2s;
}

.screen.active .result__hiring {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.12s;
}

.screen.active .result__perks {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.35s;
}

.screen.active .result__live-orders {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.28s;
}

.screen.active .result__steps {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.4s;
}

.screen.active .result__requirements {
    animation: fadeInUp 0.5s ease both;
    animation-delay: 0.5s;
}

.screen.active .result__disclaimer {
    animation: fadeInUp 0.4s ease both;
    animation-delay: 0.3s;
}

.screen.active .btn--glow {
    animation: fadeInUp 0.5s ease both, btnGlow 2s ease-in-out 0.8s infinite;
    animation-delay: 0.4s;
}

/* ============================
   Footer
   ============================ */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 20px;
    font-size: 0.72rem;
    color: var(--text-muted);
    z-index: 50;
}

.footer__link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

.footer__copy {
    color: var(--text-muted);
}

.footer__disclaimer {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.65rem;
    margin-bottom: 4px;
}

/* ============================
   Scrollbar (for city list on desktop)
   ============================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}
