/* ================================
   БАЗОВЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
   ================================ */

:root {
    --primary-color: #a78bfa;
    --primary-dark: #8b5cf6;
    --primary-light: #c4b5fd;
    --accent-color: #fbbf24;
    --secondary-color: #ec4899;
    --success-color: #34d399;
    --danger-color: #f87171;
    --warning-color: #fbbf24;
    
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --bg-dark: #020617;
    
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-secondary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Оптимизация рендеринга для Core Web Vitals */
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    overflow-y: scroll; /* Prevent layout shift from scrollbar */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    
    /* Улучшение производительности */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
    /* Улучшение CLS (Cumulative Layout Shift) */
    min-height: 100vh;
}

/* Улучшение производительности для пользователей с ограниченной анимацией */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

/* ================================
   НАВИГАЦИЯ
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand .logo {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .accent {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 50px;
    transition: all var(--transition-fast);
}

/* ================================
   HERO СЕКЦИЯ
   ================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    padding-top: 80px;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.stat-card:hover::before {
    opacity: 0.05;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* ================================
   СЕКЦИЯ ВВЕДЕНИЯ
   ================================ */

.intro-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.content-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.8s ease;
}

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

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.intro-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ================================
   СЕКЦИЯ КАЗИНО
   ================================ */

.play-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.casino-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-color);
}

.casino-card:hover::before {
    transform: scaleX(1);
}

.casino-header {
    margin-bottom: 1.5rem;
}

.casino-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    font-size: 1rem;
}

.rating-score {
    font-weight: 600;
    color: var(--accent-color);
}

.casino-features {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-icon {
    font-size: 1.25rem;
}

.casino-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.casino-highlights li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.casino-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ================================
   СЕКЦИЯ СЛОТОВ И ТАБЛИЦА
   ================================ */

.slots-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
}

.slots-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.slots-table thead {
    background: var(--gradient-primary);
    color: white;
}

.slots-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slots-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.slots-table tbody tr:hover {
    background: var(--bg-primary);
}

.slots-table td {
    padding: 1.25rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.slots-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.high {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(236, 72, 153, 0.3);
}

.badge.very-high {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

.badge.medium {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

/* ================================
   ОБЗОРЫ СЛОТОВ
   ================================ */

.reviews-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.slot-review {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

.slot-review:hover {
    transform: translateX(10px);
    border-left-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.slot-review-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.slot-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.slot-title-block {
    flex: 1;
}

.slot-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.slot-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    font-size: 1.1rem;
}

.rating-text {
    font-weight: 600;
    color: var(--accent-color);
}

.slot-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.slot-description p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.slot-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ================================
   FAQ СЕКЦИЯ
   ================================ */

.faq-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-color);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.faq-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ================================
   ФУТЕР
   ================================ */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-heading {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.responsible-gaming {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.age-badge,
.help-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: white;
}

/* ================================
   КНОПКА НАВЕРХ
   ================================ */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ================================
   АДАПТИВНОСТЬ
   ================================ */

@media (max-width: 768px) {
    /* Навигация */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        border-right: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    /* Hero секция */
    .hero {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .btn-hero, .btn-primary {
        padding: 0.9rem 2rem !important;
        font-size: 1rem !important;
        width: 100%;
        text-align: center;
    }

    /* Container */
    .container {
        padding: 0 1rem;
    }

    /* Секции */
    section {
        padding: 2rem 0 !important;
    }

    .section-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 0.95rem;
        text-align: center;
    }

    /* Карточки казино и игр */
    .casino-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .casino-card {
        padding: 1.5rem;
    }

    .casino-name {
        font-size: 1.3rem;
    }

    .casino-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    /* Таблицы */
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .slots-table {
        font-size: 0.85rem;
    }

    .slots-table th,
    .slots-table td {
        padding: 0.75rem 0.5rem;
    }

    /* Обзоры слотов */
    .slot-review {
        padding: 1.5rem;
    }

    .slot-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .slot-specs {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    /* Intro/Content cards */
    .content-card {
        padding: 1.5rem;
    }

    .intro-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .author-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    /* Apuestas deportivas grid */
    .content-card div[style*="grid"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    /* Еще более компактный дизайн для маленьких телефонов */
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .btn-hero, .btn-primary {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    .container {
        padding: 0 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    .content-card {
        padding: 1rem;
    }

    .intro-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .casino-card {
        padding: 1.25rem;
    }

    .casino-name {
        font-size: 1.1rem;
    }

    .casino-rating {
        font-size: 0.85rem;
    }

    .rating-stars {
        font-size: 0.85rem;
    }

    .feature-item {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .feature-icon {
        font-size: 1.2rem;
    }

    .casino-highlights {
        font-size: 0.85rem;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
    }

    .faq-icon {
        font-size: 1.2rem;
    }

    /* Улучшение читаемости текста */
    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    /* Отступы между секциями */
    section {
        padding: 1.5rem 0 !important;
    }

    /* Кнопки в карточках */
    .casino-card .btn-primary {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
}

/* ================================
   АНИМАЦИИ ДЛЯ ЗАГРУЗКИ
   ================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Применение анимаций при прокрутке */
.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* ================================
   ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ
   ================================ */

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.hover-lift {
    transition: transform var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* ================================
   GLASSMORPHISM ЭФФЕКТЫ
   ================================ */

.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   ОПТИМИЗАЦИЯ ПРОИЗВОДИТЕЛЬНОСТИ
   ================================ */

/* Используем will-change для плавных анимаций */
.casino-card,
.slot-review,
.faq-item,
.stat-card {
    will-change: transform;
}

/* Убираем will-change после анимации для экономии ресурсов */
.casino-card:not(:hover),
.slot-review:not(:hover),
.faq-item:not(:hover),
.stat-card:not(:hover) {
    will-change: auto;
}

/* Аппаратное ускорение для трансформаций */
.btn-primary,
.scroll-top,
.hero-gradient {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ================================
   ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ
   ================================ */

/* Плавный скроллинг для всех браузеров */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

/* Темы для системных настроек */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Улучшенная читаемость текста */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Скрытие скроллбара для webkit браузеров с сохранением функционала */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 50px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 50px;
    transition: background var(--transition-fast);
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


/* ================================
   MOBILE TOUCH OPTIMIZATION
   ================================ */

/* Увеличиваем область касания для ссылок и кнопок */
@media (max-width: 768px) {
    a, button, .btn-primary, .nav-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Убираем hover эффекты на мобильных */
    .casino-card:hover,
    .faq-item:hover,
    .btn-primary:hover {
        transform: none;
    }

    /* Улучшаем тап на карточках */
    .casino-card,
    .faq-item,
    .content-card {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(139, 92, 246, 0.2);
    }

    /* Оптимизация прокрутки */
    .table-wrapper {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    /* Убираем анимации для производительности */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Ландшафтная ориентация мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    section {
        padding: 1.5rem 0 !important;
    }
}

/* Планшеты (от 768px до 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .casino-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Оптимизация для iPhone SE и маленьких экранов */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .btn-hero, .btn-primary {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.9rem !important;
    }

    .casino-card {
        padding: 1rem;
    }

    .content-card {
        padding: 0.75rem;
    }
}

/* Dark mode detection */
@media (prefers-color-scheme: dark) {
    /* Уже используем тёмную тему по умолчанию */
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .casino-card,
    .content-card,
    .faq-item {
        border: 2px solid var(--primary-color);
    }

    .btn-primary {
        border: 2px solid var(--primary-light);
    }
}

