@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #050810;
    --panel: #0b101c;
    --panel-2: #101625;
    --border: rgba(255,255,255,.065);
    --text: #f4f5fb;
    --muted: #8991a6;
    --purple: #6840ff;
    --purple-2: #8a64ff;
    --green: #27d46b;
    --orange: #ffb72b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 70% -10%, rgba(104,64,255,.13), transparent 30%),
        radial-gradient(circle at 10% 20%, rgba(45,65,130,.08), transparent 25%),
        var(--bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

button, input { font: inherit; }

.app-shell { min-height: 100vh; }

.topbar {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 30px;
    border-bottom: 1px solid var(--border);
    background: rgba(5,8,16,.82);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 205px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #7d54ff, #3c1bbd);
    box-shadow: 0 0 30px rgba(104,64,255,.3);
    transform: skew(-8deg);
}

.main-nav { display: flex; }

.nav-catalog {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 21px;
    border-radius: 8px;
    background: linear-gradient(135deg, #7044ff, #4d27d7);
    box-shadow: 0 10px 30px rgba(91,54,235,.22);
    font-weight: 700;
}

.search {
    height: 43px;
    flex: 1;
    max-width: 470px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    background: #0b101b;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 9px;
}

.search-icon { color: #7c8599; font-size: 23px; }

.search input {
    width: 100%;
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
}

.search input::placeholder { color: #6d7589; }

.top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    white-space: nowrap;
}

.top-action {
    color: #d9dbe4;
    font-size: 14px;
}

.top-action span { margin-right: 7px; color: #e8e9f1; }

.cart { position: relative; }

.cart b {
    position: absolute;
    top: -12px;
    right: -15px;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #6e40ff;
    color: white;
    font-size: 10px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 125px;
}

.avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg,#222c47,#6b48ff);
    font-weight: 800;
}

.profile strong, .profile small { display: block; }
.profile strong { font-size: 13px; }
.profile small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.chevron { margin-left: auto; color: #8a91a5; }

.layout {
    display: grid;
    grid-template-columns: 205px minmax(0,1fr);
    gap: 20px;
    padding: 22px 30px 50px;
    max-width: 1600px;
    margin: auto;
}

.sidebar {
    position: sticky;
    top: 102px;
    align-self: start;
    background: linear-gradient(180deg, rgba(15,21,35,.96), rgba(10,15,25,.96));
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 14px;
}

.side-title {
    padding: 0 7px 11px;
    font-size: 13px;
    font-weight: 600;
    color: #d9dce5;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 8px;
    color: #c5c9d5;
    border-radius: 7px;
    font-size: 13px;
}

.side-link:hover, .side-link.active {
    color: white;
    background: rgba(104,64,255,.12);
}

.game-icon {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #202942;
    font-size: 10px;
}

.side-divider {
    height: 1px;
    margin: 14px 0;
    background: var(--border);
}

.seller-card {
    margin-top: 20px;
    padding: 16px;
    border-radius: 9px;
    background: linear-gradient(145deg, rgba(37,25,89,.75), rgba(17,18,37,.9));
    border: 1px solid rgba(117,82,255,.12);
}

.seller-card strong {
    color: #b596ff;
    font-size: 14px;
}

.seller-card p {
    color: #8e94a6;
    font-size: 11px;
    line-height: 1.5;
}

.btn {
    border: 0;
    border-radius: 7px;
    padding: 11px 15px;
    color: white;
    background: linear-gradient(135deg,#7044ff,#5127d4);
    cursor: pointer;
    font-weight: 700;
}

.btn.full { width: 100%; }

.content { min-width: 0; }

.hero {
    min-height: 285px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background:
        radial-gradient(circle at 78% 45%, rgba(113,64,255,.28), transparent 25%),
        linear-gradient(90deg, #0c1322 0%, #0a101d 45%, #15112d 100%);
}

.hero::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    right: 80px;
    bottom: -190px;
    border-radius: 50%;
    background: rgba(101,56,255,.2);
    filter: blur(50px);
}

.hero-character {
    position: absolute;
    right: 8%;
    bottom: -30px;
    width: 410px;
    height: 290px;
    opacity: .9;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(139,99,255,.7), transparent 30%),
        linear-gradient(145deg, transparent 35%, rgba(20,25,42,.96) 36% 72%, transparent 73%);
    filter: drop-shadow(0 0 45px rgba(109,64,255,.35));
    transform: skew(-8deg);
}

.hero-copy { position: relative; z-index: 2; max-width: 510px; }

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.03;
    letter-spacing: -1.7px;
}

.hero h1 span {
    display: block;
    color: #7954ff;
}

.hero p {
    margin: 0 0 25px;
    color: #8f97ab;
    font-size: 14px;
    line-height: 1.65;
}

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

.info-card {
    min-height: 94px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 9px;
    background: #0c1220;
    border: 1px solid var(--border);
}

.info-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(102,61,255,.12);
    color: #8664ff;
    font-size: 20px;
}

.info-card strong { display: block; font-size: 13px; margin-bottom: 6px; }
.info-card p { margin: 0; color: #7e879b; font-size: 11px; line-height: 1.5; }

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 25px 0 13px;
}

.section-head h2 {
    margin: 0;
    font-size: 18px;
}

.section-head a { color: #8b67ff; font-size: 12px; }

.games {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 10px;
}

.game-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    height: 170px;
    border-radius: 9px;
    background: #0c1220;
    border: 1px solid var(--border);
}

.game-cover {
    height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#182342,#2b195d);
}

.game-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(0,0,0,.75));
}

.game-cover span {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 3px 18px #000;
}

.game-meta { padding: 8px 10px; }
.game-meta strong { display: block; font-size: 12px; }
.game-meta small { color: #727c91; font-size: 10px; }

.product-tabs {
    display: flex;
    gap: 24px;
    color: #7c8498;
    font-size: 12px;
}

.product-tabs a.active { color: white; }

.products {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 10px;
}

.product {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0b111e;
    transition: transform .2s ease, border-color .2s ease;
}

.product:hover {
    transform: translateY(-3px);
    border-color: rgba(116,81,255,.35);
}

.product-cover {
    height: 138px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#16233a,#301c63);
    overflow: hidden;
}

.product-cover::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(112,70,255,.22);
    filter: blur(15px);
}

.product-cover span {
    z-index: 1;
    font-size: 18px;
    font-weight: 900;
    text-shadow: 0 3px 15px black;
}

.tag {
    position: absolute;
    z-index: 2;
    top: 9px;
    left: 9px;
    padding: 4px 7px;
    border-radius: 4px;
    background: rgba(26,214,103,.9);
    color: #04100a;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.product-body { padding: 11px; }
.product-title {
    display: block;
    min-height: 30px;
    font-size: 11px;
    line-height: 1.4;
}

.price { margin-top: 8px; font-size: 15px; font-weight: 800; }
.old-price { color: #697185; text-decoration: line-through; font-size: 10px; margin-left: 5px; font-weight: 500; }

.seller {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    color: #81899c;
    font-size: 9px;
}

.seller-avatar {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2c3650;
}

.rating { margin-left: auto; color: var(--orange); }

.footer {
    max-width: 1500px;
    margin: auto;
    padding: 35px 30px 50px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: #656e82;
    font-size: 11px;
}

.footer-links { display: flex; gap: 20px; }

@media (max-width: 1250px) {
    .top-action { font-size: 0; }
    .top-action span { font-size: 18px; }
    .games, .products { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
    .topbar { padding: 0 15px; }
    .brand { min-width: auto; }
    .brand > span:last-child, .profile span:not(.avatar) { display: none; }
    .layout { grid-template-columns: 1fr; padding: 15px; }
    .sidebar { position: static; display: none; }
    .hero { padding: 30px; }
    .hero-character { opacity: .35; right: -100px; }
    .info-grid { grid-template-columns: 1fr; }
    .games, .products { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
    .main-nav, .top-actions .top-action:not(.cart) { display: none; }
    .topbar { gap: 8px; }
    .search { max-width: none; }
    .hero { min-height: 270px; padding: 25px; }
    .hero h1 { font-size: 31px; }
    .games, .products { grid-template-columns: 1fr 1fr; }
    .game-card { height: 150px; }
    .game-cover { height: 100px; }
    .footer { flex-direction: column; gap: 12px; }
}
/* ... ваш код ... */

/* Добавил плавные переходы для интерактивных элементов */
.side-link,
.product,
.btn,
.game-card {
    transition: all .2s ease;
}

/* Улучшил читаемость поиска */
.search input::placeholder { 
    color: #6d7589; 
    font-size: 13px;
}

/* Добавил выделение для пустого состояния */
.products-empty {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: var(--muted);
}

/* Улучшил мобильную навигацию */
@media (max-width: 600px) {
    .search {
        max-width: none;
        flex: 1;
    }
    
    .top-actions .top-action:not(.cart) {
        display: none;
    }
    
    .topbar {
        gap: 8px;
        padding: 0 12px;
        height: 64px;
    }
    
    .brand {
        font-size: 18px;
    }
    
    .brand-mark {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

/* Добавил состояние disabled для кнопок */
.btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Улучшил скролл */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: #2a3450;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3d4a6e;
}
/* Профиль продавца */
.profile-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 30px 50px;
}

.profile-header {
    display: flex;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(180deg, rgba(15,21,35,.96), rgba(10,15,25,.96));
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 40px;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple);
}

.profile-avatar.placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #222c47, #6b48ff);
    font-size: 48px;
    font-weight: 800;
    border: 3px solid var(--purple);
    color: white;
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #27d46b;
    color: #04100a;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    border: 3px solid var(--bg);
}

.profile-info {
    flex: 1;
}

.profile-info h1 {
    margin: 0 0 12px;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--muted);
}

.profile-username {
    color: var(--muted);
}

.profile-rating {
    color: var(--orange);
}

.reviews-count {
    color: var(--muted);
    font-weight: 400;
}

.profile-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.profile-status.active {
    background: rgba(39, 212, 107, .15);
    color: var(--green);
}

.profile-status.inactive {
    background: rgba(255, 107, 107, .15);
    color: #ff6b6b;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255,255,255,.03);
    border-radius: 8px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.profile-bio {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
    margin: 0 0 20px;
    max-width: 600px;
}

.profile-actions {
    display: flex;
    gap: 12px;
}

.btn.secondary {
    background: rgba(255,255,255,.08);
    border: 1px solid var(--border);
}

.btn.secondary:hover {
    background: rgba(255,255,255,.14);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0b111e;
    transition: transform .2s ease, border-color .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(116,81,255,.35);
}

.product-card .product-cover {
    height: 138px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #16233a, #301c63);
    overflow: hidden;
}

.product-card .product-cover::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(112,70,255,.22);
    filter: blur(15px);
}

.product-card .product-cover span {
    z-index: 1;
    font-size: 18px;
    font-weight: 900;
    text-shadow: 0 3px 15px black;
}

.product-card .product-body {
    padding: 11px;
}

.product-card .product-title {
    display: block;
    min-height: 30px;
    font-size: 11px;
    line-height: 1.4;
}

.sales-count {
    margin-top: 8px;
    color: var(--muted);
    font-size: 10px;
}

/* Отзывы */
.profile-reviews {
    margin-top: 40px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    padding: 16px 20px;
    background: #0b111e;
    border: 1px solid var(--border);
    border-radius: 9px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 13px;
}

.review-author {
    font-weight: 600;
    color: white;
}

.review-rating {
    color: var(--orange);
}

.review-date {
    color: var(--muted);
    font-size: 11px;
    margin-left: auto;
}

.review-text {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state h3 {
    color: white;
    margin: 0 0 8px;
}

.empty-state p {
    margin: 0;
}

/* Адаптив для профиля */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-actions {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .profile-page {
        padding: 15px;
    }

    .profile-header {
        padding: 20px 15px;
    }

    .profile-avatar,
    .profile-avatar.placeholder {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .verified-badge {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }

    .profile-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 15px;
    }

    .stat-value {
        font-size: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}
/* ===== ПРОФИЛЬ - НОВЫЙ ДИЗАЙН ===== */

.profile-hero {
    position: relative;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #0b101c 0%, #15122d 100%);
    border: 1px solid var(--border);
}

.profile-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(104,64,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(39,212,107,0.05) 0%, transparent 40%),
        radial-gradient(circle at 40% 20%, rgba(255,183,43,0.03) 0%, transparent 30%);
    pointer-events: none;
}

.profile-hero-content {
    position: relative;
    padding: 40px 50px 35px;
    z-index: 1;
}

/* Аватар */
.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(104,64,255,0.3);
    box-shadow: 0 0 60px rgba(104,64,255,0.15);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    border-color: var(--purple);
    box-shadow: 0 0 80px rgba(104,64,255,0.25);
}

.profile-avatar.placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #1a1f33, #3d2b7a);
    font-size: 48px;
    font-weight: 800;
    border: 4px solid rgba(104,64,255,0.3);
    color: white;
    transition: all 0.3s ease;
}

.verified-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #27d46b, #1a9e52);
    color: white;
    display: grid;
    place-items: center;
    border: 3px solid var(--bg);
    box-shadow: 0 4px 15px rgba(39,212,107,0.3);
}

.verified-badge svg {
    width: 18px;
    height: 18px;
}

/* Информация */
.profile-hero-info {
    margin-bottom: 25px;
}

.profile-hero-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #fff, #b8aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 15px;
}

.profile-username {
    color: var(--muted);
    font-size: 14px;
}

.profile-rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.profile-rating-stars .star {
    font-size: 16px;
    color: #2a3450;
}

.profile-rating-stars .star.filled {
    color: #ffb72b;
}

.profile-rating-stars .star.half {
    color: #ffb72b;
    background: linear-gradient(90deg, #ffb72b 50%, #2a3450 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-value {
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-left: 4px;
}

.reviews-count {
    color: var(--muted);
    font-size: 13px;
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.profile-status.active .status-dot {
    background: var(--green);
    animation: pulse-dot 2s infinite;
}

.profile-status.inactive .status-dot {
    background: #ff6b6b;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.profile-status.active {
    background: rgba(39,212,107,0.12);
    color: var(--green);
}

.profile-status.inactive {
    background: rgba(255,107,107,0.12);
    color: #ff6b6b;
}

.profile-bio {
    color: #a8b0c4;
    line-height: 1.7;
    font-size: 15px;
    max-width: 600px;
    margin: 0 0 18px;
}

/* Социальные сети */
.profile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--muted);
}

.social-link:hover {
    transform: translateY(-2px);
    color: white;
}

.social-link.telegram:hover {
    background: rgba(39, 159, 215, 0.15);
    border-color: #279fd7;
    color: #279fd7;
}

.social-link.discord:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: #5865f2;
    color: #5865f2;
}

.social-link.website:hover {
    background: rgba(104,64,255,0.15);
    border-color: var(--purple);
    color: var(--purple-2);
}

.social-link svg {
    flex-shrink: 0;
}

/* Кнопки действий */
.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #7044ff, #5127d4);
    color: white;
    box-shadow: 0 4px 20px rgba(104,64,255,0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(104,64,255,0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: white;
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-share {
    background: rgba(255,255,255,0.04);
    color: var(--muted);
    border: 1px solid var(--border);
}

.btn-share:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
    color: white;
}

/* Статистика карточками */
.profile-stats-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
    border-color: rgba(104,64,255,0.2);
}

.stat-icon {
    font-size: 22px;
    line-height: 1;
}

.stat-card .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.stat-card .stat-label {
    font-size: 11px;
    color: var(--muted);
}

/* Секция товаров */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.section-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.products-count {
    color: var(--muted);
    font-size: 13px;
}

.view-all-link {
    color: var(--purple-2);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    color: var(--purple);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Карточка товара в профиле */
.product-card {
    background: #0b111e;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(104,64,255,0.3);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}

.product-card .product-cover {
    height: 120px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #16233a, #301c63);
}

.product-icon {
    font-size: 32px;
    opacity: 0.5;
}

.badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, #27d46b, #1a9e52);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-body {
    padding: 14px;
}

.product-card .product-title {
    font-size: 13px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.product-price {
    font-size: 18px;
    font-weight: 800;
    margin: 8px 0;
    color: white;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.product-sales {
    font-size: 11px;
    color: var(--muted);
}

.add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(104,64,255,0.12);
    border: none;
    color: var(--purple-2);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart:hover {
    background: rgba(104,64,255,0.2);
    transform: scale(1.05);
}

/* Отзывы */
.reviews-grid {
    display: grid;
    gap: 12px;
}

.review-card {
    padding: 18px 22px;
    background: #0b111e;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.review-card:hover {
    border-color: rgba(104,64,255,0.15);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #222c47, #6b48ff);
    font-weight: 700;
    font-size: 14px;
}

.review-author {
    font-weight: 600;
    font-size: 14px;
}

.review-stars {
    display: flex;
    gap: 1px;
    margin-top: 2px;
}

.review-stars .star {
    font-size: 12px;
}

.review-stars .star.filled {
    color: #ffb72b;
}

.review-stars .star.empty {
    color: #2a3450;
}

.review-date {
    font-size: 12px;
    color: var(--muted);
}

.review-text {
    margin: 0;
    color: #b0b8cc;
    font-size: 14px;
    line-height: 1.6;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state h3 {
    color: white;
    margin: 0 0 8px;
    font-size: 20px;
}

.empty-state p {
    color: var(--muted);
    margin: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
    .profile-stats-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .profile-hero-content {
        padding: 25px 20px;
    }
    
    .profile-stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-hero-info h1 {
        font-size: 24px;
    }
    
    .profile-avatar,
    .profile-avatar.placeholder {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .verified-badge {
        width: 28px;
        height: 28px;
    }
    
    .verified-badge svg {
        width: 14px;
        height: 14px;
    }
    
    .profile-actions .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .profile-social {
        gap: 8px;
    }
    
    .social-link {
        font-size: 12px;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .profile-hero-content {
        padding: 20px 15px;
    }
    
    .profile-stats-cards {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .stat-card {
        padding: 10px 14px;
    }
    
    .stat-card .stat-value {
        font-size: 16px;
    }
    
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .profile-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .profile-actions .btn {
        justify-content: center;
        width: 100%;
    }
}
/* ===== СТРАНИЦЫ АВТОРИЗАЦИИ ===== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: 
        radial-gradient(circle at 30% 20%, rgba(104,64,255,0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(39,212,107,0.04) 0%, transparent 30%),
        var(--bg);
}

.auth-container {
    width: 100%;
    max-width: 460px;
}

.auth-card {
    background: linear-gradient(180deg, rgba(15,21,35,0.98), rgba(10,15,25,0.98));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 36px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideUp 0.5s ease;
}

.auth-card.register {
    max-width: 520px;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    text-decoration: none;
    color: white;
}

.auth-brand .brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #7d54ff, #3c1bbd);
    box-shadow: 0 0 30px rgba(104,64,255,0.2);
    font-size: 20px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
    background: linear-gradient(135deg, #fff, #b8aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-header p {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

/* Алерты */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    animation: slideUp 0.3s ease;
}

.auth-alert.error {
    background: rgba(255,107,107,0.1);
    border: 1px solid rgba(255,107,107,0.15);
    color: #ff6b6b;
}

.auth-alert.success {
    background: rgba(39,212,107,0.1);
    border: 1px solid rgba(39,212,107,0.15);
    color: #27d46b;
}

.auth-alert svg {
    flex-shrink: 0;
}

/* Форма */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #d9dce5;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 12px;
    font-size: 16px;
    color: var(--muted);
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.2s ease;
    outline: none;
}

.input-wrapper input:focus {
    border-color: var(--purple);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 4px rgba(104,64,255,0.1);
}

.input-wrapper input::placeholder {
    color: #4a536b;
}

.input-wrapper .toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    transition: color 0.2s ease;
}

.input-wrapper .toggle-password:hover {
    color: white;
}

.input-hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

/* Чекбоксы */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--muted);
}

.checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.checkbox input:checked + .checkmark {
    background: var(--purple);
    border-color: var(--purple);
}

.checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox a {
    color: var(--purple-2);
    text-decoration: none;
}

.checkbox a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: var(--muted);
    font-size: 13px;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: white;
}

/* Кнопка входа */
.btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
    position: relative;
    overflow: hidden;
}

.btn-auth.btn-primary {
    background: linear-gradient(135deg, #7044ff, #5127d4);
    color: white;
    box-shadow: 0 4px 20px rgba(104,64,255,0.25);
}

.btn-auth.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(104,64,255,0.4);
}

.btn-auth.btn-primary:active {
    transform: translateY(0);
}

/* Разделитель */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    position: relative;
    background: var(--panel);
    padding: 0 16px;
    color: var(--muted);
    font-size: 12px;
}

/* Социальные кнопки */
.auth-social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-2px);
}

.btn-social.google:hover {
    border-color: #4285F4;
    box-shadow: 0 0 30px rgba(66,133,244,0.1);
}

.btn-social.discord:hover {
    border-color: #5865F2;
    box-shadow: 0 0 30px rgba(88,101,242,0.1);
}

/* Футер */
.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--muted);
    font-size: 14px;
}

.auth-footer a {
    color: var(--purple-2);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Парольная метрика */
.password-strength {
    font-size: 12px;
    margin-top: 4px;
    transition: all 0.3s ease;
}

/* Адаптив */
@media (max-width: 480px) {
    .auth-card {
        padding: 28px 20px;
    }
    
    .auth-header h1 {
        font-size: 22px;
    }
    
    .auth-social {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-auth {
        font-size: 14px;
        padding: 12px;
    }
}

@media (max-width: 380px) {
    .auth-card {
        padding: 20px 16px;
    }
}
/* Кнопки авторизации в хедере */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-login {
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--border);
}

.btn-login:hover {
    color: white;
    background: rgba(255,255,255,0.04);
}

.btn-register {
    color: white;
    background: linear-gradient(135deg, #7044ff, #5127d4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(104,64,255,0.25);
}

@media (max-width: 768px) {
    .btn-login,
    .btn-register {
        padding: 6px 12px;
        font-size: 11px;
    }
}
/* ===== ПРОФИЛЬ В ХЕДЕРЕ ===== */
.profile-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 125px;
    padding: 6px 10px;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.profile:hover {
    background: rgba(255,255,255,0.04);
}

.profile .avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #222c47, #6b48ff);
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.profile strong {
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.profile small {
    color: var(--muted);
    font-size: 11px;
    display: block;
    line-height: 1.2;
}

.profile .chevron {
    color: #8a91a5;
    font-size: 12px;
    margin-left: auto;
}

/* Выпадающее меню */
.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 200px;
    background: rgba(11,16,28,0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 100;
}

.profile-wrapper:hover .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #d9dce5;
    font-size: 13px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.profile-dropdown a:hover {
    background: rgba(104,64,255,0.08);
    color: white;
}

.profile-dropdown a.danger {
    color: #ff6b6b;
}

.profile-dropdown a.danger:hover {
    background: rgba(255,107,107,0.1);
    color: #ff6b6b;
}

.dropdown-divider {
    height: 1px;
    margin: 6px 8px;
    background: var(--border);
}

/* Кнопки авторизации */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-login,
.btn-register {
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-login {
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--border);
}

.btn-login:hover {
    color: white;
    background: rgba(255,255,255,0.04);
}

.btn-register {
    color: white;
    background: linear-gradient(135deg, #7044ff, #5127d4);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(104,64,255,0.25);
}

/* Адаптив */
@media (max-width: 900px) {
    .profile {
        min-width: auto;
    }
    .profile span:not(.avatar) {
        display: none;
    }
    .auth-buttons .btn-login,
    .auth-buttons .btn-register {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .auth-buttons .btn-login,
    .auth-buttons .btn-register {
        padding: 4px 10px;
        font-size: 10px;
    }
    .profile .avatar {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}
/* ===== ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ ===== */
.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.profile-header {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(15,21,35,0.96), rgba(10,15,25,0.96));
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 30px;
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar.placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #222c47, #6b48ff);
    font-size: 40px;
    font-weight: 800;
    border: 3px solid var(--purple);
    color: white;
}

.verified-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #27d46b;
    color: white;
    display: grid;
    place-items: center;
    border: 3px solid var(--bg);
    font-size: 14px;
}

.profile-info h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px;
}

.profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
}

.profile-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-email {
    color: var(--muted);
}

.profile-role {
    color: var(--purple-2);
}

.profile-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.profile-status.active {
    background: rgba(39,212,107,0.12);
    color: var(--green);
}

.profile-status.inactive {
    background: rgba(255,107,107,0.12);
    color: #ff6b6b;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.profile-status.active .status-dot {
    background: var(--green);
    animation: pulse-dot 2s infinite;
}

.profile-status.inactive .status-dot {
    background: #ff6b6b;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.profile-joined {
    color: var(--muted);
    font-size: 13px;
}

/* Статистика */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 28px;
    line-height: 1;
}

.stat-card .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--muted);
}

/* Настройки */
.profile-settings {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 24px;
}

.profile-settings h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 500px;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-form .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #d9dce5;
}

.profile-form .form-group input,
.profile-form .form-group textarea {
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.profile-form .form-group input:focus,
.profile-form .form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(104,64,255,0.1);
}

.profile-form .form-group textarea {
    resize: vertical;
    font-family: inherit;
}

.btn-primary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #7044ff, #5127d4);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(104,64,255,0.3);
}

/* Заказы */
.profile-orders {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 24px;
}

.profile-orders h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
}

.order-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-id {
    font-weight: 600;
    color: white;
}

.order-date {
    color: var(--muted);
    font-size: 13px;
}

.order-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.order-status.pending {
    background: rgba(255,183,43,0.15);
    color: #ffb72b;
}

.order-status.completed {
    background: rgba(39,212,107,0.15);
    color: #27d46b;
}

.order-status.cancelled {
    background: rgba(255,107,107,0.15);
    color: #ff6b6b;
}

.order-total {
    font-weight: 700;
    color: white;
}

/* Продукты пользователя */
.profile-products {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px 30px;
}

.profile-products h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
}

/* Адаптив */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-meta {
        justify-content: center;
    }
    
    .profile-form {
        max-width: 100%;
    }
    
    .profile-settings {
        padding: 20px;
    }
    
    .order-item {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .profile-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 12px 14px;
    }
    
    .stat-card .stat-value {
        font-size: 18px;
    }
    
    .profile-avatar.placeholder {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
}
/* ===== НАСТРОЙКИ ===== */
.settings-page {
    padding: 30px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.settings-container h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.settings-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    overflow-x: auto;
}

.settings-nav-item {
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.settings-nav-item:hover {
    color: white;
    background: rgba(255,255,255,0.04);
}

.settings-nav-item.active {
    color: white;
    background: rgba(104,64,255,0.12);
}

.settings-section {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.settings-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
}

.settings-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--muted);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
}

.settings-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.settings-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-form .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #d9dce5;
}

.settings-form .form-group input,
.settings-form .form-group textarea {
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.settings-form .form-group input:focus,
.settings-form .form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(104,64,255,0.1);
}

.settings-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Карты */
.cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.card-item.default {
    border-color: var(--purple);
    background: rgba(104,64,255,0.06);
}

.card-item:hover {
    background: rgba(255,255,255,0.06);
}

.card-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card-type {
    font-weight: 600;
    color: white;
}

.card-number {
    color: var(--muted);
    font-size: 14px;
}

.card-expiry {
    color: var(--muted);
    font-size: 13px;
}

.card-holder {
    color: var(--muted);
    font-size: 13px;
}

.card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge-default {
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(104,64,255,0.15);
    color: var(--purple-2);
    font-size: 11px;
    font-weight: 600;
}

.btn-small {
    padding: 5px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-default {
    background: rgba(104,64,255,0.12);
    color: var(--purple-2);
}

.btn-default:hover {
    background: rgba(104,64,255,0.2);
}

.btn-danger {
    background: rgba(255,107,107,0.1);
    color: #ff6b6b;
}

.btn-danger:hover {
    background: rgba(255,107,107,0.2);
}

/* Добавление карты */
.add-card-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.add-card-form .settings-form {
    max-width: 100%;
}

/* Настройки уведомлений */
.settings-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-toggle {
    padding: 10px 0;
}

.settings-toggle .checkbox {
    font-size: 14px;
    color: white;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 30px 20px;
    color: var(--muted);
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Адаптив */
@media (max-width: 768px) {
    .settings-section {
        padding: 20px;
    }
    
    .settings-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .settings-nav {
        gap: 6px;
    }
    
    .settings-nav-item {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .card-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .settings-page {
        padding: 15px 10px;
    }
    
    .settings-section {
        padding: 16px;
    }
    
    .card-info {
        gap: 10px;
        font-size: 13px;
    }
}
/* Количество товаров в боковом меню */
.side-link .game-count {
    margin-left: auto;
    background: rgba(255,255,255,0.06);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 10px;
    color: var(--muted);
}

.side-link.active .game-count {
    background: rgba(104,64,255,0.15);
    color: var(--purple-2);
}

/* Игра на карточке товара */
.product-game {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 2px 10px;
    border-radius: 4px;
    background: rgba(0,0,0,0.6);
    font-size: 9px;
    color: var(--muted);
    z-index: 2;
    backdrop-filter: blur(4px);
}

.product-icon {
    font-size: 28px;
    opacity: 0.3;
    z-index: 1;
}

.product-category {
    display: inline-block;
    font-size: 10px;
    color: var(--muted);
    margin-top: 2px;
}

.product-sales {
    margin-top: 6px;
    font-size: 10px;
    color: var(--muted);
}

/* Обложка игры с картинкой */
.game-cover {
    position: relative;
}

.game-cover span {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.game-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,0.7));
    z-index: 1;
}
/* ===== ТАБЫ С ГОРИЗОНТАЛЬНЫМ СКРОЛЛОМ ===== */

.product-tabs-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-tabs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 10px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
    -webkit-overflow-scrolling: touch;
}

.product-tabs-scroll::-webkit-scrollbar {
    height: 3px;
}

.product-tabs-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.product-tabs-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.product-tabs-scroll a {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.product-tabs-scroll a:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.product-tabs-scroll a.active {
    background: rgba(104,64,255,0.15);
    color: var(--purple-2);
}

/* Стрелки для скролла (опционально) */
.product-tabs-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(5,8,16,0.9);
    border: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    z-index: 5;
}

.product-tabs-scroll-btn:hover {
    background: rgba(255,255,255,0.05);
    color: white;
}

.product-tabs-scroll-btn.left {
    left: 0;
}

.product-tabs-scroll-btn.right {
    right: 0;
}

.product-tabs-scroll-btn.show {
    display: flex;
}

/* Адаптив для табов */
@media (max-width: 768px) {
    .product-tabs-scroll a {
        font-size: 12px;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .product-tabs-scroll a {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .product-tabs-scroll {
        gap: 6px;
        padding: 2px 0 8px 0;
    }
}

/* Альтернативный вариант - выпадающий список вместо табов */
.product-tabs-dropdown {
    display: none;
}

@media (max-width: 600px) {
    .product-tabs-scroll {
        display: none;
    }
    
    .product-tabs-dropdown {
        display: block;
        position: relative;
    }
    
    .product-tabs-dropdown select {
        width: 100%;
        padding: 10px 14px;
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border);
        border-radius: 10px;
        color: white;
        font-size: 14px;
        outline: none;
        cursor: pointer;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238991a6' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6l1.5-1.5L8 8l3.5-3.5L13 6z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 40px;
    }
    
    .product-tabs-dropdown select option {
        background: #0b101c;
        color: white;
    }
    
    .product-tabs-dropdown select:focus {
        border-color: var(--purple);
        box-shadow: 0 0 0 3px rgba(104,64,255,0.1);
    }
}
/* ===== КАРТОЧКИ ТОВАРОВ - ОБНОВЛЕННЫЙ ДИЗАЙН ===== */

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product:hover {
    transform: translateY(-4px);
    border-color: rgba(104,64,255,0.25);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.product a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Название игры сверху с иконкой и категорией */
.product-game-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px 5px;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    min-height: 32px;
    flex-wrap: wrap;
}

.product-game-tag .game-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.product-game-tag .game-name {
    color: #b0b8cc;
    font-weight: 500;
}

.product-game-tag .game-category {
    color: var(--muted);
    font-size: 10px;
    margin-left: 2px;
}

/* Изображение */
.product-cover {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #16233a, #2a1a55);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-cover .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product:hover .product-cover .product-img {
    transform: scale(1.05);
}

.product-cover .badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    background: linear-gradient(135deg, #27d46b, #1a9e52);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Тело карточки */
.product-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Цена */
.product-body .price {
    font-size: 22px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
}

.product-body .price .old-price {
    font-size: 14px;
    color: var(--muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

/* Название */
.product-body .product-title {
    font-size: 14px;
    font-weight: 500;
    color: #d9dce5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: 38px;
}

/* Футер с рейтингом и продажами */
.product-body .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.product-body .product-footer .rating-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.product-body .product-footer .rating-stars .star {
    font-size: 13px;
    color: #2a3450;
}

.product-body .product-footer .rating-stars .star.filled {
    color: #ffb72b;
}

.product-body .product-footer .rating-stars .star.half {
    color: #ffb72b;
    background: linear-gradient(90deg, #ffb72b 50%, #2a3450 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-body .product-footer .rating-stars .rating-value {
    font-size: 12px;
    color: var(--muted);
    margin-left: 4px;
}

.product-body .product-footer .sales-count {
    font-size: 12px;
    color: var(--muted);
}

/* Продавец компактно */
.product-body .seller-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

.product-body .seller-compact .seller-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, #222c47, #6b48ff);
    color: white;
    flex-shrink: 0;
}

/* Адаптив */
@media (max-width: 1250px) {
    .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-cover {
        height: 160px;
    }
    
    .product-game-tag {
        font-size: 10px;
        padding: 5px 12px 4px;
        min-height: 28px;
    }
    
    .product-game-tag .game-icon {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .products {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .product-cover {
        height: 140px;
    }
    
    .product-body {
        padding: 10px 12px 12px;
    }
    
    .product-body .price {
        font-size: 18px;
    }
    
    .product-body .product-title {
        font-size: 13px;
        min-height: 32px;
    }
    
    .product-body .product-footer .rating-stars .star {
        font-size: 11px;
    }
    
    .product-body .product-footer .sales-count {
        font-size: 10px;
    }
    
    .product-game-tag {
        font-size: 9px;
        padding: 4px 10px 3px;
        min-height: 24px;
        gap: 4px;
    }
    
    .product-game-tag .game-icon {
        font-size: 11px;
    }
    
    .product-game-tag .game-category {
        font-size: 9px;
    }
}

@media (max-width: 400px) {
    .products {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .product-cover {
        height: 120px;
    }
    
    .product-body .price {
        font-size: 16px;
    }
    
    .product-body .product-title {
        font-size: 12px;
        min-height: 28px;
    }
    
    .product-body .product-footer .rating-stars .star {
        font-size: 10px;
    }
}
/* ===== БАННЕРЫ - ПОЛНОЭКРАННЫЙ СЛАЙДЕР ===== */

.banner-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    background: var(--bg);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.banner-slider .slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slider .slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Фоновое изображение на всю ширину */
.banner-slider .slide .banner-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Затемнение */
.banner-slider .slide .banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Контент поверх изображения */
.banner-slider .slide .banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 40px 50px;
    pointer-events: none;
}

.banner-slider .slide .banner-content .banner-text {
    pointer-events: auto;
    max-width: 55%;
    animation: fadeInUp 0.6s ease;
}

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

.banner-slider .slide .banner-content .title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.banner-slider .slide .banner-content .subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 16px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.banner-slider .slide .banner-content .banner-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.banner-slider .slide .banner-content .banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* Индикаторы */
.banner-slider .banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-slider .banner-indicators .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 0;
}

.banner-slider .banner-indicators .dot.active {
    background: #fff;
    transform: scale(1.2);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.banner-slider .banner-indicators .dot:hover {
    background: rgba(255,255,255,0.6);
}

/* Кнопки навигации */
.banner-slider .banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    pointer-events: auto;
}

.banner-slider .banner-nav:hover {
    background: rgba(0,0,0,0.6);
    transform: translateY(-50%) scale(1.1);
}

.banner-slider .banner-nav.prev {
    left: 16px;
}

.banner-slider .banner-nav.next {
    right: 16px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .banner-slider {
        height: 340px;
    }
    
    .banner-slider .slide .banner-content .title {
        font-size: 30px;
    }
    
    .banner-slider .slide .banner-content .subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .banner-slider {
        height: 280px;
        border-radius: 12px;
    }
    
    .banner-slider .slide .banner-content {
        padding: 30px 30px;
    }
    
    .banner-slider .slide .banner-content .banner-text {
        max-width: 70%;
    }
    
    .banner-slider .slide .banner-content .title {
        font-size: 24px;
    }
    
    .banner-slider .slide .banner-content .subtitle {
        font-size: 14px;
    }
    
    .banner-slider .slide .banner-content .banner-btn {
        font-size: 13px;
        padding: 10px 24px;
    }
    
    .banner-slider .banner-nav {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .banner-slider .banner-nav.prev {
        left: 8px;
    }
    
    .banner-slider .banner-nav.next {
        right: 8px;
    }
    
    .banner-slider .banner-indicators .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        height: 220px;
        border-radius: 10px;
        margin-bottom: 16px;
    }
    
    .banner-slider .slide .banner-content {
        padding: 20px 20px;
    }
    
    .banner-slider .slide .banner-content .banner-text {
        max-width: 85%;
    }
    
    .banner-slider .slide .banner-content .title {
        font-size: 18px;
    }
    
    .banner-slider .slide .banner-content .subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .banner-slider .slide .banner-content .banner-btn {
        font-size: 11px;
        padding: 8px 18px;
    }
    
    .banner-slider .banner-nav {
        display: none;
    }
    
    .banner-slider .banner-indicators {
        bottom: 12px;
        gap: 6px;
    }
    
    .banner-slider .banner-indicators .dot {
        width: 8px;
        height: 8px;
    }
}