* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000000;
    color: #f0f0f0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя информационная полоска */
.top-info-bar {
    background: linear-gradient(90deg, #000000, #8B0000);
    padding: 15px 0;
    border-bottom: 3px solid #ff0000;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 180px;
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.bonus-button-container {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
}

.btn-bonus {
    background: linear-gradient(135deg, #8B0000, #ff0000);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.4);
    text-decoration: none;
    text-align: center;
    white-space: normal; /* разрешён перенос текста */
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    line-height: 1.3;
    text-transform: uppercase;
    min-height: 44px;
    overflow: hidden;
}

.btn-bonus:hover {
    background: linear-gradient(135deg, #ff0000, #8B0000);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.6);
}

.auth-buttons {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
    min-width: 180px;
}

.btn-login, .btn-register {
    background: linear-gradient(135deg, #000000, #333333);
    color: #ff0000;
    border: 2px solid #ff0000;
    padding: 12px 25px;
    border-radius: 8px;
    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.5);
    text-transform: uppercase;
}

.btn-register {
    background: linear-gradient(135deg, #8B0000, #ff0000);
    color: white;
    border-color: #ff0000;
}

.btn-login:hover, .btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 0, 0, 0.5);
}

.main-caption {
    text-align: center;
    font-size: 2.2rem;
    color: #ff0000;
    margin: 40px 0 30px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 0 20px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.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.5);
    border: 3px solid #ff0000;
}

.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, #8B0000, #ff0000);
    color: white;
    text-decoration: none;
    padding: 28px 20px;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.6);
    transition: all 0.35s ease;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    width: 100%;
    min-height: 90px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 3px solid #ff0000;
}

.main-button:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.8);
    background: linear-gradient(135deg, #ff0000, #8B0000);
}

.main-button i {
    margin-right: 18px;
    font-size: 2.2rem;
}

/* Текстовый блок */
.text-section {
    background-color: #111111;
    padding: 50px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border: 2px solid #ff0000;
    color: #e0e0e0;
}

.text-section h2 {
    color: #ff0000;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff0000;
}

.text-section h3 {
    color: #ff4444;
    font-size: 1.5rem;
    margin: 25px 0 15px;
    font-weight: 700;
}

.text-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #cccccc;
}

.highlight {
    color: #ff0000;
    font-weight: 800;
}

.age-warning {
    background-color: rgba(255, 0, 0, 0.15);
    border: 2px solid #ff0000;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
    font-weight: 700;
    color: #ff6666;
    font-size: 1.1rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.feature {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #444444;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #ff0000;
}

.feature i {
    font-size: 2.5rem;
    color: #ff0000;
    margin-bottom: 15px;
}

.feature h4 {
    color: #ff4444;
    margin-bottom: 10px;
    font-weight: 700;
}

.info, .warning {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
}

.info {
    background-color: rgba(255, 0, 0, 0.1);
    border-left: 5px solid #ff0000;
    color: #e0e0e0;
}

.warning {
    background-color: rgba(255, 107, 107, 0.15);
    border-left: 5px solid #ff6b6b;
    color: #e0e0e0;
}

/* ГАЛЕРЕЯ */
.gallery-section {
    margin: 60px 0 60px;
    width: 100%;
}

.gallery-title {
    text-align: center;
    font-size: 2.2rem;
    color: #ff0000;
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: 1.5px;
    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: #1a1a1a;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #333333;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255, 0, 0, 0.4);
    border-color: #ff0000;
}

.gallery-item a {
    display: block;
    text-decoration: none;
}

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    padding: 15px;
    background: #0a0a0a;
}

.slot-info {
    padding: 15px 10px;
    background: #111111;
    border-top: 1px solid #333333;
}

.slot-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ff4444;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.slot-provider {
    font-size: 0.9rem;
    color: #ff0000;
    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-direction: column;
        align-items: center;
    }
    .logo-container,
    .bonus-button-container,
    .auth-buttons {
        flex: 0 0 100%;
        justify-content: center;
    }
    .bonus-button-container {
        padding: 10px 5px;
    }
    .btn-bonus {
        font-size: 0.85rem;
        padding: 8px 10px;
        min-height: 40px;
    }
}

@media (max-width: 768px) {
    .top-info-bar { padding: 10px 0; }
    .gallery-item { flex: 0 0 calc(50% - 10px); }
    .text-section { padding: 30px; }
}

@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: 6px;
    }
    .auth-buttons {
        flex-direction: row;
        width: 100%;
        gap: 8px;
        justify-content: center;
    }
    .btn-bonus {
        font-size: 0.75rem;
        padding: 6px 8px;
        min-height: 36px;
        font-weight: 600;
    }
    .main-caption {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    .main-button { 
        font-size: 1.3rem; 
        padding: 20px 15px; 
        min-height: 70px;
        border-radius: 12px;
    }
    .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.7rem;
        padding: 5px 7px;
        min-height: 34px;
    }
    .btn-login, .btn-register {
        padding: 7px 9px;
        font-size: 0.8rem;
    }
}

.footer-nav {
    background-color: #0a0a0a;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 3px solid #ff0000;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    background: #111111;
    border: 1px solid #333333;
}

.footer-link:hover {
    color: #ff0000;
    background-color: #1a1a1a;
    transform: translateY(-2px);
    border-color: #ff0000;
}

.age-warning-footer {
    text-align: center;
    margin-top: 20px;
    color: #888888;
    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;
}