/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0e2a;
    color: #fff;
    line-height: 1.6;
}

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

/* Шапка */
.navbar {
    background-color: #121842;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: #ffcc00;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffcc00;
    border-bottom: 2px solid #ffcc00;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-login, .btn-register {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-login {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-register {
    background-color: #ffcc00;
    color: #121842;
    border: 1px solid #ffcc00;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-register:hover {
    background-color: #e6b800;
    border-color: #e6b800;
}

/* Бургер-меню для мобильных */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Главный баннер */
.hero-banner {
    height: 500px;
    background: linear-gradient(rgba(10, 14, 42, 0.8), rgba(10, 14, 42, 0.9)), 
                url('https://images.unsplash.com/photo-1533105079780-92b9be482077?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-bottom: 60px;
}

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

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #ffcc00;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-bonus, .btn-play {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-bonus {
    background-color: #ff3366;
    color: white;
}

.btn-play {
    background-color: #00cc88;
    color: white;
}

.btn-bonus:hover {
    background-color: #ff0044;
    transform: translateY(-3px);
}

.btn-play:hover {
    background-color: #00aa66;
    transform: translateY(-3px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 0, 102, 0.2), rgba(0, 204, 136, 0.2));
}

/* Секция с игровыми автоматами */
.slots-section {
    padding: 60px 0;
    background-color: #121842;
}

.slots-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #ffcc00;
}

.slots-section > .container > p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.slot-card {
    background-color: #1a2260;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.slot-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.slot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.slot-card:hover .slot-overlay {
    opacity: 1;
}

.btn-play-slot {
    padding: 10px 25px;
    background-color: #ffcc00;
    color: #121842;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-play-slot:hover {
    background-color: #e6b800;
}

.slot-card h3 {
    padding: 15px 15px 5px;
    font-size: 20px;
}

.slot-card p {
    padding: 0 15px 15px;
    color: #aaa;
    font-size: 14px;
}

/* Секция "О нас кратко" */
.about-preview {
    padding: 60px 0;
    background-color: #0a0e2a;
}

.about-preview h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffcc00;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 25px;
    background-color: #121842;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.feature i {
    font-size: 40px;
    color: #ffcc00;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature p {
    color: #aaa;
    font-size: 15px;
}

/* Текстовая секция */
.content-section {
    padding: 60px 0;
    background-color: #121842;
}

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

.content-section h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #ffcc00;
}

.content-section p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
}

.cta-section {
    background-color: #1a2260;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.btn-register-main {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background-color: #ffcc00;
    color: #121842;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-register-main:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

/* Заголовок страницы */
.page-header {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(10, 14, 42, 0.9), rgba(10, 14, 42, 0.9)), 
                url('https://images.unsplash.com/photo-1533105079780-92b9be482077?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-size: 42px;
    color: #ffcc00;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* Контент страницы "О нас" */
.advantages-list {
    margin: 40px 0;
}

.advantage {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #1a2260;
    border-radius: 10px;
}

.advantage i {
    font-size: 30px;
    color: #ffcc00;
    margin-top: 5px;
}

.advantage h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.statistics {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 50px 0;
}

.stat {
    text-align: center;
    padding: 25px;
    background-color: #1a2260;
    border-radius: 10px;
}

.stat h3 {
    font-size: 40px;
    color: #ffcc00;
    margin-bottom: 10px;
}

.final-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background-color: #1a2260;
    border-radius: 10px;
}

/* Контент страницы "Правила" */
.rules-content ol {
    margin-left: 20px;
    margin-bottom: 30px;
}

.rules-content li {
    margin-bottom: 10px;
    font-size: 17px;
}

.warning-box {
    background-color: rgba(255, 204, 0, 0.1);
    border-left: 5px solid #ffcc00;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-radius: 5px;
}

.warning-box i {
    color: #ffcc00;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-support {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background-color: #1a2260;
    border-radius: 10px;
}

.btn-support {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background-color: #00cc88;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
}

.btn-support:hover {
    background-color: #00aa66;
    transform: translateY(-3px);
}

/* Подвал */
footer {
    background-color: #0a0e2a;
    padding: 60px 0 30px;
    border-top: 1px solid #1a2260;
}

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

.footer-logo p {
    margin-top: 15px;
    color: #aaa;
    font-size: 14px;
}

.footer-links h4 {
    color: #ffcc00;
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-bonus, .btn-play {
        width: 80%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: #121842;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: right 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 80%;
    }
    
    .burger {
        display: flex;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 30px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .btn-bonus, .btn-play {
        width: 100%;
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .slots-section h2, .about-preview h2 {
        font-size: 30px;
    }
    
    .advantage {
        flex-direction: column;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }
    
    .slots-section h2, .about-preview h2, .content-section h2 {
        font-size: 26px;
    }
    
    .content-section h3 {
        font-size: 22px;
    }
    
    .btn-register-main, .btn-support {
        width: 100%;
        padding: 12px 20px;
    }
    
    .statistics {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}