/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #000000;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 12px;
}

/* Шапка */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff4444;
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Главный баннер */
.hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ff4444" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #ff4444;
}

.stat-label {
    font-size: 0.9rem;
    color: #999;
}

.hero-cta {
    margin-bottom: 2rem;
}

.hero-note {
    color: #999;
    font-size: 0.9rem;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 500px;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Преимущества */
.advantages {
    padding: 80px 0;
    background: #111;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.advantages-intro {
    text-align: center;
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.advantage-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #cccccc;
}

/* Игры */
.games {
    padding: 80px 0;
    background: #000;
}

.games h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.games-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid #333;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: #ff4444;
    border-color: #ff4444;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.game-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card h4 {
    padding: 1rem;
    color: #ffffff;
}

.game-provider {
    display: block;
    padding: 0 1rem 1rem;
    color: #999;
    font-size: 0.9rem;
}

/* Бонусы */
.bonuses {
    padding: 80px 0;
    background: linear-gradient(135deg, #111 0%, #000 100%);
}

.bonuses h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.bonus-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.bonus-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.bonus-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff4444;
    margin-bottom: 1rem;
}

.bonus-features {
    list-style: none;
    margin: 1.5rem 0;
}

.bonus-features li {
    color: #cccccc;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.bonus-features li::before {
    content: '✓';
    color: #ff4444;
    position: absolute;
    left: 0;
}

.bonus-image img {
    width: 100%;
    max-width: 200px;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.bonus-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
}

.bonus-card h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.bonus-card p {
    color: #cccccc;
}

/* Мобильное приложение */
.mobile {
    padding: 80px 0;
    background: #000;
}

.mobile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mobile-text h2 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.mobile-text p {
    color: #cccccc;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.mobile-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.app-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.app-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.app-btn {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.app-btn:hover {
    transform: scale(1.05);
}

.app-label {
    font-size: 0.8rem;
    color: #cccccc;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.mobile-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* О Leon Casino */
.about {
    padding: 80px 0;
    background: #111;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    font-size: 2.2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-text h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-text h4 {
    color: #ff4444;
    margin: 2rem 0 1rem 0;
    font-size: 1.1rem;
}

.about-text p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-text p strong {
    color: #ffffff;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-box {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ff4444;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #999;
    font-size: 0.9rem;
}

.seo-content {
    max-width: 100%;
}

.seo-content h3 {
    color: #ffffff;
    margin: 3rem 0 1rem 0;
    font-size: 1.4rem;
}

.seo-content h4 {
    color: #ff4444;
    margin: 2rem 0 1rem 0;
    font-size: 1.1rem;
}

.seo-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.seo-content p strong {
    color: #ffffff;
}

/* Футер */
.footer {
    background: #111;
    padding: 60px 0 30px;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff4444;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.footer-bottom p {
    color: #999;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-image {
        position: static;
        margin-top: 2rem;
        transform: none;
        max-width: 100%;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advantages-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about h2 {
        font-size: 1.8rem;
    }

    .seo-content h3 {
        font-size: 1.2rem;
        margin: 2rem 0 1rem 0;
    }

    .bonus-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mobile-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-buttons {
        justify-content: center;
        gap: 1.5rem;
    }

    .app-button-wrapper {
        gap: 0.3rem;
    }

    .app-label {
        font-size: 0.7rem;
    }

    .mobile-image img {
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Кастомные скроллбары */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #ff4444;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cc0000;
}
