* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхняя панель (точная структура и адаптация из вашего лендинга) */
.top-info-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: 15px 0;
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 150px;
}

.logo-link {
    display: block;
}

.logo-image {
    height: 50px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.bonus-button-container {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    padding: 0 10px;
}

.btn-bonus {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a0a0a;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    line-height: 1.3;
    white-space: normal;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.auth-buttons {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
    min-width: 180px;
}

.btn-login, .btn-register {
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn-login:hover {
    background: #d4af37;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.btn-register {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a0a0a;
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Hero секция */
.hero-section {
    padding: 40px 0;
}

.hero-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    padding: 60px;
    border-radius: 15px;
    border: 2px solid #d4af37;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-title {
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0a0a0a;
    padding: 20px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    position: relative;
    z-index: 1;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Категории */
.categories-section {
    padding: 20px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    background: #1a1a2e;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #2d2d44;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    background: #2d2d44;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #d4af37;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.category-item i {
    font-size: 1.5rem;
    color: #d4af37;
}

.category-item:hover i {
    color: #0a0a0a;
}

/* Фильтры */
.filters-section {
    padding: 20px 0;
}

.filters-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: #1a1a2e;
    border: 2px solid #2d2d44;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #d4af37;
}

.search-input::placeholder {
    color: #888;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.filter-btn {
    padding: 10px 20px;
    background: #1a1a2e;
    border: 2px solid #2d2d44;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #d4af37;
    background: #2d2d44;
}

.filter-btn.active {
    background: #d4af37;
    color: #0a0a0a;
    border-color: #d4af37;
}

/* Секция слотов */
.slots-section {
    padding: 40px 0;
}

.section-title {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 30px;
    font-weight: 700;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.slot-card {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #2d2d44;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slot-card:hover {
    transform: translateY(-8px);
    border-color: #d4af37;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
}

.slot-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #0a0a0a;
}

.slot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slot-card:hover .slot-image img {
    transform: scale(1.05);
}

.slot-info {
    padding: 15px;
    text-align: center;
    background: #2d2d44;
}

.slot-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.slot-provider {
    color: #d4af37;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Текстовый блок */
.text-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    padding: 50px;
    border-radius: 15px;
    margin: 40px 0;
    border: 2px solid #d4af37;
}

.text-section h2 {
    color: #d4af37;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.text-section h3 {
    color: #d4af37;
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.text-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature {
    background: #2d2d44;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #d4af37;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.feature i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 15px;
}

.feature h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature p {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
}

.age-warning {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid #d4af37;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
    color: #d4af37;
}

.age-warning i {
    margin-right: 10px;
}

/* Футер */
.footer {
    background: #0f0f1e;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 2px solid #d4af37;
}

.footer-nav {
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d2d44;
}

.footer-bottom p {
    color: #888;
    margin: 5px 0;
}

.age-warning-footer {
    color: #d4af37 !important;
    font-weight: 600;
}

.text-link {
    color: #d4af37;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: #f4d03f;
}

/* АДАПТАЦИЯ (точная как в вашем исходном лендинге) */
@media (max-width: 1200px) {
    .slots-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    /* Шапка складывается вертикально */
    .top-bar-content {
        flex-direction: column;
        align-items: center;
    }
    .logo-container,
    .bonus-button-container,
    .auth-buttons {
        flex: 0 0 100%;
        justify-content: center;
    }
    .auth-buttons {
        gap: 10px;
    }
    .btn-login, .btn-register {
        width: 45%;
        padding: 10px 15px;
    }
    .btn-bonus {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .hero-banner { padding: 35px 25px; }
    .text-section { padding: 30px 20px; }
    .filter-buttons { width: 100%; }
    .search-box { max-width: 100%; width: 100%; }
}

@media (max-width: 576px) {
    .slots-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr; }
    
    .top-info-bar { padding: 10px 0; }
    .logo-image { height: 40px; }
    
    .btn-login, .btn-register {
        padding: 8px 10px;
        font-size: 0.85rem;
        width: 48%;
    }
    .btn-bonus {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    .hero-title { font-size: 1.9rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .btn-hero { font-size: 1.1rem; padding: 16px 28px; }
    .section-title { font-size: 1.5rem; }
}

@media (max-width: 420px) {
    .btn-bonus { font-size: 0.75rem; padding: 9px 12px; }
    .btn-login, .btn-register { padding: 7px 10px; font-size: 0.8rem; }
    .logo-image { height: 35px; }
    .slots-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.7rem; }
}
@media (max-width: 576px) {
    .btn-register {
        white-space: normal;
        height: auto;
        padding: 8px 12px;
    }
}

@media (max-width: 420px) {
    .btn-register {
        white-space: normal;
        height: auto;
        padding: 7px 10px;
        font-size: 0.75rem;
    }
}
/* Секция галереи */
.gallery-section {
    margin: 60px 0 60px;
    width: 100%;
}

.gallery-title {
    text-align: center;
    font-size: 2.2rem;
    color: #d4af37;
    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: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid #2d2d44;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

/* Ссылка на слот */
.gallery-item a {
    display: block;
    text-decoration: none;
}

/* Изображение слота */
.gallery-image {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    padding: 15px;
    background: #0a0a0a;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.03);
}

/* Информация о слоте */
.slot-info {
    padding: 15px 10px;
    background: #2d2d44;
}

.slot-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.slot-provider {
    font-size: 0.9rem;
    color: #d4af37;
    font-weight: 600;
}
/* Добавьте в общие стили (перед медиа-запросами) */
.slot-card {
    position: relative;
    aspect-ratio: 1/1;
}
/* Увеличенный размер слотов на мобильных */
@media (max-width: 576px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .slot-card {
        background: #1a1a2e;
        border-radius: 16px;
        overflow: hidden;
        border: 2px solid #d4af37;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .slot-image {
        height: 220px; /* Было ~180–200px — увеличили */
        background: #0a0a0a;
    }

    .slot-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 15px;
    }

    .slot-info {
        padding: 18px 10px;
        background: #2d2d44;
    }

    .slot-name {
        font-size: 1.1rem; /* Увеличили шрифт */
        font-weight: 700;
        margin-bottom: 6px;
    }

    .slot-provider {
        font-size: 0.95rem; /* Также чуть увеличили */
        color: #d4af37;
        font-weight: 600;
    }
}
/* Стили для мобильных устройств */
@media (max-width: 576px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slot-image {
        height: 100%;
        position: relative;
    }
    
    .slot-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .slot-info {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        text-align: center;
        border-radius: 0 0 12px 12px;
    }
    
    .slot-name {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .slot-provider {
        font-size: 0.75rem;
    }
}
/* Адаптация под разные экраны */
@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); }
    
    .full-width-gallery {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .gallery-item { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 576px) {
    .gallery-item { flex: 0 0 100%; }
    
    .gallery-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .slot-title {
        font-size: 1.0rem;
    }
    
    .slot-provider {
        font-size: 0.85rem;
    }
    
    .gallery-image {
        max-height: 180px;
        padding: 12px;
    }
}

@media (max-width: 420px) {
    .gallery-image {
        max-height: 160px;
        padding: 10px;
    }
    
    .slot-title {
        font-size: 0.95rem;
    }
    
    .slot-provider {
        font-size: 0.8rem;
    }
}
@media (max-width: 576px) {
    /* ... существующие стили ... */

    .btn-register {
        white-space: normal !important;
        height: auto !important;
        padding: 8px 10px !important;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        font-size: 0.85rem;
    }
}