
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #0c0c0c;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1e1e1e;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Добавь эти стили в конец твоего styles.css */

/* Заблюренная область для неавторизованных пользователей */
.blurred-items-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(0, 230, 118, 0.05) 30%,
        rgba(10, 10, 10, 0.9) 70%,
        rgba(0, 230, 118, 0.08) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    border-radius: 12px;
    overflow: hidden;
}

/* Контейнер должен быть относительно позиционирован */
.items-container {
    position: relative;
    min-height: 600px;
}

/* Анимированные частицы */
.auth-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00e676;
    border-radius: 50%;
    animation: floatParticle 12s infinite linear;
    opacity: 0.7;
}

.auth-particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 8s; }
.auth-particle:nth-child(2) { left: 15%; animation-delay: 1s; animation-duration: 10s; }
.auth-particle:nth-child(3) { left: 25%; animation-delay: 2s; animation-duration: 12s; }
.auth-particle:nth-child(4) { left: 35%; animation-delay: 3s; animation-duration: 9s; }
.auth-particle:nth-child(5) { left: 45%; animation-delay: 4s; animation-duration: 11s; }
.auth-particle:nth-child(6) { left: 55%; animation-delay: 5s; animation-duration: 8s; }
.auth-particle:nth-child(7) { left: 65%; animation-delay: 6s; animation-duration: 13s; }
.auth-particle:nth-child(8) { left: 75%; animation-delay: 7s; animation-duration: 10s; }
.auth-particle:nth-child(9) { left: 85%; animation-delay: 8s; animation-duration: 9s; }
.auth-particle:nth-child(10) { left: 95%; animation-delay: 9s; animation-duration: 11s; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    50% {
        transform: translateY(50vh) translateX(-20px) scale(1.2);
    }
    95% {
        opacity: 0.7;
        transform: translateY(10vh) translateX(15px) scale(1);
    }
    100% {
        transform: translateY(-10vh) translateX(0) scale(0);
        opacity: 0;
    }
}

/* Центральный блок авторизации */
.auth-center-block {
    text-align: center;
    padding: 50px 40px;
    background: rgba(17, 17, 17, 0.95);
    border-radius: 16px;
    border: 2px solid rgba(0, 230, 118, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 230, 118, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: authBlockGlow 4s ease-in-out infinite alternate;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

@keyframes authBlockGlow {
    from {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(0, 230, 118, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 230, 118, 0.4);
    }
    to {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.6),
            0 0 50px rgba(0, 230, 118, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 230, 118, 0.6);
    }
}

/* Заголовок блока авторизации */
.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #00e676 0%, #76ff03 50%, #00e676 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 230, 118, 0.3);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Подзаголовок */
.auth-subtitle {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Кнопка авторизации Steam */
.steam-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: linear-gradient(135deg, #171a21 0%, #2a3f5f 100%);
    border: 2px solid #4c6b8a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 
        0 6px 20px rgba(23, 26, 33, 0.4),
        0 0 20px rgba(76, 107, 138, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.steam-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.steam-auth-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(23, 26, 33, 0.6),
        0 0 30px rgba(76, 107, 138, 0.4);
    border-color: #66c0f4;
    background: linear-gradient(135deg, #2a3f5f 0%, #171a21 100%);
}

.steam-auth-btn:hover::before {
    left: 100%;
}

.steam-auth-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Иконка Steam */
.steam-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.steam-auth-btn:hover .steam-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(102, 192, 244, 0.6));
}

/* Функции и преимущества */
.auth-features {
    display: flex;
    gap: 40px;
    margin-top: 45px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-feature {
    text-align: center;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.auth-feature:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.auth-feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    fill: #00e676;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.4));
}

.auth-feature:hover .auth-feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 230, 118, 0.7));
}

.auth-feature-text {
    font-size: 14px;
    color: #bbb;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Фоновый эффект со скинами (когда скины загружены) */
.items-grid.blurred {
    filter: blur(8px);
    opacity: 0.3;
    pointer-events: none;
}

.items-list.blurred {
    filter: blur(8px);
    opacity: 0.3;
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .auth-center-block {
        padding: 30px 25px;
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .auth-title {
        font-size: 26px;
    }
    
    .auth-subtitle {
        font-size: 16px;
    }
    
    .steam-auth-btn {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .auth-features {
        gap: 25px;
        margin-top: 35px;
    }
    
    .auth-feature-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .auth-center-block {
        padding: 25px 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-features {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .auth-feature {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    
    .auth-feature-icon {
        margin: 0;
    }
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.03);
}

.logo-link:hover h1 {
    color: #00e676;
    text-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
}

.logo-link:hover img {
    filter: drop-shadow(0 0 5px rgba(0, 230, 118, 0.7));
}

.logo img {
    height: 32px;
    margin-right: 8px;
    transition: filter 0.3s ease;
}

.logo h1 {
    color: #00e676;
    font-size: 20px;
    font-weight: 700;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.user-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.currency-select {
    background-color: #1a1a1a;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.cart-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.cart-notification {
    position: fixed;
    top: 60px;
    right: 20px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    width: 300px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.notification-content {
    padding: 15px;
    position: relative;
}

.notification-content p {
    margin: 0;
    color: #ddd;
    font-size: 14px;
}

.close-notification {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #777;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
}

.close-notification:hover {
    color: #fff;
}

/* Show notification when targeted */
:target.cart-notification {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Main layout */
.page-container {
    display: flex;
    flex: 1;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background-color: #0c0c0c;
    border-right: 1px solid #1e1e1e;
    padding: 20px 10px;
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 5px;
}

.nav-menu a {
    display: block;
    padding: 10px 15px;
    color: #ddd;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid transparent;
}

/* Hover effect with glow */
.nav-menu a:hover {
    background-color: #1a1a1a;
    color: #00e676;
    border-left: 3px solid #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
    transform: translateX(3px);
}

/* Create subtle glow animation on hover */
.nav-menu a:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 118, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nav-menu a:hover:after {
    opacity: 1;
}

/* Active link styling with stronger glow */
.nav-menu a.active {
    background-color: #1a1a1a;
    color: #00e676;
    border-left: 3px solid #00e676;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
    font-weight: 500;
}

/* Enhanced active glow */
.nav-menu a.active:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 230, 118, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.horizontal-nav {
    list-style: none;
    display: flex;
    margin-bottom: 20px;
    padding: 0px;
    border-radius: 8px;
    width: 100%;
    background-color: #0c0c0c;
    border: 1px solid #1e1e1e;
}

.horizontal-nav li {
    flex: 1;
    margin-bottom: 0;
}

.horizontal-nav a {
    display: block;
    padding: 10px 15px;
    color: #ddd;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: none;
}

/* Эффект при наведении */
.horizontal-nav a:hover {
    background-color: #1a1a1a;
    color: #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
    transform: translateY(-3px);
}

/* Эффект свечения при наведении */
.horizontal-nav a:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 118, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.horizontal-nav a:hover:after {
    opacity: 1;
}

/* Стили для активной кнопки */
.horizontal-nav a.active {
    background-color: #1a1a1a;
    color: #00e676;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
    font-weight: 500;
}

/* Улучшенное свечение для активной кнопки */
.horizontal-nav a.active:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 118, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Волна свечения при наведении */
.horizontal-nav a:hover:before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.1), transparent);
    animation: wave 1.2s ease-in-out;
}

@keyframes wave {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Индикатор активного элемента */
.horizontal-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #00e676;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.horizontal-nav a:hover:after,
.horizontal-nav a.active:after {
    width: 70%;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
}

/* View switcher */
.view-switcher {
    margin-top: 30px;
    padding: 10px 15px;
    border-top: 1px solid #1e1e1e;
}

.view-title {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.view-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn:hover {
    background-color: #252525;
}

.view-btn.active {
    background-color: #00e676;
    color: #0c0c0c;
    border-color: #00e676;
}

.view-btn svg {
    width: 18px;
    height: 18px;
}

.sort-select {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #ddd;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 15px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.filter-checkbox input {
    margin-right: 8px;
    accent-color: #00e676;
}

.filter-checkbox label {
    font-size: 13px;
    color: #ddd;
}

/* Main content */
.main-content {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Promo banner */
.promo-banner {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%), url('banner.png');
    background-size: cover;
    background-position: center 41%;
    border-radius: 10px;
    padding: 60px 40px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}

.promo-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.promo-content p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
    color: #eee;
}

.promo-btn {
    background-color: #00e676;
    color: #121212;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.promo-btn:hover {
    background-color: #00c562;
}

/* Filter section */
.filter-container {
    background-color: #111111;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 10;
}

/* Enhanced category filters container with proper overflow handling */
.category-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0 20px; /* Added top padding for hover effect visibility */
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    scrollbar-width: thin;
    scrollbar-color: #00e676 #111;
}

.category-filters::-webkit-scrollbar {
    height: 5px;
}

.category-filters::-webkit-scrollbar-track {
    background: #111;
}

.category-filters::-webkit-scrollbar-thumb {
    background-color: #00e676;
    border-radius: 10px;
}

.category-btn {
    background-color: #1a1a1a;
    color: #ddd;
    border: 1px solid #333;
    padding: 8px 15px;
    border-radius: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    z-index: 1; /* Ensure button stays above other elements */
}

.category-btn:hover {
    background-color: #252525;
    border-color: #00e676;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.3);
    transform: translateY(-2px);
    z-index: 2; /* Increase z-index on hover to prevent overlapping issues */
}

.category-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.1), transparent);
    transition: left 0.7s;
}

.category-btn:hover:before {
    left: 100%;
}

/* Active category button */
.category-btn.active {
    background-color: #00e676;
    color: #121212;
    border-color: #00e676;
    font-weight: 500;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.5);
    transform: translateY(-2px);
    z-index: 3; /* Give active buttons highest z-index */
}

.category-btn.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: #121212;
    border-radius: 2px;
}

/* Price range slider styles */
.price-filter {
    margin-bottom: 15px;
}

.price-range-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #ddd;
}

.price-range-values {
    color: #00e676;
    font-weight: 500;
}

.range-container {
    position: relative;
    width: 100%;
    height: 40px;
    margin-bottom: 15px;
}

.price-range-track {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    top: 18px;
}

.price-range-progress {
    position: absolute;
    height: 100%;
    background-color: #00e676;
    border-radius: 2px;
    z-index: 1;
}

.price-range-input {
    position: absolute;
    width: 100%;
    height: 4px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    z-index: 2;
    top: 18px;
}

.price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #00e676;
    cursor: pointer;
    pointer-events: auto;
    margin-top: -6px;
}

.price-range-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #00e676;
    cursor: pointer;
    pointer-events: auto;
    border: none;
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.price-input {
    flex: 1;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: white;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
}

.search-container {
    display: flex;
    margin-top: 15px;
}

.search-input {
    flex: 1;
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: white;
    padding: 10px 15px;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
}

.search-btn {
    background-color: #00e676;
    color: #121212;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Items grid */
.items-container {
    position: relative;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.items-list {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.item-card {
    background-color: #111111;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid #1e1e1e;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3), 0 0 8px rgba(0, 230, 118, 0.4);
    border-color: #00e676;
}

.item-image {
    height: 140px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #161616;
    padding: 10px;
    position: relative;
    overflow: hidden; /* Added to contain the zooming image */
}

/* Add transition to the images */
.item-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Add zoom effect on hover */
.item-card:hover .item-image img {
    transform: scale(1.15); /* 15% larger on hover */
    filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.4));
}

.item-details {
    padding: 12px;
}

.item-type {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
}

.item-type-badge {
    color: #fff;
    font-weight: 500;
}

.item-type-text {
    color: #888;
    font-size: 11px;
}

.item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-wear {
    font-size: 11px;
    color: #777;
    margin-bottom: 12px;
}

.item-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-price {
    font-size: 18px;
    font-weight: 700;
    color: #00e676;
}

.item-discount {
    background-color: #ff1744;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* List view */
.item-row {
    display: flex;
    align-items: center;
    background-color: #111111;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #1e1e1e;
    transition: all 0.2s;
    cursor: pointer;  /* Добавьте это свойство */
}

.item-row:hover {
    background-color: #171717;
    border-color: #333;
}

.item-row {
    background-color: #111111;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #1e1e1e;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.item-row:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.3), 0 0 8px rgba(0, 230, 118, 0.4);
    border-color: #00e676;
    background-color: #151515;
}

/* Добавляем эффект свечения при наведении */
.item-row:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.item-row:hover:before {
    background-color: #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.6);
}

/* Эффект для изображения */
.item-row-image {
    width: 80px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #161616;
    border-radius: 4px;
    margin-right: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.item-row:hover .item-row-image {
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.5);
    transform: scale(1.05);
}

.item-row-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.item-row:hover .item-row-image img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(0, 230, 118, 0.4));
}
.item-row-info {
    flex: 1;
}

.item-row-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.item-row-name {
    font-weight: 600;
    font-size: 14px;
}

.item-row-type {
    font-size: 12px;
    color: #aaa;
    margin-right: 10px;
}

.item-row-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-row-wear {
    font-size: 11px;
    color: #777;
}

.item-row-price-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer {
    padding: 25px;
    margin-top: 70px;
    text-align: center;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #1e1e1e;
}

/* Контейнер для элементов управления в одну строку */
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 15px;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #1e1e1e;
}

/* Секция вида отображения */
.view-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Секция сортировки */
.sort-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Секция фильтров */
.filter-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Заголовки секций */
.section-title {
    font-size: 14px;
    color: #aaa;
    white-space: nowrap;
}

/* Стили для кнопок выбора вида */
.view-options {
    display: flex;
    gap: 8px;
}

/* Стили для выпадающего списка */
.sort-select {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: #ddd;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    min-width: 150px;
}

/* Стили для чекбоксов */
.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.filter-checkbox input {
    margin-right: 8px;
    accent-color: #00e676;
}

.filter-checkbox label {
    font-size: 13px;
    color: #ddd;
    white-space: nowrap;
}

/* Hide number input arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

/* ОСНОВНОЙ СТИЛЬ КОНТЕЙНЕРА */
.cyber-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 16px 20px;
    background-color: #111111;
    border: 1px solid #333;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
}

.cyber-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00e676, transparent 80%);
}

/* СТИЛИ ДЛЯ СЕКЦИЙ */
.cyber-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cyber-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #00e676;
    letter-spacing: 1px;
    font-weight: 600;
    margin-right: 5px;
}

/* КНОПКИ ВИДА ОТОБРАЖЕНИЯ */
.cyber-view-buttons {
    display: flex;
    gap: 5px;
}

.cyber-view-btn-grid {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111111;
    border: 1px solid #333;
    color: #aaa;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cyber-view-btn-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.3), transparent);
    z-index: 1;
    transition: left 0.6s ease;
}

.cyber-view-btn-grid:hover {
    border-color: #00e676;
    color: #00e676;
}

.cyber-view-btn-grid:hover::after {
    left: 100%;
}

.cyber-view-btn-grid.active {
    background-color: #1a1a1a;
    color: #00e676;
    border-color: #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.cyber-view-btn-list {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111111;
    border: 1px solid #333;
    color: #aaa;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cyber-view-btn-list::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.3), transparent);
    z-index: 1;
    transition: left 0.6s ease;
}

.cyber-view-btn-list:hover {
    border-color: #00e676;
    color: #00e676;
}

.cyber-view-btn-list:hover::after {
    left: 100%;
}

.cyber-view-btn-list.active {
    background-color: #1a1a1a;
    color: #00e676;
    border-color: #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

/* КНОПКИ СОРТИРОВКИ */
.cyber-sort-buttons {
    display: flex;
    overflow: hidden;
    border: 1px solid #333;
}

.cyber-sort-btn {
    padding: 10px 16px;
    background-color: #111111;
    color: #aaa;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    position: relative;
}

.cyber-sort-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00e676;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.cyber-sort-btn:hover {
    color: #00e676;
}

.cyber-sort-btn.active {
    color: #00e676;
    background-color: #1a1a1a;
}

.cyber-sort-btn.active::before {
    transform: scaleX(1);
}

/* ЧЕКБОКСЫ */
.cyber-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cyber-checkbox-input {
    display: none;
}

.cyber-checkbox-visual {
    width: 18px;
    height: 18px;
    border: 1px solid #333;
    position: relative;
    transition: all 0.2s ease;
}

.cyber-checkbox-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #00e676;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
}

.cyber-checkbox-input:checked + .cyber-checkbox-visual {
    border-color: #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.cyber-checkbox-input:checked + .cyber-checkbox-visual::before {
    transform: translate(-50%, -50%) scale(1);
}

.cyber-checkbox:hover .cyber-checkbox-visual {
    border-color: #00e676;
}

.cyber-checkbox-label {
    font-size: 13px;
    color: #ddd;
}
/* Стили для контейнера "Показать еще" */
.show-more-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
    width: 100%;
    position: relative;
}

.show-more-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00e676, transparent);
}

/* Стили для статистики элементов */
.items-stats {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Стили для кнопки "Показать еще" */
.show-more-btn {
    background-color: #111111;
    color: #00e676;
    border: 2px solid #00e676;
    border-radius: 4px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

.show-more-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.3), transparent);
    z-index: 1;
    transition: left 0.6s ease;
}

.show-more-btn:hover {
    background-color: #00e676;
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 230, 118, 0.5), 0 0 8px rgba(0, 230, 118, 0.4);
}

.show-more-btn:hover::after {
    left: 100%;
}

.show-more-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 230, 118, 0.4);
}

/* Стили для "Показать еще" в списочном представлении */
.list-view-show-more {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

/* Анимация для новых элементов */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.item-card, .item-row {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Базовые стили для бейджей качества */
.item-type-badge {
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    display: inline-block;
}

/* Steam Authentication Styles */

/* Steam User Profile Container */
.steam-user {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(17, 17, 17, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #1e1e1e;
    position: relative;
}

.steam-user:hover {
    background-color: rgba(26, 26, 26, 0.8);
    border-color: #00e676;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.3);
}

/* Steam Avatar */
.steam-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #00e676;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
}

.steam-user:hover .steam-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.6);
}

/* Steam Profile Info */
.steam-profile {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.steam-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.steam-user:hover .steam-name {
    color: #00e676;
}

.steam-balance {
    color: #00e676;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.steam-balance:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #00e676;
    border-radius: 50%;
    box-shadow: 0 0 4px #00e676;
}

/* Steam Profile Dropdown Menu */
.steam-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #111111;
    border: 1px solid #333;
    border-radius: 6px;
    width: 180px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.steam-user:hover .steam-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.steam-dropdown:before {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 10px;
    height: 10px;
    background-color: #111111;
    border-top: 1px solid #333;
    border-left: 1px solid #333;
    transform: rotate(45deg);
}

.steam-dropdown a {
    display: block;
    color: #ddd;
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.steam-dropdown a:hover {
    background-color: #1a1a1a;
    color: #00e676;
    border-left: 3px solid #00e676;
    padding-left: 20px;
}

.steam-dropdown a:last-child {
    border-top: 1px solid #1e1e1e;
}

/* Logout link specific styling */
.steam-dropdown a:last-child {
    color: #ff5555;
}

.steam-dropdown a:last-child:hover {
    background-color: rgba(255, 85, 85, 0.1);
    color: #ff5555;
    border-left: 3px solid #ff5555;
}

/* Steam Login Button */
.login-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #171a21;
    color: #ffffff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #2a3f5f;
}

.login-btn:hover {
    background-color: #2a3f5f;
    box-shadow: 0 0 10px rgba(42, 63, 95, 0.5);
    transform: translateY(-2px);
}

.login-btn img {
    transition: all 0.3s ease;
}

.login-btn:hover img {
    transform: scale(1.1);
}

/* Steam Status Indicator */
.steam-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    bottom: 6px;
    left: 44px;
    border: 2px solid #111;
}

/* Добавь эти стили в конец твоего styles.css */

/* Заблюренная область для неавторизованных пользователей */
.blurred-content-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(0, 230, 118, 0.05) 30%,
        rgba(10, 10, 10, 0.9) 70%,
        rgba(0, 230, 118, 0.08) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 0;
    overflow: hidden;
}

/* Навигация остается поверх блюра */
.horizontal-nav {
    position: relative;
    z-index: 1001;
    background-color: #0c0c0c;
    border: 1px solid #1e1e1e;
}

/* Header тоже остается видимым */
header {
    position: relative;
    z-index: 1001;
}

/* Контейнер должен быть относительно позиционирован */
.items-container {
    position: relative;
    min-height: 600px;
}

/* Анимированные частицы */
.auth-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00e676;
    border-radius: 50%;
    animation: floatParticle 12s infinite linear;
    opacity: 0.7;
}

.auth-particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 8s; }
.auth-particle:nth-child(2) { left: 15%; animation-delay: 1s; animation-duration: 10s; }
.auth-particle:nth-child(3) { left: 25%; animation-delay: 2s; animation-duration: 12s; }
.auth-particle:nth-child(4) { left: 35%; animation-delay: 3s; animation-duration: 9s; }
.auth-particle:nth-child(5) { left: 45%; animation-delay: 4s; animation-duration: 11s; }
.auth-particle:nth-child(6) { left: 55%; animation-delay: 5s; animation-duration: 8s; }
.auth-particle:nth-child(7) { left: 65%; animation-delay: 6s; animation-duration: 13s; }
.auth-particle:nth-child(8) { left: 75%; animation-delay: 7s; animation-duration: 10s; }
.auth-particle:nth-child(9) { left: 85%; animation-delay: 8s; animation-duration: 9s; }
.auth-particle:nth-child(10) { left: 95%; animation-delay: 9s; animation-duration: 11s; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.7;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    50% {
        transform: translateY(50vh) translateX(-20px) scale(1.2);
    }
    95% {
        opacity: 0.7;
        transform: translateY(10vh) translateX(15px) scale(1);
    }
    100% {
        transform: translateY(-10vh) translateX(0) scale(0);
        opacity: 0;
    }
}

/* Центральный блок авторизации */
.auth-center-block {
    text-align: center;
    padding: 50px 40px;
    background: rgba(17, 17, 17, 0.95);
    border-radius: 16px;
    border: 2px solid rgba(0, 230, 118, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 230, 118, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: authBlockGlow 4s ease-in-out infinite alternate;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

@keyframes authBlockGlow {
    from {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(0, 230, 118, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 230, 118, 0.4);
    }
    to {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.6),
            0 0 50px rgba(0, 230, 118, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 230, 118, 0.6);
    }
}

/* Заголовок блока авторизации */
.auth-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #00e676 0%, #76ff03 50%, #00e676 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 230, 118, 0.3);
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Подзаголовок */
.auth-subtitle {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Кнопка авторизации Steam */
.steam-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: linear-gradient(135deg, #171a21 0%, #2a3f5f 100%);
    border: 2px solid #4c6b8a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 
        0 6px 20px rgba(23, 26, 33, 0.4),
        0 0 20px rgba(76, 107, 138, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.steam-auth-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.steam-auth-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 10px 30px rgba(23, 26, 33, 0.6),
        0 0 30px rgba(76, 107, 138, 0.4);
    border-color: #66c0f4;
    background: linear-gradient(135deg, #2a3f5f 0%, #171a21 100%);
}

.steam-auth-btn:hover::before {
    left: 100%;
}

.steam-auth-btn:active {
    transform: translateY(-1px) scale(1.01);
}

/* Иконка Steam */
.steam-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: all 0.3s ease;
}

.steam-auth-btn:hover .steam-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(102, 192, 244, 0.6));
}

/* Функции и преимущества */
.auth-features {
    display: flex;
    gap: 40px;
    margin-top: 45px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-feature {
    text-align: center;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.auth-feature:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.auth-feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    fill: #00e676;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.4));
}

.auth-feature:hover .auth-feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 230, 118, 0.7));
}

.auth-feature-text {
    font-size: 14px;
    color: #bbb;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Фоновый эффект со скинами (когда скины загружены) */
.items-grid.blurred {
    filter: blur(8px);
    opacity: 0.3;
    pointer-events: none;
}

.items-list.blurred {
    filter: blur(8px);
    opacity: 0.3;
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .auth-center-block {
        padding: 30px 25px;
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .auth-title {
        font-size: 26px;
    }
    
    .auth-subtitle {
        font-size: 16px;
    }
    
    .steam-auth-btn {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .auth-features {
        gap: 25px;
        margin-top: 35px;
    }
    
    .auth-feature-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .auth-center-block {
        padding: 25px 20px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-features {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .auth-feature {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }
    
    .auth-feature-icon {
        margin: 0;
    }

/* Trade URL Modal */
        .trade-url-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 1;
            visibility: visible;
        }

        .trade-url-overlay.hidden {
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .trade-url-block {
            background: #1a1a1a;
            border: 2px solid #00ff88;
            padding: 40px;
            max-width: 600px;
            width: 90%;
            text-align: center;
            position: relative;
        }

        .trade-url-block::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, #00ff88, #00dd77, #00ff88);
            z-index: -1;
            animation: borderPulse 2s infinite;
        }

        @keyframes borderPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .trade-url-block .name {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 30px;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .trade-url-block .name a {
            color: #00ff88;
            text-decoration: underline;
            transition: color 0.3s ease;
        }

        .trade-url-block .name a:hover {
            color: #00dd77;
        }

        .trade-url-status {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .trade-url-field {
            width: 100%;
            padding: 15px;
            background: #333;
            border: 1px solid #555;
            color: #fff;
            font-size: 14px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .trade-url-field:focus {
            outline: none;
            border-color: #00ff88;
            background: #444;
        }

        .trade-url-field::placeholder {
            color: #888;
        }

        .save {
            padding: 15px 40px;
            background: #00ff88;
            border: none;
            color: #000;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 14px;
        }

        .save:hover {
            background: #00dd77;
            transform: translateY(-2px);
        }

        .save:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .error-message {
            color: #ff4444;
            font-size: 12px;
            margin-top: 10px;
            display: none;
        }

        .success-message {
            color: #00ff88;
            font-size: 12px;
            margin-top: 10px;
            display: none;
        }

        /* Content blur when modal is active */
        .content-blurred {
            filter: blur(5px);
            pointer-events: none;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .main-content {
                padding: 15px;
            }

            .cyber-controls {
                flex-direction: column;
                gap: 15px;
                align-items: stretch;
            }

            .cyber-section {
                justify-content: center;
            }

            .items-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 15px;
            }

            .trade-url-block {
                padding: 30px 20px;
                margin: 15px;
            }

            .trade-url-block .name {
                font-size: 18px;
            }
        }
}