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

input, textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

img {
    /* ЗАЩИТА ОТКЛЮЧЕНА
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    */
}

.history-item-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.admin-container {
    overflow: hidden;
    height: 100vh;
}

:root {
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --secondary-color: #a78bfa;
    --accent-color: #8b5cf6;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    --bg-primary: #0f0e1a;
    --bg-secondary: #13111f;
    --bg-tertiary: #1a1828;
    --bg-card: #1e1c2e;

    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #6b7280;

    --border-color: rgba(124, 58, 237, 0.25);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);

    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* SKINJET purple palette */
    --sj-purple: #8b5cf6;
    --sj-purple-dark: #7c3aed;
    --sj-purple-light: #a78bfa;
    --sj-purple-dim: #6d28d9;
    --sj-bg: #0f0e1a;
    --sj-bg-card: #1e1c2e;
    --sj-border: rgba(124, 58, 237, 0.25);
    --sj-green: #22c55e;
    --sj-red: #ef4444;
    --sj-orange: #f97316;

    /* Keep csmoney vars for compatibility */
    --csmoney-primary: #8b5cf6;
    --csmoney-orange: #8b5cf6;
    --csmoney-bg-card: #1e1c2e;
    --csmoney-bg-secondary: #13111f;
    --csmoney-border: rgba(124, 58, 237, 0.25);
    --csmoney-success: #22c55e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0f0e1a;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: clip;
}

.metrics-section {
    padding: 3.5rem 0 3rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    align-items: flex-start;
}

.metric-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #e8eaf0;
}

.metric-value {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.metric-underline {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #7c5dfa 0%, #a855f7 100%);
}

.metric-text {
    color: #b6bbce;
    font-size: 1rem;
    max-width: 360px;
    line-height: 1.5;
}

/* Intro modal */
.intro-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 9, 15, 0.82);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.intro-modal-card {
    position: relative;
    width: 100%;
    max-width: 880px;
    height: 620px;
    background: linear-gradient(135deg, #141725 0%, #0d0f18 45%, #0b0d15 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    padding: 0;
}

.intro-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.intro-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.intro-carousel {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.intro-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 2rem 5rem 2rem;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.intro-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.intro-slide-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: #e7eaf3;
    padding-bottom: 1.5rem;
}

.intro-slide-left h2 {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.intro-desc {
    color: #c0c4d4;
    line-height: 1.55;
    font-size: 0.98rem;
}

.intro-desc.muted {
    color: #9aa0b5;
}

.intro-desc.strong {
    color: #fff;
    font-weight: 700;
}

.accent-text {
    color: #a855f7;
    font-weight: 700;
}

.light-text {
    color: #c6d0ff;
}

.intro-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.35rem 0 0.5rem;
}

.intro-points.vertical {
    gap: 1.1rem;
}

.intro-point {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.intro-point-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.18);
}

.intro-count-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.intro-count-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: flex-start;
}

.count-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c5dfa, #a855f7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0c0f18;
}

.count-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.intro-alert {
    margin-top: auto;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    color: #f8d477;
}

.intro-alert-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.2);
    font-weight: 800;
}

.intro-slide-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-picture {
    position: relative;
    width: 100%;
    max-width: 360px;
}

.intro-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.intro-controls {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
}

.intro-dots {
    position: absolute;
    top: 16px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 8;
}

.intro-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.intro-dot.active {
    background: #fff;
    border-color: #fff;
    box-shadow: none;
}

.intro-nav-btn {
    height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    border: none;
    background: #191f31;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.intro-nav-btn.primary {
    background: linear-gradient(135deg, #7c5dfa, #a855f7);
    color: #0c0f18;
    box-shadow: 0 10px 25px rgba(124, 93, 250, 0.35);
}

.intro-nav-btn.primary.final {
    padding: 0 18px;
    font-weight: 800;
}

.intro-nav-btn.primary.final.active {
    box-shadow: 0 12px 30px rgba(124, 93, 250, 0.45);
}

.intro-nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.price-amount {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 960px) {
    .intro-modal-card {
        height: auto;
        max-height: 90vh;
    }
    .intro-slide {
        position: relative;
        opacity: 1;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }
    .intro-slide:not(.active) {
        display: none;
    }
    .intro-slide-right {
        order: -1;
    }
}

@media (max-width: 640px) {
    .intro-modal-card {
        padding-top: 2rem;
    }
    .intro-slide-left h2 {
        font-size: 1.25rem;
    }
    .intro-picture {
        max-width: 280px;
    }
    .intro-controls {
        flex-direction: column;
        align-items: flex-start;
    }
}


.container {
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 3rem;
}

.logo span:first-child {
    font-size: 2rem;
}

/* Горизонтальное верхнее меню (кнопки навигации) */
.top-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 2rem;
}

.top-nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    transition: var(--transition);
}

.top-nav-link:hover {
    color: #ffffff;
    background: rgba(148, 163, 184, 0.15);
    transform: translateY(-2px);
}

.top-nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    box-shadow: var(--shadow-md);
}

.top-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-nav-icon-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Логотип в хедере */
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 7, 13, 0.95);
    border-radius: 8px;
    padding: 4px;
}

.header-logo-icon svg {
    width: 22px;
    height: 22px;
    fill: #0b1120;
}

.header-logo-icon img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.header-logo-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.header-logo-text span:first-child {
    color: #f97316;
}

.header-logo-text span:last-child {
    color: #e5e7eb;
}

.balance-display {
    background: var(--bg-card);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--success-color);
}

.user-info-compact {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1100;
    cursor: pointer;
}

.user-avatar-compact {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.18);
    box-shadow: 0 8px 18px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.user-avatar-compact:hover {
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-1px);
}

.balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #191d27;
    border: 1px solid #2f3440;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    color: #e5e7eb;
    font-weight: 700;
    cursor: pointer;
    transition: border 0.2s ease, transform 0.2s ease;
    min-width: 140px;
}

.balance-pill:hover {
    border-color: #4c5566;
    transform: translateY(-1px);
}

#userBalanceMain {
    color: #26ff7c;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.balance-sub {
    color: #8ea4c3;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.pill-arrow {
    color: #a4acb9;
    font-size: 0.95rem;
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* profile dropdown (new) */
.user-dropdown-panel {
    position: absolute;
    right: 0;
    top: 60px;
    width: 260px;
    background: #0f1118;
    border: 1px solid #1e2430;
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(0,0,0,0.45);
    padding: 0.75rem 0;
    display: none;
    z-index: 1200;
}

.user-dropdown-panel.open {
    display: block;
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem;
    gap: 0.35rem;
}

.dropdown-links a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.dropdown-links a:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.dropdown-links a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: 0.9;
}

.dropdown-footer {
    padding: 0.5rem 1rem 0.25rem;
    border-top: 1px solid #1e2430;
}

.logout-link {
    color: #f97316;
    text-decoration: none;
    font-weight: 700;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    min-width: 180px;
    background: #0f1118;
    border: 1px solid #1e2430;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 8px 0;
    z-index: 1200;
}

.dropdown-content a {
    display: block;
    padding: 10px 16px;
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.dropdown-content a:hover {
    background: rgba(255,255,255,0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.btn-primary:hover img {
    transform: scale(1.15) rotate(8deg);
}

.btn-primary img {
    transition: transform 0.3s ease;
}

.btn-hero {
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-hero:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-hero:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.05);
}

.btn-link:hover {
    color: var(--secondary-color);
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(4px);
}

.link-icon {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-link:hover .link-icon {
    transform: scale(1.2);
    animation: flamePulse 0.5s ease infinite;
}

@keyframes flamePulse {
    0%, 100% { transform: scale(1.2); }
    50% { transform: scale(1.3); }
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-link:hover .link-arrow {
    transform: translateX(4px);
}

.hero {
    padding: 2rem 0;
}

.carousel-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

/* Выпадающие списки (язык и валюта) */
.dropdown-wrapper {
    position: relative;
}

/* Header dropdown menus (lang/currency) */
#langDropdownHeader,
#currencyDropdownHeader {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    margin-top: 8px;
    z-index: 1000;
}

.dropdown-wrapper.active #langDropdownHeader,
.dropdown-wrapper.active #currencyDropdownHeader {
    display: block;
}

/* Header lang/currency block */
.header-lang-currency {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: 0;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.header-right .header-lang-currency {
    margin-right: 10px;
}

/* Упрощенные кнопки языка и валюты */
.lang-currency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 10px 12px;
    height: 44px;
    min-width: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    line-height: 1;
}

.lang-currency-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flag-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.2s;
    filter: brightness(1.1);
    flex-shrink: 0;
}

.lang-currency-btn:hover .flag-icon {
    opacity: 1;
    filter: brightness(1.2);
}

.currency-symbol {
    font-size: 18px;
    font-weight: 800;
    color: #e5e7eb;
    opacity: 1;
    transition: opacity 0.2s;
}

.lang-currency-btn:hover .currency-symbol {
    opacity: 1;
    color: #ffffff;
}

.arrow-icon {
    width: 10px;
    height: 10px;
    fill: #cbd1dc;
    opacity: 0.9;
    transition: transform 0.2s, opacity 0.2s;
    flex-shrink: 0;
}

.dropdown-wrapper.active .arrow-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* remove old overrides that broke sizing */

/* tiny spinner for buttons */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Кнопка админки */
.admin-link-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.admin-link-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.admin-link-btn svg {
    fill: currentColor;
}

.csm_d3fd2f38 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.csm_d3fd2f38:hover {
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(15, 23, 42, 0.95);
    color: #e5e7eb;
}

.csm_642e3b99 {
    display: flex;
    align-items: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.frontly-graphic {
    width: 100%;
    height: 100%;
}

.csm_41eac656 {
    color: currentColor;
}

.csm_fb78ff54 {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.7;
    transition: transform 0.2s;
}

.dropdown-wrapper.active .csm_fb78ff54 {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    max-height: 320px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.dropdown-wrapper.active .dropdown-menu,
.dropdown-wrapper.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu .dropdown-menu-item {
    margin: 0;
    padding: 0.5rem 1rem;
    color: #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dropdown-menu .dropdown-menu-item:hover {
    background: rgba(255,255,255,0.05);
}
.flag-inline {
    width: 20px;
    height: 20px;
}

/* Новые стили для ActionListDesktop */
.ActionListDesktop-module_container__9Xk8d {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.dropdown-wrapper.active .ActionListDesktop-module_container__9Xk8d,
.dropdown-wrapper.open .ActionListDesktop-module_container__9Xk8d {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ActionListDesktop-module_content__a5Fn5 {
    padding: 0.5rem;
}

.OptionWrapper-module_content__1g3fp {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
    color: #e5e7eb;
    font-size: 0.9rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
}

.OptionWrapper-module_content__1g3fp:hover {
    background: rgba(249, 115, 22, 0.15);
}

.OptionWrapper-module_content__1g3fp.OptionWrapper-module_selected__TdSs- {
    background: rgba(249, 115, 22, 0.25);
    color: #f97316;
}

.OptionWrapper-module_icon__rq55o {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.OptionWrapper-module_icon__rq55o .frontly-graphic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.OptionWrapper-module_content__1g3fp:hover .OptionWrapper-module_icon__rq55o .frontly-graphic {
    opacity: 1;
}

.OptionWrapper-module_body__d2T8W {
    flex: 1;
    display: flex;
    align-items: center;
}

.OptionWrapper-module_label__lD3xp {
    color: currentColor;
    font-weight: 500;
}

/* ===== Currency dropdown — компактный аккуратный вид (как на csfloat) ===== */
.currency-dropdown-menu {
    min-width: 200px;
    max-height: 360px;
}
.currency-dropdown-menu .ActionListDesktop-module_content__a5Fn5 {
    padding: 0.3rem;
}
.currency-dropdown-menu .OptionWrapper-module_content__1g3fp {
    padding: 0.4rem 0.7rem;
    margin-bottom: 1px;
    font-size: 0.875rem;
    border-radius: 7px;
}
.currency-dropdown-menu .OptionWrapper-module_body__d2T8W {
    width: 100%;
}
.currency-dropdown-menu .OptionWrapper-module_label__lD3xp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}
.currency-dropdown-menu .cur-code {
    font-weight: 600;
    letter-spacing: 0.02em;
}
.currency-dropdown-menu .cur-sym {
    color: #94a3b8;
    font-weight: 500;
    min-width: 38px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.currency-dropdown-menu .OptionWrapper-module_content__1g3fp:hover .cur-sym {
    color: #cbd5e1;
}
.currency-dropdown-menu .OptionWrapper-module_content__1g3fp.OptionWrapper-module_selected__TdSs- .cur-sym {
    color: #f97316;
}
/* Тонкий скролл */
.currency-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}
.currency-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 3px;
}
.currency-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.55);
}
.currency-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.lang-option,
.currency-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.lang-option:hover,
.currency-option:hover {
    background: rgba(249, 115, 22, 0.15);
}

.lang-option.active,
.currency-option.active {
    background: rgba(249, 115, 22, 0.25);
    color: #f97316;
}

.lang-flag {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.lang-option:hover .lang-flag,
.csm_642e3b99 .frontly-graphic {
    opacity: 1;
}

.csm_642e3b99 .frontly-graphic {
    border-radius: 50%;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.carousel-dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.features,
.popular-items,
.games-section,
.stats-section {
    padding: 5rem 0;
}

.stats-title {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-title h2 {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}


.item-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.item-image {
    width: 100%;
    height: 80px;
    object-fit: contain;
    padding: 0.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.item-info {
    padding: 0.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 30px;
}

.item-details {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-rarity {
    font-size: 0.875rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
}

.rarity-consumer {
    background: rgba(155, 155, 155, 0.2);
    color: #9b9b9b;
}

.rarity-industrial {
    background: rgba(75, 105, 255, 0.2);
    color: #4b69ff;
}

.rarity-mil-spec {
    background: rgba(75, 105, 255, 0.2);
    color: #4b69ff;
}

.rarity-restricted {
    background: rgba(136, 71, 255, 0.2);
    color: #8847ff;
}

.rarity-classified {
    background: rgba(211, 44, 230, 0.2);
    color: #d32ce6;
}

.rarity-covert {
    background: rgba(235, 75, 75, 0.2);
    color: #eb4b4b;
}

.rarity-contraband {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.item-exterior {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success-color);
}


.item-rarity {
    font-size: 0.875rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
}

.rarity-consumer {
    background: rgba(155, 155, 155, 0.2);
    color: #9b9b9b;
}

.rarity-industrial {
    background: rgba(75, 105, 255, 0.2);
    color: #4b69ff;
}

.rarity-mil-spec {
    background: rgba(75, 105, 255, 0.2);
    color: #4b69ff;
}

.rarity-restricted {
    background: rgba(136, 71, 255, 0.2);
    color: #8847ff;
}

.rarity-classified {
    background: rgba(211, 44, 230, 0.2);
    color: #d32ce6;
}

.rarity-covert {
    background: rgba(235, 75, 75, 0.2);
    color: #eb4b4b;
}

.rarity-contraband {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.item-exterior {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success-color);
}

.games-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.game-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    max-width: 400px;
    width: 100%;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.game-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.faq-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer { background: rgba(14,12,24,0.95) !important; border-top: 1px solid rgba(139,92,246,0.18) !important; padding: 2.5rem 0 1.5rem !important; margin-top: 2rem !important; }
.footer-section h3, .footer-section h4 { color: #f1f0f8 !important; font-weight: 800 !important; font-size: 0.82rem !important; letter-spacing: 0.07em !important; text-transform: uppercase !important; margin: 0 0 0.82rem !important; }
.footer-section p { color: #7c7a94 !important; }
.footer-section a { color: #7c7a94 !important; font-size: 0.76rem !important; display: flex !important; align-items: center !important; transition: color 0.15s !important; }
.footer-section a:hover { color: #8b5cf6 !important; }
.footer-section svg { opacity: 0.45 !important; flex-shrink: 0 !important; }
.footer-bottom { border-top: 1px solid rgba(139,92,246,0.18) !important; color: #4b4869 !important; font-size: 0.73rem !important; text-align: center !important; }

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.loader {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* overrides / enhancements */
.loader {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.75rem;
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(16,185,129,0.12));
    border: 1px solid rgba(99,102,241,0.35);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.loader::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-color);
    border-right-color: var(--success-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.inventory-item.item-unavailable {
    cursor: default;
}

.inventory-item .inventory-item-checkbox:disabled {
    cursor: not-allowed;
}

.top-nav-link {
    transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.top-nav-link:hover .nav-text {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(99,102,241,0.8), 0 0 18px rgba(16,185,129,0.45);
}

.insta-sell-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    margin-left: 1rem;
    background: linear-gradient(135deg, #26ff7c, #00d15d);
    color: #0b1b0f;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0, 209, 93, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insta-sell-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 209, 93, 0.45);
}

.insta-sell-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.insta-sell-text {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.inventory-checker-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    margin-left: 1rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.02em;
}

.inventory-checker-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(139, 92, 246, 0.45);
}

.inventory-checker-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.inventory-checker-text {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 0.5rem;
    background: #12151d;
    border: 1px solid #2f3440;
    border-radius: 12px;
    color: #e5e7eb;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    cursor: pointer;
}

.cart-btn:hover {
    background: #191d27;
    border-color: #4c5566;
}

.cart-btn svg {
    width: 18px;
    height: 18px;
    color: #d6dbe8;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--csmoney-orange, #ff6b00);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    border: 2px solid #0f141c;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: #f97316;
    color: white;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 0 4px;
}

.notify-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-right: 0.5rem;
    background: #12151d;
    border: 1px solid #2f3440;
    border-radius: 12px;
    color: #e5e7eb;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.notify-btn:hover {
    background: #191d27;
    border-color: #4c5566;
}

.notify-btn svg {
    width: 18px;
    height: 18px;
    color: #d6dbe8;
}
.notify-btn svg path {
    fill: #d6dbe8;
}

.notify-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f472b6;
    box-shadow: 0 0 0 4px rgba(244,114,182,0.15);
}

.snow-toggle-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    background: #12151d;
    border: 1px solid #2f3440;
    border-radius: 12px;
    color: #e5e7eb;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.snow-toggle-btn:hover {
    background: #191d27;
    border-color: #4c5566;
}

.snow-toggle-icon {
    width: 18px;
    height: 18px;
}

.notify-panel {
    position: fixed;
    top: 80px;
    right: -320px;
    width: 320px;
    height: calc(100vh - 100px);
    background: #0f1118;
    border-left: 1px solid #2f3440;
    box-shadow: -8px 0 24px rgba(0,0,0,0.35);
    transition: right 0.3s ease;
    z-index: 1200;
    display: flex;
    flex-direction: column;
}

.notify-panel.open {
    right: 12px;
}

.notify-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #1e2430;
    color: #e5e7eb;
    font-weight: 700;
}

.notify-close {
    background: none;
    border: none;
    color: #8b93a4;
    cursor: pointer;
    font-size: 1rem;
}

.notify-panel-body {
    padding: 1rem;
    color: #cdd3e3;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 1rem;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .carousel-slide {
        height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

.knives-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.carousel-arrow {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 2px solid rgba(99, 102, 241, 0.4);
    color: var(--text-primary);
    width: 56px;
    height: 56px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
    z-index: 2;
}

.carousel-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-arrow:hover::before {
    width: 100%;
    height: 100%;
}

.carousel-arrow:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);
    border-color: rgba(99, 102, 241, 0.8);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.carousel-arrow svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.carousel-arrow:hover svg {
    transform: scale(1.2);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
    background: rgba(51, 65, 85, 0.3);
    border-color: rgba(51, 65, 85, 0.5);
    box-shadow: none;
}

.carousel-arrow-prev:hover svg {
    animation: slideLeft 0.6s ease infinite;
}

.carousel-arrow-next:hover svg {
    animation: slideRight 0.6s ease infinite;
}

@keyframes slideLeft {
    0%, 100% { transform: translateX(0) scale(1.2); }
    50% { transform: translateX(-3px) scale(1.2); }
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0) scale(1.2); }
    50% { transform: translateX(3px) scale(1.2); }
}

.knives-container {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.knives-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1.5rem;
}

.knife-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    min-width: 280px;
    max-width: 280px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.knife-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.knife-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.knife-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.knife-info {
    padding: 1.5rem;
}

.knife-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.knife-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.knife-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.knife-rarity {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.knife-rarity.Covert {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-color);
}

.knife-rarity.Classified {
    background: rgba(139, 92, 246, 0.2);
    color: var(--secondary-color);
}

.knife-rarity.Restricted {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
}

.knife-rarity.Mil-Spec {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--text-muted);
}

@media (max-width: 768px) {
    .knives-carousel {
        gap: 0.5rem;
    }
    
    .carousel-arrow {
        width: 48px;
        height: 48px;
    }
    
    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .knife-card {
        min-width: 250px;
        max-width: 250px;
    }
    
    .knife-image {
        height: 150px;
    }
    
    .knife-info {
        padding: 1rem;
    }
}

.help-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.help-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-align: center;
}

@media (max-width: 768px) {
    .help-step {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .step-number {
        align-self: center;
    }
}

.help-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
    font-weight: bold;
}

.step-content h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.step-content p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.help-note {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.help-note h3 {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.help-note ul {
    color: #cbd5e1;
    margin: 0;
    padding-left: 1.5rem;
}

.help-note li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.help-faq {
    margin-top: 3rem;
}

.help-faq h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

.help-faq .faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.help-faq .faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.help-faq .faq-item h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.help-faq .faq-item p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.help-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid #10b981;
    border-radius: 12px;
}

.help-cta h3 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.help-cta p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.faq-section {
    margin-bottom: 3rem;
    text-align: center;
}

.faq-section h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    text-align: center;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.faq-item h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}



.skins-showcase {
    padding: 4rem 0;
    background: var(--csmoney-bg-secondary);
    position: relative;
    overflow: hidden;
}

.skins-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(156, 163, 175, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(107, 114, 128, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.skins-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 350px;
    gap: 15px;
    z-index: 2;
}

.skin-card {
    position: relative;
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border: 2px solid #6b7280;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin: 0 5px;
    display: flex;
    flex-direction: column;
}

.skin-image-container {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #374151;
}

.skin-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1) saturate(1.1);
}

.skin-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.skin-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    z-index: 3;
}

.skin-name {
    background: rgba(0, 0, 0, 0.95);
    color: #f3f4f6;
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.8),
        0 0 6px rgba(0, 0, 0, 0.6),
        0 0 9px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.skin-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.skin-card:hover {
    border-color: #9ca3af;
    box-shadow: 0 15px 40px rgba(156, 163, 175, 0.15);
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.skin-card:hover .skin-overlay {
    opacity: 1;
}

.skin-card:hover img {
    filter: brightness(1.1) contrast(1.2) saturate(1.3);
}

.skin-card:hover .skin-name {
    color: #f3f4f6;
    text-shadow: 
        0 0 3px rgba(0, 0, 0, 0.8),
        0 0 6px rgba(0, 0, 0, 0.6),
        0 0 9px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.skin-card-1 {
    width: 250px;
    height: 188px;
}

.skin-card-2 {
    width: 270px;
    height: 203px;
}

.skin-card-3 {
    width: 290px;
    height: 218px;
}

.skin-card-center {
    width: 320px;
    height: 240px;
    border: 3px solid #9ca3af;
    box-shadow: 0 0 15px rgba(156, 163, 175, 0.15);
}

.skin-card-5 {
    width: 290px;
    height: 218px;
}

.skin-card-6 {
    width: 270px;
    height: 203px;
}

.skin-card-7 {
    width: 250px;
    height: 188px;
}

.showcase-text {
    text-align: center;
    margin-top: 4rem;
}

.showcase-text h2 {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

@media (max-width: 768px) {
    .skins-container {
        height: 250px;
        gap: 10px;
    }
    
    .skin-card {
        width: 100px;
        height: 80px;
    }
    
    .skin-card-center {
        width: 130px;
        height: 100px;
    }
    
    .showcase-text h2 {
        font-size: 2rem;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
    backdrop-filter: none !important;
}

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

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body p:last-of-type {
    margin-bottom: 1.5rem;
}

.modal-body strong {
    color: var(--primary-color);
}

.trade-requirement-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.trade-requirement-actions .btn-primary,
.trade-requirement-actions .btn-secondary {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.trade-requirement-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.trade-requirement-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.trade-requirement-actions .btn-secondary {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.trade-requirement-actions .btn-secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .trade-requirement-actions {
        flex-direction: column;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateY(var(--base-rotation, 0deg)) translateX(var(--base-x, 0px)) translateZ(var(--base-z, 0px));
    }
    50% {
        transform: translateY(-10px) rotateY(var(--base-rotation, 0deg)) translateX(var(--base-x, 0px)) translateZ(var(--base-z, 0px));
    }
}

@keyframes centerGlow {
    0%, 100% {
        box-shadow: 0 12px 40px rgba(236, 72, 153, 0.4);
        border-color: var(--accent-color);
    }
    50% {
        box-shadow: 0 16px 50px rgba(236, 72, 153, 0.6);
        border-color: #f472b6;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes centerPulse {
    0%, 100% {
        transform: rotateY(0deg) translateZ(0px) scale(1);
    }
    50% {
        transform: rotateY(0deg) translateZ(0px) scale(1.02);
    }
}

@keyframes borderGlow {
    0% {
        background: linear-gradient(45deg, var(--accent-color), #f472b6, var(--accent-color));
    }
    25% {
        background: linear-gradient(45deg, #f472b6, var(--accent-color), #f472b6);
    }
    50% {
        background: linear-gradient(45deg, var(--accent-color), #f472b6, var(--accent-color));
    }
    75% {
        background: linear-gradient(45deg, #f472b6, var(--accent-color), #f472b6);
    }
    100% {
        background: linear-gradient(45deg, var(--accent-color), #f472b6, var(--accent-color));
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes bounce1 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce2 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce3 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounceCenter {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce5 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce6 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce7 {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounceUpDown {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.skin-card-1 {
    animation: bounce1 3s ease-in-out infinite;
}

.skin-card-2 {
    animation: bounce2 3s ease-in-out infinite;
}

.skin-card-3 {
    animation: bounce3 3s ease-in-out infinite;
}

.skin-card-center {
    animation: bounceCenter 3s ease-in-out infinite;
}

.skin-card-5 {
    animation: bounce5 3s ease-in-out infinite;
}

.skin-card-6 {
    animation: bounce6 3s ease-in-out infinite;
}

.skin-card-7 {
    animation: bounce7 3s ease-in-out infinite;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(251, 191, 36, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: #f97316;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.step-card {
    position: relative;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.25);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f97316, #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 1.5rem auto 1.5rem;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(251, 191, 36, 0.15));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 40px;
    height: 40px;
    fill: #f97316;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .csmoney-header {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .header-left {
        width: 100%;
        margin-bottom: 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .header-logo {
        margin-bottom: 0;
    }
    
    .top-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        display: flex;
        flex-direction: row;
    }
    
    .top-nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex: 1;
        min-width: auto;
        justify-content: center;
    }
    
    .top-nav-link .nav-text {
        display: inline !important;
    }
    
    .top-nav-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    
    .insta-sell-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
    
    .header-right {
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: stretch;
    }
    
    .header-right > * {
        width: 100%;
    }
    
    .insta-sell-text {
        white-space: nowrap;
    }
    
    .lang-currency-btn {
        padding: 0.4rem;
    }
    
    .flag-icon {
        width: 20px;
        height: 20px;
    }
    
    .currency-symbol {
        font-size: 1rem;
    }
    
    .arrow-icon {
        width: 10px;
        height: 10px;
    }
    
    .csmoney-container {
        padding: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .withdraw-methods-grid {
        grid-template-columns: 1fr !important;
    }
    
    .profile-tabs-unified {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn-unified {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .inventory-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 0.75rem !important;
    }
    
    .inventory-item {
        padding: 1rem;
    }
    
    .inventory-item img {
        height: 100px;
    }
    
    .user-info-compact {
        flex-wrap: wrap;
    }
    
    .btn-csmoney {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    
    #loginBtn {
        width: 100%;
    }
    
    .notify-btn {
        width: 100%;
        justify-content: center;
    }
    
    .admin-link-btn {
        width: 100%;
        justify-content: center;
    }
    
    .user-info-compact {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-logo-text {
        font-size: 1rem;
    }
    
    .top-nav-link .nav-text {
        display: inline !important;
        font-size: 0.75rem;
    }
    
    .top-nav-link {
        padding: 0.5rem 0.75rem;
        min-width: auto;
        justify-content: center;
        flex: 1;
        gap: 0.4rem;
    }
    
    .top-nav {
        gap: 0.4rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .profile-header-unified {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .profile-avatar-unified {
        width: 100px;
        height: 100px;
    }
    
    .profile-tabs-unified {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn-unified {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Cart visibility: hidden by default, shown only when body has .is-authed (set by updateUI) */
.csmoney-header .cart-btn { display: none !important; }
body.is-authed .csmoney-header .cart-btn { display: inline-flex !important; }

/* ============================================
   COMPACT MOBILE HEADER (≤767px)
   ============================================ */
@media (max-width: 767px) {
    .csmoney-header {
        flex-wrap: wrap !important;
        flex-direction: row !important;
        padding: 0.5rem 0.75rem !important;
        gap: 0.5rem !important;
        align-items: center !important;
        min-height: 56px;
        row-gap: 0.5rem !important;
    }

    .csmoney-header .header-left {
        width: auto !important;
        flex: 1 1 auto !important;
        margin-bottom: 0 !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
        min-width: 0;
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .csmoney-header .header-logo {
        margin: 0 !important;
        flex-shrink: 0;
    }
    .csmoney-header .header-logo-icon { width: 28px; height: 28px; }
    .csmoney-header .header-logo-icon svg { width: 28px; height: 28px; }
    .csmoney-header .header-logo-text { font-size: 0.95rem !important; }

    /* Second row: nav pills (Market, FAQ, Quick Sell, Inventory Checker) */
    .csmoney-header .top-nav {
        display: flex !important;
        order: 10;
        width: 100% !important;
        flex: 0 0 100% !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.4rem !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }
    .csmoney-header .top-nav::-webkit-scrollbar { display: none; }

    .csmoney-header .top-nav-link {
        flex: 0 0 auto !important;
        padding: 0.45rem 0.85rem !important;
        font-size: 0.8rem !important;
        gap: 0.35rem !important;
        white-space: nowrap;
        border-radius: 10px !important;
        min-width: auto !important;
    }
    .csmoney-header .top-nav-link .nav-text {
        display: inline !important;
        font-size: 0.8rem !important;
    }
    .csmoney-header .top-nav-icon { width: 14px !important; height: 14px !important; }
    .csmoney-header .top-nav-icon-svg { width: 14px !important; height: 14px !important; }

    /* Quick sell — pill in the second row */
    .csmoney-header .insta-sell-btn {
        order: 11;
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0.45rem 0.85rem !important;
        gap: 0.35rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }
    .csmoney-header .insta-sell-btn .insta-sell-text {
        display: inline !important;
        font-size: 0.8rem !important;
    }
    .csmoney-header .insta-sell-icon { width: 12px !important; height: 12px !important; }

    /* Inventory checker — own full-width row (below nav-pills) */
    .csmoney-header .mobile-inv-row {
        display: flex !important;
        width: 100%;
        flex: 0 0 100%;
        order: 110;
        padding: 0 0 0.15rem 0;
    }
    .csmoney-header .mobile-inv-row .inventory-checker-btn {
        display: flex !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0.5rem 0.85rem !important;
        gap: 0.4rem !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        white-space: nowrap;
    }
    /* Force short label "Inventory" — survives i18n overwrites */
    .csmoney-header .inventory-checker-btn .inventory-checker-text {
        font-size: 0 !important;
        line-height: 0 !important;
    }
    .csmoney-header .inventory-checker-btn .inventory-checker-text::after {
        content: "Inventory Checker";
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: none;
    }
    .csmoney-header .inventory-checker-btn .inventory-checker-icon { width: 14px !important; height: 14px !important; }

    /* Container for the nav row at order:10 */
    .csmoney-header .top-nav,
    .csmoney-header .insta-sell-btn,
    .csmoney-header .inventory-checker-btn {
        margin-top: 0 !important;
    }

    /* Mobile second-row container — built by JS in header-loader.js */
    .csmoney-header .mobile-nav-row {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
        flex: 0 0 100%;
        order: 100;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.25rem 0 0.1rem 0;
        margin: 0 !important;
        box-sizing: border-box;
    }
    .csmoney-header .mobile-nav-row > * {
        margin: 0 !important;
        flex-shrink: 0;
    }
    .csmoney-header .mobile-nav-row::-webkit-scrollbar { display: none; }

    /* When nav lives inside .mobile-nav-row, it should NOT force own row */
    .csmoney-header .mobile-nav-row .top-nav {
        width: auto !important;
        flex: 0 0 auto !important;
        order: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        gap: 0.4rem !important;
    }
}

/* Desktop: keep injected row hidden */
@media (min-width: 768px) {
    .csmoney-header {
        height: 60px !important;
        padding: 0 2rem !important;
        gap: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    /* Nav order: logo(1) → nav(2) → right panel(10) */
    .csmoney-header .header-left  { order: 1 !important; flex-shrink: 0; }
    .csmoney-header .top-nav      { order: 2 !important; margin-left: 15rem !important; }
    .csmoney-header .mobile-ic-standalone { order: 2 !important; }
    .csmoney-header .header-right { order: 10 !important; margin-left: auto !important; flex-shrink: 0; }
    .csmoney-header #loginBtn,
    .csmoney-header .btn-csmoney  { order: 10 !important; }
    .csmoney-header .user-info-compact,
    .csmoney-header .insta-sell-btn { order: 10 !important; }

    .csmoney-header .mobile-nav-row { display: none !important; }

    /* Right side: compact row, NOT stretched */
    .csmoney-header .header-right {
        width: auto !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 0.4rem !important;
        flex-shrink: 0;
    }
    .csmoney-header .header-right > * { width: auto !important; }

    .csmoney-header .header-lang-currency {
        display: flex;
        flex-direction: row;
        gap: 0.25rem;
    }
    .csmoney-header .lang-currency-btn {
        padding: 0.3rem 0.35rem !important;
        gap: 0.15rem;
        min-width: auto !important;
    }
    .csmoney-header .flag-icon { width: 16px !important; height: 16px !important; }
    .csmoney-header .currency-symbol { font-size: 0.85rem !important; }
    .csmoney-header .arrow-icon { width: 8px !important; height: 8px !important; }

    /* Cart button — pin next to lang/currency dropdowns; only when authed */
    .csmoney-header .cart-btn {
        order: -1;
        width: 32px !important;
        height: 32px !important;
        padding: 0.3rem !important;
        margin: 0 !important;
        flex-shrink: 0;
    }
    .csmoney-header .cart-btn svg { width: 16px !important; height: 16px !important; }
    /* Place cart inside the lang-currency cluster visually */
    .csmoney-header .header-right {
        gap: 0.3rem !important;
    }

    /* Login button — compact */
    .csmoney-header #loginBtn,
    .csmoney-header .btn-csmoney {
        width: auto !important;
        padding: 0.5rem 0.85rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap;
    }

    /* User info compact when logged in */
    .csmoney-header .user-info-compact {
        width: auto !important;
        flex-wrap: nowrap !important;
        gap: 0.35rem !important;
    }
    .csmoney-header .user-avatar-compact { width: 32px !important; height: 32px !important; }
    .csmoney-header .balance-pill {
        padding: 0.35rem 0.55rem !important;
        font-size: 0.8rem !important;
    }
    /* Admin link — compact on mobile but visible */
    .csmoney-header .admin-link-btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        gap: 0.3rem;
    }
    .csmoney-header .admin-link-btn svg { width: 14px !important; height: 14px !important; }
    /* Keep hold-balance "(hold)" visible — needed for grabinho */
    .csmoney-header .balance-sub { display: inline !important; font-size: 1.05rem !important; font-weight: 700 !important; }
}

@media (max-width: 380px) {
    .csmoney-header .header-logo-text { display: none; }
    .csmoney-header #loginBtn,
    .csmoney-header .btn-csmoney { padding: 0.5rem 0.6rem !important; font-size: 0.75rem !important; }
}

/* SKINJET header overrides */
.csmoney-header {
    background: rgba(13, 11, 28, 0.95) !important;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2) !important;
    backdrop-filter: blur(20px) !important;
}

.skinjet-header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.skinjet-header-search input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.skinjet-header-search input:focus {
    border-color: #8b5cf6;
    background: rgba(139,92,246,0.08);
}

.skinjet-header-search input::placeholder {
    color: #64748b;
    font-size: 0.8rem;
}

.skinjet-header-search svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.skinjet-online-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #22c55e;
    white-space: nowrap;
}

.skinjet-online-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: sj-online-pulse 1.5s infinite;
}

@keyframes sj-online-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.7); transform: scale(1); }
    50% { opacity: 0.15; box-shadow: 0 0 0 5px rgba(34,197,94,0); transform: scale(0.8); }
}

@keyframes sj-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.skinjet-deposit-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(139,92,246,0.3);
    white-space: nowrap;
}

.skinjet-deposit-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139,92,246,0.4);
}

/* SKINJET sale banner */
.skinjet-sale-banner {
    background: linear-gradient(90deg, #1a0a2e, #2d1060, #1a0a2e);
    border-bottom: 1px solid rgba(139,92,246,0.3);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
}

.skinjet-sale-banner-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    animation: sj-marquee 30s linear infinite;
    padding: 0 2rem;
}

@keyframes sj-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.skinjet-sale-banner-text {
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.skinjet-sale-banner-sep {
    color: #6d28d9;
    margin: 0 1rem;
}

.skinjet-sale-banner-link {
    color: #8b5cf6;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.skinjet-sale-banner-link:hover { color: #a78bfa; }

/* SKINJET Premium Items section */
.skinjet-premium-section {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.skinjet-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.skinjet-section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.skinjet-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(239,68,68,0.15);
    border: 1px solid rgba(239,68,68,0.35);
    border-radius: 6px;
    color: #ef4444;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.skinjet-live-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: sj-pulse 1.5s infinite;
}

.skinjet-section-subtitle {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.skinjet-premium-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-top: 6px;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(139,92,246,0.4) transparent;
}

.skinjet-premium-scroll::-webkit-scrollbar { height: 4px; }
.skinjet-premium-scroll::-webkit-scrollbar-track { background: transparent; }
.skinjet-premium-scroll::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.4); border-radius: 2px; }

.skinjet-premium-card {
    flex-shrink: 0;
    width: 160px;
    background: linear-gradient(145deg, #1e1c2e, #16142a);
    border: 1px solid rgba(124,58,237,0.3);
    border-radius: 14px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.skinjet-premium-card:hover {
    border-color: rgba(139,92,246,0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139,92,246,0.2);
}

.skinjet-premium-card:hover .skinjet-card-buy-overlay {
    opacity: 1;
}

.skinjet-card-badges {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.skinjet-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.skinjet-badge-hot { background: rgba(249,115,22,0.2); color: #f97316; border: 1px solid rgba(249,115,22,0.3); }
.skinjet-badge-3d { background: rgba(59,130,246,0.2); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.skinjet-badge-discount { background: rgba(239,68,68,0.2); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.skinjet-badge-new { background: rgba(34,197,94,0.2); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }

.skinjet-card-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-bottom: 10px;
    position: relative;
}

.skinjet-card-img-wrap img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(139,92,246,0.3));
}

.skinjet-card-rarity {
    font-size: 0.7rem;
    color: #8b5cf6;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.skinjet-card-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skinjet-card-wear-strip {
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #22c55e 0%, #eab308 50%, #ef4444 100%);
    margin-bottom: 8px;
    position: relative;
}

.skinjet-card-wear-indicator {
    position: absolute;
    top: -2px;
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 4px rgba(255,255,255,0.5);
}

.skinjet-card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.skinjet-card-price {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.skinjet-card-discount {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ef4444;
    background: rgba(239,68,68,0.1);
    padding: 2px 5px;
    border-radius: 4px;
}

.skinjet-card-buy-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(30,28,46,0.98) 0%, rgba(30,28,46,0.8) 100%);
    padding: 10px;
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skinjet-card-buy-btn {
    width: 100%;
    padding: 7px;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.skinjet-card-trade-btn {
    width: 100%;
    padding: 7px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

/* SKINJET stats row */
.skinjet-stats-row {
    display: flex;
    gap: 0;
    margin: 0 1.5rem 1rem;
    background: #16142a;
    border: 1px solid rgba(124,58,237,0.2);
    border-radius: 12px;
    overflow: hidden;
}

.skinjet-stat-item {
    flex: 1;
    padding: 10px 14px;
    border-right: 1px solid rgba(124,58,237,0.15);
    min-width: 0;
}

.skinjet-stat-item:last-child { border-right: none; }

.skinjet-stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.skinjet-stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skinjet-stat-sub {
    font-size: 0.7rem;
    color: #6b7280;
}

.skinjet-stat-green { color: #22c55e; }
.skinjet-stat-red { color: #ef4444; }

/* Market grid header toolbar */
.skinjet-grid-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.skinjet-grid-count {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 600;
}

.skinjet-grid-count span {
    color: #fff;
    font-weight: 800;
}

.skinjet-view-toggle {
    display: flex;
    gap: 4px;
}

.skinjet-view-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s;
}

.skinjet-view-btn.active,
.skinjet-view-btn:hover {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.4);
    color: #8b5cf6;
}

.skinjet-sort-select {
    padding: 6px 28px 6px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%2394a3b8' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    outline: none;
}

.skinjet-sort-select:focus {
    border-color: rgba(139,92,246,0.5);
}

/* SKINJET sidebar overrides */
.market-filters-sidebar {
    background: rgba(15,14,26,0.6) !important;
    border-right: 1px solid rgba(124,58,237,0.15) !important;
}

.market-block-bg {
    background: #16142a !important;
    border: 1px solid rgba(124,58,237,0.2) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}

.market-filters-block {
    padding: 14px !important;
}

.market-catalog-block,
.market-header-block {
    background: linear-gradient(135deg, #13111f 0%, #1a1828 100%) !important;
    border: 1px solid rgba(124,58,237,0.15) !important;
}

.filter-label {
    color: #8b9cb8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-search {
    background: #0f0e1a !important;
    border: 1px solid rgba(124,58,237,0.3) !important;
}

.filter-search:focus {
    border-color: #8b5cf6 !important;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.1) !important;
}

.filter-price-input {
    background: #0f0e1a !important;
    border: 1px solid rgba(124,58,237,0.3) !important;
}

.filter-price-input:focus {
    border-color: #8b5cf6 !important;
}

.filter-select-modern {
    background: #0f0e1a !important;
    border: 1px solid rgba(124,58,237,0.3) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b5cf6' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
}

.filter-select-modern:focus {
    border-color: #8b5cf6 !important;
}

.btn-filter-reset {
    background: rgba(124,58,237,0.1);
    border: 1px solid rgba(124,58,237,0.3);
    color: #8b5cf6;
}

.btn-filter-reset:hover {
    background: rgba(124,58,237,0.2);
    border-color: #8b5cf6;
    color: #a78bfa;
}

/* SKINJET item card overrides */
.item-card {
    background: linear-gradient(145deg, #1e1c2e, #181627) !important;
    border: 1px solid rgba(124,58,237,0.2) !important;
    border-radius: 14px !important;
    transition: all 0.2s ease !important;
}

.item-card:hover {
    border-color: rgba(139,92,246,0.5) !important;
    box-shadow: 0 8px 24px rgba(139,92,246,0.15) !important;
    transform: translateY(-4px) !important;
}

.item-card.selected {
    border-color: #8b5cf6 !important;
    border-width: 2px !important;
    background: rgba(139,92,246,0.1) !important;
    box-shadow: 0 0 20px rgba(139,92,246,0.3) !important;
}

.item-buy-btn, .btn-primary {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%) !important;
    box-shadow: 0 4px 14px rgba(139,92,246,0.4) !important;
}

.item-buy-btn:hover, .btn-primary:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
    box-shadow: 0 8px 24px rgba(139,92,246,0.5) !important;
}

/* Sidebar weapon type filter tags */
.sj-weapon-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.sj-weapon-tag {
    padding: 4px 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #94a3b8;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.sj-weapon-tag:hover, .sj-weapon-tag.active {
    background: rgba(139,92,246,0.15);
    border-color: rgba(139,92,246,0.4);
    color: #a78bfa;
}

.sj-wear-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.sj-wear-tag {
    padding: 3px 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 5px;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.sj-wear-tag:hover, .sj-wear-tag.active {
    background: rgba(139,92,246,0.15);
    border-color: #8b5cf6;
    color: #a78bfa;
}

/* Cart purple override */
.cart-checkout {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%) !important;
    box-shadow: 0 8px 24px rgba(139,92,246,0.35) !important;
}

.cart-checkout:hover:not(:disabled) {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%) !important;
}

.cart-total {
    background: rgba(139,92,246,0.1) !important;
    border: 1px solid rgba(139,92,246,0.2) !important;
}

/* Load more button purple */
.btn-load-more {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
    box-shadow: 0 4px 12px rgba(139,92,246,0.3) !important;
}

.btn-load-more:hover {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important;
    box-shadow: 0 6px 20px rgba(139,92,246,0.4) !important;
}

/* body background for market page */
body[data-page="market"] {
    background:
        radial-gradient(900px 500px at 15% 5%, rgba(124, 58, 237, 0.12), transparent 60%),
        radial-gradient(800px 520px at 85% 15%, rgba(139, 92, 246, 0.08), transparent 58%),
        radial-gradient(700px 520px at 60% 90%, rgba(109, 40, 217, 0.06), transparent 55%),
        linear-gradient(180deg, #0f0e1a 0%, #0d0b1a 45%, #0f0e1a 100%) !important;
}

/* Mobile filters close btn & backdrop purple */
.mobile-filters-close {
    background: #0f0e1a !important;
    border-bottom: 1px solid rgba(124,58,237,0.2) !important;
}

#marketFiltersSidebar {
    background: #0f0e1a !important;
}




/* ═══════════════════════════════════════════════════════════════════
   Nav pill buttons — beautiful per-link accent colors
   ═══════════════════════════════════════════════════════════════════ */

/* Base reset — all nav links get a pill look */
.csmoney-header .top-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

/* ── Маркет (/market) — фиолетовый, основной цвет сайта ── */
.csmoney-header .top-nav-link[data-page="market"] {
    background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(139,92,246,0.12));
    border: 1px solid rgba(139,92,246,0.45);
    color: #c4b5fd !important;
}
.csmoney-header .top-nav-link[data-page="market"]:hover {
    background: linear-gradient(135deg, rgba(124,58,237,0.35), rgba(139,92,246,0.28)) !important;
    border-color: rgba(167,139,250,0.7) !important;
    color: #ede9fe !important;
    box-shadow: 0 0 18px rgba(124,58,237,0.38), 0 0 6px rgba(139,92,246,0.25) !important;
    transform: translateY(-2px) !important;
    text-shadow: none !important;
}
.csmoney-header .top-nav-link[data-page="market"].active {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
    border-color: #a78bfa !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(124,58,237,0.55), 0 0 32px rgba(139,92,246,0.3), inset 0 1px 0 rgba(255,255,255,0.15) !important;
}

/* ── Quick Sell (/trading) — зелёный, цвет продажи ── */
.csmoney-header .top-nav-link[data-page="trading"] {
    background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(5,150,105,0.1));
    border: 1px solid rgba(16,185,129,0.4);
    color: #6ee7b7 !important;
}
.csmoney-header .top-nav-link[data-page="trading"]:hover {
    background: linear-gradient(135deg, rgba(16,185,129,0.32), rgba(5,150,105,0.24)) !important;
    border-color: rgba(52,211,153,0.7) !important;
    color: #d1fae5 !important;
    box-shadow: 0 0 18px rgba(16,185,129,0.38), 0 0 6px rgba(52,211,153,0.22) !important;
    transform: translateY(-2px) !important;
    text-shadow: none !important;
}
.csmoney-header .top-nav-link[data-page="trading"].active {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(16,185,129,0.5), 0 0 28px rgba(52,211,153,0.28), inset 0 1px 0 rgba(255,255,255,0.15) !important;
}

/* ── Inventory Checker — синий, инструмент ── */
.csmoney-header .top-nav-link[data-page="inventory-checker"] {
    background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(37,99,235,0.1));
    border: 1px solid rgba(59,130,246,0.4);
    color: #93c5fd !important;
}
.csmoney-header .top-nav-link[data-page="inventory-checker"]:hover {
    background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(37,99,235,0.22)) !important;
    border-color: rgba(96,165,250,0.7) !important;
    color: #dbeafe !important;
    box-shadow: 0 0 18px rgba(59,130,246,0.36), 0 0 6px rgba(96,165,250,0.22) !important;
    transform: translateY(-2px) !important;
    text-shadow: none !important;
}
.csmoney-header .top-nav-link[data-page="inventory-checker"].active {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6) !important;
    border-color: #60a5fa !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(59,130,246,0.5), 0 0 28px rgba(96,165,250,0.28), inset 0 1px 0 rgba(255,255,255,0.15) !important;
}

/* Suppress old glow-text on hover (conflicts with our styles) */
.csmoney-header .top-nav-link:hover .nav-text {
    color: inherit !important;
    text-shadow: none !important;
}

/* Nav sits inside header-left, gap from logo */
@media (min-width: 768px) {
    .csmoney-header .header-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0 !important;
        flex-shrink: 0;
    }
    .csmoney-header .header-left .top-nav {
        margin-left: 4rem !important;
    }
    .csmoney-header .header-left .mobile-ic-standalone {
        margin-left: 0.5rem !important;
    }
}
