/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --casino-primary: #6366f1;
    --casino-secondary: #8b5cf6;
    --gold-accent: #fbbf24;
    --gold-dark: #f59e0b;
    --text-dark: #e5e7eb;
    --text-light: #9ca3af;
    --bg-light: #1f2937;
    --bg-white: #111827;
    --bg-card: #1f2937;
    --border-color: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-container img {
    height: 40px;
    width: auto;
}

.logo-container .site-name {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--casino-primary);
}

@media (max-width: 480px) {
    .logo-container .site-name {
        font-size: 1.125rem;
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 1024px) {
    nav ul {
        gap: 1.5rem;
    }
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a:hover {
    color: var(--casino-primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--casino-primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--casino-primary), var(--casino-secondary));
    color: white;
    padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--casino-primary);
    padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid var(--casino-primary);
    transition: all 0.3s ease;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.btn-outline:hover {
    background: var(--casino-primary);
    color: white;
}

.btn-secondary {
    display: inline-block;
    background: var(--gold-accent);
    color: var(--text-dark);
    padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.btn-secondary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    height: 100vh;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
        min-height: 70vh;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/49681b6ca7f88f4dfa230a393a4aa283fe8bea32.svg");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background: var(--gold-accent);
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--gold-accent);
    display: block;
}

.hero-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--bg-card);
    color: var(--gold-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

/* Cards */
.casino-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.casino-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--casino-primary);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}



/* Адаптив для card-grid */
@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

}

@media (max-width: 480px) {
    .card-grid {
        gap: 1rem;
    }
}

/* Package Cards */
.package-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold-accent);
    color: #111827;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.package-price {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--casino-primary);
    margin: 1rem 0;
}

.package-features {
    list-style: none;
    margin: 1.5rem 0;
}

.package-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.package-features li::before {
    content: '✓';
    color: var(--casino-primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Адаптив для gallery-grid */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 0.75rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: clamp(1rem, 3vw, 1.5rem);
    color: white;
}

@media (max-width: 480px) {
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
    }
    
    .gallery-overlay p {
        font-size: 0.75rem;
    }
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--casino-primary), var(--gold-accent), var(--casino-primary));
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

.timeline-number {
    position: absolute;
    left: 8px;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--casino-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.timeline-content {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-card);
    color: var(--text-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--casino-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Booking Steps */
.booking-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.booking-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border-radius: 2rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.booking-step.active {
    background: var(--casino-primary);
    color: white;
}

.booking-step.completed {
    background: var(--gold-accent);
    color: #111827;
}

/* Footer */
footer {
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Адаптив для footer-content */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.footer-section h4 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gold-accent), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.inline-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-light);
}

.split-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.split-grid-2-wide {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .split-grid-2-wide {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .split-grid-2-wide {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .split-grid-2-wide {
        gap: 1rem;
    }
}

.responsive-auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.responsive-auto-grid-tight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .form-grid-2 {
        gap: 1rem;
    }
}

.time-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

/* Дополнительные классы для грид сеток */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-2-col-asymmetric {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.grid-2-col-reverse {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-auto-fit-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Адаптив для дополнительных классов */
@media (max-width: 1024px) {
    .grid-2-col-asymmetric,
    .grid-2-col-reverse {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .grid-auto-fit {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .split-grid-2,
    .split-grid-2-wide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .grid-2-col-asymmetric,
    .grid-2-col-reverse {
        gap: 1.5rem;
    }

    .grid-auto-fit,
    .grid-auto-fit-small {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .split-grid-2,
    .split-grid-2-wide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .inline-meta {
        justify-content: center;
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        max-width: 720px;
        margin: 0 auto;
    }

    .hero-cta a {
        width: 100%;
    }

    .desktop-only {
        display: none !important;
    }
}

/* Дополнительные адаптивные правила */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Адаптивность для таблиц и списков */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Адаптивность для изображений */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Адаптивность для форм */
@media (max-width: 480px) {
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
}

/* Адаптивность для текста */
@media (max-width: 768px) {
    p {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }
}

@media (max-width: 480px) {
    p {
        font-size: 0.875rem;
    }
}

/* Адаптивные классы для inline стилей */
@media (max-width: 1024px) {
    [style*="grid-template-columns: 2fr 1fr"],
    [style*="grid-template-columns: 1fr 2fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    [style*="max-width: 600px"],
    [style*="max-width: 700px"],
    [style*="max-width: 800px"] {
        max-width: 100% !important;
        padding: 0 1rem;
    }

    [style*="display: grid"][style*="grid-template-columns: 2fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="display: flex"][style*="gap: 1.5rem"] {
        flex-direction: column;
        gap: 1rem !important;
    }
}

@media (max-width: 480px) {
    [style*="font-size: 1.25rem"],
    [style*="font-size: 2rem"] {
        font-size: clamp(1rem, 4vw, 1.25rem) !important;
    }

    [style*="padding: 1.5rem"],
    [style*="padding: 2rem"],
    [style*="padding: 3rem"] {
        padding: 1rem !important;
    }

    [style*="margin-bottom: 3rem"],
    [style*="margin-top: 3rem"],
    [style*="margin-top: 4rem"] {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}

/* Адаптивность для специфических элементов */
@media (max-width: 768px) {
    .hero-content p {
        font-size: 1rem !important;
        max-width: 100% !important;
    }

    .section-header p {
        font-size: 1rem !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .hero-content p {
        font-size: 0.875rem !important;
    }

    .section-header p {
        font-size: 0.875rem !important;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }
}

/* Адаптивность для SVG иконок */
@media (max-width: 768px) {
    svg {
        max-width: 100%;
        height: auto;
    }
}

/* Адаптивность для таблиц */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.5rem !important;
    }
}

/* Адаптивность для списков */
@media (max-width: 480px) {
    ul, ol {
        padding-left: 1.25rem;
    }
}

/* Улучшение touch-целей для мобильных */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Адаптивность для overflow элементов */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }

    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
}

/* Адаптивность для scroll-to-top кнопки */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--casino-primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

#scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    #scroll-to-top {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    #scroll-to-top {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1rem;
        bottom: 1rem;
        right: 1rem;
    }
}

/* Адаптивность для flex контейнеров */
@media (max-width: 768px) {
    [style*="display: flex"][style*="gap: 2rem"],
    [style*="display: flex"][style*="gap: 3rem"] {
        flex-direction: column;
        gap: 1rem !important;
    }

    [style*="display: grid"][style*="grid-template-columns: 1fr 1fr"],
    [style*="display: grid"][style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* Адаптивность для текстовых блоков */
@media (max-width: 768px) {
    [style*="max-width: 500px"],
    [style*="max-width: 600px"],
    [style*="max-width: 700px"],
    [style*="max-width: 800px"],
    [style*="max-width: 900px"] {
        max-width: 100% !important;
    }
}

/* Адаптивность для отступов */
@media (max-width: 480px) {
    [style*="gap: 1.5rem"],
    [style*="gap: 2rem"],
    [style*="gap: 3rem"] {
        gap: 1rem !important;
    }
}

/* Предотвращение горизонтального скролла */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Адаптивность для всех секций */
@media (max-width: 768px) {
    section {
        overflow-x: hidden;
    }
}

/* Адаптивность для hero секции */
@media (max-width: 1024px) {
    .hero {
        min-height: 80vh;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }

    .hero-content {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 1.5rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

/* Адаптивность для карточек с иконками */
@media (max-width: 768px) {
    [style*="width: 64px"][style*="height: 64px"],
    [style*="width: 48px"][style*="height: 48px"] {
        width: 48px !important;
        height: 48px !important;
    }
}

@media (max-width: 480px) {
    [style*="width: 64px"][style*="height: 64px"],
    [style*="width: 48px"][style*="height: 48px"] {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Адаптивность для статистики */
@media (max-width: 480px) {
    .hero-stat-value {
        font-size: 1.5rem;
    }

    .hero-stat-label {
        font-size: 0.75rem;
    }
}

/* Адаптивность для badge элементов */
@media (max-width: 480px) {
    .hero-badge,
    .section-badge,
    .package-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }
}

/* Адаптивность для форм на мобильных */
@media (max-width: 480px) {
    .form-group {
        margin-bottom: 1rem;
    }

    .form-label {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }
}

/* Адаптивность для footer */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        text-align: left;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}

/* Адаптивность для timeline */
@media (max-width: 480px) {
    .timeline-content {
        padding: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.125rem;
    }

    .timeline-content p {
        font-size: 0.875rem;
    }
}

/* Улучшение читаемости на маленьких экранах */
@media (max-width: 480px) {
    body {
        font-size: 0.9375rem;
    }

    .casino-card p {
        font-size: 0.875rem;
    }
}

/* Специальные адаптивные правила для card-grid с inline стилями */
.card-grid[style*="grid-template-columns: 2fr 1fr"] {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 1024px) {
    .card-grid[style*="grid-template-columns: 2fr 1fr"] {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .card-grid[style*="grid-template-columns: 2fr 1fr"] {
        gap: 1rem;
    }
}

/* Адаптивность для flex контейнеров с gap */
@media (max-width: 768px) {
    [style*="display: flex"][style*="gap: 1.5rem"] {
        flex-wrap: wrap;
    }
}

/* Адаптивность для элементов с фиксированной шириной в inline стилях */
@media (max-width: 768px) {
    [style*="width: fit-content"],
    [style*="width: 100%"] {
        width: 100% !important;
    }
}

/* Адаптивность для SVG в inline стилях */
@media (max-width: 480px) {
    svg[style*="width: 32px"],
    svg[style*="height: 32px"] {
        width: 24px !important;
        height: 24px !important;
    }
}

/* Адаптивность для текста в inline стилях */
@media (max-width: 480px) {
    [style*="font-size: 1.125rem"],
    [style*="font-size: 1.25rem"] {
        font-size: 1rem !important;
    }

    [style*="font-size: 0.875rem"] {
        font-size: 0.8125rem !important;
    }
}

/* Адаптивность для элементов с max-width в inline стилях */
@media (max-width: 768px) {
    [style*="max-width: 1000px"],
    [style*="max-width: 1200px"] {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Адаптивность для margin в inline стилях */
@media (max-width: 768px) {
    [style*="margin: 4rem 0"],
    [style*="margin: 3rem 0"] {
        margin: 2rem 0 !important;
    }

    [style*="margin-bottom: 4rem"],
    [style*="margin-top: 4rem"] {
        margin-bottom: 2rem !important;
        margin-top: 2rem !important;
    }
}

/* Адаптивность для padding в inline стилях */
@media (max-width: 768px) {
    [style*="padding: 3rem"] {
        padding: 2rem !important;
    }
}

@media (max-width: 480px) {
    [style*="padding: 3rem"],
    [style*="padding: 2rem"] {
        padding: 1.5rem !important;
    }
}

/* Адаптивность для align-items в inline стилях */
@media (max-width: 768px) {
    [style*="align-items: start"] {
        align-items: stretch !important;
    }
}

/* Адаптивность для gap в inline стилях */
@media (max-width: 768px) {
    [style*="gap: 3rem"] {
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    [style*="gap: 2rem"],
    [style*="gap: 3rem"] {
        gap: 1rem !important;
    }
}

/* Адаптивность для flex-shrink в inline стилях */
@media (max-width: 768px) {
    [style*="flex-shrink: 0"] {
        flex-shrink: 1 !important;
    }
}

/* Общие правила для улучшения адаптивности */
* {
    box-sizing: border-box;
}

@media (max-width: 768px) {
    /* Улучшение touch-целей */
    button, a.btn-primary, a.btn-outline, a.btn-secondary {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }

    /* Улучшение читаемости */
    .section-header {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    /* Минимальные размеры для touch */
    button, a.btn-primary, a.btn-outline, a.btn-secondary {
        min-height: 44px;
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }

    /* Улучшение отступов */
    .section-header {
        margin-bottom: 1.5rem;
    }

    /* Улучшение для карточек */
    .casino-card {
        margin-bottom: 1rem;
    }
}

/* Дополнительные улучшения для очень маленьких экранов */
@media (max-width: 360px) {
    .container,
    .container-custom {
        padding: 0 0.5rem;
    }

    .casino-card {
        padding: 1rem;
    }

    .btn-primary,
    .btn-outline,
    .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    h3 {
        font-size: 1.125rem;
    }
}

/* Улучшение для landscape ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 2rem 0;
    }
}

/* Адаптивность для печати */
@media print {
    header,
    footer,
    .mobile-menu-toggle,
    .btn-primary,
    .btn-outline,
    .btn-secondary {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .casino-card {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

@media (max-width: 480px) {
    .grid-2-col,
    .grid-2-col-asymmetric,
    .grid-2-col-reverse {
        gap: 1rem;
    }

    .grid-auto-fit,
    .grid-auto-fit-small {
        gap: 1rem;
    }

    .time-slot-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        width: 100%;
    }

    .logo-container img {
        height: 32px;
    }

    header {
        padding: 0.75rem 0;
    }

    .footer-content {
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.25rem;
    }

    .container-custom {
        padding: 0 1.25rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-padding {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-color);
        gap: 0.5rem;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 0.75rem;
        width: 100%;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta a {
        width: 100%;
    }

    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }

    .hero-stat {
        flex: 1;
        min-width: 100px;
    }

    .timeline::before {
        left: 1.5rem;
    }

    .timeline-item {
        padding-left: 4rem;
    }

    .timeline-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .container-custom {
        padding: 0 1rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .casino-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .container-custom {
        padding: 0 0.75rem;
    }

    section {
        padding: 2rem 0;
    }

    .section-padding {
        padding: 2.5rem 0;
    }

    .casino-card {
        padding: 1.25rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-stat {
        width: 100%;
    }

    .timeline::before {
        left: 1rem;
    }

    .timeline-item {
        padding-left: 3.5rem;
    }

    .timeline-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.875rem;
        left: 0;
    }

    .package-price {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-outline,
    .btn-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }
}

