/* =========================================
   Neon Cyber & Dark Azure Theme (Modern Premium Casino)
   Note: All original selectors preserved for strict HTML compatibility 
   ========================================= */

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

:root {
    /* Deep Space/Navy Backgrounds */
    --bg-0: #050508;
    --bg-1: #0d111a;
    --bg-2: #161b26;

    /* Glassmorphism Surfaces */
    --surface-0: rgba(13, 17, 26, 0.65);
    --surface-1: rgba(22, 27, 38, 0.75);
    --surface-2: rgba(30, 36, 50, 0.85);

    /* Text Colors */
    --text: #ffffff; 
    --muted: #94a3b8;
    --muted-2: #64748b;

    /* ДИНАМИЧЕСКИЕ ЦВЕТА (берутся из config.json) */
    /* Главный цвет для кнопок, галочек и активных элементов */
    --ocean: var(--primary-color, #00e676); 
    --ocean-2: var(--primary-color, #00c853);
    
    /* Цвет для ссылок и подсветки (привязываем туда же, чтобы весь бренд менял цвет) */
    --gold: var(--primary-color, #00e5ff);
    --gold-2: var(--primary-color, #00b8d4);

    /* Tertiary/Gradients */
    --emerald: #8b5cf6;
    --emerald-2: #7c3aed;

    /* Soft Borders */
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.15);

    /* Soft & Glowing Shadows */
    --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.3);
    
    /* Неоновое свечение теперь тоже подстраивается под главный цвет */
    --glow-cyan: 0 0 20px var(--primary-color, #00e5ff);
    --glow-green: 0 0 20px var(--primary-color, #00e676);

    /* Modern Rounded Shapes */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;

    --focus: 0 0 0 3px rgba(0, 229, 255, 0.4);
}

/* =========================================
   Global & Base Styles
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(800px 600px at 10% 0%, rgba(0, 229, 255, 0.05), transparent 70%),
        radial-gradient(800px 600px at 90% 20%, rgba(0, 230, 118, 0.05), transparent 70%),
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
    background-attachment: fixed;
}

/* =========================================
   Header 
   ========================================= */
header {
    background: var(--surface-0);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.logo { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
}

.logo-img { 
    height: 48px; 
    width: auto; 
    display: block; 
    filter: drop-shadow(0 0 10px var(--gold)); 
}

.desktop-nav { 
    display: flex; 
    gap: 2.5rem; 
    flex-wrap: wrap; 
}

nav a {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.desktop-nav a:hover { 
    color: var(--text); 
    border-bottom: 2px solid var(--gold); 
    text-shadow: 0 0 8px var(--gold);
}

/* =========================================
   Hamburger Menu 
   ========================================= */
.hamburger {
    display: none;
    position: relative;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
    position: absolute;
    left: 0;
}

.hamburger span:nth-child(1) { top: 0px; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0px; }

.hamburger.active span:nth-child(1) { transform: translateY(10px) rotate(45deg); background: var(--gold); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); background: var(--gold); }

/* =========================================
   Mobile Nav 
   ========================================= */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 17, 26, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 2rem;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
}

.mobile-nav.active { 
    transform: translateY(0); 
    opacity: 1; 
    visibility: visible; 
}

.mobile-nav > a:not(.btn) {
    padding: 1.2rem;
    font-size: 1.1rem;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
}

.mobile-nav > a:not(.btn):hover { 
    color: var(--gold); 
    background: rgba(0, 229, 255, 0.05); 
    border-bottom-color: transparent;
}

.mobile-buttons { 
    display: flex; 
    gap: 1rem; 
    margin-top: 1.5rem; 
}

.mobile-buttons .btn { 
    flex: 1; 
    text-align: center; 
}

.header-buttons { 
    display: flex; 
    gap: 1rem; 
}

/* =========================================
   Buttons (Pill-shaped, Modern)
   ========================================= */
.btn {
    font-family: 'Space Grotesk', sans-serif;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.btn:focus-visible { 
    outline: none; 
    box-shadow: var(--shadow-sm), var(--focus); 
}

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

.btn-login:hover { 
    background: rgba(255, 255, 255, 0.05); 
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--glow-cyan);
}

.btn-register { 
    color: #000; 
    background: linear-gradient(135deg, var(--ocean), var(--ocean-2)); 
}

.btn-register:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--glow-green); 
    filter: brightness(1.1);
}

/* =========================================
   Main Content 
   ========================================= */
main { 
    flex: 1; 
    width: 100%; 
    padding: 4rem 0; 
}

.main-container { 
    max-width: 1000px; 
    width: 100%; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

.content-section {
    background: var(--surface-1);
    border-radius: var(--radius-lg);
    padding: 4rem;
    margin-bottom: 3rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.content-section h1 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    margin-bottom: 2.5rem;
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.content-section h1::after { 
    display: none; /* Убираем полоску в стиле старого дизайна */
}

/* Добавляем градиентный текст для главного заголовка */
.content-section h1 {
    background: linear-gradient(135deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text);
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    border-bottom: none; /* Убрали подчеркивание */
    padding-bottom: 0;
    position: relative;
}

/* Заменяем старую линию новой акцентной точкой слева */
.content-section h2::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    background: var(--ocean);
    border-radius: 4px;
    box-shadow: var(--glow-green);
}

.content-section h3 { 
    font-family: 'Space Grotesk', sans-serif; 
    color: var(--gold); 
    margin-top: 2.5rem; 
    margin-bottom: 1rem; 
    font-size: 1.5rem; 
    font-weight: 700; 
}

.content-section h4 { 
    color: var(--ocean); 
    margin-top: 1.5rem; 
    margin-bottom: 1rem; 
    font-size: 1.1rem; 
    font-weight: 600; 
    letter-spacing: 0.5px; 
}

.content-section p { 
    margin-bottom: 1.5rem; 
    font-size: 1.1rem; 
    color: var(--muted); 
}

.content-section a:not(.btn) { 
    color: var(--gold); 
    text-decoration: none; 
    font-weight: 600; 
    border-bottom: 1px solid rgba(0, 229, 255, 0.3); 
    transition: all 0.2s ease; 
}

.content-section a:not(.btn):hover { 
    color: var(--text); 
    border-bottom-color: var(--text); 
    text-shadow: var(--glow-cyan);
}

.content-section img {
    display: block;
    margin: 3.5rem auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: var(--shadow-md);
}

.content-section ul, 
.content-section ol { 
    margin-bottom: 2rem; 
    padding-left: 1.5rem; 
}

.content-section ul li, 
.content-section ol li { 
    margin-bottom: 0.8rem; 
    font-size: 1.1rem; 
    color: var(--muted); 
    padding-left: 0.5rem;
}

.content-section ul li::marker {
    color: var(--gold);
}

/* =========================================
   Content Toggle Button & TOC 
   ========================================= */
.content-toggle-btn {
    display: block;
    margin: 3rem auto;
    padding: 1rem 3rem;
    background: var(--bg-2);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 50px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.content-toggle-btn:hover { 
    background: var(--surface-2);
    border-color: var(--gold);
    box-shadow: var(--glow-cyan);
}

.content-toggle-btn.active { 
    color: #000; 
    background: var(--gold); 
    border-color: var(--gold); 
    box-shadow: var(--glow-cyan);
}

.table-of-contents { 
    display: none; 
    margin: 2.5rem 0; 
    padding: 2.5rem; 
    background: var(--bg-2); 
    border-radius: var(--radius-lg); 
    border: 1px solid var(--line); 
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.table-of-contents.active { 
    display: block; 
    animation: fadeInDown 0.4s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.table-of-contents .toc-title { 
    font-family: 'Space Grotesk', sans-serif; 
    color: var(--text); 
    margin-bottom: 2rem; 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-top: 0; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    text-align: center; 
}

.toc-list { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 0.8rem; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    counter-reset: toc-counter; 
}

.toc-list li { 
    counter-increment: toc-counter; 
    margin-bottom: 0; 
    display: flex; 
    align-items: center; 
    background: var(--surface-0); 
    padding: 1rem 1.5rem; 
    border: 1px solid transparent; 
    border-radius: var(--radius-sm);
    transition: all 0.2s ease; 
}

.toc-list li:hover { 
    background: var(--surface-1);
    border-color: var(--line-2);
    transform: translateX(5px);
}

.toc-list li::before { 
    content: counter(toc-counter, decimal-leading-zero); 
    font-family: 'Space Grotesk', sans-serif; 
    color: var(--ocean); 
    font-weight: 700; 
    font-size: 1rem; 
    margin-right: 1.5rem; 
    width: 25px; 
    flex-shrink: 0; 
}

.toc-list a { 
    color: var(--muted); 
    text-decoration: none; 
    font-size: 1.05rem; 
    border-bottom: none; 
    font-weight: 500;
}

.toc-list li:hover a { 
    color: var(--text); 
}

/* =========================================
   Reviews 
   ========================================= */
.reviews-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin: 4rem 0; 
}

.review-card { 
    background: var(--bg-2); 
    border: 1px solid var(--line); 
    border-radius: var(--radius-md); 
    padding: 2.5rem; 
    transition: all 0.3s ease; 
    box-shadow: var(--shadow-md); 
    position: relative; 
}

.review-card::before { 
    content: '"'; 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 5rem; 
    color: rgba(0, 229, 255, 0.05); 
    position: absolute; 
    top: -10px; 
    right: 20px; 
    line-height: 1; 
}

.review-card:hover { 
    border-color: rgba(0, 229, 255, 0.3); 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-lg), var(--glow-cyan);
}

.review-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 1.5rem; 
    padding-bottom: 1rem; 
    border-bottom: 1px dashed var(--line-2); 
}

.review-author { 
    font-family: 'Space Grotesk', sans-serif; 
    color: var(--text); 
    font-weight: 700; 
    font-size: 1.2rem; 
}

.review-date { 
    color: var(--ocean); 
    font-size: 0.9rem; 
    font-weight: 600;
}

.review-text { 
    color: var(--muted); 
    line-height: 1.8; 
    margin: 0; 
    font-size: 1rem; 
}

/* =========================================
   FAQ 
   ========================================= */
.faq-container { 
    margin: 4rem 0; 
}

.faq-item { 
    margin-bottom: 1.2rem; 
    border: 1px solid var(--line); 
    border-radius: var(--radius-md); 
    background: var(--bg-2); 
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--line-2);
}

.faq-question { 
    width: 100%; 
    padding: 1.5rem; 
    background-color: transparent; 
    border: none; 
    text-align: left; 
    color: var(--text); 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1.1rem; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 1rem; 
    transition: all 0.3s ease; 
}

.faq-question.active { 
    background: rgba(0, 229, 255, 0.03);
    color: var(--gold); 
}

.faq-icon { 
    font-size: 1.5rem; 
    color: var(--ocean); 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    background: rgba(0, 230, 118, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-question.active .faq-icon { 
    transform: rotate(45deg); /* Превращаем плюс в крестик */
    background: rgba(0, 229, 255, 0.1);
    color: var(--gold);
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s; 
    padding: 0 1.5rem; 
    background: var(--surface-0); 
}

.faq-answer.active { 
    max-height: 800px; 
    padding: 0 1.5rem 1.5rem 1.5rem; 
}

.faq-answer p { 
    margin: 0; 
    color: var(--muted); 
    font-size: 1.05rem; 
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

/* =========================================
   Content Buttons 
   ========================================= */
.content-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 1.5rem; 
    margin: 4rem 0; 
}

.content-buttons .btn { 
    padding: 1.2rem 3.5rem; 
    font-size: 1rem; 
}

/* =========================================
   Generic Content Tables (Feature/Specification)
   ========================================= */
.table-wrapper {
    overflow-x: auto;
    margin: 3rem 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--bg-2);
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.table-wrapper table thead tr {
    background: rgba(0, 0, 0, 0.4);
}

.table-wrapper table thead th {
    padding: 1.5rem;
    text-align: left;
    color: var(--gold);
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 700;
    border-bottom: 1px solid var(--line-2);
}

.table-wrapper table tbody tr {
    transition: background 0.2s;
}

.table-wrapper table tbody tr:nth-child(even) { 
    background-color: rgba(255, 255, 255, 0.02); 
}

.table-wrapper table tbody tr:hover { 
    background-color: rgba(0, 229, 255, 0.04); 
}

.table-wrapper table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 1.05rem;
}

/* =========================================
   Footer 
   ========================================= */
footer { 
    background: var(--bg-0); 
    padding: 5rem 2rem 3rem; 
    text-align: center; 
    margin-top: auto; 
    border-top: 1px solid var(--line); 
}

.footer-container { 
    max-width: 1200px; 
    margin: 0 auto; 
}

.footer-links { 
    display: flex; 
    justify-content: center; 
    gap: 2.5rem; 
    margin-bottom: 3rem; 
    flex-wrap: wrap; 
}

.footer-links a { 
    font-family: 'Space Grotesk', sans-serif; 
    color: var(--muted); 
    text-decoration: none; 
    font-size: 0.95rem; 
    transition: color 0.2s ease; 
    text-transform: uppercase; 
    font-weight: 600; 
    letter-spacing: 1px; 
}

.footer-links a:hover { 
    color: var(--gold); 
}

footer p { 
    color: var(--muted-2); 
    font-size: 0.9rem; 
    margin: 0.8rem 0; 
}

/* =========================================
   Responsive 
   ========================================= */
@media (max-width: 1055px) {
    header { padding: 1rem; }
    .header-container { flex-wrap: nowrap; justify-content: space-between; }
    .logo-img { height: 40px; }
    .hamburger { display: flex; }
    .desktop-nav, .desktop-buttons { display: none; }
    .mobile-nav { display: flex; }
    main { padding: 2rem 0; }
    .content-section { padding: 2.5rem 1.5rem; border: none; box-shadow: none; background: transparent; }
    .content-section h1 { font-size: 2.2rem; }
    .toc-list { grid-template-columns: 1fr; }
    .reviews-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .content-section { padding: 0; }
    .mobile-buttons { gap: 1rem; }
    .mobile-buttons .btn { padding: 1.2rem 1rem; font-size: 0.85rem; }
    .footer-links { flex-direction: column; gap: 1.5rem; }
    .content-section h1 { font-size: 1.8rem; }
    .content-section h2 { font-size: 1.5rem; margin-left: 20px; }
    .content-section h2::before { left: -15px; }
    .content-buttons { flex-direction: column; width: 100%; gap: 1rem; }
    .content-buttons .btn { width: 100%; }
}

/* =========================================
   Widgets & Custom Elements 
   ========================================= */

/* 3D RIBBONS -> Tech Glowing Tags */
ol.ribbon-list { 
    list-style: none; 
    padding: 0; 
    counter-reset: ribbon; 
}

ol.ribbon-list li { 
    position: relative; 
    background: var(--bg-2); 
    color: var(--muted); 
    margin-bottom: 1rem; 
    padding: 1.2rem 1.2rem 1.2rem 4.5rem; 
    border: 1px solid var(--line); 
    border-radius: var(--radius-sm);
    transition: all 0.3s ease; 
}

ol.ribbon-list li:hover { 
    border-color: rgba(0, 230, 118, 0.4); 
    background: rgba(0, 230, 118, 0.03); 
    color: var(--text);
    transform: translateX(5px);
}

ol.ribbon-list li::before { 
    counter-increment: ribbon; 
    content: counter(ribbon, decimal-leading-zero); 
    position: absolute; 
    left: 0; 
    top: 0; 
    bottom: 0; 
    width: 3.5rem; 
    background: rgba(0, 0, 0, 0.4); 
    color: var(--ocean); 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 700; 
    border-right: 1px solid var(--line); 
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

/* Neon Steps */
ol.neon-steps { 
    list-style: none; 
    padding: 0; 
    counter-reset: neon-counter; 
}

ol.neon-steps li { 
    position: relative; 
    padding-left: 4rem; 
    margin-bottom: 1.8rem; 
    font-size: 1.1rem; 
    color: var(--muted); 
}

ol.neon-steps li::before { 
    counter-increment: neon-counter; 
    content: counter(neon-counter); 
    position: absolute; 
    left: 0; 
    top: -2px; 
    width: 2.5rem; 
    height: 2.5rem; 
    border: 2px solid var(--gold); 
    color: #000; 
    font-family: 'Space Grotesk', sans-serif; 
    text-align: center; 
    line-height: 2.3rem; 
    font-weight: 700; 
    background: var(--gold); 
    border-radius: 50%; 
    box-shadow: var(--glow-cyan);
}

/* Casino Widget Container */
.casino-widget-container { 
    background-color: var(--surface-1); 
    border: 1px solid var(--line); 
    border-radius: var(--radius-lg); 
    padding: 2.5rem; 
    margin: 3rem 0; 
    box-shadow: var(--shadow-md); 
    overflow: hidden; 
}

.widget-title { 
    font-family: 'Space Grotesk', sans-serif; 
    color: var(--text); 
    font-size: 1.6rem; 
    font-weight: 700; 
    margin-top: 0 !important; 
    padding-top: 0 !important; 
    line-height: 1.2; 
    margin-bottom: 25px; 
    border-bottom: none; 
}

.widget-tabs { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 25px; 
    flex-wrap: wrap; 
    background: rgba(0,0,0,0.2);
    padding: 8px;
    border-radius: 50px;
}

.widget-tab { 
    font-family: 'Space Grotesk', sans-serif; 
    background: transparent; 
    border: none; 
    color: var(--muted); 
    padding: 10px 20px; 
    font-size: 0.95rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    border-radius: 50px;
}

.widget-tab:hover { 
    color: var(--text); 
}

.widget-tab.active { 
    color: #000; 
    background: var(--gold); 
    box-shadow: var(--glow-cyan);
}

/* Games Grid */
.games-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
    gap: 1.5rem; 
}

.game-card { 
    text-decoration: none; 
    display: flex; 
    flex-direction: column; 
    background: var(--bg-2);
    border: 1px solid var(--line); 
    border-radius: var(--radius-md); 
    overflow: hidden; 
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}

.game-card:hover { 
    border-color: var(--ocean); 
    transform: translateY(-5px) scale(1.02); 
    box-shadow: var(--glow-green);
}

.game-card img { 
    width: 100%; 
    aspect-ratio: 4/3; 
    object-fit: cover; 
    border-radius: var(--radius-md) var(--radius-md) 0 0; 
    display: block; 
    margin-bottom: 0 !important; 
}

.game-card span { 
    margin-top: 0; 
    padding: 15px 10px; 
    line-height: 1.3; 
    position: relative; 
    z-index: 2; 
    color: var(--text); 
    font-size: 0.95rem; 
    font-weight: 600; 
    text-align: center; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

@media (max-width: 480px) {
    .casino-widget-container { padding: 1.5rem; }
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .widget-tabs { border-radius: 10px; padding: 5px; }
    .widget-tab { border-radius: 6px; flex: 1; text-align: center; }
}

.show-more-container { 
    display: flex; 
    justify-content: center; 
    width: 100%; 
    margin-top: 2rem; 
}

.btn-show-more { 
    font-family: 'Space Grotesk', sans-serif; 
    display: inline-block; 
    text-decoration: none; 
    background-color: transparent; 
    color: var(--muted); 
    font-weight: 600; 
    font-size: 0.95rem; 
    padding: 12px 35px; 
    border: 1px solid var(--line-2); 
    border-radius: 50px;
    transition: all 0.3s ease; 
}

.btn-show-more:hover { 
    background-color: var(--surface-2); 
    color: var(--text); 
    border-color: var(--text);
}

/* Winners Widget */
.winners-widget-container { 
    background-color: var(--surface-1); 
    border: 1px solid var(--line); 
    border-radius: var(--radius-lg); 
    padding: 2.5rem; 
    margin: 3rem 0; 
    box-shadow: var(--shadow-md); 
    color: var(--text); 
    overflow: hidden; 
}

.winners-header { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 2rem; 
}

.winners-header h2 { 
    font-family: 'Space Grotesk', sans-serif; 
    margin: 0 !important; 
    padding: 0; 
    font-size: 1.6rem; 
    color: var(--text); 
    border: none;
}

.winners-header h2::before { display: none; }

.live-indicator { 
    background-color: rgba(0, 230, 118, 0.1); 
    color: var(--ocean); 
    border: 1px solid rgba(0, 230, 118, 0.3); 
    border-radius: 50px;
    padding: 4px 14px; 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 0.8rem; 
    font-weight: 700; 
    letter-spacing: 1px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.blink-dot { 
    width: 8px; 
    height: 8px; 
    background-color: var(--ocean); 
    border-radius: 50%; 
    display: inline-block; 
    animation: blinker 1.5s linear infinite; 
    box-shadow: var(--glow-green);
}

@keyframes blinker { 
    50% { opacity: 0; } 
}

.top-winners-row { 
    display: flex; 
    gap: 1.5rem; 
    margin-bottom: 2.5rem; 
    overflow-x: auto; 
    padding-bottom: 15px; 
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
}

.top-winners-row::-webkit-scrollbar { height: 6px; }
.top-winners-row::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px;}

.top-winner-card { 
    background: var(--bg-2); 
    border: 1px solid var(--line); 
    border-radius: var(--radius-md);
    min-width: 160px; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 1.5rem 1rem; 
    text-align: center; 
    transition: all 0.3s; 
}

.top-winner-card:hover { 
    border-color: var(--gold); 
    transform: translateY(-3px);
    box-shadow: var(--glow-cyan);
}

.winner-game-img { 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    border: 3px solid var(--surface-2); 
    object-fit: cover; 
    margin-bottom: 15px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.top-winner-card:hover .winner-game-img {
    border-color: var(--gold);
}

.winner-name { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 0.95rem; 
    color: var(--muted); 
    margin-bottom: 5px; 
    font-weight: 600;
}

.winner-amount { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--ocean); 
    margin-bottom: 5px; 
}

.winner-game-name { 
    font-size: 0.8rem; 
    color: var(--muted-2); 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
}

/* Winners Table */
.winners-table-wrapper {
    background-color: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
}

.winners-table-wrapper::-webkit-scrollbar { height: 6px; }
.winners-table-wrapper::-webkit-scrollbar-track { background: transparent; }
.winners-table-wrapper::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }

.winners-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
    min-width: 600px; 
}

.winners-table td, 
.winners-table th {
    white-space: nowrap;
    padding: 1.2rem 1.5rem; 
    border-bottom: 1px solid var(--line);
    color: var(--text);
    vertical-align: middle;
}

.winners-table thead tr {
    background: rgba(0, 0, 0, 0.4); 
}

.winners-table thead th {
    color: var(--muted);
    border-bottom: 1px solid var(--line-2);
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-align: left;
}

.winners-table tbody tr:nth-child(even) { background-color: rgba(255, 255, 255, 0.02); }
.winners-table tbody tr:hover { background-color: rgba(0, 230, 118, 0.05); }

.game-cell { display: flex; align-items: center; gap: 12px; }
.game-name { font-weight: 600; color: var(--text); cursor: pointer; }
.game-name:hover { color: var(--ocean); }
.multiplier { color: var(--gold); font-weight: 600; background: rgba(0, 229, 255, 0.1); padding: 4px 10px; border-radius: 6px; }
.profit-positive { color: var(--ocean); font-weight: 700; }
.profit-positive.highlight { color: #fff; font-size: 1.1rem; }

@media (max-width: 600px) {
    .top-winner-card { min-width: 140px; }
    .winners-table th, .winners-table td { padding: 1rem; font-size: 0.9rem; }
    .hide-mobile { display: none; }
}

/* Age Verify Overlay */
.age-verify-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(5, 5, 8, 0.95); 
    z-index: 999999; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.4s ease; 
}

.age-verify-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

.age-verify-modal { 
    background-color: var(--surface-1); 
    padding: 3rem; 
    border: 1px solid var(--line-2); 
    border-radius: var(--radius-lg);
    text-align: center; 
    max-width: 450px; 
    width: 90%; 
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), var(--glow-cyan); 
    transform: scale(0.95) translateY(20px); 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

.age-verify-overlay.active .age-verify-modal { transform: scale(1) translateY(0); }

.age-verify-icon { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    display: block; 
    text-shadow: var(--glow-cyan);
}

.age-verify-title { 
    font-family: 'Space Grotesk', sans-serif; 
    color: var(--text); 
    font-size: 2rem; 
    font-weight: 800; 
    margin: 0 0 15px 0; 
    line-height: 1.2; 
}

.age-verify-text { 
    color: var(--muted); 
    font-size: 1.05rem; 
    line-height: 1.6; 
    margin-bottom: 2.5rem; 
}

.age-verify-buttons { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
}

.btn-verify { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1rem; 
    font-weight: 700; 
    padding: 1rem 1.5rem; 
    cursor: pointer; 
    border: none; 
    border-radius: 50px;
    transition: all 0.3s; 
    flex: 1; 
    text-transform: uppercase; 
}

.btn-verify-yes { 
    background-color: var(--gold); 
    color: #000; 
    box-shadow: var(--glow-cyan);
}

.btn-verify-yes:hover { 
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-verify-no { 
    background-color: transparent; 
    border: 1px solid var(--line-2); 
    color: var(--muted); 
}

.btn-verify-no:hover { 
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text); 
}

/* Game of Week Widget */
.game-of-week-widget { 
    background: linear-gradient(135deg, var(--surface-1) 0%, var(--bg-1) 100%); 
    border: 1px solid var(--line); 
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem; 
    text-align: center; 
    color: #ffffff; 
    width: 100%; 
    max-width: 100%; 
    box-sizing: border-box; 
    margin: 3rem auto; 
    box-shadow: var(--shadow-md); 
    position: relative; 
    overflow: hidden; 
}

.gow-title { 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 1.2rem; 
    font-weight: 700; 
    margin-bottom: 20px; 
    color: var(--gold); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.gow-content { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 30px; 
    gap: 20px; 
}

.gow-laurel { 
    font-size: 2.5rem; 
    opacity: 0.5; 
    color: var(--gold); 
    filter: drop-shadow(var(--glow-cyan));
}

.gow-laurel.left { 
    transform: scaleX(-1); 
} 

.gow-card { 
    position: relative; 
    width: 140px; 
    height: 190px; 
    border-radius: var(--radius-md);
    overflow: hidden; 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6); 
}

.gow-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 2px solid rgba(0, 229, 255, 0.5);
    pointer-events: none;
}

.gow-thumb { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s;
}

.gow-card:hover .gow-thumb {
    transform: scale(1.1);
}

.gow-overlay { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); 
    padding: 20px 0 10px; 
    text-align: center; 
    font-family: 'Space Grotesk', sans-serif; 
    font-size: 0.9rem; 
    color: var(--text); 
    font-weight: 700; 
}

.gow-btn { 
    display: inline-block; 
    font-family: 'Space Grotesk', sans-serif; 
    background: linear-gradient(135deg, var(--ocean), var(--ocean-2)); 
    color: #000 !important; 
    text-decoration: none; 
    font-weight: 700; 
    padding: 1rem 2.5rem; 
    border-radius: 50px;
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: all 0.3s; 
    box-shadow: var(--shadow-sm), var(--glow-green);
}

.gow-btn:hover { 
    transform: translateY(-3px); 
    filter: brightness(1.1);
}

/* Hover Gallery */
p:empty, 
p:has(> br:only-child) { 
    display: none !important; 
}

.hover-gallery { 
    position: relative; 
    width: 100%; 
    max-width: 1100px; 
    aspect-ratio: 16 / 7; /* Чуть изменил пропорцию для более кинематографичного вида */
    margin: 0px auto 3rem auto !important; 
    border-radius: var(--radius-lg);
    border: 1px solid var(--line); 
    overflow: hidden; 
    background-color: var(--bg-0); 
    transform: translateZ(0); 
    z-index: 5; 
    box-shadow: var(--shadow-lg);
}

.gallery-track { 
    display: flex; 
    width: 100%; 
    height: 100%; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    -webkit-overflow-scrolling: touch; 
}

.gallery-track::-webkit-scrollbar { 
    display: none; 
}

.gallery-track img { 
    position: static !important; 
    opacity: 1 !important; 
    flex: 0 0 100%; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    scroll-snap-align: center; 
    margin: 0 !important; 
    box-shadow: none !important; 
    border: none !important; 
    border-radius: 0 !important; 
}

@media (min-width: 768px) {
    .gallery-track { overflow: hidden; }
    
    .gallery-track img { 
        position: absolute !important; 
        top: 0; 
        left: 0; 
        opacity: 0 !important; 
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
        pointer-events: none; 
    }
    
    .gallery-track > *:first-child img, 
    .gallery-track img.active { 
        opacity: 1 !important; 
    }
    
    .gallery-triggers { 
        position: absolute; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%; 
        display: flex; 
        z-index: 10; 
    }
    
    .gallery-triggers .trigger { 
        flex: 1; 
        height: 100%; 
        cursor: pointer; 
    }
}

.gallery-indicators { 
    position: absolute; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    width: 80%; 
    max-width: 300px; 
    gap: 8px; 
    z-index: 11; 
    pointer-events: none; 
    background: rgba(0,0,0,0.5);
    padding: 8px 12px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.gallery-indicators .indicator { 
    flex: 1; 
    height: 4px; 
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.2); 
    transition: all 0.3s ease; 
}

.gallery-indicators .indicator.active { 
    background-color: var(--gold); 
    box-shadow: var(--glow-cyan);
}

.gallery-track a { 
    display: contents; 
}