:root {
    --primary-color: #8b5cf6;
    --primary-dark: #7c3aed;
    --primary-light: #a78bfa;
    --secondary-color: #10b981;
    --bg-dark: #0f0f1a;
    --bg-darker: #080810;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --border-color: #2a2a4a;
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --gradient-hero: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(15, 15, 26, 0.9) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
    position: relative;
}

.logo {
    flex-shrink: 0;
    z-index: 1001;
}

.logo-img {
    height: 35px;
    width: auto;
    max-width: 120px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
}

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

.btn-hero {
    padding: 16px 40px;
    font-size: 18px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    width: 100%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* Sections */
.section {
    padding: 80px 0;
    width: 100%;
}

.section-dark {
    background: var(--bg-darker);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
}

/* Content Blocks */
.lead-text {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.quick-guide {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.quick-guide h3 {
    margin-bottom: 20px;
    color: var(--primary-light);
}

.guide-list {
    counter-reset: item;
    list-style: none;
}

.guide-list li {
    counter-increment: item;
    padding: 12px 0 12px 50px;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.guide-list li:last-child {
    border-bottom: none;
}

.guide-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Bonus Section */
.bonus-hero {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 50px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.bonus-main h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.bonus-desc {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.bonus-table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.bonus-table {
    width: 100%;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0;
}

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

.bonus-table th {
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.bonus-table tr:last-child td {
    border-bottom: none;
}

/* Games Section */
.providers-grid {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    margin: 40px 0;
    width: 100%;
}

.providers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.provider-tag {
    background: var(--bg-darker);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.game-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    width: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.game-header h3 {
    font-size: 24px;
    color: var(--primary-light);
}

.game-badge {
    background: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.game-badge.new {
    background: var(--secondary-color);
}

.game-features {
    list-style: none;
    margin: 20px 0;
}

.game-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.game-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Live Games */
.live-games {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.live-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    width: 100%;
}

.live-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.live-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Fast Game */
.fast-game-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-dark) 100%);
    padding: 60px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--primary-color);
    width: 100%;
}

.fast-game-card h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

.fast-game-card p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sports */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
    width: 100%;
}

.sport-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    width: 100%;
}

.sport-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.sport-item p {
    color: var(--text-secondary);
}

.express-bonus {
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    width: 100%;
}

.express-bonus h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

/* Payments */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    width: 100%;
}

.payment-block {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    width: 100%;
}

.payment-block h3 {
    margin-bottom: 20px;
    color: var(--primary-light);
}

.payment-list {
    list-style: none;
}

.payment-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.payment-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.time-table {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 20px;
    overflow-x: auto;
}

.time-table table {
    width: 100%;
    min-width: 400px;
}

.time-table th,
.time-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.time-table th {
    background: var(--bg-darker);
    font-weight: 600;
}

/* Security */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    width: 100%;
}

.security-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    width: 100%;
}

.security-card h3 {
    margin-bottom: 15px;
    color: var(--primary-light);
}

.security-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.responsible-gaming {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--secondary-color);
    margin-top: 40px;
    width: 100%;
}

.responsible-gaming h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.responsible-list {
    list-style: none;
}

.responsible-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

/* FAQ */
.faq-grid {
    display: grid;
    gap: 25px;
    margin-top: 40px;
    width: 100%;
}

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    width: 100%;
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-light);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.footer-meta {
    display: flex;
    gap: 20px;
}

.footer-meta a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

/* ========== МОБИЛЬНАЯ ВЕРСИЯ ========== */

/* Планшеты и меньше */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

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

    .nav-buttons {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
    }

    .stat-value {
        font-size: 28px;
    }

    .bonus-hero {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }

    .bonus-main h3 {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .features-grid,
    .games-showcase,
    .live-games,
    .sports-grid,
    .payment-methods,
    .security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fast-game-card {
        padding: 30px 20px;
    }

    .fast-game-card h3 {
        font-size: 28px;
    }
}

/* Мобильные телефоны */
@media (max-width: 640px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px;
        background: var(--bg-card);
        border-radius: var(--radius-md);
        width: 100%;
    }

    .stat-value {
        font-size: 24px;
        margin-bottom: 0;
    }

    .stat-label {
        font-size: 13px;
    }

    .btn-hero {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .section-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .lead-text {
        font-size: 16px;
    }

    .quick-guide {
        padding: 20px;
    }

    .features-grid,
    .games-showcase,
    .live-games,
    .sports-grid,
    .payment-methods,
    .security-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card,
    .game-card,
    .live-card,
    .sport-item,
    .payment-block,
    .security-card,
    .faq-item {
        padding: 25px 20px;
    }

    .feature-icon {
        font-size: 36px;
    }

    .feature-card h3,
    .game-header h3,
    .live-card h3 {
        font-size: 18px;
    }

    .providers-grid {
        padding: 25px 20px;
    }

    .providers-list {
        gap: 10px;
    }

    .provider-tag {
        padding: 8px 15px;
        font-size: 13px;
    }

    .bonus-hero {
        padding: 25px 20px;
    }

    .bonus-main h3 {
        font-size: 20px;
    }

    .bonus-desc {
        font-size: 14px;
    }

    .bonus-table {
        font-size: 13px;
    }

    .bonus-table th,
    .bonus-table td {
        padding: 10px 8px;
    }

    .fast-game-card {
        padding: 30px 20px;
    }

    .fast-game-card h3 {
        font-size: 24px;
    }

    .fast-game-card p {
        font-size: 15px;
    }

    .express-bonus {
        padding: 25px 20px;
    }

    .express-bonus h3 {
        font-size: 22px;
    }

    .time-table table {
        font-size: 13px;
    }

    .time-table th,
    .time-table td {
        padding: 10px 8px;
    }

    .responsible-gaming {
        padding: 25px 20px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-meta {
        justify-content: center;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 15px;
    }

    .guide-list li {
        padding: 10px 0 10px 45px;
        font-size: 14px;
    }

    .guide-list li::before {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Маленькие мобильные телефоны */
@media (max-width: 375px) {
    .hero-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .stat-item {
        flex-direction: column;
        gap: 5px;
    }

    .stat-value {
        font-size: 20px;
    }

    .game-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

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

.section {
    animation: fadeIn 0.6s ease-out;
}

/* Scroll effects */
.header.scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: var(--shadow-md);
}

/* Предотвращение горизонтального скролла */
html, body {
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

/* Центрирование кнопки "Начать игру" на мобильных */
@media (max-width: 640px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .btn-hero {
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .btn-hero {
        margin: 0 auto;
    }
}