:root {
    --bg-dark: #0f0d0d;
    --bg-card: #1c1414;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --gold: #ff6b6b;
    --gold-hover: #ff4757;
    --red: #c0392b;
    --red-hover: #e74c3c;
    --input-bg: #2c2c2c;
    --border-color: #2e1f1f;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

body.has-mobile-bottom-nav {
    padding-bottom: 0;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--gold-hover);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: var(--bg-card);
    border-bottom: 2px solid var(--gold);
    padding: 15px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* User Actions */
.btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-full {
    width: 100%;
    margin-top: auto;
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.btn-gold:hover {
    background: var(--gold-hover);
}

.btn-outline {
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #fff;
}

/* Ticker */
.ticker-wrap {
    background: #000;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #222;
    padding: 12px 0;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    /* Ensure container fits */
}

.ticker-wrap:hover .ticker-scroll {
    animation-play-state: paused;
}

.ticker {
    display: flex;
    width: max-content;
}

.ticker-scroll {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    animation: ticker-loop 50s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 4rem;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-right: 1px solid #333;
}

.ticker-label {
    background: var(--gold);
    color: #000;
    padding: 4px 12px;
    font-weight: 800;
    font-size: 13px;
    margin-right: 20px;
    border-radius: 4px;
    flex-shrink: 0;
}

.leader-item .ticker-count {
    color: var(--gold);
    font-size: 14px;
    margin-left: 5px;
}

.leader-ticker .ticker-item {
    border-right: 1px solid #3d3416;
}

.ticker-item:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

.ticker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.ticker-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #252525;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
    font-size: 24px;
}

.ticker-city {
    color: var(--gold);
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.ticker-name {
    font-weight: 700;
}

.ticker-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.ticker-top {
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}

.ticker-price {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    opacity: 0.9;
}

.card-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.95rem;
    margin: 8px 0;
}

@keyframes ticker-loop {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-scroll {
        animation: none !important;
    }
    .profile-card,
    .card-img {
        transition: none !important;
    }
    .profile-card:hover {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .ticker-wrap {
        padding: 10px 0;
    }

    .leader-ticker {
        padding: 8px 0;
    }

    .ticker-item {
        padding: 0 1.25rem;
        font-size: 14px;
        gap: 10px;
    }

    .ticker-avatar,
    .ticker-avatar-placeholder {
        width: 38px;
        height: 38px;
    }

}

/* Toast */
.toast {
    position: fixed;
    left: 50%;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 20, 20, 0.92);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 10060;
    white-space: nowrap;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .toast {
        bottom: calc(var(--mobile-nav-h) + 14px + env(safe-area-inset-bottom, 0px));
    }
}

.toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    :root {
        --mobile-nav-h: 64px;
    }

    body {
        padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: var(--mobile-nav-h);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(18, 18, 18, 0.92);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 10050;
    }

    .mobile-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #888;
        font-size: 11px;
        padding: 8px 6px;
        text-decoration: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        transition: color .2s;
    }

    .mobile-bottom-nav__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        color: var(--gold);
        opacity: 0.5;
    }
    .mobile-bottom-nav__icon svg {
        width: 22px;
        height: 22px;
    }

    .mobile-bottom-nav__label {
        font-weight: 600;
        letter-spacing: 0.2px;
    }

    .mobile-bottom-nav__item:active {
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-bottom-nav__item--active .mobile-bottom-nav__icon {
        opacity: 1;
    }
    .mobile-bottom-nav__item--active .mobile-bottom-nav__label {
        color: var(--gold);
    }
}

/* Hero / City Selection */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: radial-gradient(circle at center, #2a1010 0%, #0f0d0d 100%);
}

.hero h1 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.home-bot-promo {
    margin: 16px auto 0;
    max-width: 560px;
    padding: 14px 14px;
    border: 1px solid rgba(255, 107, 107, 0.45);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(35, 20, 20, 0.95) 0%, rgba(20, 13, 13, 0.98) 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.home-bot-promo__title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.home-bot-promo__text {
    color: #cfcfcf;
    font-size: .98rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.home-bot-promo__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(420px, 100%);
    max-width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    box-sizing: border-box;
    border-radius: 12px;
    background: #2ecc71;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(46, 204, 113, 0.85);
    box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.2), 0 10px 22px rgba(46, 204, 113, 0.26);
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.home-bot-promo__btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 0 0 1px rgba(46, 204, 113, 0.35), 0 12px 26px rgba(46, 204, 113, 0.34);
}

.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.city-card {
    background: var(--bg-card);
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
    text-align: center;
}

.city-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(212,175,55,0.06);
}

.city-count {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 400;
}

/* ── Popular cities title ── */
.popular-cities__title {
    color: var(--gold);
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.popular-cities__title svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    stroke: var(--gold);
    flex-shrink: 0;
}

/* ── Popular cities grid — desktop 4 columns ── */
.popular-cities__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* ── Popular city card ── */
.city-card.popular {
    background: linear-gradient(135deg, #1e1414 0%, #261010 100%);
    border-color: rgba(255,107,107,0.2);
    position: relative;
    overflow: hidden;
    padding: 20px;
    text-align: left;
}
.city-card.popular::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,107,107,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.city-card.popular:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: linear-gradient(135deg, #2a1010 0%, #1c1414 100%);
    box-shadow: 0 4px 20px rgba(255,107,107,0.1);
}

/* ── City card inner elements ── */
.city-card__name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    position: relative;
}
.city-card__badge {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    background: rgba(255,107,107,0.12);
    border: 1px solid rgba(255,107,107,0.2);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    position: relative;
}

/* ── Hot cities (top-3) ── */
.city-card--hot {
    background: linear-gradient(135deg, #2e1010 0%, #1a1010 60%, #1e1010 100%) !important;
    border-color: rgba(255,107,107,0.35);
    box-shadow: 0 0 20px rgba(255,107,107,0.06);
}
.city-card--hot .city-card__name {
    font-size: 19px;
}
.city-card--hot .city-card__badge {
    background: rgba(255,107,107,0.18);
    border-color: rgba(255,107,107,0.3);
}
.city-card--hot:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 25px rgba(255,107,107,0.15);
}

/* ── Pulse indicator (hot cities) ── */
.city-card__pulse {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 6px rgba(212,175,55,0.6);
    animation: city-pulse 2s ease-in-out infinite;
}
@keyframes city-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); }
}

.demand-strip {
    margin: 12px 0 16px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 107, 107, 0.35);
    border-radius: 10px;
    background: rgba(255, 107, 107, 0.07);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    color: #f0d8d8;
}
.demand-strip__score {
    color: var(--gold);
    font-weight: 700;
}
.demand-strip__label {
    color: #fff;
    font-size: 13px;
}

.intent-hero {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #2f2f2f;
    border-radius: 10px;
    background: #1a1a1a;
}

.entity-city-card {
    margin: 0 0 20px;
    padding: 14px;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    background: linear-gradient(180deg, #181818 0%, #141414 100%);
}
.entity-city-card h2 {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 1.1rem;
}
.entity-city-card p {
    margin: 0 0 10px;
    color: #d6d6d6;
}
.entity-city-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.entity-city-card__list span {
    width: 100%;
    color: #9b9b9b;
    font-size: 13px;
}
.entity-city-card__list a {
    border: 1px solid #383838;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    color: #eee;
    text-decoration: none;
}
.intent-link-chip--hidden {
    display: none !important;
}
.intent-links-toggle-btn {
    border: 1px dashed #555;
    background: transparent;
    color: var(--gold);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
}
.intent-links-toggle-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}
.entity-city-card__tips {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #bdbdbd;
}

.intent-faq {
    margin-top: 28px;
    padding: 14px;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #171717;
}
.intent-faq h2 {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 1.05rem;
}
.intent-faq details {
    border-top: 1px solid #2c2c2c;
    padding: 10px 0;
}
.intent-faq details:first-of-type {
    border-top: 0;
}
.intent-faq summary {
    cursor: pointer;
    color: #f2f2f2;
    font-weight: 600;
}
.intent-faq p {
    margin: 8px 0 0;
    color: #bfbfbf;
}

.catalog-bot-cta {
    margin: 10px 0 14px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 12px;
    background: linear-gradient(180deg, #1f1f1f 0%, #171717 100%);
    padding: 12px 14px;
}
.catalog-bot-cta__title {
    color: var(--gold);
    font-weight: 800;
    margin-bottom: 4px;
}
.catalog-bot-cta__text {
    color: #cfcfcf;
    font-size: 14px;
    line-height: 1.4;
}
.catalog-bot-cta__actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.catalog-bot-cta__btn {
    display: inline-block;
    text-decoration: none;
    background: var(--gold);
    color: #111;
    font-weight: 700;
    border-radius: 10px;
    padding: 8px 12px;
}
.catalog-bot-cta__link {
    color: var(--gold);
    text-decoration: none;
    font-size: 13px;
}

/* Forms */
.auth-box {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* Premium Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #bbb;
    font-size: 14px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: #252525;
    border: 1px solid #444;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold);
    background: #2a2a2a;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Custom Checkboxes & Radios */
input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Dashboard Grids */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.premium-card {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.premium-card h3 {
    color: var(--gold);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

/* Service Items */
.service-item {
    background: #252525;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    transition: border-color 0.3s;
}

.service-item:hover {
    border-color: #555;
}

.service-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}

.service-item span {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
}

.service-item input[type="number"] {
    background: #1a1a1a !important;
    border: 1px solid #444;
    color: #fff !important;
    font-size: 14px;
    padding: 8px;
    margin-top: 5px;
}

.service-item input[type="number"]:focus {
    border-color: var(--gold);
}

.dashboard-services-wrap {
    max-height: 620px;
    overflow: auto;
    padding-right: 4px;
}

.dashboard-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

/* Profile Cards Positioning & Layout */
.profile-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

/* Frame highlight only (badges stay unchanged):
   Desktop = variant C (frame + soft glow), Mobile = variant A (clean frame only). */
.profile-card--recommended {
    border-color: rgba(255, 184, 0, 0.2);
}

.profile-card--vip-frame {
    border-color: #d4af37;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.35),
        0 0 14px rgba(212, 175, 55, 0.18);
}

.profile-card--pick-frame {
    border-color: #22c1c3;
    box-shadow:
        0 0 0 1px rgba(34, 193, 195, 0.35),
        0 0 14px rgba(34, 193, 195, 0.18);
}

.profile-card--vip-frame.profile-card--pick-frame {
    border-color: #d4af37;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.45),
        inset 0 0 0 2px rgba(34, 193, 195, 1),
        0 0 14px rgba(212, 175, 55, 0.22),
        0 0 16px rgba(34, 193, 195, 0.34);
}

.profile-card--vip-frame:hover {
    border-color: #d4af37;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.45),
        0 0 18px rgba(212, 175, 55, 0.28);
}

.profile-card--pick-frame:hover {
    border-color: #22c1c3;
    box-shadow:
        0 0 0 1px rgba(34, 193, 195, 0.45),
        0 0 18px rgba(34, 193, 195, 0.28);
}

.profile-card--vip-frame.profile-card--pick-frame:hover {
    border-color: #d4af37;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.55),
        inset 0 0 0 2px rgba(34, 193, 195, 1),
        0 0 18px rgba(212, 175, 55, 0.28),
        0 0 20px rgba(34, 193, 195, 0.42);
}

.card-img-wrap {
    height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.profile-card:hover .card-img {
    transform: scale(1.05);
}

.card-verified {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(46, 204, 113, 0.62);
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-vip {
    position: absolute;
    top: 36px;
    left: 10px;
    background: rgba(212, 175, 55, 0.62);
    color: #000;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

.card-customer-pick {
    position: absolute;
    top: 62px;
    left: 10px;
    background: linear-gradient(90deg, rgba(142, 68, 173, 0.62), rgba(155, 89, 182, 0.62));
    color: #fff;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 999px;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
    letter-spacing: 0.2px;
}

.card-newcomer {
    position: absolute;
    top: 88px;
    left: 10px;
    background: linear-gradient(90deg, rgba(0, 184, 148, 0.78), rgba(0, 206, 201, 0.78));
    color: #042b27;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 999px;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.16);
    letter-spacing: 0.3px;
}

/* Колонка бейджей на фото + «вкусовая» метка (как в каталоге-референсе) */
.card-badges-column {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 48px;
    z-index: 8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 58px);
    pointer-events: none;
}

.card-badges-column .card-verified,
.card-badges-column .card-vip,
.card-badges-column .card-customer-pick,
.card-badges-column .card-newcomer,
.card-badges-column .card-flavor-badge {
    position: static;
    top: auto;
    left: auto;
    pointer-events: auto;
}

.card-flavor-badge {
    padding: 4px 8px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.2px;
    text-transform: none;
    color: #fff;
    background: linear-gradient(180deg, rgba(192, 57, 43, 0.62) 0%, rgba(123, 26, 0, 0.62) 100%);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 4px;
    box-shadow:
        0 1px 5px rgba(0, 0, 0, 0.18),
        inset 0 0 12px rgba(255, 255, 255, 0.09);
    line-height: 1.25;
    text-align: left;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.profile-card-content {
    padding: 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, #1e1e1e 0%, #161616 100%);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.card-name {
    margin: 0;
    font-size: 17px;
    color: var(--gold);
    font-weight: 700;
    line-height: 1.2;
}

.card-name a {
    color: var(--gold);
    text-decoration: none;
}

.card-age {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: -2px;
}

.card-meta i,
.card-meta span.icon {
    color: var(--gold);
    font-size: 14px;
}

.card-price {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.card-price::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold);
    margin-top: 6px;
    border-radius: 1px;
}

/* Card Photo Overlay */
.card-img-wrap-outer { position: relative; }
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 12px 10px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 55%, transparent 100%);
    z-index: 3;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.card-overlay__name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.card-overlay__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}
.card-overlay__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-overlay__views {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
    justify-self: end;
    flex-shrink: 0;
}
.card-overlay__views svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}
.profile-card-content--compact {
    padding: 10px 14px !important;
    gap: 6px !important;
}

/* Skeleton Loader */
.skeleton-img {
    background: linear-gradient(90deg, #1e1e1e 25%, #2a2a2a 50%, #1e1e1e 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.back-to-top--show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--gold-hover);
}
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 768px) {
    .back-to-top {
        bottom: calc(var(--mobile-nav-h) + 16px + env(safe-area-inset-bottom, 0px));
        right: 14px;
        width: 40px;
        height: 40px;
    }
}

/* Sticky Contacts — Profile Mobile */
.profile-sticky-contacts {
    display: none;
}
@media (max-width: 768px) {
    .profile-sticky-contacts {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
        z-index: 10049;
        background: rgba(18,18,18,0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid rgba(212,175,55,0.15);
        padding: 8px 12px;
        gap: 8px;
    }
    .profile-sticky-contacts .btn {
        flex: 1;
        text-align: center;
        padding: 10px 6px;
        font-size: 13px;
        border-radius: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .profile-sticky-contacts .btn svg {
        vertical-align: -2px;
        margin-right: 4px;
    }
    body:has(.profile-sticky-contacts) {
        padding-bottom: calc(var(--mobile-nav-h) + 54px + env(safe-area-inset-bottom, 0px));
    }
    body:has(.profile-sticky-contacts) .back-to-top {
        bottom: calc(var(--mobile-nav-h) + 54px + 12px + env(safe-area-inset-bottom, 0px));
    }
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.photo-item {
    aspect-ratio: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.photo-item:hover {
    border-color: var(--gold);
}

.photo-item.photo-item-uploading {
    border: 2px dashed var(--gold);
    opacity: 0.8;
}

.photo-upload-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top: 3px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(192, 57, 43, 0.9);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    border: none;
    z-index: 5;
    transition: all 0.2s;
}

.photo-delete:hover {
    background: #e74c3c;
    transform: scale(1.1);
}

.photo-add-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #252525;
    color: #aaa;
    border: 2px dashed #444;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    aspect-ratio: 1;
}

.photo-add-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: #2a2a2a;
}

/* Upload Overlay */
.upload-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.upload-overlay.active {
    display: flex;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.1);
    border-left-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Favorites System */
.btn-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fff;
    font-size: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-fav:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--gold);
}

.card-views {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.card-views .icon {
    font-size: 14px;
}

.btn-fav.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.btn-fav.active i,
.btn-fav.active span {
    animation: heartPulse 0.3s ease;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.fav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.fav-count {
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    position: absolute;
    top: -5px;
    right: -10px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s;
}

.fav-count.active {
    opacity: 1;
    transform: scale(1);
}

.profile-contact-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-large {
    font-size: 1.1rem;
    padding: 12px 25px;
}

.profile-fav-wrap {
    margin-top: 15px;
}

.btn-fav-large {
    position: relative;
    bottom: auto;
    right: auto;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #222;
    border: 1px solid #444;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-fav-large:hover {
    border-color: var(--gold);
}

.btn-fav-large.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* Profile Page */
.profile-page {
    margin-top: 30px;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

/* Catalog: кнопка "Фильтры" и чипы (на мобильных кнопка видна) */
.catalog-filters-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 12px;
}
.catalog-filters-count {
    background: rgba(0,0,0,0.2);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 13px;
}
.catalog-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.catalog-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-main);
    text-decoration: none;
}
.catalog-filter-chip:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.catalog-filters-close {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
}
.catalog-filters-close:hover {
    background: var(--gold);
    color: #000;
}

.profile-layout {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.profile-interactions-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.premium-form {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .profile-layout {
        flex-direction: column;
        gap: 30px;
    }

    .profile-interactions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    /* Header Mobile: compact, no duplicate nav */
    header {
        padding: 8px 0;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-hide {
        display: none !important;
    }

    .nav-flex {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        align-items: center;
    }

    .logo {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .user-actions {
        display: flex;
        gap: 6px;
        width: 100%;
        align-items: center;
    }

    .country-selector {
        flex: 1;
        min-width: 0;
    }

    .country-selector select {
        width: 100%;
        padding: 8px 6px;
        font-size: 12px;
    }

    .user-actions .btn {
        flex: 1;
        text-align: center;
        padding: 8px 4px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Catalog Mobile Layout */
    .catalog-container {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .catalog-container aside {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* Grid Adjustments */
    .profiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        gap: 15px !important;
    }

    /* Mobile variant A: clean border, no glow */
    .profile-card--vip-frame,
    .profile-card--pick-frame,
    .profile-card--vip-frame.profile-card--pick-frame {
        box-shadow: none !important;
    }

    .profile-card--vip-frame,
    .profile-card--vip-frame:hover {
        border-color: #d4af37 !important;
    }

    .profile-card--pick-frame,
    .profile-card--pick-frame:hover {
        border-color: #22c1c3 !important;
    }

    .profile-card--vip-frame.profile-card--pick-frame,
    .profile-card--vip-frame.profile-card--pick-frame:hover {
        border-color: #d4af37 !important;
    }

    .card-img-wrap {
        height: 240px !important;
    }

    /* Dashboard grids */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-services-wrap {
        max-height: 480px;
    }

    .dashboard-services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .service-item {
        padding: 10px;
    }

    .service-item span {
        font-size: 13px;
    }

    .service-item label {
        margin-bottom: 8px;
        gap: 8px;
    }

    .service-item input[type="number"] {
        font-size: 12px;
        padding: 6px;
    }

    .premium-card {
        padding: 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .home-bot-promo {
        max-width: 100%;
        margin-top: 12px;
        padding: 12px;
        border-radius: 12px;
    }

    .home-bot-promo__title {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .home-bot-promo__text {
        font-size: .92rem;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .home-bot-promo__btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 42px;
        font-size: .95rem;
        border-radius: 10px;
    }

    .catalog-bot-cta {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .catalog-bot-cta__title {
        font-size: 15px;
    }

    .catalog-bot-cta__text {
        font-size: 13px;
    }

    .catalog-bot-cta__btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .city-grid {
        gap: 8px;
    }

    /* Base city-card mobile fallback */
    .city-card {
        padding: 12px 15px;
        font-size: 14px;
        text-align: center;
        box-sizing: border-box;
    }

    .city-card:hover {
        transform: none;
    }

    /* Popular cities: 2-column grid (all visible) */
    .popular-cities__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px;
    }

    .city-card.popular {
        padding: 12px;
        text-align: left;
    }
    .city-card__name {
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .city-card--hot .city-card__name {
        font-size: 14px;
    }
    .city-card__badge {
        margin-top: 5px;
        padding: 2px 7px;
        font-size: 10px;
    }
    .city-card__pulse {
        width: 6px;
        height: 6px;
        top: 8px;
        right: 8px;
    }

    .demand-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .entity-city-card {
        padding: 12px;
    }
    .intent-faq {
        padding: 12px;
    }

    /* Accordion cities: 2-column grid */
    .all-countries-accordion .city-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .all-countries-accordion .city-card {
        padding: 10px 12px;
        font-size: 14px;
        text-align: center;
        width: auto;
    }

    /* Profile Mobile Fixes */
    .profile-contact-actions {
        flex-direction: column;
        gap: 10px;
    }

    .profile-contact-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .profile-fav-wrap {
        margin-top: 10px;
    }

    .btn-fav-large {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    user-select: none;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    transition: opacity 0.2s ease;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10002;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-nav:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10003;
    transition: all 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
        background: rgba(0, 0, 0, 0.5);
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }
}

@media (max-width: 768px) {
    .lightbox-nav {
        display: none;
        /* Swipe only on small mobile */
    }

    .lightbox-counter {
        bottom: 20px;
    }
}

.photo-main-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    padding: 3px;
    pointer-events: none;
    z-index: 5;
}

.photo-set-main {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    padding: 0;
    z-index: 6;
}

.photo-set-main:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.1);
}