@charset "UTF-8";

/* ==================================== */
/* ГЛАВНЫЕ ВИЗУАЛЬНЫЕ ПАРАМЕТРЫ */
/* ==================================== */
/* 
 * ИЗМЕНИТЕ ЭТИ ЗНАЧЕНИЯ ДЛЯ БЫСТРОЙ НАСТРОЙКИ ДИЗАЙНА
 * 
 * Примеры быстрых изменений:
 * - Изменить основной цвет: --accent-pink: #ff6bb8;
 * - Увеличить скругления: --radius-medium: 20px;
 * - Изменить размер шрифта: --font-size-h1: 40px;
 * - Изменить отступы: --spacing-content: 60px;
 * - Изменить тени: --shadow-card: 0 8px 30px rgba(0,0,0,0.4);
 */
/* ==================================== */
:root {
    /* === ЦВЕТА === */
    --main-bg-color: #161326;       /* Основной фон страницы (body) */
    --sidebar-bg: #161326;          /* Фон бокового меню и мобильного меню */
    --card-bg: #161326;             /* Фон карточек контента, блоков текста */
    --card-bg-dark: #161326;        /* Фон FAQ аккордеона, кнопок отзывов */
    --footer-bg: #161326;           /* Фон футера */
    --text-color-white: #FFFFFF;    /* Основной белый текст (заголовки, активные элементы) */
    --text-color-grey: #ffffff;     /* Серый текст (неактивные пункты меню) */
    --text-color-light: #b0b0b0;    /* Светло-серый текст (параграфы в контенте) */
    --text-color-muted: rgb(255, 255, 255);       /* Приглушенный текст (футер) */
    --accent-pink: #ff6bb8;         /* Основной акцентный цвет (кнопки, активные элементы, логотип) */
    --accent-pink-hover: #758fff;   /* Цвет акцента при наведении (кнопки, ссылки) */
    --accent-green: #85ffe7;        /* Дополнительный акцентный цвет (если используется) */
    
    /* === ЦВЕТА ГРАНИЦ === */
    --border-color-dark: #222;      /* Темные границы (хедер, футер) */
    --border-color-medium: #333;     /* Средние границы (сайдбар, карточки, таблицы, FAQ) */
    --border-color-light: #444;      /* Светлые границы (кнопки, таблицы) */
    
    /* === РАЗМЕРЫ ШРИФТОВ === */
    --font-size-logo: 28px;
    --font-size-h1: 32px;
    --font-size-h2: 24px;
    --font-size-body: 16px;
    --font-size-small: 14px;
    --font-size-button: 14px;
    --font-size-banner-title: 42px;
    
    /* === СКРУГЛЕНИЯ УГЛОВ === */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    --radius-nav-item: 12px;
    --radius-button: 8px;
    
    /* === ОТСТУПЫ === */
    --spacing-xs: 8px;
    --spacing-sm: 15px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 50px;
    --spacing-content: 50px;
    --spacing-main: 30px 40px;
    
    /* === ТЕНИ === */
    --shadow-button: 0 4px 15px rgba(255, 0, 0, 0.836);
    --shadow-button-hover: 0 6px 20px rgba(255, 51, 0, 0.87);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.2);
    --shadow-card-hover: 0 8px 25px rgba(0,0,0,0.5);
    --shadow-hero: 0 15px 40px rgba(0,0,0,0.5);
    --shadow-nav-highlight: 0 4px 10px rgba(255, 0, 85, 0.4);
    --shadow-marquee: 0 -5px 20px rgba(0,0,0,0.5);
    --shadow-scroll-top: 0 5px 15px rgba(0,0,0,0.3);
    
    /* === ПРОЗРАЧНОСТИ === */
    --opacity-nav-hover: 0.08;
    --opacity-nav-active: 0.15;
    --opacity-game-overlay: 0.7;
    --opacity-banner-image: 0.5;
    
    /* === РАЗМЕРЫ ЭЛЕМЕНТОВ === */
    --header-height: 70px;
    --sidebar-width: 260px;
    --marquee-height: 60px;
    --icon-size: 24px;
    --logo-letter-spacing: 2px;
    
    /* === РАЗМЕРЫ КНОПОК === */
    --button-padding: 12px 24px;
    --button-height: 50px;
    --button-min-width: 140px;
    
    /* === РАЗМЕРЫ КАРТОЧЕК === */
    --game-card-gap: 20px;
    --game-card-min-size: 160px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: var(--main-bg-color);
    color: var(--text-color-white);
    overflow-x: hidden;
    line-height: 1.6; 
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================================== */
/* 2. СТРУКТУРА GRID */
/* ==================================== */

.app-container {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: calc(100vh - var(--header-height));
    max-width: 100%;
    margin: 0;
    padding-bottom: 60px;
}

/* ЛЕВОЕ МЕНЮ */
.sidebar-left {
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color-medium);
    padding: var(--spacing-md);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    color: var(--text-color-grey);
    text-decoration: none;
    border-radius: var(--radius-nav-item); 
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 15px;
}

.nav-item:hover, .nav-item.active {
    background-color: rgba(255, 255, 255, var(--opacity-nav-hover));
    color: var(--text-color-white);
}

.nav-item.active {
    border-left: none; 
    background-color: rgba(255 255 255 / 15%, var(--opacity-nav-active));
    color: var(--accent-pink);
}

.nav-item .icon {
    margin-right: 12px;
    width: var(--icon-size);
    height: var(--icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item.highlight {
    margin-top: var(--spacing-md);
    background: var(--accent-pink);
    color: #fff;
    justify-content: center;
    box-shadow: var(--shadow-nav-highlight);
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 12, 23, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 12, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 12, 23, 0); }
}

.nav-item.highlight:hover {
    background: var(--accent-pink-hover);
    transform: translateY(-2px);
}

.sep {
    height: 1px;
    background-color: var(--border-color-medium);
    margin: var(--spacing-sm) 0;
}

/* ОСНОВНОЙ КОНТЕНТ */
.main-content {
    padding: var(--spacing-main);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* HERO BANNER */
.hero-section {
    margin-bottom: var(--spacing-xxl);
    width: 100%;
    max-width: 1200px;
    border-radius: var(--radius-large);
    overflow: hidden;
    position: relative;
    background: #000; 
    min-height: 350px; 
    display: flex;
    align-items: center; 
    box-shadow: var(--shadow-hero);
}

.bonus-banner {
    border: none !important;
    background: transparent !important;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
}

.bonus-banner .img_banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--opacity-banner-image); 
    z-index: 1;
}

.bonus-banner .banner-content {
    position: relative;
    z-index: 2;
    padding: 40px 60px;
    max-width: 700px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 25px;
}

.bonus-banner .bonus-details p {
    font-size: var(--font-size-banner-title); 
    font-weight: 900;
    line-height: 1.1;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.bonus-banner .btn-take-bonus {
    width: auto; 
    min-width: 200px;
    padding: 16px 32px;
    font-size: 16px;
    margin-top: 10px;
    animation: btn-shine 4s infinite;
    position: relative;
    overflow: hidden;
}

@keyframes btn-shine {
    0% { box-shadow: 0 0 5px rgba(255, 12, 23, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 12, 23, 0.8), 0 0 10px rgba(255, 12, 23, 0.5); }
    100% { box-shadow: 0 0 5px rgba(255, 12, 23, 0.5); }
}

/* СЕТКА ИГР */
.games-wrapper {
    margin-bottom: 60px;
    width: 100%;
    max-width: 1200px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--game-card-gap);
    width: 100%;
}

@media (min-width: 1400px) {
    .games-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .games-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.game-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    aspect-ratio: 1/1;
    border: 1px solid var(--border-color-medium);
    transform: translateZ(0);
}

.game-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 12, 23, 0.3);
    z-index: 5;
    border-color: var(--accent-pink);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, var(--opacity-game-overlay));
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

/* SEO TEXT BLOCK */
.seo-content {
    max-width: 1200px; 
    width: 100%;
    margin: 0 auto;
    color: #ccc; 
}

.content-block {
    background: var(--card-bg);
    padding: var(--spacing-content);
    border-radius: var(--radius-large);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.content-block h1 {
    margin-top: 0;
    font-size: var(--font-size-h1);
    color: #fff;
}

.content-block h2 {
    font-size: var(--font-size-h2);
    color: #fff;
    margin-top: var(--spacing-lg);
}

.content-block p {
    font-size: var(--font-size-body);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    color: var(--text-color-light);
}

.img-container {
    margin: 30px 0;
    text-align: center;
}

.img-container img {
    border-radius: var(--radius-medium);
    max-height: 400px;
    object-fit: cover;
}

/* ТАБЛИЦЫ */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: var(--spacing-lg) 0;
    border-radius: 10px;
    border: 1px solid var(--border-color-light);
    width: 100%;
    max-width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    margin: 0;
}

th, td {
    padding: var(--spacing-sm);
    text-align: left;
    border-bottom: 1px solid var(--border-color-light);
    border-right: 1px solid var(--border-color-light); /* Вертикальная перегородка */
    font-size: 15px;
    white-space: nowrap;
}

/* Убираем правую границу у последней колонки */
th:last-child, td:last-child {
    border-right: none;
}

th {
    background-color: var(--accent-pink);
    color: #fff;
    font-weight: bold;
}

tr:last-child td {
    border-bottom: none;
}

/* ==================================== */
/* FAQ (ACCORDION) STYLES */
/* ==================================== */
.accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.accordion-item {
    background-color: var(--card-bg-dark);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color-medium);
}

.accordion-header {
    background: none;
    border: none;
    color: #fff;
    width: 100%;
    text-align: left;
    padding: var(--spacing-md);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: var(--border-color-medium);
}

.accordion-header::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--accent-pink);
    transition: transform 0.3s;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: #222;
    padding: 0 var(--spacing-md);
    color: #ccc;
    font-size: var(--font-size-body);
    line-height: 1.6;
    border-top: none;
}

.accordion-body.open {
    max-height: 1000px;
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-color-medium);
}

/* ==================================== */
/* TESTIMONIALS STYLES */
/* ==================================== */
.testimonial-slider {
    text-align: center;
    position: relative;
    padding: 40px 20px;
}

.testimonial-slide {
    display: none; 
    animation: fadeIn 0.5s;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-text {
    font-size: 20px;
    font-style: italic;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.testimonial-author {
    font-weight: bold;
    color: var(--accent-pink);
    font-size: 16px;
}

.testimonial-controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.testimonial-controls button {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color-light);
    color: #fff;
    width: auto;
    min-width: var(--button-min-width);
    height: var(--button-height);
    padding: 0 25px;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: var(--font-size-body);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-controls button:hover {
    border-color: var(--accent-pink);
    background: var(--accent-pink);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-button-hover);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==================================== */
/* MARQUEE (BONUS BAR) STYLES */
/* ==================================== */
.marquee-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #1a1a1a, #2d2d2d);
    border-top: 1px solid var(--border-color-medium);
    z-index: 1000;
    display: flex;
    align-items: center;
    height: var(--marquee-height);
    box-shadow: var(--shadow-marquee);
}

.marquee-wrapper {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.marquee-container .btn {
    margin-right: 20px;
    margin-left: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==================================== */
/* FOOTER STYLES */
/* ==================================== */
.site-footer {
    background-color: var(--footer-bg);
    padding: 60px var(--spacing-md) 100px;
    text-align: center;
    border-top: 1px solid var(--border-color-dark);
    color: var(--text-color-muted);
    font-size: var(--font-size-small);
    margin-top: auto; 
}

.site-footer p {
    margin: 10px 0;
}

.site-footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer .back-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    background-color: var(--accent-pink);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 2px solid var(--accent-pink);
    box-shadow: var(--shadow-scroll-top);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

.site-footer .back-to-top .arrow-up {
    border: solid currentColor;
    border-width: 0 3px 3px 0;
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-135deg);
}

.site-footer .back-to-top:hover {
    transform: translateY(-5px);
    background-color: #fff;
    color: var(--accent-pink);
    border-color: #fff;
}

/* HEADER */
.site-header {
    background-color: var(--main-bg-color);
    border-bottom: 1px solid var(--border-color-dark);
    padding: 0 var(--spacing-lg);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: var(--font-size-logo);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: var(--logo-letter-spacing);
}

.logo-text span {
    color: var(--accent-pink);
}

.site-header .logo img {
    max-height: 40px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.site-header .main-nav {
    display: none;
}

.burger {
    display: none;
}

/* Кнопки общие */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--button-padding);
    border-radius: var(--radius-button);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    font-size: var(--font-size-button);
}

.btn-primary, .btn-take-bonus {
    background-color: var(--accent-pink);
    color: #fff;
    box-shadow: var(--shadow-button);
    animation: btn-shine 4s infinite;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover, .btn-take-bonus:hover {
    background-color: var(--accent-pink-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover);
}

.btn-secondary {
    border: 1px solid var(--border-color-light);
    color: #fff;
    background: transparent;
}
.btn-secondary:hover {
    border-color: #fff;
}

/* ==================================== */
/* LANGUAGE SWITCHER IN FOOTER */
/* ==================================== */
.footer-lang-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.lang-flag {
    display: block;
    width: 30px;
    height: 20px;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color-light);
    border-radius: 3px;
    overflow: hidden;
}

.lang-flag:hover, .lang-flag.active {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
    border-color: #fff;
}

.lang-flag svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ==================================== */
/* МОБИЛЬНАЯ ВЕРСИЯ */
/* ==================================== */
@media (max-width: 1024px) {
    .app-container {
        display: block;
    }
    
    .sidebar-left {
        display: none; 
    }
    
    .burger {
        display: block;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
    }
    
    .site-header .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: var(--sidebar-bg);
        flex-direction: column;
        padding: 60px var(--spacing-md) var(--spacing-md);
        z-index: 9998;
        border-bottom: none;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .site-header .main-nav.show {
        display: flex !important;
    }

    .site-header .main-nav a {
        color: #fff;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--border-color-medium);
        text-decoration: none;
        font-size: var(--font-size-body);
        display: flex; 
        align-items: center;
    }

    .site-header .main-nav a .icon {
        margin-right: var(--spacing-sm);
        width: var(--icon-size);
        height: var(--icon-size);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent-pink);
        flex-shrink: 0;
    }

    .main-content {
        padding: var(--spacing-sm);
    }

    .hero-section {
        min-height: 250px;
        margin-bottom: 30px;
    }

    .bonus-banner .banner-content {
        padding: 20px;
        text-align: center;
        align-items: center;
    }
    
    .bonus-banner .bonus-details p {
        font-size: 28px;
    }
    
    .btn-take-bonus {
        width: 100%;
        text-align: center;
    }
    
    .site-header {
        padding: 10px 15px 15px;
        height: auto; 
        flex-wrap: wrap; 
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 40px; 
        color: #fff;
        cursor: pointer;
        line-height: 1;
        z-index: 9999;
        font-weight: 300;
        padding: 10px; 
        display: block;
    }

    .testimonial-controls button {
        font-size: 12px;
        min-width: 100px;
        padding: 0 var(--spacing-sm);
        height: 40px;
    }

    .content-block {
        padding: 20px 15px;
        margin-left: 0; 
        margin-right: 0;
        border-radius: var(--radius-medium);
        overflow: hidden;
    }

    .content-block h1 {
        font-size: 22px; 
    }

    /* ТАБЛИЦЫ НА МОБИЛКЕ */
    .table-wrap {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
    
    th, td {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    table {
        min-width: 500px;
    }

    .header-buttons {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }

    .header-buttons .btn {
        flex: 0 1 auto;
        min-width: var(--button-min-width);
        padding: 10px var(--spacing-sm);
        font-size: 13px;
    }

    .lang-switch img.flag, .lang-dropdown img.flag {
        width: 24px !important;
        height: auto !important;
        max-width: 24px !important;
        vertical-align: middle;
        margin-right: 8px;
    }
    
    .games-grid {
        grid-template-columns: repeat(3, 1fr); 
        gap: var(--spacing-xs);
    }
    
    .games-grid .game-card:nth-child(n+10) {
        display: none;
    }
    
    .game-card {
        border-radius: var(--radius-small);
        font-size: 10px;
    }
    
    .marquee-container {
        display: none;
    }
    
    .site-footer {
        padding-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .games-grid {
        gap: 5px;
    }
    
    .content-block {
        padding: 20px 10px;
    }
    
    .table-wrap {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
    }
    
    th, td {
        padding: 8px 6px;
        font-size: 13px;
    }
}

.toc a {
    color: #FD0284;
    text-decoration: none;
    transition: color 0.2s ease;
}

.toc a:hover {
    color: #0933EB;
}

/* ========================================
   CONTENT TEMPLATES - Разнообразные блоки
   ======================================== */

/* === GUIDE TEMPLATE === */
.step-block {
    background: linear-gradient(135deg, rgba(253, 2, 132, 0.1) 0%, rgba(9, 51, 235, 0.05) 100%);
    border-left: 4px solid var(--accent-pink);
    padding: 20px 25px;
    margin: 20px 0;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.step-block .step-num {
    position: absolute;
    left: -18px;
    top: 20px;
    width: 36px;
    height: 36px;
    background: var(--accent-pink);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.pro-tip {
    background: rgba(0, 184, 148, 0.1);
    border: 1px solid rgba(0, 184, 148, 0.3);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
    font-size: 0.95em;
}

.pro-tip strong {
    color: var(--accent-green);
}

.summary-box {
    background: var(--card-bg-color);
    border: 2px solid var(--accent-pink);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
}

.summary-box h3 {
    color: var(--accent-pink);
    margin-bottom: 15px;
}

/* === REVIEW TEMPLATE === */
.quick-verdict {
    background: linear-gradient(135deg, var(--card-bg-color) 0%, rgba(253, 2, 132, 0.1) 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border-color-dark);
}

.quick-verdict .score {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--accent-pink);
    background: rgba(253, 2, 132, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.pros-cons .pros,
.pros-cons .cons {
    padding: 20px;
    border-radius: 12px;
}

.pros-cons .pros {
    background: rgba(0, 184, 148, 0.1);
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.pros-cons .cons {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.pros-cons h4 {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.pros-cons .pros h4 { color: var(--accent-green); }
.pros-cons .cons h4 { color: #e74c3c; }

.pros-cons ul {
    list-style: none;
    padding: 0;
}

.pros-cons li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.pros-cons .pros li::before { content: "✓"; color: var(--accent-green); position: absolute; left: 0; }
.pros-cons .cons li::before { content: "✗"; color: #e74c3c; position: absolute; left: 0; }

.feature-card {
    background: var(--card-bg-color);
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid var(--border-color-dark);
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-pink);
}

/* === FAQ TEMPLATE === */
.key-info {
    background: linear-gradient(135deg, rgba(9, 51, 235, 0.1) 0%, rgba(253, 2, 132, 0.05) 100%);
    border: 1px solid rgba(9, 51, 235, 0.2);
    padding: 20px 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.faq-schema .faq-item {
    border-bottom: 1px solid var(--border-color-dark);
    padding: 20px 0;
}

.faq-schema .faq-item:last-child {
    border-bottom: none;
}

.faq-schema h3 {
    color: var(--text-color);
    font-size: 1.1em;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.faq-schema h3::after {
    content: "+";
    position: absolute;
    right: 0;
    color: var(--accent-pink);
    font-size: 1.3em;
}

/* === STORYTELLING TEMPLATE === */
.scenario {
    background: var(--card-bg-color);
    border-left: 4px solid var(--accent-green);
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    border-radius: 0 12px 12px 0;
}

.scenario::before {
    content: """;
    font-size: 3em;
    color: var(--accent-green);
    opacity: 0.3;
    float: left;
    margin-right: 10px;
    line-height: 1;
}

.example-box {
    background: rgba(253, 2, 132, 0.05);
    border: 1px dashed var(--accent-pink);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.example-box strong {
    color: var(--accent-pink);
}

/* === LISTICLE TEMPLATE === */
.list-item {
    background: var(--card-bg-color);
    padding: 25px;
    padding-left: 80px;
    margin: 20px 0;
    border-radius: 12px;
    position: relative;
    border: 1px solid var(--border-color-dark);
}

.list-item .item-num {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-pink) 0%, #0933EB 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2em;
}

.list-item h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.highlight-stat {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #0933EB 100%);
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 700;
    font-size: 1.1em;
    margin: 10px 0;
}

/* === COMPARISON TEMPLATE === */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #0933EB 100%);
    color: #fff;
    padding: 15px;
    text-align: left;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color-dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.vs-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.vs-block .option-a,
.vs-block .option-b {
    background: var(--card-bg-color);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color-dark);
}

.vs-block .option-a { border-color: var(--accent-pink); }
.vs-block .option-b { border-color: var(--accent-green); }

.winner-badge {
    background: var(--accent-green);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin: 10px 0;
}

/* === RESPONSIVE for Templates === */
@media (max-width: 768px) {
    .pros-cons,
    .vs-block {
        grid-template-columns: 1fr;
    }

    .quick-verdict {
        flex-direction: column;
        text-align: center;
    }

    .list-item {
        padding-left: 25px;
        padding-top: 60px;
    }

    .list-item .item-num {
        left: 50%;
        top: 15px;
        transform: translateX(-50%);
    }

    .step-block .step-num {
        position: relative;
        left: auto;
        top: auto;
        margin-bottom: 15px;
    }
}