/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --gold-color: #ffc107;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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-light);
    overflow-x: hidden; /* Предотвращает горизонтальную прокрутку */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Улучшение для изображений на мобильных */
@media (max-width: 767px) {
    img {
        width: 100%;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Header Styles */
header {
    background-color: var(--bg-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .logo img {
        height: 40px;
        width: auto;
    }

    .logo-text {
        font-size: 1.5rem;
    }

.logo-text {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-color) 0%, #ffd54f 50%, var(--gold-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-color), transparent);
    opacity: 0.6;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    min-height: 44px; /* Минимальный размер для touch-целей */
    display: flex;
    align-items: center;
}

nav a:hover {
    color: var(--gold-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 4rem 2rem;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 44px; /* Минимальный размер для touch-целей */
}

.btn-primary {
    background-color: var(--gold-color);
    color: var(--text-dark);
    border-color: var(--gold-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--gold-color);
    border-color: var(--gold-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Cards */
.card {
    background-color: var(--text-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-color), var(--accent-color), var(--gold-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 6px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

.casino-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: var(--text-light);
    color: var(--text-dark);
}

.casino-logo {
    width: 120px;
    height: auto;
}

.casino-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.casino-info p {
    color: var(--text-dark);
}

.casino-bonus {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.casino-rating {
    color: var(--gold-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.casino-rating small {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.03) 0%, rgba(233, 69, 96, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    pointer-events: none;
}

.feature-box:hover::after {
    opacity: 1;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold-color);
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
    display: inline-block;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(255, 193, 7, 0.5));
}

.feature-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-box p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--gold-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-color);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

/* Responsible Gambling Section */
.responsible-gambling {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 2rem;
}

.responsible-gambling h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.gambling-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.gambling-logos a {
    display: block;
    transition: transform 0.3s ease;
}

.gambling-logos a:hover {
    transform: scale(1.05);
}

.gambling-logos img {
    width: 120px;
    height: 60px;
    object-fit: contain;
}

.helpline {
    text-align: center;
    margin: 2rem 0;
}

.helpline a {
    color: var(--gold-color);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--gold-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--gold-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Disclaimer */
.disclaimer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

.disclaimer p {
    margin-bottom: 0.5rem;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-primary {
    background-color: var(--gold-color);
    color: var(--text-dark);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Адаптивные утилиты для inline-стилей */
@media (max-width: 1023px) {
    /* Адаптация двухколоночных grid-контейнеров */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Адаптация форм с двумя колонками */
    form > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Адаптация контейнеров с gap */
    div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
        gap: 2rem !important;
    }
}

@media (max-width: 767px) {
    /* Уменьшение отступов для мобильных */
    div[style*="margin-bottom: 4rem"] {
        margin-bottom: 2rem !important;
    }
    
    div[style*="margin-top: 4rem"] {
        margin-top: 2rem !important;
    }
    
    /* Адаптация размеров шрифтов в inline-стилях */
    h1[style*="font-size: 3rem"],
    h1[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }
    
    h2[style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
    }
    
    h3[style*="font-size: 2rem"] {
        font-size: 1.3rem !important;
    }
    
    p[style*="font-size: 1.3rem"] {
        font-size: 1.1rem !important;
    }
    
    p[style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN - Адаптивность для всех устройств
   ============================================ */

/* Большие ноутбуки и десктопы (1400px+) */
@media (min-width: 1400px) {
    .header-container,
    .container,
    .hero-container {
        max-width: 1400px;
    }
    
    .section {
        padding: 5rem 2rem;
    }
    
    .hero {
        padding: 5rem 2rem;
        min-height: 600px;
    }
}

/* Ноутбуки (1024px - 1399px) */
@media (max-width: 1399px) and (min-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .hero-container {
        gap: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section {
        padding: 3.5rem 1.5rem;
    }
}

/* Планшеты (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    nav ul {
        gap: 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero {
        padding: 3rem 1.5rem;
        min-height: 450px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .casino-card {
        flex-direction: row;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .casino-logo {
        width: 100px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Адаптация для двухколоночных секций */
    .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Мобильные устройства (до 767px) */
@media (max-width: 767px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        font-size: 1.8rem;
        padding: 0.5rem;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-dark);
        padding: 1.5rem 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    nav a {
        display: block;
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 2.5rem 1rem;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    /* Sections */
    .section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Cards */
    .card {
        padding: 1.5rem;
    }
    
    .casino-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .casino-logo {
        width: 100px;
        margin: 0 auto;
    }
    
    .casino-info {
        width: 100%;
    }
    
    .casino-info h3 {
        font-size: 1.3rem;
    }
    
    .casino-bonus {
        font-size: 1rem;
    }
    
    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .feature-box {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .feature-box h4 {
        font-size: 1.3rem;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 2rem 1rem;
    }
    
    .contact-form h2 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    /* Gambling Logos */
    .gambling-logos {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .gambling-logos img {
        width: 90px;
        height: 45px;
    }
    
    .responsible-gambling {
        padding: 2.5rem 1rem;
    }
    
    /* Disclaimer */
    .disclaimer {
        padding: 1.5rem 1rem;
    }
    
    .disclaimer h5 {
        font-size: 0.9rem;
    }
    
    .disclaimer p {
        font-size: 0.9rem;
    }
    
    /* Адаптация всех двухколоночных секций */
    .container > div[style*="grid-template-columns: 1fr 1fr"],
    .container > div[style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Адаптация форм с двумя колонками */
    form > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    .hero {
        padding: 2rem 0.75rem;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 2rem 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .card {
        padding: 1.25rem;
    }
    
    .casino-card {
        padding: 1.25rem;
    }
    
    .casino-info h3 {
        font-size: 1.2rem;
    }
    
    .casino-bonus {
        font-size: 0.95rem;
    }
    
    .features-grid {
        gap: 1.25rem;
    }
    
    .feature-box {
        padding: 1.5rem 1.25rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-box h4 {
        font-size: 1.2rem;
    }
    
    .feature-box p {
        font-size: 0.9rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .contact-form {
        padding: 1.5rem 0.75rem;
    }
    
    .contact-form h2 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .gambling-logos {
        gap: 0.75rem;
    }
    
    .gambling-logos img {
        width: 80px;
        height: 40px;
    }
    
    .responsible-gambling {
        padding: 2rem 0.75rem;
    }
    
    .responsible-gambling h2 {
        font-size: 1.5rem;
    }
    
    .helpline a {
        font-size: 1rem;
    }
    
    .footer-container {
        gap: 1.5rem;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .footer-column p,
    .footer-column a {
        font-size: 0.9rem;
    }
    
    .disclaimer {
        padding: 1.25rem 0.75rem;
    }
    
    .disclaimer p {
        font-size: 0.85rem;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .logo-text {
        font-size: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .feature-box {
        padding: 1.25rem 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    visibility: hidden; /* Скрыт по умолчанию, чтобы избежать мигания */
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0s 0.3s;
}

.cookie-popup.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, visibility 0s 0s;
}

.cookie-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-popup-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    min-width: 250px;
}

.cookie-popup-content a {
    color: var(--gold-color);
    text-decoration: underline;
}

.cookie-popup-content a:hover {
    opacity: 0.8;
}

.cookie-popup-content .btn {
    flex-shrink: 0;
    min-width: 120px;
}

@media (max-width: 767px) {
    .cookie-popup {
        padding: 1.25rem 1rem;
    }
    
    .cookie-popup-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-popup-content p {
        font-size: 0.9rem;
    }
    
    .cookie-popup-content .btn {
        width: 100%;
    }
}

