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

:root {
    --primary-color: #4B00B3;
    --primary-dark: #3A008C;
    --primary-light: #6B1FDB;
    --secondary-color: #8B5CF6;
    --accent-color: #FCD34D;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --font-sans: 'Inter', 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Мобильная центровка футера */
@media (max-width: 640px) {
    .footer { text-align: center; }

    .footer-grid {
        display: grid;                 /* если уже grid/flex — ок */
        grid-template-columns: 1fr;    /* одна колонка */
        gap: 20px;
        justify-items: center;         /* центрируем содержимое колонок */
        align-items: center;
    }

    .footer-column { width: 100%; }

    .footer-logo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-inline: auto;
    }

    .footer-description {
        margin: 8px auto 0;
        max-width: 28rem;
    }


    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }


    .age-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-inline: auto;
    }

    .footer-logos { margin-top: 24px; }
    .logos-title { margin-bottom: 12px; }

    .logos-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(72px, 1fr));
        gap: 12px 16px;
        justify-content: center;
        align-items: center;
        justify-items: center;
    }

    .org-logo-img {
        max-width: 100px;
        height: auto;
        display: block;
    }

    .footer-bottom p {
        margin: 16px 0 0;
    }
}


.logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-text {
    font-weight: 600;
}


.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.desktop-nav {
    display: none;
}

.desktop-nav .nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-nav {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav .nav-link {
    display: block;
    padding: 0.75rem 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.mobile-nav .nav-link:hover {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B1FDB 50%, #8B00B3 100%);
    color: white;
    padding: 5rem 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    font-size: 0.875rem;
}

.badge-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.hero-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.875rem;
}

.warning-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.factors-section,
.tips-section {
    background-color: var(--bg-light);
}

/* Casino Card */
.casino-cards {
    max-width: 72rem;
    margin: 0 auto;
}

.casino-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: grid;
    gap: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.casino-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.casino-logo-section {
    text-align: center;
}

.casino-logo {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B1FDB 50%, #8B00B3 100%);
    border-radius: 8px;
    padding: 2rem;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.casino-logo-img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.casino-rating {
    margin-bottom: 0.5rem;
}

.star {
    color: var(--accent-color);
    font-size: 1rem;
}

.casino-evaluations {
    font-size: 0.875rem;
    color: var(--text-light);
}

.casino-info {
    flex: 1;
}

.casino-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.casino-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bonus-badge {
    background: var(--bg-light);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.score-badge {
    background: var(--success-color);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
}

.casino-advantages {
    list-style: none;
    margin: 0;
}

.casino-advantages li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.casino-advantages li::before {
    content: '✓ ';
    color: var(--primary-color);
    font-weight: bold;
}

.casino-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: #059669;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-color);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--bg-light);
}

.btn-icon {
    width: 16px;
    height: 16px;
    margin-right: 0.5rem;
}

/* Factors Grid */
.factors-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.factor-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.factor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.factor-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(75, 0, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.factor-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.factor-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.factor-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Tips Container */
.tips-container {
    max-width: 56rem;
    margin: 0 auto;
}

.tip-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.tip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tip-number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, #F59E0B 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.tip-content {
    flex: 1;
}

.tip-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tip-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B1FDB 50%, #8B00B3 100%);
    color: white;
    padding: 4rem 0;
}

.disclaimer-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.disclaimer-text {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.warning-box {
    background: var(--accent-color);
    color: var(--text-dark);
    border-radius: 8px;
    padding: 1.5rem;
    border: 2px solid #F59E0B;
    display: flex;
    gap: 0.75rem;
    text-align: left;
}

.warning-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.warning-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.warning-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #111827;
    color: #9CA3AF;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {
    
}

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

.footer-logo .logo-text {
    color: white;
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.age-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.age-icon {
    width: 48px;
    height: 48px;
    background: #DC2626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-logos {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.logos-title {
    color: white;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.org-logo-link {
    display: inline-block;
    transition: opacity 0.3s;
}

.org-logo-link:hover {
    opacity: 0.8;
}

.org-logo-img {
    height: 48px;
    object-fit: contain;
    background: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #6B7280;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .desktop-nav {
        display: block;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.25rem;
    }
    
    .casino-card {
        grid-template-columns: 256px 1fr auto;
    }
    
    .casino-cta {
        width: 192px;
        justify-content: center;
    }
    
    .factors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .factors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Legal Pages Styles */
.legal-page {
    padding: 4rem 0;
}

.legal-content {
    max-width: 56rem;
    margin: 0 auto;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.legal-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-updated {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

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

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

