* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя информационная полоска */
.top-info-bar {
    background: linear-gradient(90deg, #0d3b66, #1a5f9e);
    padding: 15px 0;
    border-bottom: 2px solid #1e88e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.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: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.bonus-button-container {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
}

.btn-bonus {
    background-color: #1e88e5;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(30, 136, 229, 0.3);
    text-decoration: none;
    font-style: italic;
    text-align: center;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    line-height: 1.3;
    min-height: 44px;
}

.btn-bonus:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.4);
}

.auth-buttons {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
    min-width: 180px;
}

.btn-login, .btn-register {
    background: linear-gradient(135deg, #1e88e5, #0d3b66);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 8px rgba(30, 136, 229, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #0d3b66, #1e88e5);
}

.btn-login:hover, .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.4);
}

.main-caption {
    text-align: center;
    font-size: 2.2rem;
    color: #0d3b66;
    margin: 40px 0 30px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 20px;
}

.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: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #1e88e5;
}

.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, #0d3b66, #1e88e5);
    color: white;
    text-decoration: none;
    padding: 28px 20px;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(13, 59, 102, 0.4);
    transition: all 0.35s ease;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    width: 100%;
    min-height: 90px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.main-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(13, 59, 102, 0.6);
    background: linear-gradient(135deg, #1e88e5, #0d3b66);
}

.main-button i {
    margin-right: 18px;
    font-size: 2.2rem;
}

/* Текстовый блок */
.text-section {
    background-color: #f0f7ff;
    padding: 50px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #dbe9ff;
    color: #000000;
}

.text-section h2 {
    color: #0d3b66;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #1e88e5;
    padding-bottom: 10px;
}

.text-section h3 {
    color: #1e88e5;
    font-size: 1.5rem;
    margin: 25px 0 15px;
}

.text-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #000000;
}

.highlight {
    color: #1e88e5;
    font-weight: 700;
}

.age-warning {
    background-color: rgba(28, 134, 238, 0.1);
    border: 2px solid #1e88e5;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    font-weight: 700;
    color: #1e88e5;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.feature {
    background-color: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #bbdefb;
}

.feature i {
    font-size: 2.5rem;
    color: #1e88e5;
    margin-bottom: 15px;
}

.feature h4 {
    color: #0d3b66;
    margin-bottom: 10px;
    font-weight: 600;
}

.info, .warning {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.info {
    background-color: rgba(28, 134, 238, 0.1);
    border-left: 4px solid #1e88e5;
    color: #000000;
}

.warning {
    background-color: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
    color: #000000;
}

/* ГАЛЕРЕЯ */
.gallery-section {
    margin: 60px 0 60px;
    width: 100%;
}

.gallery-title {
    text-align: center;
    font-size: 2.2rem;
    color: #0d3b66;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

.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: #f0f7ff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #dbe9ff;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(28, 134, 238, 0.2);
    border-color: #1e88e5;
}

.gallery-item a {
    display: block;
    text-decoration: none;
}

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    padding: 15px;
    background: #ffffff;
}

.slot-info {
    padding: 15px 10px;
    background: #e3f2fd;
}

.slot-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d3b66;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.slot-provider {
    font-size: 0.9rem;
    color: #1e88e5;
    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;
    }
    .btn-bonus {
        white-space: normal;
        line-height: 1.3;
        padding: 12px 18px;
        font-size: 0.9rem;
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .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%;
    }
    .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;
    }
    .main-caption {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    .main-button { 
        font-size: 1.3rem; 
        padding: 20px 15px; 
        min-height: 70px;
    }
    .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: #f0f7ff;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 2px solid #dbe9ff;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-link {
    color: #0d3b66;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #1e88e5;
    background-color: #e3f2fd;
}

.footer-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #1e88e5;
    left: 50%;
    bottom: 0;
    transition: all 0.3s ease;
}

.footer-link:hover:after {
    width: 100%;
    left: 0;
}

.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;
}