﻿:root {
    /* Blue Theme Colors */
    --bg-dark: #050810;
    --bg-panel-solid: #0d121c;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-main: #007bff;
    --accent-main-hover: #0056b3;
    --accent-glow: rgba(0, 123, 255, 0.4);
    --text-main: #ffffff;
    --text-muted: #8b9298;
    --gold: #fcc200;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
    /* Subtle background grid/glow for the blue theme */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 123, 255, 0.03), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 123, 255, 0.04), transparent 25%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(13, 18, 28, 0.6);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-panel-inner {
    background: rgba(21, 27, 41, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
}

.glass-panel-nav {
    background: rgba(13, 18, 28, 0.85);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
}

.glass-panel-accent {
    background: rgba(0, 123, 255, 0.15);
    border: 1px solid rgba(0, 123, 255, 0.3);
    backdrop-filter: blur(10px);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px var(--accent-glow);
    flex-shrink: 0;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 16px 8px 38px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    width: 220px;
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus {
    width: 280px;
    border-color: var(--accent-main);
    background: rgba(255, 255, 255, 0.08);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    margin-top: 18px;
    right: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: rgba(13, 18, 28, 0.95);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    z-index: 200;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    backdrop-filter: blur(10px);
}

.search-dropdown.active {
    display: block;
}

.search-dropdown.active-flex {
    display: flex !important;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-item-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-item-info {
    flex: 1;
    overflow: hidden;
}

.search-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.search-item-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.mobile-menu-btn {
    display: none;
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .search-input {
        width: 160px;
    }

    .search-input:focus {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .search-wrapper {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.lang-selector i {
    width: 14px;
    height: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
}

.btn-icon:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: var(--accent-main);
    color: #fff;
    padding: 10px 24px;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-primary:hover {
    background: var(--accent-main-hover);
    transform: translateY(-2px);
}

.btn-glass-auth {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 24px;
    gap: 10px;
    backdrop-filter: blur(5px);
}

.btn-glass-auth:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-glass-auth i {
    width: 16px;
    height: 16px;
}

.btn-secondary {
    color: #fff;
    padding: 10px 20px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Main Content Layout */
#main-content {
    max-width: 100%;
    margin: 0;
    padding: 0 40px 80px 80px;
    position: relative;
    z-index: 10;
    flex: 1;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Footer */
.app-footer {
    margin-top: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 24px 60px;
    background: rgba(13, 18, 28, 0.4);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-main) !important;
}

@media (max-width: 768px) {
    .app-footer {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 40px;
    overflow: visible;
}

/* Elite Background integrated into the Blue styling */
.hero-bg {
    position: absolute;
    top: 5vh;
    right: -5vw;
    width: 45vw;
    height: 90vh;
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

.hero-overlay {
    position: absolute;
    top: -10vh;
    left: calc(50% - 50vw);
    width: 100vw;
    bottom: -10vh;
    background: radial-gradient(circle at 30% 50%, rgba(0, 123, 255, 0.15) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 55%;
}

/* Title Design */
.main-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.word-accent {
    display: inline-block;
    position: relative;
    width: 44px;
    height: 32px;
    border: 7px solid var(--accent-main);
    border-radius: 40px;
    margin: 0 4px;
    color: transparent;
    vertical-align: middle;
    box-shadow: 0 0 15px var(--accent-glow), inset 0 0 10px var(--accent-glow);
    background: transparent;
}

.word-accent-a {
    display: inline-block;
    position: relative;
    margin: 0 2px;
    color: var(--accent-main);
    font-weight: 900;
    font-style: italic;
    text-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow), 0 0 6px rgba(0, 123, 255, 0.5);
    vertical-align: baseline;
    filter: brightness(1.3);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 500px;
    margin-bottom: 32px;
}

/* Banners and Cards */
.alert-banner {
    color: #fff;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 40px;
    display: inline-block;
}

.features-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    position: relative;
    align-self: flex-start;
}

.tag-outline {
    border: 1px solid var(--accent-main);
    color: #4facfe;
}

.tag-blue {
    background: rgba(0, 123, 255, 0.1);
}

.tag-dark {
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: rgba(252, 194, 0, 0.1);
}

.feature-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.catalog-card {
    flex: 1;
    background: linear-gradient(135deg, var(--accent-main) 0%, #00d2ff 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.catalog-card:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.catalog-card .tag-dark {
    margin-bottom: auto;
}

.catalog-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
}

.catalog-card .arrow-up-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
}

/* Enhanced Catalog Card */
.catalog-card-enhanced {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    background: linear-gradient(135deg, #0066ff 0%, #00b4ff 50%, #00d4ff 100%);
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
    border: none;
    box-shadow:
        0 8px 25px rgba(0, 123, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 0 40px rgba(0, 180, 255, 0.3);
}

.catalog-card-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.catalog-card-enhanced::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg,
            rgba(0, 180, 255, 0.8),
            rgba(0, 100, 255, 0.8),
            rgba(0, 212, 255, 0.8));
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.catalog-card-enhanced:hover::after {
    opacity: 1;
}

.catalog-card-enhanced:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 16px 45px rgba(0, 123, 255, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 60px rgba(0, 180, 255, 0.5),
        0 0 100px rgba(0, 180, 255, 0.3);
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 0%;
        opacity: 0.3;
    }

    50% {
        background-position: 100% 100%;
        opacity: 0.6;
    }
}

.catalog-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.catalog-tag {
    margin-bottom: 0 !important;
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.catalog-title {
    margin: 0 !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}

.catalog-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.catalog-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
}

.catalog-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(4px);
}

.catalog-card-enhanced:hover .catalog-icon-wrapper {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(-5deg) scale(1.15);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.catalog-card-enhanced:hover .catalog-icon-wrapper::before {
    opacity: 1;
}

.catalog-icon {
    width: 32px !important;
    height: 32px !important;
    color: white;
}

/* Telegram Button */
.btn-telegram {
    flex: 1;
    height: auto;
    background: linear-gradient(135deg, #0088cc 0%, #00a0e9 100%);
    border: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-telegram::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-telegram:hover::before {
    left: 100%;
}

.btn-telegram:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 136, 204, 0.5);
    background: linear-gradient(135deg, #0099dd 0%, #00b0fa 100%);
}

.telegram-icon {
    width: 32px !important;
    height: 32px !important;
}

.telegram-text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-row {
    display: flex;
    gap: 12px;
}

.btn-social {
    flex: 1;
    height: 56px;
    border-radius: var(--radius-lg);
    color: #fff;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Games Row */
.games-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.game-card {
    height: 220px;
    background-size: cover;
    background-position: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    border-color: rgba(0, 123, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-card .tag {
    z-index: 2;
    margin-bottom: auto;
}

.game-card-info {
    position: relative;
    z-index: 2;
}

.game-card-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
}

.price-from {
    color: #4facfe;
}

.offers-count {
    color: var(--text-muted);
}

/* Floating Support Badge */
.floating-support {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.btn-support {
    background: var(--accent-main);
    color: #fff;
    padding: 12px 24px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.4);
}

.support-badge {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
}

/* Catalog Page */
.catalog-container {
    margin-top: 40px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s;
}

.product-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.product-item h3 {
    font-size: 18px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.product-status {
    font-weight: 700;
}

.product-status.green {
    color: var(--status-green);
}

.product-price-large {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    width: 100%;
    max-width: 600px;
    padding: 40px;
    position: relative;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: #fff;
    width: 32px;
    height: 32px;
}

.modal-buy-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.tier-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tier-item {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(0, 0, 0, 0.2);
}

.tier-item.active {
    border-color: var(--accent-main);
    background: rgba(0, 123, 255, 0.1);
}

.tier-item-price {
    font-weight: 700;
    color: #4facfe;
}

/* Product Detail Page */
.product-detail-container {
    margin-top: 40px;
}

.back-btn {
    margin-bottom: 24px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    padding: 0;
    border: 2px solid var(--border-color);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumb:hover {
    opacity: 1;
    border-color: var(--accent-main);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: var(--accent-main);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.4);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Order Panel */
.product-order-panel {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: fit-content;
    position: sticky;
    top: 24px;
}

.order-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-detail-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.order-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

/* Pricing Options */
.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-option {
    position: relative;
    cursor: pointer;
}

.pricing-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pricing-option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.pricing-option:hover .pricing-option-content {
    border-color: rgba(0, 123, 255, 0.5);
    background: rgba(0, 123, 255, 0.05);
}

.pricing-option.active .pricing-option-content {
    border-color: var(--accent-main);
    background: rgba(0, 123, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.pricing-option-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-option-left i {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.pricing-option.active .pricing-option-left i {
    color: var(--accent-main);
}

.pricing-duration {
    font-weight: 600;
    font-size: 15px;
}

.pricing-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-main);
}

.btn-purchase {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Support Box */
.support-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
}

.support-box i {
    width: 24px;
    height: 24px;
    color: var(--accent-main);
    flex-shrink: 0;
}

.support-box-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.support-box-link {
    color: var(--accent-main);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.support-box-link:hover {
    color: var(--accent-main-hover);
}

/* Tabs Section */
.product-tabs-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-tabs {
    display: flex;
    gap: 8px;
    padding: 8px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

.product-tab {
    flex: 1;
    padding: 14px 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-tab i {
    width: 18px;
    height: 18px;
}

.product-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.product-tab.active {
    background: rgba(0, 123, 255, 0.15);
    color: var(--accent-main);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}

.product-tab-content {
    display: none;
    padding: 32px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.product-tab-content.active {
    display: block;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-category-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-category-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--accent-main);
    border-radius: 2px;
}

.feature-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-items li {
    padding-left: 24px;
    position: relative;
    color: var(--text-main);
    font-size: 14px;
    line-height: 1.6;
}

.feature-items li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: 700;
    font-size: 14px;
}

/* Requirements List */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.requirement-item i {
    width: 24px;
    height: 24px;
    color: var(--accent-main);
    flex-shrink: 0;
    margin-top: 2px;
}

.requirement-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-main);
}

.requirement-item span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-order-panel {
        position: static;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .hero-bg {
        width: 100%;
        height: 50vh;
        opacity: 0.3;
        right: 0;
        top: 0;
    }

    .hero-overlay {
        right: 0;
        bottom: 0;
        left: 0;
        top: 0;
        background: linear-gradient(to top, var(--bg-dark) 50%, transparent 100%);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .games-row {
        grid-template-columns: 1fr;
    }

    .games-catalog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== CATALOG вЂ” Games Grid ===== */
.games-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.game-catalog-card {
    min-height: 220px;
    background-size: cover;
    background-position: center;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.game-catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .6);
    border-color: rgba(0, 123, 255, .5);
}

.game-catalog-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.game-catalog-name {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 8px 0 4px;
    text-transform: uppercase;
}

.game-catalog-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.game-catalog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

/* ===== Color tags ===== */
.tag-green {
    border: 1px solid #22c55e;
    color: #4ade80;
    background: rgba(34, 197, 94, .1);
}

.tag-orange {
    border: 1px solid #f59e0b;
    color: #fbbf24;
    background: rgba(245, 158, 11, .1);
}

.tag-red {
    border: 1px solid #ef4444;
    color: #f87171;
    background: rgba(239, 68, 68, .1);
}

/* ===== Product card cover image ===== */
.product-cover-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.product-cover-placeholder {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .03);
    border-radius: 10px;
    color: var(--text-muted);
}

.product-desc-short {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== Quick actions on home: single wide card ===== */
.quick-actions {
    width: 100%;
}

.quick-actions .catalog-card-enhanced {
    width: 100%;
}

/* Video Play Overlay for Gallery Thumbs */
.gallery-thumb { position: relative; }
.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    border-radius: var(--radius-md);
    pointer-events: none;
    transition: background 0.2s;
}
.video-play-overlay svg,
.video-play-overlay i {
    width: 28px !important;
    height: 28px !important;
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
.gallery-thumb:hover .video-play-overlay {
    background: rgba(0, 123, 255, 0.55);
}

/* ===== Loading Screen ===== */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}
.loading-logo-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 8px 30px var(--accent-glow);
    animation: loadingPulse 2s ease-in-out infinite;
}
.loading-logo-text {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent-main);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.loading-text {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes loadingPulse {
    0%, 100% { box-shadow: 0 8px 30px var(--accent-glow); }
    50% { box-shadow: 0 8px 50px rgba(0, 123, 255, 0.7), 0 0 80px rgba(0, 180, 255, 0.3); }
}

/* ===== Payment Choice Modal ===== */
.payment-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(5, 8, 16, 0.88);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.payment-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.payment-modal {
    background: rgba(13, 18, 28, 0.95);
    border: 1px solid rgba(0, 123, 255, 0.25);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0, 123, 255, 0.15);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
.payment-modal-title {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}
.payment-modal-sub {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 4px;
}
.payment-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.payment-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.payment-option-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    border: 2px solid var(--border-color);
    background: rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.payment-option-btn:hover {
    border-color: var(--accent-main);
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.payment-option-btn.telegram-opt {
    border-color: rgba(0, 136, 204, 0.4);
    background: rgba(0, 136, 204, 0.1);
}
.payment-option-btn.telegram-opt:hover {
    border-color: #0088cc;
    background: rgba(0, 136, 204, 0.2);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}
.payment-option-btn .pay-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.payment-option-btn .pay-icon.icon-tg {
    background: linear-gradient(135deg, #0088cc, #00a0e9);
}
.payment-option-btn .pay-icon.icon-online {
    background: linear-gradient(135deg, var(--accent-main), #00d2ff);
}
.payment-option-btn .pay-icon i,
.payment-option-btn .pay-icon svg {
    width: 22px !important;
    height: 22px !important;
    color: #fff;
}
.payment-option-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.payment-option-info .pay-title {
    font-size: 15px;
    font-weight: 700;
}
.payment-option-info .pay-desc {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Pricing region indicator ===== */
.pricing-region-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 16px;
    margin-top: 10px;
    background: rgba(0, 123, 255, 0.06);
    border: 1px solid rgba(0, 123, 255, 0.12);
    border-radius: var(--radius-sm);
}
.pricing-region-current {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pricing-region-flag {
    font-size: 18px;
    line-height: 1;
}
.pricing-region-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.pricing-region-label strong {
    color: #fff;
    font-weight: 700;
}
.pricing-region-hint {
    font-size: 11px;
    color: var(--text-muted);
    opacity: 0.7;
    font-style: italic;
}

/* ===== Payment modal extras ===== */
.payment-price-box {
    background: rgba(0, 123, 255, 0.08);
    border: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.payment-product-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}
.payment-tier-info {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.payment-price-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-main);
    margin-top: 4px;
}
.payment-agree-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 4px 0;
    user-select: none;
}
.payment-agree-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--accent-main);
    cursor: pointer;
}
.payment-agree-label a {
    color: var(--accent-main);
    text-decoration: underline;
}
.payment-agree-label a:hover {
    color: #4facfe;
}
.payment-option-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(0.5);
}

/* ===== Global floating support button ===== */
.global-support-btn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-main);
    color: #fff;
    padding: 14px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.45);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.global-support-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 123, 255, 0.6);
    background: var(--accent-main-hover);
}
.global-support-btn i,
.global-support-btn svg {
    width: 20px !important;
    height: 20px !important;
}
.global-support-badge {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
