* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =============== ПЧЕЛИНЫЙ ФОН =============== */
body {
    background: linear-gradient(135deg, #fff9e6 0%, #ffecb3 100%);
    color: #333;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Узор из пчелиных сот */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M50 0 L100 25 L100 75 L50 100 L0 75 L0 25 Z' fill='none' stroke='%23d4af00' stroke-width='0.5' opacity='0.12'/%3E%3C/svg%3E");
    background-size: 80px 92px;
    background-position: 0 0, 40px 46px;
    pointer-events: none;
    z-index: -2;
    animation: honeycombFloat 120s infinite linear;
}

@keyframes honeycombFloat {
    0% { background-position: 0 0, 40px 46px; }
    100% { background-position: 0 -92px, 40px -46px; }
}

/* Декоративная пчела в углу */
body::after {
    content: "";
    position: fixed;
    top: 12%;
    right: 6%;
    width: 60px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 50'%3E%3Cellipse cx='50' cy='25' rx='40' ry='12' fill='%23000' opacity='0.05'/%3E%3Ccircle cx='30' cy='25' r='8' fill='%23000' opacity='0.05'/%3E%3Ccircle cx='70' cy='25' r='8' fill='%23000' opacity='0.05'/%3E%3C/svg%3E");
    z-index: -1;
    transform: rotate(-8deg);
    animation: beeBuzz 7s infinite alternate ease-in-out;
}

@keyframes beeBuzz {
    0% { transform: rotate(-8deg) translateY(0); }
    100% { transform: rotate(-3deg) translateY(-6px); }
}

/* ========================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя информационная полоска */
.top-info-bar {
    background: linear-gradient(90deg, #d4af00, #ffcc00);
    padding: 15px 0;
    border-bottom: 3px solid #000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid #000;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.bonus-button-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.btn-bonus {
    background-color: #ff9800;
    color: #000;
    border: 2px solid #d45500;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.4);
    text-decoration: none;
    font-style: normal;
    text-align: center;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    line-height: 1.3;
    text-transform: uppercase;
}

.btn-bonus:hover {
    background-color: #ffad33;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 152, 0, 0.6);
    border-color: #b33d00;
}

.auth-buttons {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.btn-login, .btn-register {
    background: #000;
    color: #ffcc00;
    border: 2px solid #333;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.btn-register {
    background: #ff9800;
    color: #000;
    border-color: #d45500;
}

.btn-login:hover, .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Главный заголовок */
.main-caption {
    text-align: center;
    font-size: 2.2rem;
    color: #d45500;
    margin: 40px 0 30px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0 20px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Главное изображение */
.central-image-container {
    text-align: center;
    margin: 0 auto 30px;
    width: 100%;
    max-width: 900px;
}

.central-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 4px solid #d4af00;
}

/* Кнопка "Играть сейчас" */
.button-section {
    text-align: center;
    margin: 0 auto 50px;
    width: 100%;
    max-width: 900px;
}

.main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9800, #ffcc00);
    color: #000;
    text-decoration: none;
    padding: 28px 20px;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(212, 85, 0, 0.5);
    transition: all 0.35s ease;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    width: 100%;
    min-height: 90px;
    text-shadow: 0 2px 3px rgba(255,255,255,0.5);
    border: 3px solid #d45500;
}

.main-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(212, 85, 0, 0.7);
    background: linear-gradient(135deg, #ffcc00, #ff9800);
}

.main-button i {
    margin-right: 18px;
    font-size: 2.2rem;
}

/* Текстовый блок */
.text-section {
    background-color: #fffdf0;
    padding: 50px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px dashed #d4af00;
    position: relative;
    background-clip: padding-box;
}

.text-section h2 {
    color: #d45500;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px double #ff9800;
}

.text-section h3 {
    color: #d45500;
    font-size: 1.5rem;
    margin: 25px 0 15px;
    font-weight: 700;
}

.text-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

.highlight {
    color: #d45500;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.age-warning {
    background-color: rgba(212, 85, 0, 0.1);
    border: 2px solid #d45500;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
    font-weight: 700;
    color: #d45500;
    font-size: 1.1rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.feature {
    background-color: #fffde7;
    padding: 20px;
    border-radius: 15px;
    flex: 1;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #ffe082;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: scale(1.03);
}

.feature i {
    font-size: 2.5rem;
    color: #d45500;
    margin-bottom: 15px;
}

.feature h4 {
    color: #d45500;
    margin-bottom: 10px;
    font-weight: 700;
}

.info, .warning {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    border-left-width: 5px;
}

.info {
    background-color: rgba(255, 204, 0, 0.15);
    border-left-color: #ff9800;
    color: #333;
}

.warning {
    background-color: rgba(255, 107, 107, 0.1);
    border-left-color: #ff6b6b;
    color: #333;
}

/* ГАЛЕРЕЯ */
.gallery-section {
    margin: 60px 0 60px;
    width: 100%;
}

.gallery-title {
    text-align: center;
    font-size: 2.2rem;
    color: #d45500;
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.full-width-gallery {
    display: flex;
    width: 100%;
    gap: 20px;
    padding: 0 10px;
    box-sizing: border-box;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-item {
    flex: 0 0 calc(20% - 16px);
    background: #fffde7;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid #ffe082;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(212, 175, 0, 0.3);
    border-color: #ff9800;
}

.gallery-item a {
    display: block;
    text-decoration: none;
}

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    padding: 15px;
    background: #fff9e6;
}

.slot-info {
    padding: 15px 10px;
    background: #fffde7;
    border-top: 1px solid #ffe082;
}

.slot-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #d45500;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.slot-provider {
    font-size: 0.9rem;
    color: #d45500;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .gallery-item { flex: 0 0 calc(25% - 15px); }
}

@media (max-width: 992px) {
    .gallery-item { flex: 0 0 calc(33.333% - 14px); }
    .top-bar-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    .logo-container,
    .bonus-button-container,
    .auth-buttons {
        flex: 0 0 100%;
        justify-content: center;
    }
    .btn-bonus {
        white-space: normal;
        line-height: 1.3;
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
    }
    .gallery-item { flex: 0 0 calc(50% - 10px); }
    .text-section { padding: 30px; }
    .btn-bonus {
        max-width: 90%;
        margin: 0 auto;
        display: flex;
    }
}

@media (max-width: 576px) {
    .top-info-bar {
        padding: 8px 0;
    }
    .logo-image {
        height: 35px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .btn-login, .btn-register {
        padding: 8px 10px;
        font-size: 0.85rem;
        width: 45%;
        border-radius: 25px;
    }
    .auth-buttons {
        flex-direction: row;
        width: 100%;
        gap: 8px;
        justify-content: center;
    }
    .btn-bonus {
        font-size: 0.8rem;
        padding: 10px 15px;
        line-height: 1.2;
        border-radius: 25px;
    }
    .main-caption {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    .main-button { 
        font-size: 1.3rem; 
        padding: 20px 15px; 
        min-height: 70px;
        border-radius: 40px;
    }
    .main-button i {
        margin-right: 10px;
        font-size: 1.7rem;
    }
    .gallery-item { flex: 0 0 100%; }
}

@media (max-width: 420px) {
    .btn-bonus {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
}

.footer-nav {
    background-color: #fff9e6;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 3px double #d4af00;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-link {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: #fffde7;
    border: 1px solid #ffe082;
}

.footer-link:hover {
    color: #d45500;
    background-color: #fff9e6;
    transform: translateY(-2px);
}

.age-warning-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}