/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* OnLuck Color Palette - основанная на скриншоте */
    --primary-bg: #0a0f1a;
    --secondary-bg: #1a2332;
    --card-bg: rgba(26, 35, 50, 0.8);
    --card-hover: rgba(26, 35, 50, 0.95);
    --border-color: #374151;
    --border-accent: #00E5FF;
    
    /* Neon Cyan - основной акцентный цвет с скриншота */
    --neon-cyan: #00E5FF;
    --neon-cyan-bright: #24F0FF;
    --neon-cyan-glow: rgba(0, 229, 255, 0.5);
    --neon-cyan-shadow: rgba(0, 229, 255, 0.3);
    
    /* Green Palette - для кнопок как на скриншоте */
    --neon-green: #00FF88;
    --neon-green-hover: #00E577;
    --neon-green-glow: rgba(0, 255, 136, 0.4);
    
    /* Red Palette - для логотипа ON */
    --brand-red: #FF0040;
    --brand-red-dark: #E5003A;
    
    /* Purple/Blue gradient - фон как на скриншоте */
    --gradient-start: #0a0f1a;
    --gradient-middle: #1a2332;
    --gradient-end: #0f1929;
    
    /* Text Colors */
    --text-white: #ffffff;
    --text-gray: #B8C5D1;
    --text-muted: #8B9DC3;
    --text-accent: #00E5FF;
    
    /* Button Colors */
    --button-primary: #00FF88;
    --button-hover: #00E577;
    --button-text: #0a0f1a;
    
    /* Glass Effect Colors */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    
    /* Scrollbar Colors */
    --scrollbar-track: #0a0f1a;
    --scrollbar-thumb: #00E5FF;
    --scrollbar-thumb-hover: #24F0FF;
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
    
    /* Spacing */
    --container-max-width: 1280px;
    --section-padding: 3rem 0;
    --card-padding: 1.5rem;
    --button-padding: 0.75rem 1.5rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows and Glows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px var(--neon-cyan-glow);
    --shadow-green-glow: 0 0 20px var(--neon-green-glow);
    --shadow-3d: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(ellipse at center, var(--gradient-middle) 0%, var(--gradient-start) 50%, var(--gradient-end) 100%);
    background-attachment: fixed;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

/* Добавляем анимированный фон с частицами как на скриншоте */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 0, 64, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

/* Улучшенный Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

/* Container с улучшенной адаптивностью */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* OnLuck Style Buttons with Glassmorphism */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--button-padding);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
    user-select: none;
    will-change: transform;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-3d);
}

.btn:focus {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--button-primary), var(--neon-green-hover));
    color: var(--button-text);
    box-shadow: var(--shadow-green-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--neon-green-hover), var(--button-primary));
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-green-glow), var(--shadow-3d);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
}

.btn-secondary:hover {
    background: var(--neon-green);
    color: var(--primary-bg);
}

.btn-hero {
    background: var(--brand-red);
    color: var(--text-white);
    font-size: 1.125rem;
    padding: 1rem 2rem;
    font-weight: 800;
}

.btn-hero:hover {
    background: var(--brand-red-dark);
    transform: scale(1.05);
}

.btn-jackpot {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-green));
    color: var(--button-text);
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
    font-weight: 800;
}

.btn-jackpot:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-green-glow);
}

/* OnLuck Style Header with Glassmorphism */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: width 0.3s ease;
}

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

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

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

.btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-3d);
}

.btn-login:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px var(--neon-cyan-glow), var(--shadow-3d);
}

.btn-signup {
    background: var(--button-primary);
    color: var(--button-text);
}

.btn-signup:hover {
    background: var(--button-hover);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

/* Улучшенное мобильное меню */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 2rem 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    display: block;
    color: var(--text-white);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--text-accent);
    padding-left: 1rem;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-actions .btn {
    width: 100%;
    padding: 1rem;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* ИСПРАВЛЕННЫЙ Hero Section - БЕЗ ДВИЖЕНИЯ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--primary-bg);
    overflow: hidden;
    padding: var(--section-padding);
}

/* Убираем fixed позицию для фонового элемента */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%237DD321" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--brand-red);
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--text-white);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.samurai-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
}

/* Улучшенные Feature Boxes */
.feature-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.feature-box:hover {
    background: var(--card-hover);
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(184, 255, 60, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(184, 255, 60, 0.1);
    border-radius: var(--radius-lg);
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-arrow {
    color: var(--text-accent);
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-arrow {
    transform: translateX(5px);
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--text-white);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

/* Game Categories с улучшенной адаптивностью */
.game-categories {
    padding: var(--section-padding);
    background: var(--secondary-bg);
    position: relative;
    z-index: 1;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-card:hover {
    background: var(--card-hover);
    border-color: var(--border-accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(184, 255, 60, 0.15);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.category-title {
    color: var(--text-white);
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.category-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Games Section с улучшенной сеткой */
.games-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
    background: var(--primary-bg);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.view-all-link {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.view-all-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-accent);
    transition: width 0.3s ease;
}

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

.view-all-link:hover {
    color: var(--neon-green);
}

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

.game-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-3d);
}

.game-card:hover {
    background: var(--card-hover);
    transform: translate3d(0, -8px, 0) scale(1.02);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan-glow), var(--shadow-3d);
}

.game-card:hover::before {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.game-image {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-out;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: scale(1);
}

.game-card:hover .game-image img {
    transform: scale(1.03);
}

.game-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.game-badge-new {
    background: var(--text-accent);
    color: var(--button-text);
    box-shadow: 0 2px 8px rgba(184, 255, 60, 0.3);
}

.game-badge-hot {
    background: var(--brand-red);
    color: var(--text-white);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.game-badge-featured {
    background: var(--neon-green);
    color: var(--button-text);
    box-shadow: 0 2px 8px rgba(125, 211, 33, 0.3);
}

.game-badge-jackpot {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--button-text);
    top: 2.5rem;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.game-info {
    padding: 1.25rem;
    background: var(--card-bg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.game-title {
    color: var(--text-white);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
    flex-grow: 1;
}

.game-provider {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-top: auto;
    font-weight: 500;
}

/* Jackpot Section с улучшенной анимацией */
.jackpot-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-bg), var(--secondary-bg));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.jackpot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(184, 255, 60, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.jackpot-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.jackpot-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
    color: var(--text-accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.jackpot-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.jackpot-amount {
    font-size: clamp(3rem, 8vw, 4rem);
    color: var(--brand-red);
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
    font-family: var(--font-display);
}

/* Content Section */
.content-section {
    padding: var(--section-padding);
    background: var(--secondary-bg);
    position: relative;
    z-index: 1;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--text-accent);
    font-size: clamp(1.75rem, 4vw, 2rem);
    margin-bottom: 1.5rem;
}

.content-wrapper h3 {
    color: var(--text-accent);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin: 2rem 0 1rem;
}

.content-wrapper p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1rem;
}

/* Улучшенный Footer */
.site-footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

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

.footer-title {
    color: var(--text-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-subtitle {
    color: var(--text-white);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal p {
    color: var(--text-gray);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--text-accent);
}

/* Улучшенные модальные окна */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    color: var(--text-white);
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-white);
    background: var(--border-color);
}

.modal-body {
    padding: 1.5rem;
}

/* Улучшенные формы */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px var(--neon-cyan-shadow);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* УЛУЧШЕННАЯ МОБИЛЬНАЯ АДАПТАЦИЯ */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 2rem 0;
    }
    
    .main-navigation {
        display: none;
    }
    
    .header-actions {
        display: flex;
        gap: 0.5rem;
    }
    
    .header-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
    
    .feature-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .feature-box {
        padding: 1.25rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .game-info {
        padding: 1rem;
    }
    
    .game-image {
        height: 240px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-legal {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .jackpot-amount {
        font-size: clamp(2.5rem, 10vw, 3rem);
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 9vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.875rem, 4vw, 1.125rem);
    }
    
    .btn-hero {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .game-info {
        padding: 0.875rem;
    }
    
    .game-title {
        font-size: 1rem;
    }
    
    .game-provider {
        font-size: 0.8rem;
    }
    
    .game-image {
        height: 200px;
    }
    
    .feature-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
        border-radius: var(--radius-lg);
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .mobile-actions .btn {
        padding: 0.875rem;
        font-size: 0.875rem;
    }
}

/* Анимации с улучшенной производительностью */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(184, 255, 60, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(184, 255, 60, 0.6);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.text-white {
    color: var(--text-white);
}

.text-gray {
    color: var(--text-gray);
}

.bg-primary {
    background: var(--primary-bg);
}

.bg-secondary {
    background: var(--secondary-bg);
}

.bg-card {
    background: var(--card-bg);
}

.border-accent {
    border-color: var(--border-accent);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* Производительность и оптимизация */
.game-card,
.category-card,
.feature-box,
.btn {
    will-change: transform;
}

.hero-section {
    will-change: auto;
}

/* Дополнительная оптимизация для предотвращения мерцания и дёргания */
.game-card,
.game-image,
.game-image img {
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.game-card {
    contain: layout style paint;
    isolation: isolate;
}

.game-image {
    transform: translateZ(0);
    overflow: hidden;
}

/* Предотвращение reflow при hover */
.games-grid {
    contain: layout;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-lg);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== MARKDOWN CONTENT STYLES ===== */

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    padding: 4rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section Styles */
.content-section {
    padding: 3rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Markdown Content Styles */
.content-wrapper h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 2rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
    font-family: var(--font-display);
}

.content-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--neon-green);
    line-height: 1.3;
    font-family: var(--font-display);
}

.content-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 1.5rem 0 0.75rem;
    line-height: 1.4;
    font-family: var(--font-display);
}

.content-wrapper h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 1.25rem 0 0.5rem;
    line-height: 1.4;
    font-family: var(--font-display);
}

.content-wrapper h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 1rem 0 0.5rem;
    line-height: 1.4;
    font-family: var(--font-display);
}

.content-wrapper h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 1rem 0 0.5rem;
    line-height: 1.4;
    font-family: var(--font-display);
}

.content-wrapper p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-wrapper li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.content-wrapper strong {
    color: var(--text-white);
    font-weight: 600;
}

.content-wrapper em {
    color: var(--text-accent);
    font-style: italic;
}

.content-wrapper blockquote {
    background: var(--card-bg);
    border-left: 4px solid var(--neon-green);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--text-gray);
    font-family: var(--font-sans);
}

.content-wrapper blockquote p {
    margin: 0;
}

.content-wrapper code {
    background: var(--card-bg);
    color: var(--neon-green);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.content-wrapper pre {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
}

.content-wrapper pre code {
    background: none;
    padding: 0;
    color: var(--text-white);
}

.content-wrapper a {
    color: var(--neon-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-wrapper a:hover {
    color: var(--neon-green-hover);
    text-decoration: underline;
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-family: var(--font-sans);
}

.content-wrapper th,
.content-wrapper td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.content-wrapper th {
    background: var(--secondary-bg);
    color: var(--text-white);
    font-weight: 600;
}

.content-wrapper tr:hover {
    background: var(--card-hover);
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1rem 0;
}

.content-wrapper hr {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
}

/* Улучшенные стили для списков */
.content-wrapper ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.content-wrapper ol li {
    list-style-type: decimal;
    margin-bottom: 0.5rem;
}

/* Стили для вложенных списков */
.content-wrapper ul ul,
.content-wrapper ol ol,
.content-wrapper ul ol,
.content-wrapper ol ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

/* Стили для выделенного текста */
.content-wrapper mark {
    background: var(--neon-green);
    color: var(--button-text);
    padding: 0.1rem 0.3rem;
    border-radius: var(--radius-sm);
}

/* Стили для подчеркнутого текста */
.content-wrapper u {
    text-decoration: underline;
    text-decoration-color: var(--neon-green);
}

/* Стили для зачеркнутого текста */
.content-wrapper del {
    text-decoration: line-through;
    color: var(--text-muted);
}

/* Стили для абзацев с изображениями */
.content-wrapper p img {
    display: block;
    margin: 1rem auto;
}

/* Стили для ссылок в заголовках */
.content-wrapper h1 a,
.content-wrapper h2 a,
.content-wrapper h3 a,
.content-wrapper h4 a,
.content-wrapper h5 a,
.content-wrapper h6 a {
    color: inherit;
    text-decoration: none;
}

.content-wrapper h1 a:hover,
.content-wrapper h2 a:hover,
.content-wrapper h3 a:hover,
.content-wrapper h4 a:hover,
.content-wrapper h5 a:hover,
.content-wrapper h6 a:hover {
    color: var(--neon-green);
}

/* Responsive Design for Markdown Content */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-wrapper h1 {
        font-size: 2rem;
        margin: 1.5rem 0 0.75rem;
        line-height: 1.3;
    }
    
    .content-wrapper h2 {
        font-size: 1.75rem;
        margin: 1.5rem 0 0.75rem;
        line-height: 1.4;
    }
    
    .content-wrapper h3 {
        font-size: 1.25rem;
        margin: 1.25rem 0 0.5rem;
        line-height: 1.4;
    }
    
    .content-wrapper h4 {
        font-size: 1.125rem;
        margin: 1rem 0 0.5rem;
    }
    
    .content-wrapper h5 {
        font-size: 1rem;
        margin: 1rem 0 0.5rem;
    }
    
    .content-wrapper h6 {
        font-size: 0.875rem;
        margin: 1rem 0 0.5rem;
    }
    
    .content-wrapper {
        padding: 0 0.5rem;
    }
    
    .content-wrapper ul,
    .content-wrapper ol {
        padding-left: 1.5rem;
    }
    
    .content-wrapper table {
        font-size: 0.875rem;
    }
    
    .content-wrapper th,
    .content-wrapper td {
        padding: 0.5rem 0.75rem;
    }
    
    .content-wrapper blockquote {
        padding: 0.75rem 1rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .content-wrapper h1 {
        font-size: 1.75rem;
        margin: 1.25rem 0 0.5rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.5rem;
        margin: 1.25rem 0 0.5rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.125rem;
        margin: 1rem 0 0.5rem;
    }
    
    .content-wrapper p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .content-wrapper ul,
    .content-wrapper ol {
        padding-left: 1.25rem;
    }
    
    .content-wrapper li {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .content-wrapper h1 {
        font-size: 1.75rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .content-wrapper {
        padding: 0 0.25rem;
    }
}

/* Loading State for MD Content */
.content-wrapper:empty::before {
    content: 'Loading content...';
    display: block;
    text-align: center;
    color: var(--text-gray);
    font-style: italic;
    padding: 2rem 0;
}

/* Error State for MD Content */
.content-wrapper .error-message {
    background: var(--brand-red);
    color: var(--text-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 1rem 0;
}

/* Success State for MD Content */
.content-wrapper .success-message {
    background: var(--neon-green);
    color: var(--text-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    margin: 1rem 0;
}

/* Onluck Hero Overrides */
.onluck-hero {
    background: radial-gradient(1200px 600px at 70% 40%, rgba(0, 229, 255, 0.08), transparent 60%),
                radial-gradient(800px 400px at 30% 70%, rgba(184, 255, 60, 0.08), transparent 60%),
                var(--primary-bg);
}

.onluck-hero-img {
    width: 100%;
    max-width: 760px;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

@media (max-width: 1024px) {
    .onluck-hero-img {
        max-width: 560px;
    }
}

@media (max-width: 640px) {
    .onluck-hero-img {
        max-width: 100%;
    }
}

/* OnLuck.com Style Hero Section */
.hero-content-onluck {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
    min-height: 70vh;
    position: relative;
    z-index: 2;
}

/* Left side with 3D elements */
.hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-3d-elements {
    position: relative;
    width: 200px;
    height: 300px;
}

.floating-card {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-cyan-bright));
    border-radius: 8px;
    box-shadow: var(--shadow-3d);
    animation: float 3s ease-in-out infinite;
}

.floating-card.spade {
    top: 20px;
    left: 10px;
    background: linear-gradient(135deg, #1a2332, #2a3442);
    border: 2px solid var(--neon-cyan);
    animation-delay: 0s;
}

.floating-card.heart {
    top: 60px;
    right: 20px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    animation-delay: 1s;
}

.floating-dice {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-green-hover));
    border-radius: 8px;
    box-shadow: var(--shadow-3d);
    animation: rotate 4s linear infinite;
}

/* Center registration form */
.hero-center {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: 2rem;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.5rem;
}

.logo-on {
    background: var(--brand-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    margin-right: 0.5rem;
}

.logo-luck {
    color: white;
    font-weight: 700;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: white;
}

.and-text {
    color: white;
}

.win-text {
    color: var(--neon-green);
}

.registration-form-container {
    background: radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.08), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(184, 255, 60, 0.08), transparent 55%),
                rgba(26, 35, 50, 0.96);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-3d);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.registration-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, 0.8);
    border-radius: var(--radius-xl);
    z-index: 1;
}

.registration-form-container > * {
    position: relative;
    z-index: 2;
}

.step-indicator {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-registration-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group.half {
    flex: 1;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-input, .form-select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px var(--neon-cyan-shadow);
    background: rgba(0, 229, 255, 0.1);
}

.password-input-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

.form-error {
    color: var(--brand-red);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.bonus-input {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--neon-green);
}

.btn-hero-register {
    background: linear-gradient(135deg, var(--neon-green), var(--neon-green-hover));
    color: var(--primary-bg);
    font-weight: 800;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    margin-top: 1rem;
    box-shadow: var(--shadow-green-glow);
    transition: all 0.3s ease;
}

.btn-hero-register:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-green-glow), var(--shadow-3d);
}

.login-link {
    margin-top: 1.5rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.login-text {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
}

.login-text:hover {
    text-decoration: underline;
}

/* Right side with slot machine */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slot-machine-container {
    perspective: 1000px;
}

.slot-machine {
    width: 200px;
    height: 300px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-cyan-bright));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-3d);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
}

.slot-header {
    color: var(--primary-bg);
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slot-reels {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.reel {
    width: 40px;
    height: 50px;
    background: var(--primary-bg);
    color: var(--neon-green);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: spin 2s linear infinite;
}

.reel:nth-child(2) {
    animation-delay: 0.3s;
}

.reel:nth-child(3) {
    animation-delay: 0.6s;
}

.slot-base {
    width: 80%;
    height: 20px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.cookie-content {
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-3d);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

.cookie-link {
    color: var(--neon-cyan);
    text-decoration: underline;
}

.btn-cookie-accept {
    background: var(--neon-green);
    color: var(--primary-bg);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes rotate {
    0% { transform: translateX(-50%) rotateZ(0deg); }
    100% { transform: translateX(-50%) rotateZ(360deg); }
}

@keyframes spin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

@keyframes glow {
    0% { box-shadow: var(--shadow-3d); }
    100% { box-shadow: var(--shadow-3d), 0 0 30px var(--neon-cyan-glow); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-onluck {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-left, .hero-right {
        display: none;
    }
    
    .hero-center {
        max-width: 500px;
    }
}

@media (max-width: 640px) {
    .registration-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .hero-logo {
        font-size: 2rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
}