* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, 'Segoe UI', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

::selection {
    background: var(--primary-gradient);
    color: white;
}

.fav-game-btn:focus,
.fav-game-btn:active,
.fav-game-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5e35b1;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer {
    margin-top: auto;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    background: var(--card-bg);
    width: 100%;
}

:root { 
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient-hover: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
    --primary-blue: #667eea;
    --primary-purple: #764ba2;
    --pixelgun-color: #FF5500; 
    --bigo-color: #4F46E5; 
    --stumble-color: #FF3B5C; 
    --poppo-color: #FF6B8A; 
    --pubgnewstate-color: #FF1D00; 
    --supersus-color: #FF6B00; 
    --chess-color: #B58863; 
    --pixverse-color: #6366f1; 
    --windows-color: #0078d7; 
    --hokings-color: #FF4500; 
    --oculus-color: #0072FF; 
    --gtav-color: #1a8c3c; 
    --arizona-color: #e67e22; 
    --bpeight-color: #000000; 
    --lol-color: #0A323D; 
    --blackrussia-color: #1a1a2e; 
    --twitch-color: #9146FF; 
    --wow-color: #2359ff; 
    --oxide-color: #E6A817; 
    --oncehuman-color: #4CAF50; 
    --wotb-color: #F5A623; 
    --crk-color: #C7A317; 
    --diablo-color: #9B2C2C; 
    --chatgpt-color: #10A37F; 
    --codm-color: #FFCF40; 
    --imo-color: #003153; 
    --battlenet-color: #148eff; 
    --success-green: #17c964; 
    --error-red: #f31260; 
    --hytale-color: #6B4E9E; 
    --warning-orange: #f5a623; 
    --gold-color: #FFB800; 
    --premium-color: #26A5E4; 
    --roblox-color: #E63B2E; 
    --pubg-color: #e67e22; 
    --hoyoverse-color: #6b4e9e; 
    --likee-color: #FF3B6F; 
    --vk-color: #0077FF; 
    --brawl-color: #F9A826; 
    --discord-color: #5865F2; 
    --mlbb-color: #0055AA; 
    --clash-color: #E63B2E; 
    --youtube-color: #FF0000; 
    --valorant-color: #ff4655; 
    --minecraft-color: #44aa33; 
    --freefire-color: #FF6B00; 
    --bloodstrike-color: #8B0000; 
    --identityv-color: #4A2F1A; 
    --arenabreakout-color: #2E8B57; 
    --deltaforce-color: #1E90FF; 
    --wherewinds-color: #9370DB; 
    --pubgpc-color: #FFA500; 
    --spotify-color: #1DB954; 
    --apple-color: #A2AAAD; 
    --googleplay-color: #34A853; 
    --playstation-color: #006FCD; 
    --xbox-color: #107C10; 
    --nintendo-color: #E60012; 
    --fortnite-color: #2D8EFF; 
    --fcmobile-color: #2E8B57; 
    --steam-color: #0049a3; 
    --stalcraft-color: #8B4513; 
    --hayday-color: #7CB342; 
    --cs2-color: #FFA500; 
    --marvel-color: #E23636; 
    --tiktok-color: #010101; 
    --honkai3-color: #6B4E9E; 
}

/* ========== УЛУЧШЕННАЯ СЕТКА ИКОНОК ========== */
.games-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 24px;
    justify-items: center;
    align-items: stretch;
    margin: 20px auto;
    max-width: 1100px;
}

.game-icon-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--border-light);
    width: 100%;
    max-width: 140px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-icon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 0;
}

.game-icon-card:hover::before {
    left: 0;
    opacity: 0.1;
}

.game-icon-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.25);
}

.game-icon-card i,
.game-icon-card .fas,
.game-icon-card .far,
.game-icon-card .fab {
    font-size: 2.8rem !important;
    width: 70px;
    height: 70px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 0.8rem auto !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.game-icon-card:hover i,
.game-icon-card:hover .fas,
.game-icon-card:hover .far,
.game-icon-card:hover .fab {
    transform: scale(1.1) translateY(-3px);
}

.game-icon-card span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    text-align: center;
    word-break: break-word;
    max-width: 100%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.game-icon-card:hover span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body { 
    background: var(--bg-gray); 
    color: var(--text-dark); 
}

/* Анимации */
@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(30px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes fadeInRight { 
    from { opacity: 0; transform: translateX(30px); } 
    to { opacity: 1; transform: translateX(0); } 
}
@keyframes fadeInLeft { 
    from { opacity: 0; transform: translateX(-30px); } 
    to { opacity: 1; transform: translateX(0); } 
}
@keyframes pageFade { 
    0% { opacity: 0; transform: translateX(20px); } 
    100% { opacity: 1; transform: translateX(0); } 
}
@keyframes pulse { 
    0%, 100% { transform: scale(1); } 
    50% { transform: scale(1.05); } 
}
@keyframes bounce { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-10px); } 
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.category-card { 
    animation: fadeInUp 0.5s ease forwards; 
    opacity: 0; 
}
.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }
.category-card:nth-child(5) { animation-delay: 0.25s; }

.section-divider { 
    opacity: 0; 
    transform: translateX(-20px); 
    transition: all 0.6s ease; 
    margin: 2rem 0 1.5rem 0; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    justify-content: center; 
}
.section-divider.visible { 
    opacity: 1; 
    transform: translateX(0); 
}
.section-divider .section-icon { 
    width: 48px; 
    height: 48px; 
    background: var(--primary-gradient); 
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border-radius: 24px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.5rem; 
    color: white; 
    transition: all 0.3s ease; 
    margin: 0 auto; 
}
.section-divider:hover .section-icon { 
    animation: pulse 0.5s ease; 
}
.section-divider h2 { 
    font-size: 1.6rem; 
    font-weight: 700; 
    background: linear-gradient(135deg, var(--text-dark), var(--primary-blue)); 
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent; 
    text-align: center; 
}
.section-divider .section-line { 
    flex: 1; 
    height: 2px; 
    background: linear-gradient(90deg, var(--primary-blue), transparent); 
}

.page { 
    display: none; 
    animation: pageFade 0.4s ease-out; 
}
.page.active-page { 
    display: block; 
}

/* Toast */
.toast-notification { 
    position: fixed; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%) translateY(-100px); 
    background: var(--card-bg); 
    color: var(--text-dark); 
    padding: 12px 24px; 
    border-radius: 50px; 
    box-shadow: var(--shadow-md); 
    z-index: 2000; 
    font-size: 0.9rem; 
    transition: transform 0.3s ease, opacity 0.3s ease; 
    opacity: 0; 
    pointer-events: none; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    border-left: 4px solid var(--error-red); 
}
.toast-notification.show { 
    transform: translateX(-50%) translateY(0); 
    opacity: 1; 
}
.toast-notification.success { 
    border-left-color: var(--success-green); 
}
.warning-box { 
    background: rgba(245, 166, 35, 0.15); 
    border-left: 4px solid var(--warning-orange); 
    padding: 12px; 
    border-radius: 16px; 
    margin-bottom: 16px; 
    font-size: 0.85rem; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: var(--warning-orange); 
}

/* Карусельный баннер */
.carousel-banner { 
    max-width: 1200px; 
    margin: 0 auto 2rem auto; 
    padding: 0 20px; 
    position: relative; 
}
.carousel-container { 
    position: relative; 
    border-radius: 24px; 
    overflow: hidden; 
    box-shadow: var(--shadow-md); 
}
.carousel-slides { 
    display: flex; 
    transition: transform 0.5s ease-in-out; 
}
.carousel-slide { 
    min-width: 100%; 
    padding: 40px 60px; 
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-gray) 100%); 
    display: flex; 
    align-items: center; 
    gap: 40px; 
    flex-wrap: wrap; 
    cursor: pointer; 
    position: relative; 
    transition: all 0.3s; 
    border: 1px solid var(--border-light); 
    justify-content: center; 
}
.carousel-slide:hover { 
    transform: scale(1.01); 
    border-color: var(--primary-blue); 
}
.carousel-icon { 
    font-size: 4rem; 
    animation: bounce 2s ease infinite; 
}
.carousel-content { 
    flex: 1; 
    text-align: left; 
}
.carousel-content h3 { 
    font-size: 1.8rem; 
    margin-bottom: 12px; 
    color: var(--text-dark); 
}
.carousel-content p { 
    font-size: 1rem; 
    color: var(--text-muted); 
    margin-bottom: 16px; 
}
.carousel-btn { 
    display: inline-block; 
    padding: 10px 24px; 
    background: var(--primary-gradient); 
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white; 
    border-radius: 40px; 
    font-weight: 600; 
    transition: all 0.3s; 
}
.carousel-slide:hover .carousel-btn { 
    background: var(--primary-gradient-hover); 
    transform: translateX(5px); 
}
.carousel-badge { 
    position: absolute; 
    top: 20px; 
    right: 20px; 
    background: rgba(0, 0, 0, 0.15); 
    backdrop-filter: blur(4px); 
    padding: 6px 14px; 
    border-radius: 40px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    color: var(--warning-orange); 
}
.carousel-arrow { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 44px; 
    height: 44px; 
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(4px); 
    border: none; 
    border-radius: 50%; 
    color: white; 
    font-size: 1.5rem; 
    cursor: pointer; 
    transition: all 0.2s; 
    z-index: 10; 
}
.carousel-arrow:hover { 
    background: var(--primary-gradient); 
    transform: translateY(-50%) scale(1.1); 
}
.carousel-arrow.prev { 
    left: 16px; 
}
.carousel-arrow.next { 
    right: 16px; 
}
.carousel-dots { 
    display: flex; 
    justify-content: center; 
    gap: 12px; 
    margin-top: 16px; 
}
.carousel-dot { 
    width: 10px; 
    height: 10px; 
    background: var(--text-muted); 
    border-radius: 50%; 
    cursor: pointer; 
    transition: all 0.2s; 
}
.carousel-dot.active { 
    width: 28px; 
    background: var(--primary-gradient); 
    border-radius: 10px; 
}
.carousel-dot:hover { 
    background: var(--primary-gradient); 
    transform: scale(1.2); 
}

/* Баннер отзывов */
.reviews-banner { 
    max-width: 1200px; 
    width: calc(100% - 40px); 
    margin: 2rem auto; 
    background: linear-gradient(135deg, #FFF8E7, #FFE9C7); 
    border-radius: 28px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    position: relative; 
    overflow: hidden; 
    border: 1px solid rgba(245, 166, 35, 0.3); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
}
.reviews-banner::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.1), transparent); 
    transition: left 0.5s ease; 
}
.reviews-banner:hover::before { 
    left: 100%; 
}
.reviews-banner:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 12px 30px rgba(245, 166, 35, 0.2); 
    border-color: var(--warning-orange); 
}
.reviews-banner-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 20px; 
    padding: 20px 35px; 
    position: relative; 
    z-index: 1; 
}
.reviews-icon i { 
    font-size: 1.4rem; 
    color: var(--warning-orange); 
    margin-right: 2px; 
}
.reviews-text h3 { 
    color: #5a3e0b; 
    font-size: 1.3rem; 
    margin-bottom: 4px; 
    font-weight: 700; 
}
.reviews-text h3 span { 
    color: var(--warning-orange); 
}
.reviews-text p { 
    color: #7a5a1a; 
    margin: 0; 
    font-size: 0.85rem; 
}
.reviews-btn span { 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    background: var(--warning-orange); 
    padding: 10px 24px; 
    border-radius: 50px; 
    color: white; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3); 
}
.reviews-banner:hover .reviews-btn span { 
    gap: 15px; 
    transform: translateX(5px); 
    background: #e69500; 
}

/* Топбар */
.theme-toggle { 
    background: var(--card-bg); 
    border: 1px solid var(--border-light); 
    border-radius: 40px; 
    padding: 6px 12px; 
    cursor: pointer; 
    font-size: 1.1rem; 
    color: var(--text-dark); 
    transition: all 0.3s ease; 
}
.theme-toggle:hover { 
    transform: rotate(15deg) scale(1.05); 
    background: var(--primary-gradient); 
    color: white; 
}
.topbar { 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    background: rgba(var(--card-bg-rgb), 0.8); 
    backdrop-filter: blur(12px); 
    padding: 0.5rem 1.5rem; 
    margin-bottom: 1rem; 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid var(--border-light); 
    gap: 20px; 
}
.logo { 
    font-weight: 800; 
    font-size: 1.3rem; 
    background: var(--primary-gradient); 
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    flex-shrink: 0; 
    justify-content: center; 
}
.logo:hover { 
    transform: scale(1.02); 
    gap: 12px; 
}
.logo-icon { 
    width: 28px; 
    height: 28px; 
    background: var(--primary-gradient); 
    border-radius: 12px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-weight: bold; 
    transition: all 0.3s ease; 
}
.logo:hover .logo-icon { 
    transform: rotate(10deg) scale(1.05); 
    background: var(--primary-gradient-hover); 
}
.nav-links { 
    display: flex; 
    gap: 0.5rem; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: center; 
}
.nav-link { 
    cursor: pointer; 
    font-weight: 600; 
    color: var(--text-muted); 
    background: none; 
    border: none; 
    font-size: 0.85rem; 
    padding: 6px 0; 
    position: relative; 
    transition: color 0.2s; 
}
.nav-link::after { 
    content: ''; 
    position: absolute; 
    bottom: -2px; 
    left: 0; 
    width: 0; 
    height: 2px; 
    background: var(--primary-gradient); 
    transition: width 0.3s ease; 
}
.nav-link:hover::after, 
.nav-link.active::after { 
    width: 100%; 
}
.nav-link:hover, 
.nav-link.active { 
    color: var(--primary-blue); 
}

/* Скидки */
.promo-badge { 
    display: inline-block; 
    background: linear-gradient(135deg, #f31260, #c90f50); 
    color: white; 
    font-size: 0.7rem; 
    font-weight: 700; 
    padding: 2px 8px; 
    border-radius: 20px; 
    margin-left: 8px; 
    vertical-align: middle; 
    animation: pulse 1.5s infinite; 
}
.price-with-discount { 
    text-decoration: line-through; 
    color: var(--text-muted); 
    font-size: 0.75rem; 
    margin-right: 6px; 
}
.price-final { 
    color: var(--success-green); 
    font-weight: 700; 
    font-size: 0.9rem; 
}
.discount-badge { 
    display: inline-block; 
    background: linear-gradient(135deg, #f31260, #c90f50); 
    color: white; 
    font-size: 0.65rem; 
    font-weight: 700; 
    padding: 2px 6px; 
    border-radius: 12px; 
    margin-left: 6px; 
    animation: pulse 1.5s infinite; 
}

/* Поиск */
.search-container { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
}
.search-wrapper { 
    display: flex; 
    gap: 8px; 
    max-width: 450px; 
    width: 100%; 
    position: relative; 
    margin: 0 auto; 
}
.search-input { 
    flex: 1; 
    background: var(--bg-gray); 
    border: 1px solid var(--border-light); 
    border-radius: 40px; 
    padding: 8px 16px; 
    color: var(--text-dark); 
    outline: none; 
    transition: all 0.2s; 
}
.search-input:focus { 
    border-color: var(--primary-blue); 
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2); 
}
.search-btn { 
    background: var(--primary-gradient); 
    border: none; 
    border-radius: 40px; 
    padding: 8px 16px; 
    color: white; 
    cursor: pointer; 
    transition: all 0.2s; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 500; 
}
.search-btn:hover { 
    background: var(--primary-gradient-hover); 
    transform: translateY(-2px); 
}
.search-dropdown { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    right: 0; 
    background: var(--card-bg); 
    border-radius: 16px; 
    border: 1px solid var(--border-light); 
    box-shadow: var(--shadow-md); 
    z-index: 1000; 
    max-height: 400px; 
    overflow-y: auto; 
    display: none; 
    margin-top: 8px; 
}
.search-dropdown.show { 
    display: block; 
}
.search-section { 
    border-bottom: 1px solid var(--border-light); 
    padding: 8px 0; 
}
.search-section-title { 
    padding: 8px 12px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    color: var(--primary-blue); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}
.search-item { 
    padding: 10px 12px; 
    cursor: pointer; 
    transition: background 0.2s; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    border-radius: 12px; 
}
.search-item:hover { 
    background: var(--bg-gray); 
}
.search-item-img { 
    width: 36px; 
    height: 36px; 
    border-radius: 10px; 
    object-fit: cover; 
}
.search-item-info { 
    flex: 1; 
}
.search-item-name { 
    font-size: 0.9rem; 
    font-weight: 500; 
    color: var(--text-dark); 
}
.search-item-category { 
    font-size: 0.7rem; 
    color: var(--text-muted); 
    margin-top: 2px; 
}
.search-item-price { 
    font-size: 0.85rem; 
    color: var(--primary-blue); 
    font-weight: 600; 
}

/* Корзина */
.cart-sidebar { 
    position: fixed; 
    top: 0; 
    right: -400px; 
    width: 380px; 
    height: 100vh; 
    background: var(--card-bg); 
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.3); 
    z-index: 1001; 
    transition: right 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    border-left: 1px solid var(--border-light); 
}
.cart-sidebar.open { 
    right: 0; 
}
.cart-header { 
    padding: 1rem; 
    border-bottom: 1px solid var(--border-light); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.cart-items { 
    flex: 1; 
    overflow-y: auto; 
    padding: 1rem; 
}
.cart-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0.8rem; 
    border-bottom: 1px solid var(--border-light); 
    margin-bottom: 0.5rem; 
    border-radius: 12px; 
    background: var(--bg-gray); 
    text-align: left; 
}
.cart-item-info { 
    flex: 1; 
}
.cart-item-name { 
    font-weight: 600; 
    font-size: 0.85rem; 
}
.cart-item-price { 
    color: var(--primary-blue); 
    font-size: 0.8rem; 
}
.cart-item-game { 
    font-size: 0.7rem; 
    color: var(--text-muted); 
    margin-top: 2px; 
}
.cart-item-remove { 
    background: none; 
    border: none; 
    color: var(--error-red); 
    cursor: pointer; 
    font-size: 1.1rem; 
    padding: 5px; 
    transition: transform 0.2s; 
}
.cart-item-remove:hover { 
    transform: scale(1.1); 
}
.cart-footer { 
    padding: 1rem; 
    border-top: 1px solid var(--border-light); 
}
.cart-total { 
    font-size: 1.2rem; 
    font-weight: 700; 
    margin-bottom: 0.5rem; 
    text-align: center; 
}
.cart-buttons { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 10px; 
    justify-content: center; 
}
.cart-clear { 
    flex: 1; 
    background: #f31260; 
    border: none; 
    padding: 0.8rem; 
    border-radius: 40px; 
    color: white; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s; 
    max-width: 150px; 
}
.cart-clear:hover { 
    transform: translateY(-2px); 
    filter: brightness(1.05); 
}
.cart-checkout { 
    flex: 1; 
    background: var(--primary-gradient); 
    border: none; 
    padding: 0.8rem; 
    border-radius: 40px; 
    color: white; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s; 
    max-width: 150px; 
}
.cart-checkout:hover { 
    transform: translateY(-2px); 
    filter: brightness(1.05); 
}
.cart-count { 
    position: absolute; 
    top: -8px; 
    right: -12px; 
    background: var(--error-red); 
    color: white; 
    font-size: 0.7rem; 
    padding: 2px 6px; 
    border-radius: 20px; 
}
.icon-btn { 
    background: var(--bg-gray); 
    border: none; 
    border-radius: 40px; 
    padding: 6px 12px; 
    cursor: pointer; 
    color: var(--text-dark); 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 0.9rem; 
    position: relative; 
    transition: all 0.2s; 
}
.icon-btn:hover { 
    background: var(--primary-gradient); 
    color: white; 
    transform: translateY(-2px); 
}

/* Кнопки действий */
.favorite-btn { 
    background: none; 
    border: none; 
    cursor: pointer; 
    font-size: 1.1rem; 
    color: var(--text-muted); 
    transition: all 0.2s; 
    padding: 5px; 
    margin-left: 8px; 
}
.favorite-btn.active { 
    color: #ff4757; 
}
.favorite-btn:hover { 
    transform: scale(1.1); 
    color: #ff4757; 
}
.cart-add-btn { 
    background: none; 
    border: none; 
    cursor: pointer; 
    font-size: 1.1rem; 
    color: var(--primary-blue); 
    transition: all 0.2s; 
    padding: 5px; 
    margin-left: 8px; 
}
.cart-add-btn:hover { 
    color: var(--success-green); 
    transform: scale(1.1); 
}
.buy-now-btn { 
    background: linear-gradient(135deg, #28a745, #1e7e34); 
    border: none; 
    border-radius: 30px; 
    padding: 5px 12px; 
    font-size: 0.75rem; 
    font-weight: 600; 
    color: white; 
    cursor: pointer; 
    transition: all 0.2s; 
    margin-left: 8px; 
}
.buy-now-btn:hover { 
    transform: scale(1.05); 
    filter: brightness(1.05); 
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3); 
}

/* Вкладки категорий */
.sub-tabs { 
    display: flex; 
    gap: 0.75rem; 
    background: transparent; 
    padding: 0.5rem; 
    margin-bottom: 1.5rem; 
    flex-wrap: wrap; 
    justify-content: center; 
    border-radius: 60px; 
}
.sub-tab { 
    flex: 0 1 auto; 
    text-align: center; 
    padding: 0.6rem 1.2rem; 
    font-size: 0.85rem; 
    font-weight: 600; 
    border-radius: 50px; 
    cursor: pointer; 
    background: var(--bg-gray); 
    border: 1px solid var(--border-light); 
    color: var(--text-muted); 
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1); 
    position: relative; 
    overflow: hidden; 
}
.sub-tab:hover { 
    transform: translateY(-2px); 
    background: rgba(102, 126, 234, 0.1); 
    color: var(--primary-blue); 
    border-color: var(--primary-blue); 
}
.sub-tab.active { 
    background: var(--primary-gradient); 
    color: white; 
    border-color: transparent; 
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); 
}
.sub-tab:active { 
    transform: scale(0.96); 
}
.sub-tab i { 
    margin-right: 6px; 
    font-size: 0.9rem; 
}

/* Контейнер товаров */
.scrollable-items { 
    max-height: none !important; 
    overflow-y: visible !important; 
    padding-right: 6px; 
    display: block !important; 
    width: 100%; 
}

/* Карточки товаров */
.pack-wrapper-item { 
    background: var(--card-bg); 
    border-radius: 20px; 
    margin-bottom: 12px; 
    border: 1px solid var(--border-light); 
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1); 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 14px 18px; 
    text-align: left; 
    width: 100%; 
    max-width: 900px; 
    margin-left: auto !important; 
    margin-right: auto !important; 
    position: relative;
    overflow: hidden;
}
.pack-wrapper-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.pack-wrapper-item:hover::after {
    transform: scaleX(1);
}
.pack-wrapper-item:hover { 
    transform: translateY(-3px); 
    border-color: transparent; 
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.2); 
    background: var(--bg-gray); 
}
.pack-data { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    flex: 1; 
}
.pack-cover { 
    width: 52px; 
    height: 52px; 
    border-radius: 14px; 
    object-fit: cover; 
    background: var(--bg-gray); 
    flex-shrink: 0; 
}
.pack-info { 
    flex: 1; 
}
.pack-name { 
    font-weight: 650; 
    font-size: 0.95rem; 
    color: var(--text-dark); 
    margin-bottom: 6px; 
}
.pack-prices_actual { 
    font-size: 0.9rem; 
    font-weight: 700; 
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px; 
}
.pack-quantity { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex-wrap: wrap; 
}
.pack-quantity span { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
}
.item-qty-input { 
    width: 70px; 
    padding: 5px 8px; 
    border-radius: 8px; 
    border: 1px solid var(--border-light); 
    background: var(--bg-gray); 
    color: var(--text-dark); 
    text-align: center; 
    font-size: 0.8rem; 
    font-weight: 500; 
}
.item-qty-input:focus { 
    outline: none; 
    border-color: var(--primary-blue); 
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2); 
}
.pack-actions { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    flex-shrink: 0; 
    margin-left: 12px; 
}
.favorite-btn, 
.cart-add-btn, 
.buy-now-btn { 
    transition: all 0.2s ease; 
}
.favorite-btn:hover, 
.cart-add-btn:hover, 
.buy-now-btn:hover { 
    transform: scale(1.1); 
}

/* Карточки игр */
.category-card { 
    flex: 1; 
    min-width: 320px; 
    background: var(--card-bg); 
    border-radius: 28px; 
    box-shadow: var(--shadow-sm); 
    border: 1px solid var(--border-light); 
    overflow: hidden; 
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1); 
    position: relative; 
    width: 100%; 
    max-width: 1100px; 
    margin: 0 auto; 
}
.category-card::before { 
    content: ''; 
    position: absolute; 
    inset: 0; 
    border-radius: 28px; 
    padding: 1px; 
    background: var(--primary-gradient); 
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); 
    -webkit-mask-composite: xor; 
    mask-composite: exclude; 
    pointer-events: none; 
    opacity: 0; 
    transition: opacity 0.3s; 
}
.category-card:hover::before { 
    opacity: 1; 
}
.category-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.2); 
}
.category-card .card-inner { 
    padding: 1.4rem; 
    text-align: center; 
}
.categories-grid { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 24px; 
    justify-content: center; 
}
.card { 
    background: var(--card-bg); 
    border-radius: 28px; 
    box-shadow: var(--shadow-sm); 
    border: 1px solid var(--border-light); 
    margin-bottom: 24px; 
    transition: all 0.2s ease; 
    max-width: 1200px; 
    margin-left: auto; 
    margin-right: auto; 
}
.card:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-md); 
}
.card-inner { 
    padding: 1.5rem 1.75rem; 
    text-align: center; 
}
.title { 
    font-size: 1.65rem; 
    font-weight: 700; 
    margin-bottom: 0.8rem; 
    background: var(--primary-gradient); 
    -webkit-background-clip: text; 
    background-clip: text; 
    color: transparent; 
    text-align: center; 
}
.min-amount { 
    font-size: 0.7rem; 
    color: var(--text-muted); 
    margin-top: -0.5rem; 
    margin-bottom: 0.8rem; 
    text-align: center; 
}
.field-label { 
    font-weight: 600; 
    font-size: 0.85rem; 
    margin-bottom: 4px; 
    display: flex; 
    justify-content: space-between; 
    color: var(--text-dark); 
}
.hint-link { 
    font-size: 0.75rem; 
    color: var(--primary-blue); 
    cursor: pointer; 
    transition: all 0.2s; 
}
.hint-link:hover { 
    text-decoration: underline; 
    transform: scale(1.02); 
}
.amount-row { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 5px; 
    flex-wrap: wrap; 
    justify-content: center; 
}
.amount-input-wrapper { 
    flex: 2; 
    min-width: 200px; 
}
.amount-input-wrapper input { 
    width: 100%; 
    padding: 0.7rem 1rem; 
    font-size: 1rem; 
    border: 1.5px solid var(--border-light); 
    border-radius: 20px; 
    outline: none; 
    background: var(--card-bg); 
    color: var(--text-dark); 
    transition: all 0.2s; 
    text-align: center; 
}
.amount-input-wrapper input:focus { 
    border-color: var(--primary-blue); 
    transform: scale(1.01); 
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15); 
}
.currency-select { 
    flex: 1; 
    background: var(--bg-gray); 
    border-radius: 20px; 
    padding: 0 1rem; 
    font-weight: 500; 
    cursor: pointer; 
    border: none; 
    color: var(--text-dark); 
    transition: all 0.2s; 
    text-align: center; 
}
.currency-select:hover { 
    transform: scale(1.02); 
    background: var(--primary-gradient); 
    color: white; 
}
.preset-buttons { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
    margin-bottom: 5px; 
    justify-content: center; 
}
.preset { 
    background: var(--bg-gray); 
    border: none; 
    padding: 0.45rem 1rem; 
    border-radius: 32px; 
    font-weight: 600; 
    font-size: 0.85rem; 
    cursor: pointer; 
    color: var(--text-dark); 
    transition: all 0.2s ease; 
    transform: scale(1); 
}
.preset.active { 
    background: var(--primary-gradient); 
    color: white; 
    transform: scale(1.05); 
}
.preset:hover { 
    transform: translateY(-2px) scale(1.02); 
    background: var(--primary-gradient); 
    color: white; 
}
.login-field { 
    margin-bottom: 5px; 
    text-align: left; 
    max-width: 400px; 
    margin-left: auto; 
    margin-right: auto; 
}
.login-input { 
    width: 100%; 
    padding: 0.7rem 1rem; 
    border: 1.5px solid var(--border-light); 
    border-radius: 20px; 
    background: var(--card-bg); 
    color: var(--text-dark); 
    transition: all 0.2s; 
    text-align: left; 
}
.login-input:focus { 
    border-color: var(--primary-blue); 
    outline: none; 
    transform: scale(1.01); 
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15); 
}
.buy-button-blue, 
.buy-button-orange, 
.buy-button-gold { 
    width: 100%; 
    border: none; 
    padding: 0.8rem; 
    border-radius: 60px; 
    font-weight: 700; 
    font-size: 1rem; 
    color: white; 
    cursor: pointer; 
    margin-bottom: 8px; 
    transition: all 0.3s ease; 
    transform: scale(1); 
    position: relative; 
    overflow: hidden; 
    max-width: 300px; 
    margin-left: auto; 
    margin-right: auto; 
    display: block; 
}
.buy-button-blue::before, 
.buy-button-orange::before, 
.buy-button-gold::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: -100%; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); 
    transition: left 0.5s ease; 
}
.buy-button-blue:hover::before, 
.buy-button-orange:hover::before, 
.buy-button-gold:hover::before { 
    left: 100%; 
}
.buy-button-blue { 
    background: var(--primary-gradient); 
}
.buy-button-orange { 
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%); 
}
.buy-button-gold { 
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); 
}
.buy-button-blue:hover, 
.buy-button-orange:hover, 
.buy-button-gold:hover { 
    transform: translateY(-2px); 
    filter: brightness(1.05); 
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4); 
}
.seller-info { 
    background: var(--bg-gray); 
    border-radius: 20px; 
    padding: 0.6rem 1rem; 
    display: flex; 
    justify-content: space-between; 
    font-size: 0.8rem; 
    color: var(--text-dark); 
    max-width: 400px; 
    margin-left: auto; 
    margin-right: auto; 
}
.tg-link { 
    margin-top: 10px; 
    background: var(--primary-blue-light); 
    border-radius: 40px; 
    padding: 8px 14px; 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 600; 
    color: var(--primary-blue); 
    text-decoration: none; 
    width: auto; 
    justify-content: center; 
    transition: all 0.2s; 
    margin-left: auto; 
    margin-right: auto; 
}
.tg-link:hover { 
    background: var(--primary-gradient); 
    color: white; 
    transform: translateY(-2px); 
    gap: 12px; 
}
.category-header { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-bottom: 1rem; 
    color: var(--text-dark); 
    justify-content: center; 
}
.category-header i { 
    font-size: 1.3rem; 
    transition: transform 0.3s ease; 
}
.category-card:hover .category-header i { 
    transform: scale(1.1) rotate(5deg); 
}

/* Сетка иконок игр - УЛУЧШЕННАЯ */
.games-icons-grid { 
    display: grid !important; 
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important; 
    gap: 24px !important; 
    justify-items: center !important; 
    align-items: center !important; 
    width: 100% !important; 
    max-width: 1100px !important; 
    margin: 20px auto !important; 
}
.game-icon-card { 
    background: var(--card-bg); 
    border-radius: 24px; 
    padding: 1.5rem 1rem; 
    text-align: center; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1); 
    border: 1px solid var(--border-light); 
    width: 100% !important; 
    max-width: 140px !important; 
    margin: 0 auto !important; 
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.game-icon-card:hover { 
    transform: translateY(-6px); 
    border-color: transparent; 
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.25); 
}
.game-icon-card i,
.game-icon-card .fas,
.game-icon-card .far,
.game-icon-card .fab { 
    font-size: 2.8rem !important; 
    width: 70px;
    height: 70px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 0.8rem auto !important;
    transition: transform 0.3s ease; 
}
.game-icon-card:hover i,
.game-icon-card:hover .fas,
.game-icon-card:hover .far,
.game-icon-card:hover .fab { 
    transform: scale(1.1) translateY(-3px); 
}
.game-icon-card span { 
    font-weight: 600; 
    font-size: 0.85rem; 
    color: var(--text-dark); 
}
.game-icon-card:hover span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Центрирование страниц с играми */
#allGamesGrid,
#mobileGamesGridPage,
#pcGamesGridPage,
#servicesGridPage,
#favoritesGrid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#favoritesGrid div[style*="text-align: center"] {
    text-align: center !important;
    width: 100% !important;
}

.category-title { 
    font-size: 1.3rem; 
    font-weight: 700; 
    margin: 1.5rem 0 1rem 0; 
    color: var(--text-dark); 
    border-left: 4px solid var(--primary-blue); 
    padding-left: 12px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    text-align: left; 
}
.category-title-link { 
    font-size: 0.85rem; 
    font-weight: 500; 
    background: var(--bg-gray); 
    padding: 5px 12px; 
    border-radius: 40px; 
    cursor: pointer; 
    transition: all 0.2s; 
    color: var(--primary-blue); 
}
.category-title-link:hover { 
    background: var(--primary-gradient); 
    color: white; 
    transform: translateX(3px); 
}
.back-to-catalog { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background: var(--bg-gray); 
    border: none; 
    padding: 8px 16px; 
    border-radius: 40px; 
    cursor: pointer; 
    font-weight: 600; 
    color: var(--primary-blue); 
    margin-bottom: 1rem; 
    transition: all 0.2s; 
    margin-left: auto; 
    margin-right: auto; 
}
.back-to-catalog:hover { 
    background: var(--primary-gradient); 
    color: white; 
    transform: translateX(-3px); 
}
.category-banner { 
    background: var(--card-bg); 
    border-radius: 24px; 
    padding: 1.5rem; 
    margin-bottom: 2rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-direction: column; 
    flex-wrap: wrap; 
    gap: 1rem; 
    color: var(--text-dark); 
    border: 1px solid var(--border-light); 
    box-shadow: var(--shadow-sm); 
    text-align: center; 
    width: 100%; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
}
.category-banner-content h3 { 
    font-size: 2rem; 
    margin-bottom: 8px; 
    text-align: center; 
}
.category-banner-content p { 
    text-align: center; 
    margin-bottom: 16px; 
}
.category-banner-features { 
    display: flex; 
    gap: 1.5rem; 
    flex-wrap: wrap; 
    justify-content: center; 
}
.category-banner-features span { 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    font-size: 0.85rem; 
    background: rgba(102, 126, 234, 0.1); 
    padding: 5px 12px; 
    border-radius: 40px; 
    color: var(--text-dark); 
}
.category-instruction { 
    background: var(--bg-gray); 
    border-radius: 24px; 
    padding: 1.2rem; 
    margin-top: 1.5rem; 
    border-left: 4px solid var(--primary-blue); 
    transition: all 0.3s; 
    text-align: left; 
    max-width: 800px; 
    margin-left: auto; 
    margin-right: auto; 
}
.category-instruction:hover { 
    transform: translateX(5px); 
    border-left-width: 5px; 
}
.instruction-block { 
    background: var(--bg-gray); 
    border-radius: 24px; 
    padding: 1rem; 
    margin-top: 1.5rem; 
    border-left: 3px solid var(--primary-blue); 
    transition: all 0.3s; 
    text-align: left; 
}
.instruction-block:hover { 
    transform: translateX(5px); 
    border-left-width: 5px; 
}
.instruction-title { 
    font-weight: 700; 
    margin-bottom: 6px; 
    font-size: 0.9rem; 
    color: var(--primary-blue); 
}
.instruction-step { 
    font-size: 0.78rem; 
    color: var(--text-muted); 
    margin-bottom: 4px; 
    padding-left: 12px; 
    transition: all 0.2s; 
}
.instruction-step:hover { 
    transform: translateX(5px); 
    color: var(--primary-blue); 
}

/* ========== МОДАЛЬНЫЕ ОКНА (ИСПРАВЛЕННЫЕ, БЕЗ BLUR) ========== */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.85);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 10000; 
    visibility: hidden; 
    opacity: 0; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { 
    visibility: visible; 
    opacity: 1; 
}
.modal { 
    background: var(--card-bg); 
    max-width: 500px; 
    width: 90%; 
    border-radius: 32px; 
    overflow: hidden; 
    transform: scale(0.9); 
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1); 
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3); 
    border: 1px solid var(--border-light); 
    margin: 0 auto; 
}
.modal-overlay.active .modal { 
    transform: scale(1); 
}
.modal-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 1.5rem; 
    border-bottom: 1px solid var(--border-light); 
    color: var(--text-dark); 
    text-align: center; 
}
.close-modal { 
    background: none; 
    border: none; 
    font-size: 1.8rem; 
    cursor: pointer; 
    opacity: 0.6; 
    color: var(--text-dark); 
    transition: all 0.2s; 
}
.close-modal:hover { 
    transform: rotate(90deg) scale(1.1); 
    opacity: 1; 
    color: var(--error-red); 
}
.modal-body { 
    padding: 1.5rem; 
    max-height: 70vh; 
    overflow-y: auto; 
    text-align: center; 
}
.payment-detail { 
    background: var(--bg-gray); 
    border-radius: 20px; 
    padding: 1rem; 
    margin: 1rem 0; 
    border: 1px solid var(--border-light); 
    text-align: left; 
}
.copy-req-btn, 
.copy-comment-btn { 
    background: var(--primary-blue-light); 
    border: none; 
    padding: 8px 16px; 
    border-radius: 40px; 
    font-weight: 600; 
    color: var(--primary-blue); 
    margin-top: 0.8rem; 
    cursor: pointer; 
    transition: all 0.2s; 
}
.copy-req-btn:hover, 
.copy-comment-btn:hover { 
    transform: translateY(-2px); 
    background: var(--primary-gradient); 
    color: white; 
}
.send-tg-btn { 
    background: #28a745; 
    color: white; 
    width: 100%; 
    justify-content: center; 
    border: none; 
    padding: 8px 16px; 
    border-radius: 40px; 
    font-weight: 600; 
    margin-top: 0.8rem; 
    cursor: pointer; 
    transition: all 0.2s; 
}
.send-tg-btn:hover { 
    background: #218838; 
    transform: translateY(-2px); 
}
.comment-highlight { 
    background: var(--bg-gray); 
    padding: 10px; 
    border-radius: 14px; 
    font-family: monospace; 
    font-weight: bold; 
    border-left: 3px solid var(--primary-blue); 
    margin: 10px 0; 
    font-size: 0.85rem; 
    word-break: break-word; 
    color: var(--text-dark); 
    text-align: left; 
}
.req-row { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 8px; 
    margin-bottom: 10px; 
    background: var(--card-bg); 
    padding: 8px 12px; 
    border-radius: 16px; 
    border: 1px solid var(--border-light); 
    text-align: left; 
}
.id-input { 
    margin-top: 12px; 
    text-align: left; 
}
.id-input input { 
    width: 100%; 
    padding: 8px 12px; 
    border: 1.5px solid var(--border-light); 
    border-radius: 20px; 
    font-size: 0.85rem; 
    outline: none; 
    background: var(--card-bg); 
    color: var(--text-dark); 
    transition: all 0.2s; 
}
.id-input input:focus { 
    border-color: var(--primary-blue); 
    transform: scale(1.01); 
}

/* Кнопка наверх */
.back-to-top { 
    position: fixed; 
    bottom: 30px; 
    left: 30px; 
    right: auto; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background: var(--primary-gradient); 
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: white; 
    border: none; 
    cursor: pointer; 
    opacity: 0; 
    transition: all 0.3s ease; 
    z-index: 99; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4); 
}
.back-to-top:hover { 
    transform: translateY(-3px) scale(1.05); 
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5); 
}
.back-to-top:active { 
    transform: scale(0.95); 
}

/* Предупреждение о входе */
.account-warning { 
    background: linear-gradient(135deg, #f5a62320, #f3126020); 
    border-left: 4px solid var(--warning-orange); 
    padding: 12px 16px; 
    border-radius: 16px; 
    margin-bottom: 20px; 
    font-size: 0.85rem; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    flex-wrap: wrap; 
    justify-content: center; 
}
.account-warning i { 
    font-size: 1.2rem; 
    color: var(--warning-orange); 
}
.account-warning a { 
    color: var(--primary-blue); 
    text-decoration: none; 
}
.account-warning a:hover { 
    text-decoration: underline; 
}

/* Темная тема */
body.dark { 
    --bg-gray: #0f0f14; 
    --card-bg: rgba(26, 26, 46, 0.95); 
    --border-light: rgba(102, 126, 234, 0.2); 
    --text-dark: #f0f0f0; 
    --text-muted: #b0b0c0; 
    --primary-blue-light: #0f3460; 
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3); 
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4); 
    --shadow-hover: 0 12px 28px rgba(102, 126, 234, 0.3); 
    background: linear-gradient(135deg, #0a0a1a 0%, #0f0f1f 100%);
}
body.light { 
    --bg-gray: #f8f9fc; 
    --card-bg: rgba(255, 255, 255, 0.95); 
    --border-light: #eef2f6; 
    --text-dark: #1a2634; 
    --text-muted: #5e6f8d; 
    --primary-blue-light: #e6f0ff; 
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.05); 
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08); 
    --shadow-hover: 0 12px 28px rgba(102, 126, 234, 0.2); 
}

/* Сохраняем цветные иконки в темной теме */
body.dark .game-icon-card i,
body.dark .category-header i,
body.dark .pack-cart-icon i,
body.dark .tg-link i,
body.dark .contact-item i,
body.dark .fab,
body.dark .fas,
body.dark .far { 
    color: inherit !important; 
}
body.dark .fab.fa-telegram { color: #26A5E4 !important; }
body.dark .fab.fa-discord { color: #5865F2 !important; }
body.dark .fab.fa-steam { color: #0049a3 !important; }
body.dark .fab.fa-twitch { color: #9146FF !important; }
body.dark .fab.fa-spotify { color: #1DB954 !important; }
body.dark .fab.fa-apple { color: #A2AAAD !important; }
body.dark .fab.fa-google { color: #34A853 !important; }
body.dark .fab.fa-windows { color: #0078d7 !important; }
body.dark .fab.fa-xbox { color: #107C10 !important; }
body.dark .fab.fa-playstation { color: #006FCD !important; }
body.dark .fab.fa-vk { color: #0077FF !important; }
body.dark .fab.fa-youtube { color: #FF0000 !important; }
body.dark .fab.fa-tiktok { color: #010101 !important; }
body.dark .fab.fa-battle-net { color: #148eff !important; }
body.dark .fab.fa-fort-awesome { color: #E63B2E !important; }
body.dark .fas.fa-crown { color: #FFD700 !important; }
body.dark .fas.fa-fire { color: #FF6B00 !important; }
body.dark .fas.fa-skull { color: #8B0000 !important; }
body.dark .fas.fa-mask { color: #4A2F1A !important; }
body.dark .fas.fa-dragon { color: #6B4E9E !important; }
body.dark .fas.fa-robot { color: #10A37F !important; }
body.dark .fas.fa-film { color: #E50914 !important; }
body.dark .fas.fa-gamepad { color: #F9A826 !important; }
body.dark .fas.fa-chess-queen { color: #B58863 !important; }
body.dark .fas.fa-chess-rook { color: #E63B2E !important; }
body.dark .fas.fa-chess-king { color: #E63B2E !important; }
body.dark .fas.fa-shield-alt { color: #2E8B57 !important; }
body.dark .fas.fa-city { color: #e67e22 !important; }
body.dark .fas.fa-crosshairs { color: #FFA500 !important; }
body.dark .fas.fa-cube { color: #44aa33 !important; }
body.dark .fas.fa-chess-board { color: #2D8EFF !important; }
body.dark .fas.fa-futbol { color: #2E8B57 !important; }
body.dark .fas.fa-tractor { color: #7CB342 !important; }
body.dark .fas.fa-car { color: #1a8c3c !important; }
body.dark .fas.fa-star { color: #FFB800 !important; }
body.dark .fas.fa-search { color: var(--primary-blue) !important; }
body.dark .fas.fa-shopping-cart { color: var(--primary-blue) !important; }
body.dark .fas.fa-trash { color: var(--error-red) !important; }
body.dark .fas.fa-heart { color: #ff4757 !important; }
body.dark .fas.fa-cart-plus { color: var(--primary-blue) !important; }
body.dark .fas.fa-chevron-right { color: var(--text-muted) !important; }
body.dark .fas.fa-store { color: var(--primary-blue) !important; }
body.dark .fas.fa-check-circle { color: var(--success-green) !important; }
body.dark .fas.fa-exclamation-triangle { color: var(--warning-orange) !important; }
body.dark .fas.fa-calculator { color: var(--primary-blue) !important; }
body.dark .fas.fa-copy { color: var(--text-muted) !important; }
body.dark .fas.fa-envelope { color: #FF6B00 !important; }
body.dark .fas.fa-newspaper { color: var(--primary-blue) !important; }

/* Карусельный баннер (блог + гайды) */
.carousel-banner-guide {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 20px;
    position: relative;
}
.carousel-guide-container {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.carousel-guide-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-guide-slide {
    min-width: 100%;
    padding: 35px 50px;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-gray) 100%);
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    border: 1px solid var(--border-light);
    justify-content: center;
}
.carousel-guide-slide:hover {
    transform: scale(1.01);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
}
.carousel-guide-icon {
    font-size: 3.5rem;
    animation: bounce 2s ease infinite;
}
.carousel-guide-icon i {
    font-size: 3.5rem;
}
.carousel-guide-content {
    flex: 1;
    text-align: left;
}
.carousel-guide-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.carousel-guide-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.carousel-guide-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s;
}
.carousel-guide-slide:hover .carousel-guide-btn {
    background: var(--primary-gradient-hover);
    transform: translateX(5px);
}
.carousel-guide-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--warning-orange);
}
.carousel-guide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}
.carousel-guide-arrow:hover {
    background: var(--primary-gradient);
    transform: translateY(-50%) scale(1.1);
}
.carousel-guide-arrow.prev {
    left: 16px;
}
.carousel-guide-arrow.next {
    right: 16px;
}
.carousel-guide-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}
.carousel-guide-dot {
    width: 10px;
    height: 10px;
    background: var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}
.carousel-guide-dot.active {
    width: 28px;
    background: var(--primary-gradient);
    border-radius: 10px;
}
.carousel-guide-dot:hover {
    background: var(--primary-gradient);
    transform: scale(1.2);
}

/* Предупреждение о регионе */
.region-warning {
    background: rgba(243, 18, 96, 0.15);
    border-left: 4px solid #f31260;
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    animation: pulse 1.5s infinite;
}
.region-warning i {
    font-size: 1.2rem;
    color: #f31260;
}
.region-warning strong {
    font-weight: 700;
}

/* Темная тема для баннеров */
body.dark .reviews-banner { 
    background: linear-gradient(135deg, #2a1a0a, #1a0f05); 
    border: 1px solid rgba(255, 107, 0, 0.3); 
}
body.dark .reviews-banner .reviews-text h3 { 
    color: #f0f0f0; 
}
body.dark .reviews-banner .reviews-text p { 
    color: #c0a080; 
}
body.dark .reviews-banner .reviews-icon i { 
    color: #FF8C00; 
    text-shadow: 0 0 5px rgba(255, 140, 0, 0.4); 
}
body.dark .reviews-banner .reviews-btn span { 
    background: linear-gradient(135deg, #FF8C00, #e67600); 
}
body.dark .blog-banner { 
    background: linear-gradient(135deg, #1a1a2e, #0f0f14); 
    border: 1px solid rgba(0, 114, 245, 0.2); 
}
body.dark .blog-banner .blog-banner-text h3 { 
    color: #f0f0f0; 
}
body.dark .blog-banner .blog-banner-text p { 
    color: #b0b0c0; 
}
body.dark .blog-banner .blog-banner-icon { 
    background: var(--primary-gradient); 
    box-shadow: 0 0 15px rgba(0, 114, 245, 0.3); 
}
body.dark .blog-banner .blog-banner-icon i { 
    color: white; 
}
body.dark .blog-banner .blog-banner-btn span { 
    background: var(--primary-gradient); 
}

/* Адаптив */
@media (max-width: 980px) { 
    .category-card { 
        min-width: calc(50% - 10px); 
    } 
}
@media (max-width: 768px) { 
    .pack-cover { 
        width: 44px; 
        height: 44px; 
    }
    .pack-name { 
        font-size: 0.85rem; 
    }
    .pack-prices_actual { 
        font-size: 0.8rem; 
    }
    .buy-now-btn { 
        padding: 4px 8px; 
        font-size: 0.65rem; 
    }
    .sub-tabs { 
        gap: 0.5rem; 
        padding: 0.25rem; 
    }
    .sub-tab { 
        padding: 0.4rem 0.8rem; 
        font-size: 0.75rem; 
    }
    .sub-tab i { 
        margin-right: 4px; 
        font-size: 0.8rem; 
    }
    .games-icons-grid { 
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important; 
        gap: 15px !important; 
    }
    .game-icon-card {
        max-width: 110px !important;
        min-height: 120px;
        padding: 1rem 0.5rem;
    }
    .game-icon-card i,
    .game-icon-card .fas,
    .game-icon-card .far,
    .game-icon-card .fab {
        font-size: 2.2rem !important;
        width: 55px;
        height: 55px;
    }
    .game-icon-card span {
        font-size: 0.7rem;
    }
    .carousel-slide { 
        padding: 30px 20px; 
        flex-direction: column; 
        text-align: center; 
    }
    .carousel-icon { 
        font-size: 3rem; 
    }
    .carousel-content h3 { 
        font-size: 1.3rem; 
    }
    .carousel-arrow { 
        width: 36px; 
        height: 36px; 
        font-size: 1.2rem; 
    }
    .carousel-guide-slide {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }
    .carousel-guide-icon {
        font-size: 2.5rem;
    }
    .carousel-guide-icon i {
        font-size: 2.5rem;
    }
    .carousel-guide-content h3 {
        font-size: 1.3rem;
    }
    .carousel-guide-arrow {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .carousel-guide-badge {
        top: 10px;
        right: 10px;
        font-size: 0.6rem;
    }
}
@media (max-width: 680px) { 
    .category-card { 
        min-width: 100%; 
    } 
    .section-divider h2 { 
        font-size: 1.2rem; 
    } 
    .section-divider .section-icon { 
        width: 36px; 
        height: 36px; 
        font-size: 1rem; 
    } 
    .cart-sidebar { 
        width: 100%; 
        right: -100%; 
    } 
    .nav-link { 
        font-size: 0.7rem; 
    } 
    .games-icons-grid { 
        grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)) !important; 
        gap: 10px !important; 
    }
    .game-icon-card {
        max-width: 90px !important;
        min-height: 100px;
        padding: 0.8rem 0.3rem;
    }
    .game-icon-card i,
    .game-icon-card .fas,
    .game-icon-card .far,
    .game-icon-card .fab {
        font-size: 1.8rem !important;
        width: 45px;
        height: 45px;
    }
}
@media (max-width: 600px) { 
    .footer .container { 
        flex-direction: column; 
        text-align: center; 
    } 
}

/* ========== ФИКС ФУТЕРА ========== */
.footer {
    margin-top: auto;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-light);
    background: var(--card-bg);
    width: 100%;
    flex-shrink: 0;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gradient);
}

/* ========== СЧЁТЧИК ОНЛАЙН ========== */
.viewers-counter {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--success-green, #17c964);
    background: rgba(23,201,100,0.12);
    border-radius: 20px;
    padding: 5px 12px;
    white-space: nowrap;
    flex-shrink: 0;
}
.viewers-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-green, #17c964);
    display: inline-block;
    animation: viewers-pulse 1.5s ease-in-out infinite;
}
@keyframes viewers-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}

/* ========== ЗНАЧОК "ХИТ ПРОДАЖ" ========== */
.game-icon-card {
    position: relative;
}
.hot-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #ff6b00, #f31260);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    border-radius: 8px;
    padding: 2px 6px;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(243,18,96,0.35);
    letter-spacing: 0.3px;
    z-index: 10;
}

/* ========== РАЗДЕЛ "СКОРО В ПРОДАЖЕ" ========== */
.coming-soon-banner {
    margin: 0 0 18px 0;
    background: var(--card-bg, #1a1a2e);
    border-radius: 20px;
    padding: 18px 20px;
    border: 1px solid var(--border-light, rgba(255,255,255,0.1));
}
.coming-soon-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}
.coming-soon-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark, #fff);
}
.coming-soon-sub {
    font-size: 0.78rem;
    color: var(--text-muted, #888);
}
.coming-soon-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.coming-soon-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--bg-gray, rgba(255,255,255,0.05));
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 80px;
    border: 1px dashed var(--border-light, rgba(255,255,255,0.15));
    opacity: 0.85;
    transition: all 0.3s ease;
}
.coming-soon-card:hover {
    opacity: 1;
    border-color: var(--primary-blue, #667eea);
    transform: translateY(-2px);
}
.coming-soon-card i {
    font-size: 1.6rem;
}
.coming-soon-card span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dark, #fff);
    text-align: center;
}
.coming-soon-badge {
    background: rgba(0,114,245,0.18);
    color: var(--primary-blue, #0072F5);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

/* Темная тема для блока */
body.dark .coming-soon-banner {
    background: rgba(26, 26, 46, 0.95);
    border-color: rgba(102, 126, 234, 0.2);
}
body.dark .coming-soon-card {
    background: rgba(255, 255, 255, 0.05);
}

/* Адаптив для мобильных */
@media (max-width: 680px) {
    .coming-soon-grid {
        justify-content: center;
    }
    .coming-soon-card {
        padding: 10px 12px;
        min-width: 70px;
    }
    .coming-soon-card i {
        font-size: 1.3rem;
    }
    .coming-soon-card span {
        font-size: 0.65rem;
    }
}

/* Улучшенные стили для полей ввода */
.amount-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 8px;
}
.amount-input-wrapper input {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 12px 16px;
    border-radius: 16px;
    border: 2px solid var(--border-light);
    background: var(--card-bg);
    color: var(--text-dark);
    transition: all 0.2s ease;
}
.amount-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 114, 245, 0.2);
}

/* Анимация для кнопок пресетов */
.preset {
    transition: all 0.2s ease;
}
.preset:active {
    transform: scale(0.96);
}

/* Стили для степпера */
.qty-stepper button {
    transition: all 0.15s ease;
}
.qty-stepper button:active {
    transform: scale(0.92);
    background: var(--primary-blue);
    color: white;
}

/* Пресеты с активным состоянием */
.preset.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* Анимация для кнопки покупки */
.buy-button-blue,
.buy-button-orange,
.buy-button-gold {
    transition: transform 0.1s ease, background 0.2s ease;
}
.buy-button-blue:active,
.buy-button-orange:active,
.buy-button-gold:active {
    transform: scale(0.98);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}