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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #0a1428 0%, #1a2332 50%, #0a1428 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(10, 20, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(56, 168, 250, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.flag {
    height: 24px;
    width: 36px;
    border-radius: 4px;
}

.nav {
    display: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: #38a8fa;
}

.header-actions {
    display: none;
    gap: 15px;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: block;
}

.mobile-nav {
    display: none;
    background: rgba(10, 20, 40, 0.98);
    padding: 20px;
    border-top: 1px solid rgba(56, 168, 250, 0.2);
}

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

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.mobile-nav-link:hover {
    color: #38a8fa;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0167ca 0%, #38a8fa 100%);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 168, 250, 0.3);
}

.btn-outline {
    border: 2px solid #38a8fa;
    color: #38a8fa;
    background: transparent;
}

.btn-outline:hover {
    background: #38a8fa;
    color: #ffffff;
}

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

/* Hero Section with Background Image */
.hero {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    /* BACKGROUND IMAGE: Ви можете додати фонове зображення до самої секції hero, якщо хочете,
       або залишити градієнт фону body. Закоментуйте/розкоментуйте, якщо потрібно. */
    /* background: url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/1win%20Aviator-WYNGz6f9nSwWLOKx8Eaf8ACqLkNcM0.webp') no-repeat center center/cover;
    background-size: cover;
    position: relative;
    z-index: 1; */
}

/* Якщо ви вирішите використовувати фонове зображення для hero, додайте накладення */
/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 20, 40, 0.7); 
    z-index: 0;
} */


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center; /* Залишаємо для мобільних */
    display: flex; /* Додаємо flexbox */
    flex-direction: column; /* За замовчуванням стовпець для мобільних */
    align-items: center;
    gap: 40px; /* Відстань між текстом та зображенням */
}

/* Ми прибираємо hero-image-bg, оскільки основне зображення тепер буде сидіти поруч з текстом */
/* .hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: blur(1px);
} */

.hero-text {
    max-width: 600px; /* Обмежте ширину тексту для кращого вигляду */
}

.hero-title {
    font-size: 38px; /* Трохи збільшимо для кращого ефекту */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #38a8fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #b8c5d1;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Новий контейнер для зображення */
.hero-image-container {
    width: 100%; /* Займає всю ширину на мобільних */
    max-width: 600px; /* Обмеження ширини зображення */
    text-align: center;
}

.hero-main-img {
    width: 100%;
    height: auto;
    border-radius: 16px; /* Заокруглені кути для зображення */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Більш помітна тінь */
}

/* Responsive Design для Hero Section */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row; /* На десктопах - ряд */
        text-align: left; /* Текст ліворуч */
        justify-content: space-between; /* Рознести елементи */
        align-items: center; /* Вирівнювання по центру вертикально */
        padding: 40px 0; /* Додамо відступ всередині контейнера hero-content */
    }

    .hero-text {
        flex: 1; /* Займе доступний простір */
        padding-right: 40px; /* Відступ між текстом та зображенням */
    }

    .hero-image-container {
        flex-shrink: 0; /* Зображення не буде стискатися */
        max-width: 50%; /* Зображення займе до 50% ширини */
        padding-left: 20px; /* Відступ від тексту */
    }

    .hero-title {
        font-size: 48px; /* Збільшуємо розмір шрифту на великих екранах */
    }

    .hero-actions {
        flex-direction: row; /* Кнопки в ряд */
        justify-content: flex-start; /* Вирівнювання кнопок ліворуч */
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: #b8c5d1;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Registration Steps */
.registration-steps {
    background: rgba(255, 255, 255, 0.02);
}

.steps-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(56, 168, 250, 0.2);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-icon {
    background: linear-gradient(135deg, #0167ca 0%, #38a8fa 100%);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.step-content p {
    color: #b8c5d1;
    line-height: 1.6;
}

.registration-process {
    background: rgba(56, 168, 250, 0.1);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid #38a8fa;
}

.registration-process h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.process-steps {
    display: grid;
    gap: 15px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #b8c5d1;
}

.step-number {
    background: #38a8fa;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Bonuses Section with Integrated Image */
.bonus-content-with-image {
    display: grid;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

.bonus-features {
    display: grid;
    gap: 30px;
}

.bonus-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.bonus-icon {
    background: rgba(56, 168, 250, 0.2);
    color: #38a8fa;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.bonus-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffffff;
}

.bonus-text p {
    color: #b8c5d1;
    line-height: 1.6;
}

.bonus-image-container {
    position: relative;
    text-align: center;
}

.bonus-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bonus-highlight {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0167ca 0%, #38a8fa 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(56, 168, 250, 0.3);
}

.bonus-table-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(56, 168, 250, 0.2);
}

.bonus-table-container h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.table-responsive {
    overflow-x: auto;
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.bonus-table th,
.bonus-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-table th {
    background: rgba(56, 168, 250, 0.2);
    color: #ffffff;
    font-weight: 600;
}

.bonus-table td {
    color: #b8c5d1;
}

/* Games Section */
.games {
    background: rgba(255, 255, 255, 0.02);
}

.games-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}

.game-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(56, 168, 250, 0.2);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.game-icon {
    background: linear-gradient(135deg, #0167ca 0%, #38a8fa 100%);
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.game-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.game-content p {
    color: #b8c5d1;
    margin-bottom: 20px;
    line-height: 1.6;
}

.popular-games {
    text-align: center;
}

.popular-games h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.game-tag {
    background: rgba(56, 168, 250, 0.2);
    color: #38a8fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 6px;
}

/* Mobile App Section with Integrated Image */
.mobile-app {
    background: rgba(255, 255, 255, 0.02);
}

.app-content-integrated {
    display: grid;
    gap: 40px;
    align-items: center;
}

.app-text-content {
    order: 1;
}

.app-intro {
    font-size: 16px;
    color: #b8c5d1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.app-features-inline {
    margin: 30px 0;
}

.app-feature-inline {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.app-feature-inline i {
    font-size: 24px;
    color: #38a8fa;
    margin-top: 5px;
    min-width: 30px;
}

.feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.feature-content p {
    color: #b8c5d1;
    line-height: 1.6;
}

.app-download {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-image-integrated {
    position: relative;
    text-align: center;
    order: 2;
}

.app-img-integrated {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-overlay-text {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(56, 168, 250, 0.9);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* Payment Methods */
.payment-features {
    display: grid;
    gap: 40px;
}

.payment-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.payment-icon {
    background: rgba(56, 168, 250, 0.2);
    color: #38a8fa;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.payment-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.payment-content p {
    color: #b8c5d1;
    line-height: 1.6;
    margin-bottom: 15px;
}

.payment-methods,
.processing-times,
.security-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.payment-method,
.time-item,
.security-item {
    background: rgba(56, 168, 250, 0.1);
    color: #38a8fa;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Promo Section with Background Image */
.promo-section {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
}

.promo-content-integrated {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

.promo-text-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    background: rgba(10, 20, 40, 0.8);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 168, 250, 0.3);
}

.promo-text-overlay h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.promo-text-overlay p {
    font-size: 16px;
    color: #b8c5d1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.promo-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #38a8fa;
    font-weight: 600;
}

.stat-item i {
    font-size: 24px;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(56, 168, 250, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.faq-question i {
    color: #38a8fa;
    font-size: 18px;
}

.faq-question h3 {
    font-size: 18px;
    color: #38a8fa;
}

.faq-item p {
    color: #b8c5d1;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgba(1, 103, 202, 0.2) 0%, rgba(56, 168, 250, 0.2) 100%);
    text-align: center;
}

.cta-icon {
    font-size: 48px;
    color: #38a8fa;
    margin-bottom: 20px;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-content p {
    font-size: 18px;
    color: #b8c5d1;
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Footer */
.footer {
    background: rgba(10, 20, 40, 0.8);
    border-top: 1px solid rgba(56, 168, 250, 0.2);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #b8c5d1;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: #38a8fa;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
}

.footer-section p {
    color: #b8c5d1;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #b8c5d1;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #38a8fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8c5d1;
    font-size: 14px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .header-actions {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-actions {
        flex-direction: row;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .bonus-content-with-image {
        grid-template-columns: 1fr 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .app-content-integrated {
        grid-template-columns: 1fr 1fr;
    }
    
    .app-text-content {
        order: 1;
    }
    
    .app-image-integrated {
        order: 2;
    }
    
    .app-download {
        flex-direction: row;
    }
    
    .payment-features {
        grid-template-columns: 1fr;
    }
    
    .promo-stats {
        gap: 50px;
    }
    
    .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

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

.step-card,
.bonus-feature,
.game-category,
.faq-item,
.payment-feature {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.mobile-nav-link:focus {
    outline: 2px solid #38a8fa;
    outline-offset: 2px;
}

/* Loading states */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

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