/* ===================================
   ATOM CASINO - CSS STYLES
   ================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #00FFFF;
    --primary-dark: #8A2BE2;
    --primary-light: #40E0D0;
    --secondary: #FF1493;
    --accent: #9932CC;
    --background: #1A0B2E;
    --surface: #2D1B3D;
    --surface-light: #3E2A4A;
    --text-primary: #FFFFFF;
    --text-secondary: #E6E6FA;
    --text-muted: #C8A2C8;
    --border: #6A0DAD;
    --success: #00FFFF;
    --warning: #FF69B4;
    --danger: #FF1493;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00FFFF 0%, #40E0D0 50%, #8A2BE2 100%);
    --gradient-secondary: linear-gradient(135deg, #FF1493 0%, #9932CC 50%, #8A2BE2 100%);
    --gradient-accent: linear-gradient(135deg, #9932CC 0%, #8A2BE2 50%, #00FFFF 100%);
    --gradient-dark: linear-gradient(135deg, #2D1B3D 0%, #1A0B2E 50%, #0F051A 100%);
    --gradient-hero: linear-gradient(135deg, #1A0B2E 0%, #2D1B3D 30%, #3E2A4A 70%, #6A0DAD 100%);
    
    /* Fonts */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Inter', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 11, 46, 0.4);
    --shadow-md: 0 4px 20px rgba(26, 11, 46, 0.5);
    --shadow-lg: 0 8px 40px rgba(26, 11, 46, 0.6);
    --shadow-xl: 0 16px 80px rgba(26, 11, 46, 0.7);
    --shadow-glow: 0 0 30px rgba(0, 255, 255, 0.6);
    --shadow-glow-accent: 0 0 25px rgba(153, 50, 204, 0.5);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --card-padding: 32px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center text horizontally */
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-align: center; /* Additional centering for text content */
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-primary);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-accept {
    background: var(--success);
    color: var(--text-primary);
}

.btn-decline {
    background: var(--danger);
    color: var(--text-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 18px;
}

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

.btn.glow:hover {
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.7), 0 0 60px rgba(61, 90, 254, 0.3);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0, 229, 255, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    transition: var(--transition);
}

.breadcrumb-item:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--border);
}

.breadcrumb-current {
    color: var(--primary);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-weight: 900;
    font-size: 24px;
    color: var(--text-primary);
    flex-shrink: 0; /* Предотвратить сжатие всего логотипа */
    min-width: 0; /* Позволить тексту сжиматься, если необходимо */
}

.logo-icon {
    width: 40px;
    height: 40px;
    min-width: 40px; /* Предотвратить сжатие по ширине */
    min-height: 40px; /* Предотвратить сжатие по высоте */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 20px;
    animation: rotate 10s linear infinite;
    flex-shrink: 0; /* Важно: не позволять логотипу сжиматься */
    aspect-ratio: 1 / 1; /* Поддерживать квадратные пропорции */
    box-sizing: border-box; /* Учитывать padding и border в размерах */
}

.logo-text {
    font-size: 22px; /* Make same size as subtitle */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 22px; /* Same size as main text */
    color: var(--text-muted);
    align-self: center; /* Center align instead of flex-end */
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

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

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

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        var(--gradient-hero),
        url('../images/atom-hero-bg.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 255, 255, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 70% 20%, rgba(153, 50, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 20, 147, 0.1) 0%, transparent 40%),
        linear-gradient(135deg, rgba(26, 11, 46, 0.9) 0%, rgba(45, 27, 61, 0.7) 100%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Lava Lamp Floating Elements */
.lava-lamp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.lava-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    animation: float 20s infinite ease-in-out;
}

.lava-blob:nth-child(1) {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3), rgba(138, 43, 226, 0.1));
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.lava-blob:nth-child(2) {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.25), rgba(153, 50, 204, 0.1));
    left: 80%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.lava-blob:nth-child(3) {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(153, 50, 204, 0.4), rgba(0, 255, 255, 0.1));
    left: 50%;
    animation-delay: -10s;
    animation-duration: 35s;
}

.lava-blob:nth-child(4) {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(64, 224, 208, 0.3), rgba(255, 20, 147, 0.1));
    left: 25%;
    animation-delay: -15s;
    animation-duration: 28s;
}

.lava-blob:nth-child(5) {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.35), rgba(0, 255, 255, 0.1));
    left: 70%;
    animation-delay: -20s;
    animation-duration: 32s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-10vh) scale(1);
    }
    100% {
        transform: translateY(-20vh) scale(0);
        opacity: 0;
    }
}

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

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.subtitle {
    font-size: 0.4em;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

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

.hero-image {
    position: relative;
    height: 500px;
}

.casino-cards,
.casino-chips {
    position: absolute;
}

.casino-cards {
    top: 20%;
    right: 20%;
}

.card {
    width: 80px;
    height: 120px;
    background: var(--gradient-dark);
    border: 2px solid var(--primary);
    border-radius: 8px;
    position: absolute;
    box-shadow: var(--shadow-lg);
}

.card-1 {
    transform: rotate(-15deg);
    z-index: 1;
}

.card-2 {
    transform: rotate(0deg) translateX(30px);
    z-index: 2;
}

.card-3 {
    transform: rotate(15deg) translateX(60px);
    z-index: 3;
}

.casino-chips {
    bottom: 20%;
    left: 20%;
}

.chip {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: absolute;
    border: 3px solid var(--secondary);
    box-shadow: var(--shadow-md);
}

.chip-1 {
    background: var(--gradient-primary);
    z-index: 3;
}

.chip-2 {
    background: var(--gradient-secondary);
    transform: translateX(20px) translateY(10px);
    z-index: 2;
}

.chip-3 {
    background: var(--gradient-accent);
    transform: translateX(40px) translateY(20px);
    z-index: 1;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--surface);
}

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

.feature-card {
    text-align: center;
    padding: var(--card-padding);
    background: var(--gradient-dark);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #D0D0D0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Games Section */
.games {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.game-card {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

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

.game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: var(--gradient-dark);
}

.game-placeholder.slots {
    background: var(--gradient-primary);
}

.game-placeholder.roulette {
    background: var(--gradient-secondary);
}

.game-placeholder.blackjack {
    background: var(--gradient-dark);
}

.game-placeholder.live {
    background: var(--gradient-accent);
}

.game-placeholder.poker {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
}

.game-placeholder.crash {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.game-info {
    padding: 1.5rem;
}

.game-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.rtp {
    color: var(--success);
}

.volatility {
    color: var(--text-muted);
}

/* Bonuses Section */
.bonuses {
    padding: var(--section-padding);
    background: var(--surface);
}

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

.bonus-card {
    background: var(--gradient-dark);
    padding: var(--card-padding);
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bonus-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.bonus-card.featured {
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.bonus-badge {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: var(--background);
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.bonus-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
}

.bonus-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.bonus-details {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.bonus-description {
    margin-bottom: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bonus-card .btn {
    margin-top: auto;
}

/* Trust Section */
.trust {
    padding: var(--section-padding);
}

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

.trust-item {
    text-align: center;
    padding: var(--card-padding);
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow-accent);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-accent);
    border-radius: 50%;
    font-size: 2rem;
}

.trust-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.trust-item p {
    color: #D0D0D0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: var(--surface);
}

.testimonials-carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    border-radius: 16px;
    padding: 1rem 0;
    width: 100%;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
}

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

.testimonial-card {
    background: var(--gradient-dark);
    padding: var(--card-padding);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: var(--transition);
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.testimonials-carousel .testimonial-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    max-width: calc(33.333% - 1.33rem);
    min-height: 250px;
}

/* Ensure proper alignment */
@media (min-width: 769px) {
    .testimonials-carousel .testimonial-card {
        flex: 0 0 calc(33.333% - 1.33rem);
        max-width: calc(33.333% - 1.33rem);
    }
}

@media (max-width: 768px) and (min-width: 481px) {
    .testimonials-carousel .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        position: relative;
        overflow: hidden;
        width: 100%;
    }
    
    .carousel-container {
        padding: 0;
        overflow: hidden;
        width: 100%;
        position: relative;
    }
    
    .carousel-track {
        display: flex;
        width: 100%;
        position: relative;
        padding: 0;
        margin: 0;
    }
    
    .testimonials-carousel .testimonial-card {
        opacity: 0 !important;
        visibility: hidden !important;
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 1rem;
        box-sizing: border-box;
        min-height: 220px;
        flex: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        transform: translateY(10px);
    }
    
    .testimonials-carousel .testimonial-card.mobile-active {
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important;
        transform: translateY(0);
    }
}

.testimonial-card p {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #D0D0D0;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* Carousel Navigation */
.carousel-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: var(--primary-light);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.user-info {
    flex: 1;
}

.user-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating {
    color: var(--secondary);
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.8;
}

/* CTA Section */
.cta {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.cta-feature i {
    color: var(--success);
}

/* Footer */
.footer {
    background: var(--surface);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--surface-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-licenses {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.license-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.license-item i {
    color: var(--success);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--surface);
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    padding: 2rem 2rem 0;
    text-align: center;
}

.modal-header i {
    font-size: 3rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

.modal-header h2 {
    color: var(--primary);
    margin-bottom: 0;
}

.modal-body {
    padding: 1rem 2rem;
    text-align: center;
}

.warning-text {
    color: var(--warning);
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-footer {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 9999;
    box-shadow: var(--shadow-lg);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cookie-text i {
    color: var(--warning);
    font-size: 1.2rem;
}

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

/* Hidden class */
.hidden {
    display: none !important;
}

/* Responsive Design */
/* Tablet optimizations */
@media (max-width: 1024px) {
    :root {
        --section-padding: 60px 0;
        --card-padding: 24px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-content {
        gap: 3rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

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

/* Tablet and Mobile optimizations */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px 0;
        --card-padding: 20px;
        --container-max-width: 100%;
    }

    /* Enhanced Navigation for tablets */
    .navbar {
        padding: 1rem 0 0.75rem;
    }

    .nav-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        position: relative;
    }

    /* Keep normal layout on tablets */
    .logo {
        order: 1;
    }
    
    .nav-menu {
        order: 2;
        gap: 1rem;
    }
    
    .auth-buttons {
        order: 3;
        gap: 0.75rem;
    }
    
    /* Hide mobile toggle on tablets */
    .mobile-toggle {
        display: none;
    }

    .breadcrumbs {
        position: absolute;
        top: -28px;
        left: 0;
        right: 0;
        justify-content: flex-start;
        margin-bottom: 0;
        font-size: 11px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        padding: 4rem 1.5rem 1.5rem;
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-xl);
        z-index: 9999;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
        right: 0;
    }

    .nav-menu li {
        margin-bottom: 0.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        display: block;
    }

    .mobile-toggle {
        display: flex;
        position: relative;
        z-index: 10000;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: var(--transition);
        margin-right: auto;
    }

    .mobile-toggle:hover {
        background: var(--surface-light);
    }

    .mobile-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--text-primary);
        margin: 3px 0;
        transition: var(--transition);
        transform-origin: center;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Logo and Auth adjustments */
    .logo {
        font-size: 20px;
        gap: 10px; /* Уменьшить отступ между иконкой и текстом */
        flex-shrink: 0;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 16px;
        flex-shrink: 0;
        aspect-ratio: 1 / 1;
    }

    .logo-text {
        font-size: 14px;
        line-height: 1;
    }
    
    .logo-subtitle {
        font-size: 14px; /* Same as logo-text */
        line-height: 1;
    }

    .auth-buttons {
        gap: 0.75rem;
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .auth-buttons .btn {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 40px;
        width: 100%;
        justify-content: center;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 100svh; /* Use svh for better mobile support */
        padding-bottom: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding-top: 140px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-image {
        height: 250px;
        margin-top: 1rem;
    }

    .casino-cards,
    .casino-chips {
        transform: scale(0.8);
    }

    /* Cards and Grids */
    .features-grid,
    .games-grid,
    .bonuses-grid,
    .trust-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Carousel Mobile */
    .carousel-container {
        padding: 1rem;
    }
    
    .carousel-track {
        gap: 1.5rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .testimonial-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Game Cards Mobile */
    .game-card {
        margin-bottom: 0.5rem;
    }

    .game-image {
        height: 160px;
    }

    .game-placeholder {
        font-size: 3rem;
    }

    /* Bonus Cards Mobile */
    .bonus-card {
        margin-bottom: 1rem;
        min-height: 380px;
    }

    .bonus-description {
        margin-bottom: 1.5rem;
    }

    .bonus-amount {
        font-size: 2.5rem;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    /* CTA Section */
    .cta-content {
        padding: 0 1rem;
    }

    .cta h2 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 3rem 0 2rem;
    }

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

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-licenses {
        justify-content: center;
        gap: 1rem;
    }

    /* Cookie Notice Mobile */
    .cookie-notice {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.5rem;
    }

    .cookie-text {
        text-align: center;
        font-size: 0.9rem;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Navigation (600px and below) */
@media (max-width: 600px) {
    /* Mobile layout: Menu button left, Logo center */
    .mobile-toggle {
        order: 1;
        display: flex;
        position: relative;
        z-index: 10000;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: var(--transition);
        margin-right: auto;
    }

    .mobile-toggle:hover {
        background: var(--surface-light);
    }

    .mobile-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: var(--text-primary);
        margin: 3px 0;
        transition: var(--transition);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .logo {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        z-index: 9999;
        min-width: 0;
        margin: 0 0.5rem;
        margin-left: 1rem;
        gap: 8px;
    }
    
    /* Show compact auth buttons in main nav container on mobile */
    .nav-container > .auth-buttons {
        display: flex;
        order: 3;
        gap: 0.375rem;
        flex-direction: row;
        margin-top: 0;
        flex-shrink: 0;
    }
    
    .nav-container > .auth-buttons .btn {
        padding: 6px 10px;
        font-size: 11px;
        min-height: 32px;
        min-width: auto;
        border-radius: 4px;
        white-space: nowrap;
        justify-content: center;
    }
    
    /* Make registration button wider */
    .nav-container > .auth-buttons .btn-primary {
        padding: 6px 14px;
        min-width: 80px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        padding: 4rem 1.5rem 1.5rem;
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-xl);
        z-index: 9999;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
        right: 0;
    }

    .nav-menu li {
        margin-bottom: 0.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
        display: block;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    :root {
        --card-padding: 16px;
        --section-padding: 40px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Header adjustments */
    .navbar {
        padding: 0.5rem 0;
    }
    
    /* Ultra-compact mobile header */
    .nav-container > .auth-buttons .btn {
        padding: 5px 8px;
        font-size: 10px;
        min-height: 30px;
        justify-content: center;
    }
    
    /* Make registration button wider on small mobile */
    .nav-container > .auth-buttons .btn-primary {
        padding: 5px 12px; /* Increase horizontal padding */
        min-width: 70px; /* Set minimum width */
    }
    
    .logo-text {
        font-size: 12px;
    }
    
    .logo-subtitle {
        font-size: 12px; /* Same as logo-text */
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        font-size: 12px;
        flex-shrink: 0;
        aspect-ratio: 1 / 1;
    }
    
    .logo {
        gap: 6px; /* Even smaller gap for ultra-mobile */
    }
}

/* Extra Small Mobile Devices - Very narrow screens */
@media (max-width: 360px) {
    .nav-container > .auth-buttons .btn {
        padding: 4px 7px;
        font-size: 9px;
        min-height: 28px;
        justify-content: center;
    }
    
    /* Make registration button wider on extra small screens */
    .nav-container > .auth-buttons .btn-primary {
        padding: 4px 10px; /* Increase horizontal padding */
        min-width: 60px; /* Set minimum width */
    }
    
    .logo-text {
        font-size: 10px;
    }
    
    .logo-subtitle {
        font-size: 10px; /* Same as logo-text */
    }
    
    .logo-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
        flex-shrink: 0; /* Предотвратить сжатие */
        aspect-ratio: 1; /* Поддерживать соотношение сторон 1:1 */
    }
    
    .logo {
        gap: 4px;
        font-size: 18px;
    }
    
    .nav-container {
        gap: 0.25rem;
    }

    .breadcrumbs {
        font-size: 11px;
        gap: 6px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    /* Hero ultra-mobile */
    .hero-content {
        padding-top: 120px;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

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

    .hero-buttons .btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .hero-image {
        height: 200px;
    }

    /* Sections spacing */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        margin-bottom: 0.75rem;
    }

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

    /* Cards ultra-mobile */
    .feature-card,
    .game-card,
    .bonus-card,
    .trust-item,
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    /* Carousel ultra-mobile */
    .carousel-container {
        padding: 1rem 0;
        overflow: hidden;
    }
    
    .carousel-track {
        gap: 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-dots {
        gap: 0.4rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    .user-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .testimonial-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .feature-icon,
    .bonus-icon,
    .trust-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .trust-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .trust-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .game-image {
        height: 140px;
    }

    .game-placeholder {
        font-size: 2.5rem;
    }

    .bonus-amount {
        font-size: 2.2rem;
    }
    
    /* Bonus Cards ultra-mobile */
    .bonus-card {
        min-height: 350px;
    }
    
    /* Bonus badge mobile optimization */
    .bonus-badge {
        font-size: 0.65rem;
        padding: 1px 10px;
        top: -6px;
    }

    /* Buttons ultra-mobile */
    .btn {
        padding: 12px 20px;
        font-size: 13px;
        min-height: 44px; /* Touch-friendly */
    }

    .btn-large {
        padding: 16px 24px;
        font-size: 14px;
    }

    .btn-xl {
        padding: 18px 28px;
        font-size: 16px;
    }

    /* Modal ultra-mobile */
    .modal-content {
        margin: 16px;
        width: calc(100% - 32px);
        border-radius: 12px;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 0;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .modal-body {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .modal-footer {
        padding: 0 1.5rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }

    /* Navigation ultra-mobile */
    .nav-menu {
        width: 100%;
        right: -100%;
        padding: 4rem 1.25rem 1.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .auth-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
        font-size: 12px;
        min-height: 36px;
    }

    /* Footer ultra-mobile */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .footer-licenses {
        flex-direction: column;
        gap: 0.75rem;
    }

    .license-item {
        font-size: 0.8rem;
        justify-content: center;
    }

    .footer-copyright {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    /* Cookie ultra-mobile */
    .cookie-content {
        padding: 1.25rem;
    }

    .cookie-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .cookie-text i {
        font-size: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
    }

    .section-title {
        font-size: clamp(1.4rem, 10vw, 2rem);
    }

    .logo {
        font-size: 16px;
    }

    .logo-text {
        font-size: 18px;
    }

    .bonus-amount {
        font-size: 2rem;
    }
    
    .bonus-badge {
        font-size: 0.6rem;
        padding: 1px 8px;
        top: -5px;
    }

    .modal-content {
        margin: 12px;
        width: calc(100% - 24px);
    }

    .nav-menu {
        padding: 3.5rem 1rem 1.5rem;
    }

    .cookie-content {
        padding: 1rem;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 40px rgba(0, 229, 255, 0.7), 0 0 60px rgba(61, 90, 254, 0.3);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.glow:hover {
    animation: pulse 2s infinite;
}

.highlight {
    background: linear-gradient(90deg, #00E5FF, #E91E63, #7C4DFF, #00E5FF);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Touch-friendly button sizes */
    .btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 24px;
        justify-content: center; /* Ensure centered text on touch devices */
    }\n\n    .btn-large {\n        min-height: 50px;\n        padding: 16px 32px;\n    }\n\n    .btn-xl {\n        min-height: 56px;\n        padding: 20px 40px;\n    }\n\n    /* Remove hover effects on touch devices */\n    .btn:hover,\n    .nav-link:hover,\n    .game-card:hover,\n    .feature-card:hover,\n    .bonus-card:hover,\n    .trust-item:hover,\n    .testimonial-card:hover {\n        transform: none;\n        box-shadow: inherit;\n    }\n\n    /* Touch-friendly interactive elements */\n    .nav-link {\n        min-height: 44px;\n        display: flex;\n        align-items: center;\n    }\n\n    .social-links a {\n        min-width: 44px;\n        min-height: 44px;\n    }\n\n    .mobile-toggle {\n        min-width: 44px;\n        min-height: 44px;\n    }\n\n    /* Increase touch targets */\n    .game-overlay .btn {\n        padding: 14px 28px;\n        font-size: 16px;\n    }\n\n    /* Touch scroll optimization */\n    .nav-menu {\n        -webkit-overflow-scrolling: touch;\n        overflow-scrolling: touch;\n    }\n}\n\n/* Accessibility */\n@media (prefers-reduced-motion: reduce) {\n    * {\n        animation-duration: 0.01ms !important;\n        animation-iteration-count: 1 !important;\n        transition-duration: 0.01ms !important;\n    }\n}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .modal,
    .cookie-notice,
    .header {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}