* {
    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: #ff6b00;
    --primary-dark: #cc5500;
    --secondary-color: #ff8533;
    --accent-color: #ff6b00;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    --bg-primary: #0a0e14;
    --bg-secondary: #12161d;
    --bg-tertiary: #1a1f28;
    --bg-card: #151921;
    
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #6b7280;
    
    --border-color: #1f2937;
    --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);
}

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

.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);
}

.top-nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    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: 0.9rem;
    font-weight: 600;
}

.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: var(--primary-color);
    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(255, 107, 0, 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(255, 107, 0, 0.5);
    background: var(--secondary-color);
}

.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;
}

.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: var(--csmoney-bg-secondary);
    border-top: 1px solid var(--csmoney-border);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.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;
}

.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.55rem 0.9rem;
    margin-left: 1rem;
    background: linear-gradient(135deg, #26ff7c, #00d15d);
    color: #0b1b0f;
    font-weight: 800;
    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.55rem 0.9rem;
    margin-left: 1rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    font-weight: 800;
    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;
    text-transform: uppercase;
    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;
    }
}

