/* ===================================================================
   👑 ROYAL ELEGANCE - Роскошный Премиум Стиль
   CSS Architecture: Flexbox + Transform
   Цветовая палитра: Золото + Бордо + Кремовый + Черный
   =================================================================== */

/* ===================================================================
   🎨 CSS ПЕРЕМЕННЫЕ - РОСКОШНАЯ ПАЛИТРА
   =================================================================== */

:root {
    /* Роскошные цвета */
    --luxury-gold: #D4AF37;
    --luxury-dark-gold: #B8860B;
    --luxury-burgundy: #800020;
    --luxury-dark-burgundy: #5D0016;
    --luxury-cream: #FFF8DC;
    --luxury-ivory: #FFFFF0;
    --luxury-black: #1C1C1C;
    --luxury-charcoal: #36454F;
    --luxury-silver: #C0C0C0;
    --luxury-white: #FFFFFF;
    
    /* Роскошные градиенты */
    --royal-gradient: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-dark-gold) 50%, var(--luxury-burgundy) 100%);
    --elegant-gradient: linear-gradient(135deg, var(--luxury-cream) 0%, var(--luxury-ivory) 50%, var(--luxury-gold) 100%);
    --premium-gradient: linear-gradient(135deg, var(--luxury-burgundy) 0%, var(--luxury-dark-burgundy) 50%, var(--luxury-black) 100%);
    --noble-gradient: linear-gradient(135deg, var(--luxury-gold) 0%, var(--luxury-silver) 100%);
    
    /* Роскошные эффекты */
    --gold-glow: 0 0 30px rgba(212, 175, 55, 0.6);
    --burgundy-glow: 0 0 25px rgba(128, 0, 32, 0.5);
    --royal-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    --elegant-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
    --premium-shadow: 0 6px 25px rgba(128, 0, 32, 0.4);
    
    /* Размеры и отступы */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1rem;
    --spacing-xxl: 1rem;
    
    /* Роскошная типографика */
    --font-royal: 'Playfair Display', serif;
    --font-elegant: 'Crimson Text', serif;
    --font-premium: 'Lora', serif;
    
    /* Радиусы и переходы */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s ease;
    --transition-elegant: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===================================================================
   🌟 БАЗОВЫЕ СТИЛИ И СБРОС
   =================================================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    max-width: 100% !important;
}

body {
    font-family: var(--font-elegant);
    line-height: 1.7;
    color: var(--luxury-black);
    background: var(--elegant-gradient);
    overflow-x: hidden !important;
    max-width: 100% !important;
    word-wrap: break-word;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/05_Luxury_Palace_Interior.png') center/cover;
    opacity: 0.08;
    z-index: -1000;
    pointer-events: none;
}

/* ===================================================================
   🏗️ FLEXBOX СИСТЕМА И ТРАНСФОРМАЦИИ
   =================================================================== */

.flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    box-sizing: border-box;
}

.flex-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.flex-column {
    flex-direction: column;
    gap: var(--spacing-md);
}

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

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

.flex-around {
    justify-content: space-around;
    align-items: center;
}

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

.transform-hover:hover {
    transform: translateY(-8px) scale(1.03);
}

/* ===================================================================
   👑 HEADER - РОСКОШНАЯ НАВИГАЦИЯ
   =================================================================== */

.header {
    background: var(--premium-gradient);
    backdrop-filter: blur(15px);
    border-bottom: 4px solid var(--luxury-gold);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--royal-shadow);
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    min-height: 85px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-royal);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--luxury-gold);
    text-decoration: none;
    text-shadow: var(--gold-glow);
    transition: var(--transition-elegant);
    white-space: nowrap;
    letter-spacing: 2px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--noble-gradient);
    border-radius: 2px;
    transform: scaleX(0);
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05) translateY(-3px);
    text-shadow: var(--gold-glow), var(--burgundy-glow);
    color: var(--luxury-cream);
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav a {
    color: var(--luxury-cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition-elegant);
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
    white-space: nowrap;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--royal-gradient);
    transition: var(--transition);
    z-index: -1;
}

.nav a:hover::before {
    left: 0;
}

.nav a:hover {
    color: var(--luxury-white);
    border-color: var(--luxury-gold);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--elegant-shadow);
    font-weight: 700;
}

/* Бургер-меню (скрыт на desktop) */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid var(--luxury-gold);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-elegant);
    z-index: 1600;
    justify-self: end;
    padding: 8px;
}

.burger span {
    width: 100%;
    height: 3px;
    background: var(--luxury-gold);
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: var(--gold-glow);
}

/* ===================================================================
   👑 HERO SECTION - РОСКОШНОЕ ПРИВЕТСТВИЕ
   =================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--elegant-gradient);
    position: relative;
    padding-top: 8rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/05_Luxury_VIP_Chamber.png') center/cover;
    opacity: 0.15;
    z-index: -10;
    animation: royalFloat 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes royalFloat {
    from { transform: scale(1) rotate(0deg); opacity: 0.15; }
    to { transform: scale(1.02) rotate(0.3deg); opacity: 0.2; }
}

.hero-content {
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 50;
    max-width: 1000px;
    padding: var(--spacing-xxl);
    background: rgba(255, 248, 220, 0.95);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--royal-shadow);
    border: 4px solid var(--luxury-gold);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-family: var(--font-royal);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--luxury-burgundy);
    margin-bottom: var(--spacing-md);
    text-shadow: var(--burgundy-glow);
    line-height: 1.1;
    transform: translateY(0);
    transition: var(--transition-elegant);
    letter-spacing: 3px;
}

.hero-title:hover {
    transform: scale(1.02) translateY(-5px);
    text-shadow: var(--burgundy-glow), var(--gold-glow);
}

.hero-subtitle {
    font-family: var(--font-premium);
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    color: var(--luxury-charcoal);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    font-weight: 500;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================================================
   🎯 КНОПКИ - РОСКОШНЫЕ ЭЛЕМЕНТЫ
   =================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-royal);
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-elegant);
    cursor: pointer;
    border: 3px solid transparent;
    text-align: center;
    min-width: 220px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 1px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
    z-index: 1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--royal-gradient);
    color: var(--luxury-white);
    border-color: var(--luxury-gold);
    box-shadow: var(--elegant-shadow);
}

.btn-primary:hover {
    background: var(--noble-gradient);
    color: var(--luxury-black);
    border-color: var(--luxury-burgundy);
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--royal-shadow), var(--gold-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--luxury-burgundy);
    border-color: var(--luxury-burgundy);
    box-shadow: 0 5px 15px rgba(128, 0, 32, 0.2);
}

.btn-secondary:hover {
    background: var(--luxury-burgundy);
    color: var(--luxury-cream);
    border-color: var(--luxury-gold);
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--burgundy-glow), var(--premium-shadow);
}

/* ===================================================================
   📊 СЕКЦИИ КОНТЕНТА
   =================================================================== */

.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: visible;
}

.section:nth-child(even) {
    background: rgba(255, 248, 220, 0.3);
}

.section-title {
    font-family: var(--font-royal);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--luxury-burgundy);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    text-shadow: var(--burgundy-glow);
    position: relative;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 6px;
    background: var(--royal-gradient);
    border-radius: 3px;
    box-shadow: var(--gold-glow);
}

.section-subtitle {
    font-family: var(--font-premium);
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    color: var(--luxury-charcoal);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 500;
    font-style: italic;
}

/* ===================================================================
   👑 КАРТОЧКИ БУКМЕКЕРОВ - РОСКОШНЫЙ ДИЗАЙН
   =================================================================== */

.bookmakers-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(128, 0, 32, 0.9) 100%);
    border-radius: var(--border-radius-lg);
    margin: var(--spacing-xl) 0;
    overflow: visible;
    border: 4px solid var(--luxury-gold);
    z-index: auto;
}

.bookmakers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/05_Luxury_Royal_Cards.png') center/cover;
    opacity: 0.08;
    z-index: -10;
    pointer-events: none;
}

.bookmakers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    justify-content: center;
    align-items: stretch;
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 50;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.bookmaker-card {
    background: rgba(255, 248, 220, 1) !important;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--royal-shadow), var(--gold-glow);
    border: 4px solid var(--luxury-gold);
    transition: var(--transition-elegant);
    position: relative;
    overflow: visible;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex: 1;
    min-width: 350px;
    max-width: 500px;
}

.bookmaker-card:hover {
    transform: translateY(-12px) scale(1.03) rotate(0.5deg);
    box-shadow: var(--royal-shadow), var(--elegant-shadow), var(--burgundy-glow);
    border-color: var(--luxury-burgundy);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-md);
}

.card-logo {
    width: 90px;
    height: 70px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition-elegant);
}

.card-logo:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: var(--elegant-shadow);
}

.card-title {
    font-family: var(--font-royal);
    font-size: 2rem;
    font-weight: 700;
    color: var(--luxury-black);
    letter-spacing: 1px;
    flex: 1;
    text-align: center;
}

.card-rating {
    font-family: var(--font-royal);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--luxury-white);
    background: var(--royal-gradient);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50%;
    min-width: 70px;
    text-align: center;
    box-shadow: var(--gold-glow);
    text-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-bonus {
    background: var(--premium-gradient);
    color: var(--luxury-cream);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--premium-shadow);
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: var(--font-royal);
}

.card-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.feature-item {
    padding: var(--spacing-xs) 0;
    color: var(--luxury-black);
    position: relative;
    padding-left: var(--spacing-lg);
    line-height: 1.7;
    font-weight: 600;
}

.feature-item::before {
    content: '👑';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
}

.card-button {
    background: var(--noble-gradient);
    color: var(--luxury-black);
    border: 3px solid var(--luxury-gold);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-elegant);
    width: 100%;
    text-align: center;
    font-family: var(--font-royal);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-decoration: none;
    display: block;
}

.card-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--royal-gradient);
    transition: var(--transition);
    z-index: -1;
}

.card-button:hover::before {
    left: 0;
}

.card-button:hover {
    color: var(--luxury-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--royal-shadow), var(--elegant-shadow);
    border-color: var(--luxury-burgundy);
}

/* ===================================================================
   📈 СТАТИСТИКА - РОСКОШНЫЕ БЛОКИ
   =================================================================== */

.stats-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.9) 0%, rgba(212, 175, 55, 0.9) 100%);
    border-radius: var(--border-radius-lg);
    margin: var(--spacing-xl) 0;
    overflow: visible;
    border: 4px solid var(--luxury-burgundy);
    z-index: auto;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/05_Luxury_VIP_Chamber.png') center/cover;
    opacity: 0.08;
    z-index: -10;
    pointer-events: none;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: stretch;
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 50;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.stat-card {
    background: rgba(255, 248, 220, 1) !important;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--royal-shadow), var(--burgundy-glow);
    border: 4px solid var(--luxury-burgundy);
    transition: var(--transition-elegant);
    position: relative;
    overflow: visible;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: var(--royal-shadow), var(--elegant-shadow), var(--gold-glow);
    border-color: var(--luxury-gold);
}

.stat-number {
    font-family: var(--font-royal);
    font-size: clamp(3rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--luxury-burgundy);
    display: block;
    margin-bottom: var(--spacing-sm);
    text-shadow: var(--burgundy-glow);
}

.stat-label {
    font-family: var(--font-premium);
    font-size: 1.2rem;
    color: var(--luxury-black);
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===================================================================
   📝 КОНТЕНТ БЛОКИ
   =================================================================== */

.about-content {
    background: rgba(255, 248, 220, 0.98) !important;
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--royal-shadow);
    border: 4px solid var(--luxury-gold);
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: visible;
    color: var(--luxury-black);
    z-index: 50;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: url('../images/05_Luxury_Palace_Interior.png') center/cover;
    opacity: 0.08;
    border-radius: 50%;
    transform: translate(80px, -80px);
    z-index: -10;
    pointer-events: none;
}

.about-content h2 {
    color: var(--luxury-burgundy);
    text-shadow: var(--burgundy-glow);
    font-family: var(--font-royal);
    letter-spacing: 2px;
}

.about-content p {
    color: var(--luxury-black);
    line-height: 1.9;
    margin-bottom: 1.8rem;
    font-weight: 500;
}

/* ===================================================================
   ⚠️ DISCLAIMER - РОСКОШНОЕ ПРЕДУПРЕЖДЕНИЕ
   =================================================================== */

.disclaimer-section {
    background: var(--premium-gradient);
    color: var(--luxury-cream);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-top: 4px solid var(--luxury-gold);
    border-bottom: 4px solid var(--luxury-gold);
}

.disclaimer-section h3 {
    font-family: var(--font-royal);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    color: var(--luxury-gold);
    text-shadow: var(--gold-glow);
    letter-spacing: 2px;
}

.disclaimer-section p {
    font-family: var(--font-premium);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
}

.disclaimer-section a {
    color: var(--luxury-gold);
    text-decoration: underline;
    font-weight: 700;
    transition: var(--transition);
}

.disclaimer-section a:hover {
    color: var(--luxury-cream);
    text-shadow: var(--gold-glow);
}

/* ===================================================================
   🦶 FOOTER - РОСКОШНЫЙ ПОДВАЛ
   =================================================================== */

.footer {
    background: var(--luxury-black);
    color: var(--luxury-cream);
    padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
    border-top: 4px solid var(--luxury-gold);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xxl);
    align-items: start;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-nav h3 {
    font-family: var(--font-royal);
    font-size: 2rem;
    color: var(--luxury-gold);
    margin-bottom: var(--spacing-lg);
    text-shadow: var(--gold-glow);
    letter-spacing: 2px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-nav a {
    color: var(--luxury-cream);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid transparent;
    letter-spacing: 1px;
}

.footer-nav a:hover {
    color: var(--luxury-gold);
    border-bottom-color: var(--luxury-gold);
    text-shadow: var(--gold-glow);
    transform: translateX(15px);
}

.footer-logos h3 {
    font-family: var(--font-royal);
    font-size: 2rem;
    color: var(--luxury-gold);
    margin-bottom: var(--spacing-lg);
    text-shadow: var(--gold-glow);
    letter-spacing: 2px;
}

.regulator-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
}

.regulator-logo {
    background: transparent;
    border-radius: var(--border-radius);
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-elegant);
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    min-width: 90px;
}

.regulator-logo:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: var(--luxury-gold);
    box-shadow: var(--gold-glow);
}

.regulator-logo img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
}

/* Специальное увеличение для GamCare */
.regulator-logo img[alt="GamCare"] {
    max-height: 60px;
    transform: scale(1.2);
}

/* Значок 18+ в футере */
.footer-age-badge {
    background: var(--luxury-burgundy);
    color: var(--luxury-gold);
    font-family: var(--font-royal);
    font-weight: 700;
    font-size: 1.2rem;
    padding: var(--spacing-sm);
    border-radius: 50%;
    min-width: 70px;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: none;
    box-shadow: var(--burgundy-glow);
    border: 3px solid var(--luxury-gold);
    transition: var(--transition-elegant);
    letter-spacing: 1px;
    align-self: center;
}

.footer-age-badge:hover {
    transform: scale(1.1) rotate(-8deg);
    box-shadow: var(--burgundy-glow), var(--royal-shadow);
    background: var(--luxury-gold);
    color: var(--luxury-burgundy);
}

/* ===================================================================
   📱 МОБИЛЬНАЯ АДАПТАЦИЯ
   =================================================================== */

@media (max-width: 899px) {
    :root {
        --spacing-xs: 0.4rem;
        --spacing-sm: 0.8rem;
        --spacing-md: 1.2rem;
        --spacing-lg: 1.6rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }

    .flex-container {
        padding: 0 var(--spacing-sm);
    }

    .header-content {
        justify-content: space-between;
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .burger {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        right: 15px !important;
        transform: translateY(-50%) !important;
        z-index: 1600 !important;
        justify-self: end;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: all !important;
        background: rgba(212, 175, 55, 0.4);
        border: 2px solid var(--luxury-gold);
        box-shadow: var(--gold-glow);
    }

    .burger.active {
        background: rgba(128, 0, 32, 0.4) !important;
        border-color: var(--luxury-burgundy) !important;
        box-shadow: var(--burgundy-glow) !important;
    }

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

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

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

    .nav {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        height: 100vh !important;
        background: var(--premium-gradient) !important;
        backdrop-filter: blur(15px) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 0 !important;
        padding: 85px var(--spacing-lg) var(--spacing-lg) !important;
        z-index: 1500 !important;
        border-left: 3px solid var(--luxury-gold) !important;
        box-shadow: var(--royal-shadow) !important;
        transition: var(--transition) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav.active {
        right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }

    .nav a {
        padding: var(--spacing-md) var(--spacing-sm);
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
        margin: 0;
        text-align: left;
        color: var(--luxury-cream) !important;
        font-weight: 600;
        font-size: 1.2rem;
        border-radius: 0;
        background: transparent;
        white-space: nowrap;
        display: block !important;
        z-index: 10 !important;
        justify-self: stretch;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: all !important;
        position: relative !important;
    }

    .nav a:hover {
        background: rgba(212, 175, 55, 0.2);
        color: var(--luxury-gold) !important;
        transform: translateX(15px);
        border-bottom-color: var(--luxury-gold);
    }

    .hero-section {
        padding-top: 12rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .bookmakers-section {
        margin: var(--spacing-lg) 0;
        padding: var(--spacing-xl) 0;
    }

    .bookmakers-grid {
        flex-direction: column;
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-sm);
    }

    .stats-section {
        margin: var(--spacing-lg) 0;
        padding: var(--spacing-xl) 0;
    }

    .stats-grid {
        gap: var(--spacing-md);
        padding: 0 var(--spacing-sm);
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-nav h3 {
        text-align: center;
    }

    .footer-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .regulator-logos {
        justify-content: center;
        gap: var(--spacing-sm);
    }
}

/* ===================================================================
   🖥️ DESKTOP СТИЛИ
   =================================================================== */

@media (min-width: 900px) {
    .burger {
        display: none !important;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        display: flex;
        flex-direction: row;
        gap: var(--spacing-md);
        align-items: center;
        padding: 0;
        border: none;
        box-shadow: none;
        justify-content: flex-end;
    }

    .hero-content {
        max-width: 1100px;
    }

    .bookmakers-section {
        margin: var(--spacing-xxl) 0;
    }

    .bookmakers-grid {
        max-width: 1200px;
        gap: var(--spacing-xxl);
    }

    .stats-section {
        margin: var(--spacing-xxl) 0;
    }

    .stats-grid {
        max-width: 1000px;
    }
}

/* ===================================================================
   ✨ АНИМАЦИИ И ЭФФЕКТЫ
   =================================================================== */

@keyframes royalPulse {
    0%, 100% { box-shadow: var(--gold-glow); }
    50% { box-shadow: var(--burgundy-glow), var(--gold-glow); }
}

@keyframes elegantBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-12px); }
    60% { transform: translateY(-6px); }
}

.floating {
    animation: royalFloat 8s ease-in-out infinite alternate;
}

.pulsing {
    animation: royalPulse 4s ease-in-out infinite;
}

.bouncing {
    animation: elegantBounce 2.5s infinite;
}

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

.text-center { text-align: center; }
.text-gold { color: var(--luxury-gold); }
.text-burgundy { color: var(--luxury-burgundy); }
.text-cream { color: var(--luxury-cream); }
.bg-royal { background: var(--royal-gradient); }
.shadow-royal { box-shadow: var(--royal-shadow); }
.border-gold { border: 4px solid var(--luxury-gold); }

/* ===================================================================
   🎯 Z-INDEX ИЕРАРХИЯ - КРИТИЧНО ДЛЯ ПРАВИЛЬНОГО ОТОБРАЖЕНИЯ
   =================================================================== */

/* Фоновые элементы - глубоко под всем */
body::before {
    z-index: -1000 !important;
}

/* Псевдоэлементы фонов секций - под контентом */
.bookmakers-section::before,
.stats-section::before,
.about-content::before {
    z-index: -10 !important;
    pointer-events: none !important;
}

/* Секции - нейтральный уровень */
.section {
    z-index: auto !important;
}

.bookmakers-section,
.stats-section {
    z-index: auto !important;
    position: relative !important;
}

/* Контейнеры и сетки - выше секций */
.flex-container {
    z-index: 5 !important;
    position: relative !important;
}

.bookmakers-grid,
.stats-grid {
    z-index: 50 !important;
    position: relative !important;
}

/* Карточки и контент - самый высокий контентный уровень */
.bookmaker-card,
.stat-card,
.about-content {
    z-index: 100 !important;
    position: relative !important;
}

/* Навигация - поверх всего */
.header {
    z-index: 1000 !important;
}

.nav {
    z-index: 1500 !important;
}

.burger {
    z-index: 1600 !important;
}

/* Защита от горизонтального скролла */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

* {
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word;
}
