/* ==========================================================================
   AURA MARKET — ZETSLAY UI LAYER (?v=20261104a)
   Подключается последним и перекрывает страничные стили.
   Оформление один в один со стилем zetslay.pro:
   фон #0a0b0d, панели #15171d, линии #1e2129/#292d35,
   янтарный акцент #f9b32e, Manrope/Inter, карточки radius 24,
   кнопки radius 11 с подъёмом при наведении, только тёмная тема.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ТОКЕНЫ
   -------------------------------------------------------------------------- */

:root {
    color-scheme: dark;

    /* Поверхности */
    --bg-main: #0a0b0d;
    --bg-card: #15171d;
    --bg-secondary: #12141a;
    --bg-header: rgba(10, 11, 13, .9);
    --bg-input: #101216;
    --bg-footer: #0a0b0d;

    /* Линии и наведение */
    --border-light: #1e2129;
    --border-glow: rgba(249, 179, 46, .32);
    --hover-tint: rgba(255, 255, 255, .05);
    --hover-tint-strong: rgba(255, 255, 255, .085);

    /* Акцент */
    --primary: #f9b32e;
    --primary-hover: #ffc751;
    --primary-soft: rgba(249, 179, 46, .12);
    --primary-glow: rgba(249, 179, 46, .28);
    --secondary: #f9b32e;
    --secondary-glow: rgba(249, 179, 46, .24);

    /* Текст */
    --text-main: #f6f7f9;
    --text-white: #f6f7f9;
    --text-secondary: #b6bcc5;
    --text-muted: #a3a9b2;

    /* Статусы */
    --success: #34d399;
    --warning: #fbbf24;
    --danger: #f87171;

    /* Геометрия */
    --radius-sm: 8px;
    --radius-md: 11px;
    --radius-lg: 24px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .28);
    --shadow-md: 0 8px 24px -12px rgba(0, 0, 0, .55);
    --shadow-lg: 0 20px 48px -20px rgba(0, 0, 0, .65);

    --ring: 0 0 0 3px rgba(249, 179, 46, .22);
    --ring-danger: 0 0 0 3px rgba(248, 113, 113, .25);
    --border-hover: rgba(249, 179, 46, .45);

    --price: #f6f7f9;
    --price-bg: rgba(255, 255, 255, .05);
    --price-border: #292d35;

    --font-heading: 'Manrope', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --transition: .16s ease;

    /* Токены слоя */
    --pro-line: #292d35;
    --pro-line-strong: #3a3f4a;
    --pro-surface: #15171d;
    --pro-surface-2: #0e1014;
    --pro-muted: #a3a9b2;
}

/* --------------------------------------------------------------------------
   2. БАЗА
   -------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    /* Закрытая панель фильтров не должна создавать горизонтальный скролл */
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    background: var(--bg-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
[style*="Outfit"] {
    font-family: var(--font-heading) !important;
    letter-spacing: -.035em;
    color: var(--text-white);
}

h1, h2, h3 {
    font-weight: 700;
}

h1,
.h1 {
    font-weight: 800 !important;
    letter-spacing: -.05em;
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
}

strong, b {
    font-weight: 600;
}

::selection {
    background: var(--primary);
    color: #0a0b0d;
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}

.container {
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1320px;
    }
}

main {
    background: var(--bg-main);
}

/* Убираем декоративные анимации и «свечение» */
.unread-badge.show,
.chat-unread-badge.show {
    animation: none;
}

.gradient-text {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    color: inherit !important;
    animation: none !important;
}

/* --------------------------------------------------------------------------
   3. ШАПКА И НАВИГАЦИЯ
   -------------------------------------------------------------------------- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: none;
}

.navbar .container {
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
    /* 64px контент-бокс + 1px нижняя граница .navbar = ровно 65px шапки */
    min-height: 64px;
    gap: 30px;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text-white);
    gap: 10px;
}

.navbar-brand .logo-accent {
    color: var(--primary);
    text-shadow: none;
}

.navbar-brand i {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--primary);
    color: #0a0b0d;
    font-size: .9rem;
    box-shadow: none;
}

.nav-menu {
    gap: 4px;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.nav-menu .nav-link.slide-link {
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    gap: 0;
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .01em;
    transition: color var(--transition), background var(--transition);
    overflow: visible;
}

/* В навигации оставляем только текст: чище и профессиональнее */
.nav-menu .nav-link.slide-link > i {
    display: none;
}

.nav-menu .nav-link.slide-link .nav-text {
    max-width: none;
    font-size: .75rem;
    font-weight: 600;
    margin: 0;
    opacity: 1;
    transform: none !important;
}

.nav-menu .nav-link.slide-link::before {
    display: none !important;
}

.nav-menu .nav-link.slide-link[data-text]::after {
    display: none !important;
}

.nav-menu .nav-link.slide-link:hover {
    color: var(--primary);
    background: transparent;
}

.nav-menu .nav-link.slide-link.active {
    color: var(--primary);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.nav-menu .nav-link.slide-link.text-warning {
    color: var(--text-secondary) !important;
    background: transparent !important;
}

.nav-menu .nav-link.slide-link.text-warning:hover,
.nav-menu .nav-link.slide-link.text-warning.active,
.nav-menu .nav-link.slide-link.text-warning.active:hover {
    color: var(--primary) !important;
    background: transparent !important;
}

.nav-menu .nav-link.slide-link.text-warning.active {
    box-shadow: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-actions-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.theme-toggle-btn,
.support-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 7px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: .95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.theme-toggle-btn:hover,
.support-btn:hover {
    color: var(--text-white);
    background: var(--hover-tint);
    border-color: var(--pro-line);
}

.support-btn {
    position: relative;
}

.nav-actions .btn,
.nav-actions .dropdown-toggle {
    height: 34px;
    min-height: 34px;
    padding: 0 12px;
    font-size: .82rem;
    font-weight: 500;
    border-radius: 7px;
    background: transparent;
    border: 1px solid var(--pro-line);
    color: var(--text-secondary);
}

.nav-actions .btn:hover,
.nav-actions .dropdown-toggle:hover {
    border-color: var(--pro-line-strong);
    background: var(--hover-tint);
    color: var(--text-white);
}

/* «Войти» в шапке — спокойная кнопка; акцент остаётся только у CTA */
.nav-actions .btn-primary:not(.nav-sell-btn) {
    background: transparent !important;
    border-color: var(--pro-line) !important;
    color: var(--text-secondary) !important;
}

.nav-actions .btn-primary:not(.nav-sell-btn):hover {
    background: var(--hover-tint) !important;
    border-color: var(--pro-line-strong) !important;
    color: var(--text-white) !important;
}

.nav-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: .68rem;
    background: var(--primary-soft);
    color: var(--primary);
    border: 0;
}

.nav-sell-btn {
    background: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: #0a0b0d !important;
    font-weight: 700 !important;
    padding: 0 14px !important;
    gap: 7px;
}

.nav-sell-btn:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.nav-sell-btn i {
    font-size: .8rem;
}

@media (max-width: 1080px) {
    .nav-sell-btn span {
        display: none;
    }

    .nav-sell-btn {
        width: 34px;
        padding: 0 !important;
        justify-content: center;
    }
}

@media (max-width: 820px) {
    .nav-sell-btn {
        display: none;
    }

    .navbar .container {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* --------------------------------------------------------------------------
   4. КНОПКИ
   -------------------------------------------------------------------------- */

.btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .005em;
    gap: 8px;
    box-shadow: none !important;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform .16s ease;
    transform: none !important;
}

.btn:hover {
    filter: none !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

.btn:active {
    transform: translateY(0) !important;
}

.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #0a0b0d !important;
}

.btn-primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #0a0b0d !important;
}

.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: #fff !important;
}

.btn-success:hover {
    background: #34a05f !important;
    border-color: #34a05f !important;
}

.btn-danger {
    background: var(--danger) !important;
    border-color: var(--danger) !important;
    color: #fff !important;
}

.btn-danger:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

.btn-secondary {
    background: var(--bg-secondary) !important;
    border-color: var(--pro-line) !important;
    color: var(--text-main) !important;
}

.btn-secondary:hover {
    background: var(--hover-tint-strong) !important;
    border-color: var(--pro-line-strong) !important;
    color: var(--text-white) !important;
}

.btn-outline-secondary,
.btn-outline-light,
.btn-outline-primary {
    background: transparent !important;
    border-color: var(--pro-line-strong) !important;
    color: var(--text-main) !important;
}

.btn-outline-secondary:hover,
.btn-outline-light:hover,
.btn-outline-primary:hover {
    background: var(--hover-tint) !important;
    border-color: var(--text-muted) !important;
    color: var(--text-white) !important;
}

.btn-lg {
    min-height: 46px;
    padding: 0 20px;
    font-size: .925rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    min-height: 32px;
    padding: 0 11px;
    font-size: .79rem;
    border-radius: 6px;
}

.btn-link {
    color: var(--text-secondary);
    border: 0;
    background: transparent;
    min-height: 0;
    padding: 0;
}

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

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: .5;
    filter: none;
}

/* --------------------------------------------------------------------------
   5. ФОРМЫ
   -------------------------------------------------------------------------- */

.form-label,
label.form-label {
    color: var(--text-secondary);
    font-size: .82rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-control,
.form-select,
textarea.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
    background: var(--bg-input);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: .9rem;
    min-height: 42px;
    padding: 9px 12px;
    box-shadow: none !important;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
    opacity: .8;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    background: var(--bg-input);
    border-color: var(--primary);
    color: var(--text-main);
    box-shadow: var(--ring) !important;
    outline: none;
}

textarea.form-control,
textarea {
    min-height: 110px;
    line-height: 1.55;
}

.form-text,
.form-hint {
    color: var(--text-muted);
    font-size: .78rem;
}

.input-group-text {
    background: var(--bg-secondary);
    border: 1px solid var(--pro-line);
    color: var(--text-muted);
    font-size: .85rem;
    border-radius: var(--radius-md);
}

.form-check-input {
    background-color: var(--bg-input);
    border-color: var(--pro-line-strong);
    width: 17px;
    height: 17px;
    margin-top: .15em;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: var(--ring);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: .87rem;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%239096a1' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.6' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 13px;
    padding-right: 36px;
    appearance: none;
}

/* --------------------------------------------------------------------------
   6. КАРТОЧКИ, БЕЙДЖИ, ТАБЛИЦЫ
   -------------------------------------------------------------------------- */

.card {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg);
    box-shadow: none;
    color: var(--text-main);
}
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--pro-line);
    padding: 14px 18px;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-white);
}

.card-body {
    padding: 18px;
}

.card-footer {
    background: transparent;
    border-top: 1px solid var(--pro-line);
    padding: 14px 18px;
}

hr,
.divider {
    border: 0;
    border-top: 1px solid var(--pro-line);
    opacity: 1;
    background: none;
    height: 0;
}

.badge,
.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.5;
    box-shadow: none;
}

.badge.bg-primary,
.badge-primary {
    background: var(--primary-soft) !important;
    color: var(--primary) !important;
}

.chip-success,
.badge-success {
    background: rgba(63, 185, 111, .1) !important;
    border: 1px solid rgba(63, 185, 111, .25);
    color: var(--success) !important;
}

.chip-warning,
.badge-warning {
    background: rgba(213, 163, 60, .1) !important;
    border: 1px solid rgba(213, 163, 60, .25);
    color: var(--warning) !important;
}

.badge-danger {
    background: var(--primary-soft) !important;
    color: var(--danger) !important;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-main);
    --bs-table-border-color: var(--pro-line);
    color: var(--text-main);
    font-size: .86rem;
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    background: transparent;
    border-bottom-color: var(--pro-line);
    padding: 11px 12px;
    box-shadow: none;
}

.table thead th {
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--pro-line-strong);
}

.table-hover > tbody > tr:hover > * {
    background: var(--hover-tint);
    color: var(--text-main);
}

.dropdown-menu {
    background: var(--bg-card) !important;
    border: 1px solid var(--pro-line) !important;
    border-radius: 14px;
    padding: 6px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.dropdown-item {
    color: var(--text-secondary) !important;
    font-size: .84rem;
    padding: 8px 10px !important;
    border-radius: 6px;
    gap: 8px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--hover-tint) !important;
    color: var(--text-white) !important;
}

.dropdown-divider {
    border-color: var(--pro-line);
}

/* --------------------------------------------------------------------------
   7. ГЛАВНАЯ: HERO
   -------------------------------------------------------------------------- */

.hero-section {
    position: relative;
    background: var(--bg-main) !important;
    border-bottom: 1px solid var(--pro-line);
    padding: 92px 0 80px !important;
    overflow: hidden;
}

.hero-grid {
    grid-template-columns: 1fr !important;
    gap: 52px;
    align-items: start;
    text-align: center;
}

.hero-content {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 23px;
    text-transform: uppercase;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex: 0 0 6px;
}

.hero-badge i {
    display: none;
}

.hero-title {
    font-size: clamp(2.6rem, 5.6vw, 4.75rem) !important;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.055em;
    margin-bottom: 24px;
    color: var(--text-white);
}

.hero-title .highlight {
    color: var(--text-white) !important;
    -webkit-text-fill-color: var(--text-white) !important;
    text-shadow: none;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 32px;
}

.hero-cta {
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    color: var(--text-muted);
    font-size: .81rem;
}

.hero-trust span {
    gap: 7px;
}

.hero-trust i {
    color: var(--primary);
    font-size: .85rem;
}

/* Преимущества — бенто-карточки с цветными плитками иконок (как на zetslay.pro) */
.hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    text-align: left;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-top: 1px solid var(--pro-line);
    border-radius: 18px;
    padding: 22px 20px 24px;
    box-shadow: none;
    text-align: left;
    transition: border-color var(--transition), transform .2s ease, background var(--transition);
}

.hero-feature:first-child {
    border-top: 1px solid var(--pro-line);
}

.hero-feature:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: none;
}

.hero-feature .hf-icon {
    grid-row: auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #362918;
    color: #f9b32e;
    font-size: 1.15rem;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.hero-feature:hover .hf-icon {
    transform: translateY(-2px);
}

/* Цветовые акценты плиток: янтарь / синий / зелёный / фиолетовый */
.hero-features > .hero-feature:nth-child(2) .hf-icon {
    background: #362918;
    color: #f9b32e;
}

.hero-features > .hero-feature:nth-child(3) .hf-icon {
    background: #1b2b3f;
    color: #60a5fa;
}

.hero-features > .hero-feature:nth-child(4) .hf-icon {
    background: #17342d;
    color: #34d399;
}

.hero-features > .hero-feature:nth-child(5) .hf-icon {
    background: #29243a;
    color: #a78bfa;
}

.hero-feature h3 {
    grid-column: auto;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -.03em;
    margin: 0;
    color: var(--text-white);
}

.hero-feature p {
    grid-column: auto;
    color: var(--text-muted);
    font-size: .84rem;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 992px) {
    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 56px 0 52px !important;
    }

    .hero-title {
        font-size: clamp(2.1rem, 9vw, 2.9rem) !important;
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-feature {
        padding: 18px 16px 20px;
    }

    .hero-feature p {
        font-size: .8rem;
    }
}

/* --------------------------------------------------------------------------
   8. ГЛАВНАЯ: СТАТИСТИКА И ЗАГОЛОВКИ СЕКЦИЙ
   -------------------------------------------------------------------------- */

.stats-strip {
    padding: 0 !important;
    background: transparent;
    border-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    padding: 22px 24px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 20px;
    transition: border-color .25s ease, transform .25s ease;
}

.stat-item:hover {
    border-color: rgba(249, 179, 46, .4);
    transform: translateY(-3px);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--text-white);
    line-height: 1;
    text-shadow: none;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.stat-label i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 11px;
    background: rgba(249, 179, 46, .13);
    color: var(--primary);
    font-size: 1rem;
    margin-right: 0;
    order: -1;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
    }

    .stat-item {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        text-align: left;
        padding: 16px 18px;
    }

    .stat-label {
        order: 0;
        text-align: left;
        margin-top: 0;
        font-size: .68rem;
    }

    .stat-value {
        font-size: 1.5rem;
        min-width: 60px;
        padding-bottom: 6px;
    }
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    text-align: left !important;
    margin-bottom: 28px;
}

.section-head .section-title {
    font-size: clamp(1.55rem, 2.8vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -.045em;
    margin: 0;
    color: var(--text-white);
}

.section-head .section-title > i {
    display: none;
}

.section-head .section-desc {
    color: var(--text-muted);
    font-size: .82rem;
    margin: 0 0 2px;
    text-align: right;
}

/* Кикер над заголовком секции — как на zetslay.pro */
.section-kicker {
    display: block;
    color: var(--primary);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 23px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.hot-amber,
.hot-cyan {
    color: var(--text-muted);
    font-weight: 500;
}

.hot-section,
.fresh-section {
    padding: 44px 0;
    background: transparent;
}

.fresh-section {
    background: var(--pro-surface-2);
    border-top: 1px solid var(--pro-line);
    border-bottom: 1px solid var(--pro-line);
}

@media (max-width: 640px) {
    .section-head {
        display: block;
    }

    .section-head .section-desc {
        text-align: left;
        margin-top: 6px;
    }

    .hot-section,
    .fresh-section {
        padding: 32px 0;
    }
}

/* --------------------------------------------------------------------------
   9. ГЛАВНАЯ: ХИТ ПРОДАЖ
   -------------------------------------------------------------------------- */

.featured-card {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: none;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.featured-lot-card:hover > .featured-card {
    transform: translateY(-3px);
    border-color: rgba(249, 179, 46, .45);
    box-shadow: 0 22px 50px -30px rgba(0, 0, 0, .95);
}

.featured-media {
    position: relative;
    min-height: 320px;
    background:
        radial-gradient(140% 110% at 18% 0%, rgba(249, 179, 46, .16), transparent 62%),
        linear-gradient(160deg, #171a21 0%, #101216 100%);
    border-right: 1px solid var(--pro-line);
}

.featured-media img,
.featured-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-media .no-image {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 2.6rem;
    color: rgba(249, 179, 46, .55);
}

.featured-media .no-image::after {
    content: 'Фото не загружено';
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: .7;
}

.featured-badge,
.featured-auto {
    position: absolute;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    box-shadow: none;
}

.featured-badge {
    top: 14px;
    background: rgba(9, 10, 12, .82);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
}

.featured-badge i {
    display: none;
}

.featured-auto {
    top: 46px;
    background: rgba(63, 185, 111, .14);
    border: 1px solid rgba(63, 185, 111, .32);
    color: #7fd8a3;
}

.featured-auto i {
    display: none;
}

.featured-body {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.featured-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.featured-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -.025em;
    color: var(--text-white);
}

.featured-binds {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 7px;
    color: var(--text-muted);
    font-size: .8rem;
}

.featured-binds i {
    color: var(--text-muted);
}

.featured-price-box {
    text-align: right;
    flex-shrink: 0;
}

.featured-price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--text-white);
    line-height: 1.1;
}

.featured-price span {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0;
}

.featured-seller {
    margin-top: 5px;
    color: var(--text-muted);
    font-size: .76rem;
}

.featured-seller i {
    display: none;
}

.featured-desc {
    color: var(--text-muted);
    font-size: .87rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-actions {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--pro-line);
}

.featured-actions .btn {
    min-height: 40px;
}

@media (max-width: 860px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
        border-right: 0;
        border-bottom: 1px solid var(--pro-line);
    }

    .featured-body {
        padding: 20px;
    }

    .featured-title {
        font-size: 1.12rem;
    }

    .featured-price {
        font-size: 1.4rem;
    }
}

/* --------------------------------------------------------------------------
   10. ГЛАВНАЯ: СВЕЖИЕ ЛОТЫ, КАТЕГОРИИ, РЕКОМЕНДАЦИИ
   -------------------------------------------------------------------------- */

.fresh-lots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.fresh-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.fresh-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 179, 46, .45);
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
}

.fresh-card .fresh-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    height: auto;
    background:
        radial-gradient(140% 110% at 18% 0%, rgba(249, 179, 46, .16), transparent 62%),
        linear-gradient(160deg, #171a21 0%, #101216 100%);
    border-bottom: 1px solid var(--pro-line);
}

.fresh-card .fresh-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.fresh-card:hover .fresh-thumb img {
    transform: none;
}

.fresh-card .fresh-thumb .no-image {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 2rem;
    color: rgba(249, 179, 46, .55);
    opacity: 1;
}

.fresh-card .fresh-thumb .no-image::after {
    content: 'Фото не загружено';
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: .7;
}

.fresh-auto {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: rgba(9, 10, 12, .82);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    padding: 3px 7px;
    border-radius: 4px;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.fresh-auto i {
    display: none;
}

.fresh-card .fresh-body {
    padding: 13px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.fresh-card .fresh-title {
    font-size: .87rem;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.45em;
}

.fresh-card .fresh-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--text-muted);
    font-size: .74rem;
    padding-top: 9px;
    border-top: 1px solid var(--pro-line);
}

.fresh-card .fresh-meta > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.fresh-card .fresh-price {
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary);
    white-space: nowrap;
    background: rgba(249, 179, 46, .1);
    border: 1px solid rgba(249, 179, 46, .28);
    padding: 3px 10px;
    border-radius: 999px;
}

.fresh-card .fresh-price span {
    font-size: .66rem;
    font-weight: 600;
    color: var(--primary);
    opacity: .75;
}

.section-actions {
    margin-top: 26px;
    text-align: center;
}

.section-actions .btn-primary {
    background: transparent !important;
    border: 1px solid var(--pro-line-strong) !important;
    color: var(--text-main) !important;
}

.section-actions .btn-primary:hover {
    background: var(--hover-tint) !important;
    border-color: var(--text-muted) !important;
    color: var(--text-white) !important;
}

/* Лента покупок */
.aura-ticker-wrap {
    background: linear-gradient(90deg, rgba(249, 179, 46, .07), rgba(249, 179, 46, .02) 55%, transparent),
                var(--bg-card);
    border-bottom: 1px solid var(--pro-line);
    padding: 12px 16px;
    color: var(--text-muted);
}

.aura-ticker-label {
    color: var(--primary);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.aura-ticker-item {
    color: var(--text-muted);
    font-size: .78rem;
    opacity: 1;
}

.aura-ticker-item b {
    color: var(--text-white);
    font-weight: 700;
}

/* Категории */
.aura-cats {
    gap: 8px;
    padding: 18px 16px;
    border-bottom: 1px solid var(--pro-line);
}

.aura-cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: .84rem;
    font-weight: 500;
    transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.aura-cat i {
    color: var(--primary);
    font-size: .95rem;
}

.aura-cat:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 179, 46, .45);
    color: var(--text-white);
}

.aura-cat:hover i {
    color: var(--primary);
}

/* Рекомендации */
.aura-recs {
    margin: 36px auto 0;
}

.aura-recs-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.aura-rec-card {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.aura-rec-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 179, 46, .45);
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
}

.aura-rec-card img,
.aura-rec-ph {
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

.aura-rec-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(140% 110% at 18% 0%, rgba(249, 179, 46, .16), transparent 62%),
        linear-gradient(160deg, #171a21 0%, #101216 100%);
    color: rgba(249, 179, 46, .55);
    font-size: 1.8rem;
}

.aura-rec-body {
    padding: 11px 13px 13px;
}

.aura-rec-title {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-white);
}

.aura-rec-price {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-top: 6px;
}

.aura-rec-bind {
    color: var(--text-muted);
    font-size: .7rem;
}

/* Пустые состояния — мягкая карточка с иконкой-кружком */
.empty-state {
    background:
        radial-gradient(520px 200px at 50% 0%, rgba(249, 179, 46, .07), transparent 70%),
        var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 24px;
    padding: 52px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state i {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(249, 179, 46, .12);
    border: 1px solid rgba(249, 179, 46, .28);
    color: var(--primary);
    font-size: 1.6rem;
    opacity: 1;
}

.empty-state p {
    color: var(--text-white);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 16px 0 4px;
}

.empty-state small {
    color: var(--text-muted);
    font-size: .85rem;
}

/* --------------------------------------------------------------------------
   11. КАТАЛОГ И КАРТОЧКИ ЛОТОВ
   -------------------------------------------------------------------------- */

.category-tabs {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--pro-line);
    border-radius: 0;
    padding: 0;
    gap: 4px;
    margin-bottom: 22px;
}

.category-tab {
    padding: 10px 12px;
    border-radius: 0;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.category-tab:hover {
    background: transparent;
    color: var(--text-white);
}

.category-tab.active {
    background: transparent;
    color: var(--text-white);
    border-bottom-color: var(--primary);
    box-shadow: none;
}

.lot-card {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: none;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.lot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 179, 46, .45);
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
}

.lot-card .card-img-top {
    height: 190px;
    transition: none;
}

.lot-card:hover .card-img-top {
    transform: none;
}

.lot-card .badge-promoted {
    background: rgba(9, 10, 12, .82);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    border-radius: 999px;
    font-size: .6rem;
    letter-spacing: .06em;
}

.lot-card .badge-reserved {
    background: rgba(248, 113, 113, .92);
    border-radius: 999px;
    font-size: .6rem;
    letter-spacing: .06em;
}

/* Бейдж проверенного лота — спокойный зелёный контур */
.lot-verified-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .04em;
    background: rgba(9, 10, 12, .82);
    border: 1px solid rgba(63, 185, 111, .34);
    color: #7fd8a3;
    backdrop-filter: none;
}

.lot-verified-badge i {
    font-size: .68rem;
}

/* Каталог: сетка без браузерного округления Bootstrap (4 колонки на десктопе) */
#lotsContainer.row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

#lotsContainer > .lot-item {
    width: auto;
    max-width: none;
    padding: 0;
}

@media (max-width: 1199px) {
    #lotsContainer.row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    #lotsContainer.row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    #lotsContainer.row {
        grid-template-columns: 1fr;
    }
}

.lot-card .card-body {
    padding: 13px 14px 14px;
}

/* Заголовок и цена в одной строке: заголовок сжимается, цена не наезжает */
.lot-card .card-body > .d-flex {
    gap: 10px;
    min-width: 0;
}

.lot-card .lot-title {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.38;
    margin-bottom: 5px;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lot-card .lot-description {
    font-size: .8rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.lot-card .lot-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
    flex-shrink: 0;
    line-height: 1.3;
}

.lot-card .lot-price span {
    color: var(--text-muted);
}

.lot-card .seller-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--pro-line);
    font-size: .72rem;
    color: var(--text-muted);
}

.lot-card .seller-info .avatar {
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 50%;
    font-size: .58rem;
}

/* Фильтры каталога */
.filter-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--pro-line-strong);
    color: var(--text-main);
    font-size: 1.15rem;
    box-shadow: var(--shadow-md);
}

.filter-toggle-btn:hover {
    transform: none;
    background: var(--hover-tint-strong);
    border-color: var(--text-muted);
    box-shadow: var(--shadow-md);
}

.filter-panel {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    visibility: hidden;
    transition: right .3s cubic-bezier(.25, .8, .25, 1), visibility 0s linear .3s;
}

.filter-panel.open {
    visibility: visible;
    transition: right .3s cubic-bezier(.25, .8, .25, 1), visibility 0s;
}

.market-search .form-control {
    border-radius: var(--radius-md);
    height: 44px;
    border-color: var(--pro-line);
    background: var(--bg-input);
    box-shadow: none;
}

.market-search .form-control:focus {
    border-color: var(--primary);
    box-shadow: var(--ring);
}

.market-search .btn-search {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary) !important;
    border: 1px solid var(--pro-line) !important;
    color: var(--text-secondary) !important;
}

.market-search .btn-search:hover {
    background: var(--hover-tint-strong) !important;
    border-color: var(--pro-line-strong) !important;
    color: var(--text-white) !important;
}

.market-header h1 {
    font-weight: 700 !important;
    letter-spacing: -.03em;
}

.market-header h1 > i {
    display: none;
}

/* Кнопки выбора в модальных окнах — плоские */
.custom-modal .btn-choice.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.custom-modal .btn-choice.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   12. СТРАНИЦА ЛОТА
   -------------------------------------------------------------------------- */

.lot-detail-card,
.lot-main-card,
.lot-info-card,
.lot-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg);
    box-shadow: none;
}

.lot-detail-title,
.lot-title-main {
    letter-spacing: -.03em;
}

.featured-badge {
    background: rgba(9, 10, 12, .82) !important;
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   13. ВХОД, РЕГИСТРАЦИЯ, ТЕЛЕГРАМ
   -------------------------------------------------------------------------- */

.login-wrap {
    max-width: 440px;
    padding: 56px 16px 72px;
}

.login-card {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg);
    padding: 32px 30px;
    box-shadow: none;
}

.login-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    margin: 0 auto 16px;
    background: var(--primary-soft) !important;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: none;
}

.login-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.03em;
    text-align: center;
    color: var(--text-white);
    margin: 0 0 7px;
}

.login-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: .86rem;
    line-height: 1.55;
    margin: 0 0 22px;
}

.login-card .btn-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    background: #fff;
    border: 1px solid #d8dade;
    border-radius: var(--radius-md);
    color: #20242a;
    font-size: .9rem;
    font-weight: 500;
    box-shadow: none;
    transition: background var(--transition), border-color var(--transition);
}

.login-card .btn-google-login:hover {
    background: #f3f4f6;
    border-color: #c9ccd2;
    transform: none;
    box-shadow: none;
}

.login-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 11px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--pro-line);
    border-radius: 7px;
    color: var(--text-muted);
    font-size: .76rem;
    line-height: 1.5;
}

.login-note i {
    color: var(--text-muted);
    margin-top: 1px;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 12px;
    color: var(--text-muted);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--pro-line);
}

.login-card .local-login summary {
    color: var(--text-muted);
    font-size: .78rem;
    cursor: pointer;
}

.login-card .local-login form {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.login-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 20px;
    font-size: .72rem;
    color: var(--text-muted);
}

.login-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.login-footer-links a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: .82rem;
}

.login-back:hover {
    color: var(--text-white);
}

.error-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: var(--primary-soft);
    border: 1px solid rgba(248, 113, 113, .3);
    border-radius: 7px;
    padding: 10px 12px;
    color: var(--danger);
    font-size: .8rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.register-card {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.register-avatar {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--primary-soft) !important;
    color: var(--primary);
    font-size: 1.15rem;
    box-shadow: none;
}

.register-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: -.03em;
}

.tg-icon,
.tg-icon.ok {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--primary-soft) !important;
    color: var(--primary);
    font-size: 1.3rem;
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   14. ПРОФИЛЬ, ДОСТИЖЕНИЯ И ИНФОРМАЦИОННЫЕ СТРАНИЦЫ
   -------------------------------------------------------------------------- */

.profile-card,
.view-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg);
    box-shadow: none;
}

.profile-header {
    background: transparent !important;
    border-bottom: 1px solid var(--pro-line);
    padding: 30px 28px 24px;
}

.profile-avatar-wrapper .avatar-circle,
.profile-avatar {
    background: var(--primary-soft) !important;
    color: var(--primary);
    border: 1px solid rgba(249, 179, 46, .3) !important;
    box-shadow: none;
}

.profile-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.03em;
}

.profile-username {
    color: var(--text-muted);
    font-size: .84rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--hover-tint);
    border: 1px solid var(--pro-line-strong);
    color: var(--text-secondary);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .06em;
}

.profile-badge.admin {
    background: rgba(249, 179, 46, .1);
    border-color: rgba(249, 179, 46, .32);
    color: #f9c95e;
}

.profile-badge.user {
    background: var(--hover-tint);
    border-color: var(--pro-line-strong);
    color: var(--text-secondary);
}

.profile-badge.banned {
    background: rgba(248, 113, 113, .12);
    border-color: rgba(248, 113, 113, .4);
    color: #fca5a5;
}

.profile-badge i {
    font-size: .72rem;
}

.profile-stats {
    border-top: 1px solid var(--pro-line);
}

.profile-stat {
    padding: 16px 10px;
    border-right: 1px solid var(--pro-line);
}

.profile-stat:last-child {
    border-right: 0;
}

.ach-hero,
.ref-hero,
.support-hero,
.info-hero {
    background: var(--bg-card) !important;
    border: 1px solid var(--pro-line) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: none;
}

.ach-wrap,
.ref-hero,
.support-hero,
.info-hero {
    box-shadow: none;
}

.ach-wrap,
.support-wrap,
.info-wrap {
    padding-top: 32px !important;
}

.level-badge {
    background: var(--hover-tint) !important;
    border: 1px solid var(--pro-line-strong) !important;
    border-radius: 4px;
    padding: 6px 12px;
    color: var(--text-white) !important;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .03em;
}

.level-progress .track {
    background: var(--hover-tint-strong) !important;
    border-radius: 3px;
}

.level-progress .fill {
    background: var(--primary) !important;
    border-radius: 3px;
}

.section-title {
    letter-spacing: -.025em;
}

/* Заголовок приветственной страницы — без градиента */
.welcome-title {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: currentColor !important;
    color: var(--text-white) !important;
    letter-spacing: -.04em;
}

/* Единая типографика вместо унаследованного Outfit в страничных стилях */
.profile-name,
.profile-stat .stat-number,
.reviews-title,
.profile-lots-title,
.my-lots-title,
.welcome-title,
.price-display,
.stat-value,
.login-title,
.register-title,
.hero-title,
.timer-container .timer-time,
.timer-12h-container .timer-12h-time,
.custom-modal .modal-header h3,
.filter-panel .filter-header h3,
.empty-chats h3,
.empty-lots-card h3,
.empty-wishlist h3,
.chat-page-head h2,
.edit-header h2,
.no-results h3 {
    font-family: var(--font-heading) !important;
}

/* --------------------------------------------------------------------------
   15. ПОДВАЛ — волна zetslay.pro (?v=20261104a)
   -------------------------------------------------------------------------- */

.footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0b0d 0%, #11100f 65%, #19130f 100%);
    border-top: 1px solid var(--pro-line);
    color: #f4f4f5;
    padding: 78px 0 26px;
    margin-top: 0;
    font-size: .75rem;
}

.footer-wave-backdrop {
    position: absolute;
    z-index: -1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-wave {
    position: absolute;
    bottom: -85px;
    left: -12%;
    width: max(1800px, 150%);
    height: 500px;
}

.footer-wave path {
    fill: #e89042;
}

.footer-wave--back {
    opacity: .055;
    animation: footer-wave-back 24s ease-in-out infinite alternate;
}

.footer-wave--front {
    opacity: .075;
    animation: footer-wave-front 19s ease-in-out infinite alternate;
}

.footer-wave--front path {
    fill: #ee9c56;
}

@keyframes footer-wave-back {
    from { transform: translateX(-4%) translateY(6px); }
    to { transform: translateX(4%) translateY(-5px); }
}

@keyframes footer-wave-front {
    from { transform: translateX(3%) translateY(-3px); }
    to { transform: translateX(-3%) translateY(8px); }
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr .9fr 1fr 1.2fr;
    gap: clamp(28px, 4vw, 64px);
    margin-bottom: 0;
    padding-bottom: 56px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 340px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #f4f4f5;
    margin-bottom: 0;
}

.footer-logo .logo-accent {
    color: var(--primary);
    text-shadow: none;
}

.footer-text {
    color: #a3a9b2;
    font-size: .85rem;
    line-height: 1.7;
    margin: 0;
    max-width: 320px;
}

.footer-cta {
    align-self: flex-start;
    margin-top: 8px;
}

.footer-title {
    font-family: var(--font-body);
    color: #f4f4f5;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 11px;
}

.footer-links a {
    color: #a3a9b2;
    font-size: .85rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a i {
    color: var(--primary);
    margin-right: 6px;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 14px;
    border: 1px solid var(--pro-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    color: #a3a9b2;
    font-size: .72rem;
    font-weight: 600;
}

.footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--pro-line);
    padding-top: 18px;
    text-align: left;
    color: #a3a9b2;
    font-size: .74rem;
}

.footer-bottom p {
    margin: 0;
    color: #a3a9b2;
}

.footer-bottom-note {
    opacity: .75;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 34px;
    }
}

@media (max-width: 700px) {
    .footer {
        padding-top: 56px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 26px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }

    .footer-text {
        max-width: none;
    }
}

@media (max-width: 420px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* --------------------------------------------------------------------------
   16. УВЕДОМЛЕНИЯ, ТОСТЫ, МОДАЛЬНЫЕ ОКНА
   -------------------------------------------------------------------------- */

.toast {
    background: var(--bg-card);
    border: 1px solid var(--pro-line-strong);
    border-radius: 8px;
    color: var(--text-main);
    box-shadow: var(--shadow-lg);
}

.toast-header {
    background: transparent;
    border-bottom: 1px solid var(--pro-line);
    color: var(--text-main);
}

#notificationPanel {
    background: var(--bg-card);
    border-left: 1px solid var(--pro-line);
    box-shadow: var(--shadow-lg);
}

#notificationOverlay {
    background: rgba(0, 0, 0, .55);
    backdrop-filter: none;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header,
.modal-footer {
    border-color: var(--pro-line);
}

.modal-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -.02em;
}

/* --------------------------------------------------------------------------
   17. АДМИНКА: БАЗОВАЯ СОВМЕСТИМОСТЬ
   -------------------------------------------------------------------------- */

.admin-sidebar,
.sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--pro-line);
}

.admin-sidebar a,
.sidebar a {
    border-radius: 6px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg);
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   18. СЛУЖЕБНОЕ
   -------------------------------------------------------------------------- */

.page-loader {
    background: var(--bg-main);
}

.loader-spinner {
    border-color: var(--pro-line);
    border-top-color: var(--primary);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: #2a2c33;
    border: 2px solid var(--bg-main);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #383b44;
}

/* Скелетоны без «бегущего блика» */
.skeleton {
    background: var(--hover-tint-strong) !important;
    animation: none !important;
}

/* Плавающая кнопка Telegram — в общей палитре, без пульсации */
.telegram-float,
.telegram-float:hover {
    max-width: 46px !important;
    transform: none;
}

.telegram-float .telegram-content {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    gap: 0;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--pro-line-strong);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    animation: none;
}

.telegram-float:hover .telegram-content {
    min-width: 46px;
    padding: 0;
    background: var(--bg-secondary);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.telegram-float .telegram-content i {
    margin: 0;
    font-size: 1.15rem;
    color: var(--text-secondary);
    filter: none;
}

.telegram-float:hover .telegram-content i {
    color: var(--primary);
}

.telegram-float .telegram-text {
    display: none !important;
}

/* Текстовые утилиты */
.text-muted {
    color: var(--text-muted) !important;
}

.text-white {
    color: var(--text-white) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-card {
    background: var(--bg-card) !important;
}

/* --------------------------------------------------------------------------
   19. МОБИЛЬНЫЕ УТОЧНЕНИЯ
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* Мобильное меню: строки нормальной высоты, без «подчёркивания» */
    .nav-menu {
        padding: 14px 12px;
        gap: 2px;
    }

    .nav-menu .nav-link.slide-link {
        height: 48px;
        min-height: 48px;
        padding: 0 14px;
        border-radius: 6px;
        width: 100%;
        max-width: none;
    }

    .nav-menu .nav-link.slide-link:hover {
        padding: 0 14px;
        transform: none;
    }

    .nav-menu .nav-link.slide-link.active {
        padding: 0 14px;
        box-shadow: inset 2px 0 0 0 var(--primary);
        background: var(--hover-tint);
        border-radius: 6px;
    }

    .nav-menu .nav-link.slide-link .nav-text {
        margin-left: 0;
        max-width: none;
        font-size: .92rem;
    }

    #menuToggle {
        width: 38px;
        height: 38px;
        min-height: 38px;
        padding: 0;
    }

    /* Нижнее меню: активный пункт — цветом, без «пилюли» */
    .mobile-bottom-nav {
        background: var(--bg-header);
        border-top: 1px solid var(--pro-line);
        backdrop-filter: saturate(140%) blur(14px);
        -webkit-backdrop-filter: saturate(140%) blur(14px);
    }

    .mobile-bottom-nav a {
        border-radius: 6px;
        color: var(--text-muted);
    }

    .mobile-bottom-nav a.active {
        background: transparent;
        color: var(--primary);
        border-radius: 6px;
    }

    .mobile-bottom-nav a.active i {
        color: var(--primary);
    }

    /* Telegram не перекрывает нижнюю навигацию */
    .telegram-float {
        bottom: 84px !important;
        right: 14px !important;
    }

    /* На каталоге выше кнопки фильтра */
    body:has(.filter-toggle-btn) .telegram-float {
        bottom: 146px !important;
    }

    /* Рекомендации — по две карточки, а не одна колонка */
    .aura-recs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hero-title {
        font-size: clamp(2.1rem, 8vw, 3rem) !important;
    }

    .hero-feature {
        padding: 18px 16px 20px;
    }

    .hero-feature .hf-icon {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
    }

    .featured-body {
        padding: 18px;
    }

    .fresh-lots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .fresh-card .fresh-body {
        padding: 11px 12px 12px;
    }

    .fresh-card .fresh-title {
        font-size: .82rem;
    }

    .navbar-brand {
        font-size: .95rem;
    }
}

/* Узкие экраны: шапка в одну строку, компактные действия */
@media (max-width: 576px) {
    .navbar .container {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .navbar-brand {
        font-size: .9rem;
        gap: 7px;
        flex-shrink: 0;
    }

    .navbar-brand i {
        width: 26px;
        height: 26px;
        font-size: .78rem;
    }

    .nav-actions {
        margin-left: auto;
        gap: 2px;
    }

    .nav-actions-wrapper {
        padding: 0;
        gap: 0;
    }

    .nav-actions-wrapper .theme-toggle-btn,
    .nav-actions-wrapper .support-btn {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .nav-actions .btn-primary:not(.nav-sell-btn) {
        width: 34px;
        min-width: 34px;
        padding: 0;
        font-size: 0;
        gap: 0;
        justify-content: center;
    }

    .nav-actions .btn-primary:not(.nav-sell-btn) i {
        font-size: .9rem;
    }

    .nav-actions .dropdown-toggle {
        max-width: 40px;
        padding: 0 6px;
        font-size: 0;
        gap: 0;
    }

    .nav-actions .dropdown-toggle .nav-avatar {
        margin: 0;
    }

    #menuToggle {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0;
    }
}

@media (max-width: 380px) {
    .fresh-lots-grid {
        grid-template-columns: 1fr;
    }

    .aura-recs-grid {
        grid-template-columns: 1fr;
    }

    .nav-actions-wrapper > a.theme-toggle-btn {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   20. ДОСТУПНОСТЬ
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   21. ZETSLAY — ВЫРАЗИТЕЛЬНЫЙ СЛОЙ (?v=20261104a)
   Декоративный фон героя (оранжевый, как на zetslay.pro), индикатор «ONLINE»,
   янтарные акценты в заголовках/ценах/карточках, мобильная поддержка.
   -------------------------------------------------------------------------- */

html {
    scroll-padding-top: 84px;
}

/* --- 21.1 Герой: декоративный фон --- */

.hero-section {
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(920px 500px at 88% -12%, rgba(217, 87, 18, .30), transparent 62%),
        radial-gradient(640px 440px at -12% 112%, rgba(249, 179, 46, .10), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 46%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(780px 540px at 74% 30%, #000 0%, rgba(0, 0, 0, .45) 48%, transparent 80%);
    mask-image: radial-gradient(780px 540px at 74% 30%, #000 0%, rgba(0, 0, 0, .45) 48%, transparent 80%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary) 32%, var(--primary) 68%, transparent);
    opacity: .85;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

/* --- 21.2 Бенто преимуществ: строка-кикер с индикатором --- */

.hero-features {
    padding: 0;
    overflow: visible;
}

.hero-features-head {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 0 2px;
    background: transparent;
    border-bottom: 0;
}

.hfh-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 23px;
    text-transform: uppercase;
    color: var(--primary);
}

.hfh-title i {
    color: var(--primary);
    font-size: .95rem;
}

.hfh-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--text-muted);
    white-space: nowrap;
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    animation: auraLivePulse 2.2s ease-out infinite;
}

@keyframes auraLivePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, .5);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(52, 211, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
    }
}

.hero-features-head + .hero-feature {
    border-top: 1px solid var(--pro-line);
}

.hero-feature {
    transition: border-color var(--transition), transform .2s ease, background var(--transition);
}

.hero-feature .hf-icon {
    transition: transform var(--transition);
}

.hero-feature:hover {
    background: var(--bg-card);
}

.hero-feature:hover .hf-icon {
    transform: translateY(-2px);
}

/* --- 21.3 Заголовки секций: янтарный кикер --- */

.section-head {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center !important;
    margin-bottom: 36px;
}

.section-head-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.section-head .section-title {
    display: block;
    font-size: clamp(1.75rem, 3.4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.05em;
}

.section-head .section-title::before {
    content: none;
}

.section-head .section-title > i {
    display: none;
}

.section-head .section-desc {
    text-align: center;
    margin-top: 4px;
}

/* --- 21.4 Статистика: акцентный штрих под числом --- */

.stat-value {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.stat-value::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), rgba(249, 179, 46, 0));
    transform: none;
}

/* --- 21.5 Карточки лотов: подъём и янтарная линия --- */

.lot-card,
.fresh-card {
    position: relative;
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.lot-card::before,
.fresh-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
    z-index: 5;
    pointer-events: none;
}

.lot-card:hover,
.fresh-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 179, 46, .45);
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
}

.lot-card:hover::before,
.fresh-card:hover::before {
    transform: scaleX(1);
}

/* Красная цена — единый акцент маркетплейса */
.fresh-card .fresh-price,
.lot-card .lot-price,
.featured-price,
.aura-rec-price {
    color: var(--primary);
}

/* --- 21.6 Хит продаж --- */

.featured-card {
    border-color: rgba(249, 179, 46, .38);
    transition: border-color var(--transition), transform .22s ease, box-shadow .22s ease;
}

.featured-lot-card:hover > .featured-card {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 22px 50px -30px rgba(0, 0, 0, .95);
}

.featured-badge {
    background: var(--primary);
    border-color: var(--primary);
    color: #0a0b0d;
}

.featured-badge i {
    display: inline-block;
}

/* --- 21.7 Заголовок каталога --- */

.market-header h1 {
    position: relative;
    padding-left: 14px;
}

.market-header h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: .14em;
    bottom: .14em;
    width: 4px;
    border-radius: 2px;
    background: var(--primary);
}

/* --- 21.8 Вход и футер --- */

.login-card {
    border-top: 2px solid var(--primary);
}

.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), rgba(249, 179, 46, .35) 38%, transparent 72%);
    pointer-events: none;
}

/* --- 21.9 Лента, категории, кнопки --- */

.aura-ticker-label {
    color: var(--primary);
}

.aura-cat:hover {
    border-color: var(--primary);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px -12px rgba(249, 179, 46, .55) !important;
}

/* --- 21.10 Мобильная поддержка --- */

@media (max-width: 768px) {
    /* Поля не меньше 16px: Safari/Chrome не «зумит» страницу при фокусе */
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
    select,
    textarea,
    .form-control:not(.form-control-sm),
    .form-select:not(.form-select-sm) {
        font-size: 16px;
    }

    /* Убираем серую подсветку тапа и двойную задержку на ссылках */
    a,
    button,
    .btn,
    [role="button"] {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .hero-bg::before {
        background-size: 44px 44px;
    }

    .stat-value {
        font-size: 1.4rem;
        padding-bottom: 8px;
    }

    .stat-value::after {
        width: 18px;
    }

    .section-head .section-title::before {
        height: 1.05em;
    }

    .hero-features-head {
        padding: 13px 16px;
    }

    /* Контент не уходит под нижнюю навигацию с учётом safe-area */
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    /* Крупные тап-таргеты в нижнем меню */
    .mobile-bottom-nav a {
        min-height: 46px;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   22. ZETSLAY — СТРУКТУРНЫЕ БЛОКИ ГЛАВНОЙ (?v=20261104a)
   Сцена героя (CSS-монеты), лента привязок, бенто с мокапами интерфейса,
   секция шагов с превью, двухколоночный FAQ-аккордеон.
   -------------------------------------------------------------------------- */

/* --- 22.1 Герой: сцена с монетами --- */

.hero-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.coin {
    position: absolute;
    display: block;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, #ffe9b8 0%, #f9b32e 38%, #b87911 78%, #8a5a0c 100%);
    box-shadow:
        inset 0 -6px 14px rgba(80, 48, 0, .55),
        inset 0 4px 10px rgba(255, 240, 200, .55),
        0 14px 34px -14px rgba(0, 0, 0, .8);
    opacity: .9;
    animation: coinFloat 9s ease-in-out infinite alternate;
}

.coin::after {
    content: '';
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    border: 2px solid rgba(120, 74, 8, .5);
    box-shadow: inset 0 2px 5px rgba(255, 236, 190, .5);
}

.coin-a { width: 92px; height: 92px; top: 16%; left: 7%; animation-duration: 8s; }
.coin-b { width: 54px; height: 54px; top: 58%; left: 13%; animation-duration: 11s; animation-delay: -2s; opacity: .7; }
.coin-c { width: 68px; height: 68px; top: 24%; right: 9%; animation-duration: 10s; animation-delay: -4s; }
.coin-d { width: 38px; height: 38px; top: 66%; right: 15%; animation-duration: 7.5s; animation-delay: -1s; opacity: .65; }
.coin-e { width: 120px; height: 120px; top: 8%; right: 24%; animation-duration: 12s; animation-delay: -6s; opacity: .5; }
.coin-f { width: 44px; height: 44px; top: 74%; left: 42%; animation-duration: 9.5s; animation-delay: -3s; opacity: .55; }
.coin-g { width: 30px; height: 30px; top: 34%; left: 22%; animation-duration: 8.5s; animation-delay: -5s; opacity: .6; }

@keyframes coinFloat {
    from { transform: translateY(0) rotate(-8deg); }
    to { transform: translateY(-26px) rotate(8deg); }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* --- 22.2 Лента привязок под героем --- */

.trust-strip {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--pro-line);
    padding: 26px 0 30px;
}

.trust-strip-label {
    margin: 0 0 14px;
    color: var(--text-muted);
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-align: center;
}

.trust-strip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.trust-strip-row .aura-cat {
    margin: 0;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    font-size: .85rem;
    transition: border-color .2s ease, transform .2s ease;
}

.trust-strip-row .aura-cat:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* --- 22.3 Бенто с мокапами интерфейса --- */

.bento-section {
    padding: 72px 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--pro-line);
}

.bento-section .section-head {
    align-items: flex-end;
}

.bento-section .section-head .hero-features-head {
    flex: none;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bento-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg, 24px);
    transition: border-color .25s ease, transform .25s ease;
}

.bento-card:hover {
    border-color: rgba(249, 179, 46, .4);
    transform: translateY(-3px);
}

.bento-card--wide {
    grid-column: span 2;
}

.bento-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.bento-head h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text-white);
}

.bento-card > p {
    margin: 0 0 20px;
    color: var(--text-muted);
    font-size: .875rem;
    line-height: 1.65;
}

.bento-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: none;
    border-radius: 11px;
    font-size: 1.1rem;
}

.bi-icon-amber { background: rgba(249, 179, 46, .13); color: var(--primary); }
.bi-icon-blue { background: rgba(96, 165, 250, .13); color: #60a5fa; }
.bi-icon-green { background: rgba(52, 211, 153, .13); color: var(--success); }
.bi-icon-violet { background: rgba(167, 139, 250, .13); color: #a78bfa; }

.bento-mock {
    margin-top: auto;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--pro-line);
    border-radius: 14px;
}

/* Мок: карточка сделки */
.mock-deal-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mock-ava {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #f9b32e, #d95712);
    color: #1a1206;
    font-size: .78rem;
    font-weight: 800;
}

.mock-deal-info {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mock-deal-info strong {
    font-size: .82rem;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-deal-info small {
    color: var(--text-muted);
    font-size: .7rem;
}

.mock-price {
    flex: none;
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 800;
    color: var(--primary);
}

.mock-deal-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px dashed var(--pro-line);
    font-size: .7rem;
    font-weight: 600;
}

.mock-deal-steps span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
}

.mock-deal-steps .done {
    background: rgba(52, 211, 153, .12);
    color: var(--success);
}

.mock-deal-steps .wait {
    background: rgba(249, 179, 46, .12);
    color: var(--primary);
}

/* Мок: график выплат */
.mock-chart-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 8px;
    font-size: .72rem;
    color: var(--text-muted);
}

.mock-chart-top strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--success);
}

.mock-chart svg {
    display: block;
    width: 100%;
    height: 56px;
}

/* Мок: автовыдача */
.mock-auto {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.mock-auto-row {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .78rem;
    color: var(--text-muted);
}

.mock-auto-row i {
    color: var(--success);
}

/* Мок: чат поддержки */
.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-bubble {
    max-width: 88%;
    padding: 9px 13px;
    border-radius: 13px;
    font-size: .78rem;
    line-height: 1.45;
}

.mock-bubble.in {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    color: var(--text-muted);
    border-bottom-left-radius: 4px;
}

.mock-bubble.out {
    align-self: flex-end;
    background: rgba(249, 179, 46, .13);
    border: 1px solid rgba(249, 179, 46, .3);
    color: var(--text-white);
    border-bottom-right-radius: 4px;
}

.mock-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    font-size: .68rem;
    color: var(--text-muted);
}

/* --- 22.4 Секция шагов --- */

.steps-section {
    padding: 84px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--pro-line);
}

.steps-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
}

.steps-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.14;
    color: var(--text-white);
    text-wrap: balance;
}

.steps-lead {
    max-width: 430px;
    margin: 0 0 4px;
    color: var(--text-muted);
    font-size: .92rem;
    line-height: 1.7;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.step-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg, 24px);
    transition: border-color .25s ease, transform .25s ease;
}

.step-card:hover {
    border-color: rgba(249, 179, 46, .45);
    transform: translateY(-4px);
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -.05em;
    color: var(--primary);
}

.step-arrow {
    color: var(--text-muted);
    font-size: .95rem;
    opacity: .6;
}

.step-card:last-child .step-arrow {
    opacity: 0;
}

.step-preview {
    height: 132px;
    margin-bottom: 18px;
    padding: 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--pro-line);
    border-radius: 14px;
    overflow: hidden;
}

/* Превью 1: лот */
.pv-lot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 11px;
}

.pv-lot-thumb {
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 9px;
    background: linear-gradient(135deg, #2b3140, #171a21);
    border: 1px solid var(--pro-line);
}

.pv-lot-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pv-lot-lines span,
.pv-cred-line {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: var(--pro-line);
}

.w80 { width: 80%; }
.w70 { width: 70%; }
.w55 { width: 55%; }
.w50 { width: 50%; }

.pv-lot-price {
    flex: none;
    font-family: var(--font-heading);
    font-size: .85rem;
    font-weight: 800;
    color: var(--primary);
}

/* Превью 2: оплата */
.pv-pay {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pv-pay-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 10px;
    font-size: .76rem;
    color: var(--text-muted);
}

.pv-pay-row span {
    flex: 1;
}

.pv-pay-row > i:first-child {
    color: var(--text-white);
}

.pv-ok {
    color: var(--success);
}

.pv-pay-sum {
    display: flex;
    justify-content: space-between;
    padding: 2px 4px 0;
    font-size: .74rem;
    color: var(--text-muted);
}

.pv-pay-sum b {
    color: var(--text-white);
    font-family: var(--font-heading);
}

/* Превью 3: чат сделки */
.pv-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pv-msg {
    max-width: 90%;
    padding: 8px 11px;
    border-radius: 11px;
    font-size: .72rem;
    line-height: 1.4;
}

.pv-msg.in {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    color: var(--text-muted);
    border-bottom-left-radius: 4px;
}

.pv-msg.out {
    align-self: flex-end;
    background: rgba(249, 179, 46, .13);
    border: 1px solid rgba(249, 179, 46, .3);
    color: var(--text-white);
    border-bottom-right-radius: 4px;
}

.pv-msg.creds {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-card);
    border: 1px dashed rgba(249, 179, 46, .45);
    border-bottom-left-radius: 4px;
    width: 74%;
    padding: 10px 11px;
}

.pv-msg.creds .pv-cred-line {
    background: rgba(249, 179, 46, .35);
}

/* Превью 4: подтверждение */
.pv-check {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.pv-check-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 11px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: 10px;
    font-size: .76rem;
    color: var(--text-muted);
}

.pv-check-row i {
    color: var(--success);
}

.step-caption {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 10px;
    background: rgba(249, 179, 46, .13);
    color: var(--primary);
    font-size: .95rem;
}

.step-caption h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text-white);
}

.step-card > p {
    margin: 0;
    color: var(--text-muted);
    font-size: .81rem;
    line-height: 1.62;
}

.steps-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    margin-top: 30px;
    padding: 22px 26px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-lg, 24px);
}

.steps-footer p {
    margin: 0 0 4px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-white);
}

.steps-footer small {
    color: var(--text-muted);
    font-size: .75rem;
    line-height: 1.6;
}

.steps-footer .btn {
    flex: none;
}

/* --- 22.5 FAQ: две колонки, аккордеон --- */

.faq-section {
    padding: 84px 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--pro-line);
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr);
    gap: 64px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 96px;
}

.faq-title {
    margin: 0 0 16px;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.15;
    color: var(--text-white);
    text-wrap: balance;
}

.faq-lead {
    max-width: 320px;
    margin: 0;
    color: var(--text-muted);
    font-size: .875rem;
    line-height: 1.7;
}

.faq-guide {
    max-width: 320px;
    margin-top: 32px;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-md, 14px);
}

.faq-guide-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: 10px;
    background: rgba(249, 179, 46, .13);
    color: var(--primary);
}

.faq-guide h3 {
    margin: 0 0 7px;
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 800;
    color: var(--text-white);
}

.faq-guide p {
    margin: 0 0 12px;
    color: var(--text-muted);
    font-size: .78rem;
    line-height: 1.7;
}

.faq-guide a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.faq-guide a:hover {
    text-decoration: underline;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--pro-line);
    border-radius: var(--radius-md, 14px);
    overflow: hidden;
    transition: border-color .2s ease;
}

.faq-item[open] {
    border-color: rgba(249, 179, 46, .4);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--text-white);
    transition: color .2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    color: var(--primary);
}

.faq-mark {
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
}

.faq-mark::before,
.faq-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--primary);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}

.faq-mark::before {
    width: 14px;
    height: 2px;
}

.faq-mark::after {
    width: 2px;
    height: 14px;
}

.faq-item[open] .faq-mark::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
    padding: 0 22px 20px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-muted);
    font-size: .875rem;
    line-height: 1.7;
}

.faq-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 8px;
    padding: 11px 20px;
    background: transparent;
    border: 1px solid var(--pro-line);
    border-radius: 999px;
    color: var(--text-white);
    font-size: .85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease;
}

.faq-more:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* --- 22.6 Адаптив новых блоков --- */

@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bento-card--wide {
        grid-column: span 2;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .faq-intro {
        position: static;
    }

    .faq-lead,
    .faq-guide {
        max-width: none;
    }

    .steps-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .steps-lead {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .bento-section,
    .steps-section,
    .faq-section {
        padding: 52px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card--wide {
        grid-column: span 1;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .steps-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .coin-e,
    .coin-g {
        display: none;
    }

    .coin-a { width: 58px; height: 58px; top: 12%; left: 4%; }
    .coin-c { width: 46px; height: 46px; top: 20%; right: 5%; }
}
