body {
    background-color: #1b0f2f;
    margin: 0;
    padding: 0;
    color: #fff;
    position: relative;
    z-index: 0;
    font-family: 'Montserrat', sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('/static/css/site_background.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(3px) brightness(0.7); /* блюр + затемнение */
    z-index: -1;
}

a:hover {
    color: #ff66cc;
}

/* Navbar */
.navbar {
    background-color: #1b0f2f5b;
    backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
    color: #fff;
}

.navbar-nav .nav-link:hover {
    color: #a14fff;
}
.navbar-brand.active {
    cursor: default;
    opacity: 0.8;
    pointer-events: none;
}
/* Hero Section */
#hero {
    max-width: 1000px;
    margin: 60px auto;
    color: #fff;
    border-radius: 50px;
    background: rgba(43, 15, 77, 0.233); /* полупрозрачный */
    backdrop-filter: blur(20px);         /* размытый стеклянный эффект */
    box-shadow: 0 0 40px rgba(161, 79, 255, 0.4);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 50vh;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.hero-text .btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ff66cc;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
.hero-text .btn:hover {
    background-color: #ff33aa;
}
.hero-text .btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.4s;
}
.hero-text .btn:hover::after {
    left: 100%;
}

.hero-text {
    flex: 1.2;
}
.hero-mascot {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}
@keyframes breathing {
0% { transform: scale(1); }
50% { transform: scale(1.03); }
100% { transform: scale(1); }
}

.hero-mascot img {
    animation: breathing 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px #a64dff) drop-shadow(0 0 30px #6b2ea7);
    max-height: 250px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

        .achievements-icons {
            display: flex;
            flex-direction: column;
            gap: 20px;
            align-items: center;
        }
        
        .achievement-item {
            text-align: center;
            padding: 15px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            min-width: 120px;
        }
        
        .achievement-item i {
            display: block;
            font-size: 2rem;
            font-weight: bold;
            font-style: normal;
            margin-bottom: 5px;
        }
        
        .achievement-item span {
            font-size: 0.9rem;
            opacity: 0.9;
        }
        
        /* Ensure carousel fits hero section */
        #heroCarousel {
            width: 100%;
        }
        
        .carousel-item {
            height: 100%;
        }
        
        /* Maintain original hero container styles */
        .hero-container {
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 2rem;
        }

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        min-height: 60vh;
    }
    .hero-mascot {
        justify-content: center;
        margin-top: 20px;
    }
}
.hero-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
/* Intro Section */
.intro-text {
    max-width: 900px;
    margin: 80px auto 40px auto;
    padding: 40px 30px;
    border-radius: 30px;
    background: rgba(43, 15, 77, 0.25);  /* полупрозрачный фон */
    backdrop-filter: blur(15px);         /* эффект стекла */
    box-shadow: 0 0 30px rgba(161, 79, 255, 0.35);
    text-align: center;
}

.intro-text h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #d19aff;
    margin-bottom: 20px;
    text-shadow: 0 0 12px rgba(209, 154, 255, 0.6);
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: #f2e6ff;
    opacity: 0.9;
}
.nav-link.active {
    color: #fff !important;
    cursor: default;
    opacity: 0.8;
}

.btn[style*="cursor: default"] {
    pointer-events: none;
}
/* Catalog Section */
.slide1-text h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.slide1-text p {
    font-size: 1rem;
}
#catalog h2 {
    margin-bottom: 40px;
    color: #ffffff;
    border: 2px, #4b2182;
}
#catalog input {
    width: 700px;
    max-width: 90%;
    padding: 10px 15px;
    border-radius: 50px;
    border: none;
    margin-bottom: 30px;
}

#catalog input:focus {
    outline: none;
    box-shadow: 0 0 10px #d19aff;
    border: 1px solid #d19aff;
}

/* Карточка игры */
a.game-card {
    display: block;
    background: #1b0f2fa3;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s;
    text-decoration: none;
    color: #fff;
}

a.game-card h4 {
    margin-top: 15px;
}

a.game-card img {
    max-width: 100%;
    border-radius: 10px;
    transition: transform 0.3s, filter 0.3s;
    filter: drop-shadow(0 0 8px rgba(210, 154, 255, 0.32));
}

a.game-card:hover {
    transform: translateY(-10px);
}

a.game-card:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(210, 154, 255, 0.505));
}

/* Карточка чита */
#catalog {
    padding: 80px 0;
    text-align: center;
}

.product-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
}

.product-item .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px; /* Увеличим минимальную высоту */
    background: #24143ec8;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    text-decoration: none;
    color: #fff;
}

/* Контент карточки - растягиваем */
.product-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 250px; /* Минимальная высота для контента */
}

/* Заголовок */
.product-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    transition: color 0.3s;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Блок с отзывами */
.product-review-info {
    margin: 10px 0;
    flex-shrink: 0;
}

/* Список функций */
.product-card ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    max-height: 400px; /* Ограничиваем высоту */
    overflow-y: auto; /* Добавляем скролл если много функций */
    min-height: 400px;
}

/* Стили для скролла */
.product-card ul::-webkit-scrollbar {
    width: 6px;
}

.product-card ul::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.product-card ul::-webkit-scrollbar-thumb {
    background: #a14fff;
    border-radius: 2px;
}

.product-card ul li {
    position: relative;
    padding: 10px 15px 10px 35px;
    background: #3e2554a3;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.2s;
    font-size: 0.95rem;
    color: #fff;
    cursor: default;
}

/* Сообщение "нет функций" */
.product-card p {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    opacity: 0.7;
    margin: 0;
    color: #aaa;
    font-style: italic;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
}


/* Нижняя часть карточки - фиксированная */
.product-card-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    min-height: 40px;
}

/* Статус */
.status-badge {
    padding: 0.5em 0.8em;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Цена */
.price-label {
    font-weight: bold;
    font-size: 1rem;
    color: #28a745;
    flex-shrink: 0;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.4em 0.8em;
    border-radius: 5px;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* Hover эффекты */
.product-item .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(82, 8, 89, 0.5);
    background: linear-gradient(135deg, #241239, #251244);
}

.product-item .product-card:hover h4 {
    color: #ff66cc;
}

.product-item .product-card:hover h4 {
    color: #ff66cc;
}
.features h4 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.features .list-group-item {
    border: none;
    padding-left: 0;
    font-size: 0.85rem; /* уменьшили текст в 2 раза */
}

.features .list-group-item i {
    color: #28a745;
}

/* Контейнер блока функций */
.func-section {
    margin-top: 30px;
}

/* Заголовки секций */
.func-section h4 {
    color: #d19aff;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}
.func-section ul li p {
    margin: 0 !important;
    padding: 0 !important;
    display: inline;
}

.func-section ul li {
    line-height: 1.2;
}
/* Список функций */
.func-section ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 6px; /* уменьшен gap между элементами */
}

/* Каждый элемент функции */
.func-section ul li {
    position: relative;
    padding: 6px 12px 6px 30px; /* уменьшены вертикальные и горизонтальные отступы */
    background-color: #3b1f5d;
    border-radius: 8px; /* чуть меньше скругление */
    font-size: 0.8rem; /* уменьшенный шрифт */
    color: #fff;
    transition: transform 0.15s, background-color 0.15s, box-shadow 0.15s;
}

/* Иконка слева */
.func-section ul li::before {
    content: "✓";
    position: absolute;
    left: 8px; /* уменьшено смещение слева */
    top: 50%;
    transform: translateY(-50%);
    color: #ff66cc;
    font-weight: bold;
}

/* Hover эффект */
.func-section ul li:hover {
    background-color: #5a2ca3;
    transform: translateX(3px) scale(1.01); /* чуть меньше анимация */
    box-shadow: 0 3px 10px rgba(255,102,204,0.25);
}

.tariff-selector {
    margin-top: 20px;
}

.features li {
    padding: 0.25rem 0.5rem;
}
#tariffDays, #tariffPrice {
    font-weight: 600;
}

.system-requirements {
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
}
#productCarousel .carousel-item img {
    max-height: 400px; /* ограничим высоту */
    object-fit: contain; /* сохраняем пропорции */
}
.carousel-hint {
    text-align: center;
    font-size: 0.9rem;
    color: #e0cfff; /* контрастный фиолетовый на тёмном фоне */
    margin-top: 0.5rem;
    transition: transform 0.2s, color 0.2s;
}

.col-lg-7.mb-4.position-relative:hover .carousel-hint {
    transform: scale(1.1);
    color: #fff; /* ярче при наведении */
}

/* Contact Section */
#contact {
    padding: 60px 0;
    text-align: center;
}

/* Footer */
footer {
    background-color: #1b0f2f5b;
    backdrop-filter: blur(10px);
    padding: 10px;
    text-align: center;
    color: #c682de;
}
/* ===== REVIEWS SECTION STYLES ===== */

/* Page Header */
.page-header {
    text-align: center;
    margin: 60px 0 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #ff66cc, #a14fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Reviews Container */
.reviews-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* Review Cards Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-content: center;
}

/* Review Card */
.review-card {
    background: rgba(43, 15, 77, 0.233);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(161, 79, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(161, 79, 255, 0.5);
}

/* Review Text */
.review-text {
    color: #fff;
    font-weight: 500;
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #a14fff;
}

/* User Info */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #a14fff;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex-grow: 1;
}

.user-name {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
}

.user-meta {
    color: #a14fff;
    font-size: 12px;
}

/* Product Info */
.product-info {
    background: rgba(161, 79, 255, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 3px solid #ff66cc;
}

.product-name {
    font-weight: 600;
    color: #ff66cc;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.product-price {
    font-size: 12px;
    opacity: 0.8;
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

/* Seller Answer */
.seller-answer {
    background: rgba(255, 102, 204, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 3px solid #ff66cc;
}

.seller-answer-title {
    font-weight: 600;
    color: #ff66cc;
    margin-bottom: 8px;
    font-size: 13px;
}

.seller-answer-text {
    font-size: 12px;
    line-height: 1.4;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: linear-gradient(45deg, #ff66cc, #a14fff);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 25px rgba(161, 79, 255, 0.4);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(161, 79, 255, 0.6);
}

/* Responsive for Reviews */
@media (max-width: 768px) {
    .product-item .product-card {
        min-height: 350px; /* Немного меньше на мобильных */
    }
    
    .product-card-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .status-badge, .price-label {
        text-align: center;
    }
}
#statusesGrid .func-section ul {
    list-style: none;
    padding-left: 0;
}

#statusesGrid .func-section ul li {
    position: relative;
    padding-left: 25px; /* место для галочки */
    margin-bottom: 8px;
}

#statusesGrid .func-section ul li::before {
    content: "✓";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff66cc;
    font-weight: bold;
}

/* Сохраняем остальные стили */
#statusesGrid .product-item .product-card ul li::before {
    content: none;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

/* Переписываем стиль li для статусов */
.status-item {
    position: relative;
    padding: 8px 12px;
    background-color: #3b1f5d;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #fff;
    display: flex;
    align-items: center;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.status-item:hover {
    background-color: #5a2ca3;
    transform: translateX(3px) scale(1.01);
    box-shadow: 0 3px 10px rgba(255,102,204,0.25);
}

/* Поиск */
#statusSearch {
    width: 700px;
    max-width: 90%;
    padding: 10px 15px;
    border-radius: 50px;
    border: none;
    margin-bottom: 30px;
}

#statusSearch:focus {
    outline: none;
    box-shadow: 0 0 10px #d19aff;
    border: 1px solid #d19aff;
}

/* Фильтр карточек */
.game-card-wrapper {
    display: block;
}
.funpay-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 80px;
    border: 2px solid #6f42c1;
    border-radius: 10px;
    background: linear-gradient(135deg, #4d076d7d, #6f42c1);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 5px;
}
.funpay-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.lot-days {
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.lot-price {
    font-size: 0.8rem;
    background: rgba(0,0,0,0.2);
    padding: 2px 5px;
    border-radius: 5px;
}

/* Стили для блоков преимуществ, инструкций и гайда */
.purchase-benefits,
.purchase-instructions,
.guide-preview {
    background: rgba(77, 7, 109, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    height: 100%;
    border-left: 4px solid #a14fff;
    margin-bottom: 1rem;
}

.purchase-benefits ul,
.purchase-instructions ol {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.purchase-benefits ul li,
.purchase-instructions ol li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #fff;
}

.purchase-benefits ul li::before {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff66cc;
    font-weight: bold;
}

.purchase-instructions ol li {
    padding-left: 30px;
    counter-increment: step;
}

.purchase-instructions ol li::before {
    content: counter(step);
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #a14fff;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.guide-btn {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(45deg, #ff66cc, #a14fff);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 79, 255, 0.4);
    color: white;
}

.text-muted {
    opacity: 0.7;
    font-style: italic;
}

/* Стили для SEO блока */
.seo-content {
    background: rgba(77, 7, 109, 0.1);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #a14fff;
}

.seo-content h2 {
    color: #d19aff;
    margin-bottom: 1rem;
}

.seo-content h3 {
    color: #ff66cc;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.seo-content ol {
    padding-left: 1.5rem;
}

.seo-content ol li {
    margin-bottom: 0.5rem;
    color: #fff;
}

/* Стили для функций продукта */
.func-section {
    background: rgba(77, 7, 109, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.func-section h2 {
    color: #d19aff;
    margin-bottom: 1.5rem;
}

.func-section h3 {
    color: #ff66cc;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.func-section ul {
    list-style: none;
    padding-left: 0;
}

.func-section ul li {
    position: relative;
    padding: 8px 12px 8px 30px;
    background-color: #3b1f5d;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #fff;
    transition: transform 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.func-section ul li::before {
    content: "✓";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff66cc;
    font-weight: bold;
}

.func-section ul li:hover {
    background-color: #5a2ca3;
    transform: translateX(3px) scale(1.01);
    box-shadow: 0 3px 10px rgba(255,102,204,0.25);
}

/* Системные требования */
.system-requirements {
    background: rgba(77, 7, 109, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #6f42c1;
}

.system-requirements h3 {
    color: #d19aff;
    margin-bottom: 1rem;
}

/* Карусель */
.carousel-hint {
    text-align: center;
    font-size: 0.9rem;
    color: #e0cfff;
    margin-top: 0.5rem;
    opacity: 0.8;
}