* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background: #0f1a2e;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 26, 46, 0.9), rgba(15, 26, 46, 0.9)), url('/images/casino-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffcc00;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 20px;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    background: rgba(28, 42, 58, 0.8);
    border-radius: 12px;
    padding: 20px;
    min-width: 150px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #ffcc00;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: #ddd;
}

/* Casino Grid */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.casino-card {
    background: linear-gradient(135deg, #1c2a3a, #0f1a2e);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2);
}

.casino-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.casino-number {
    background: #ffcc00;
    color: #1c2a3a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 15px;
}

.casino-logo {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.casino-name {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #ffcc00, #ff9933);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.casino-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rating-stars {
    color: #ffcc00;
    letter-spacing: 2px;
    margin-right: 10px;
}

.rating-value {
    font-weight: 800;
    color: #ffcc00;
}

.casino-info {
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

.info-label {
    color: #ffcc00;
    font-weight: 700;
    min-width: 80px;
    margin-right: 10px;
    font-size: 14px;
}

.info-value {
    font-size: 14px;
    color: #ddd;
}

.providers-list, .payments-list {
    display: flex;
    align-items: center;
}

.provider-icon, .payment-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    margin-right: 5px;
}

.more-items {
    font-size: 12px;
    color: #bbb;
    margin-left: 5px;
}

.casino-criteria {
    background: rgba(28, 42, 58, 0.8);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.criteria-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.criteria-label {
    font-size: 14px;
    color: #ddd;
    min-width: 120px;
    font-weight: 600;
}

.criteria-gauge {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 204, 0, 0.4);
    overflow: hidden;
    margin: 0 10px;
}

.criteria-gauge-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffcc00, #ff9933);
    border-radius: 10px;
}

.criteria-value {
    font-size: 14px;
    font-weight: 800;
    color: #ffcc00;
    min-width: 30px;
}

.casino-bonus {
    background: rgba(255, 204, 0, 0.15);
    color: #ffcc00;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    margin-bottom: 15px;
}

.casino-actions {
    display: flex;
    gap: 10px;
}

.action-button {
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.play-button {
    background: #27ae60;
    color: #fff;
}

.play-button:hover {
    background: #2ecc71;
    transform: translateY(-3px);
}

.review-button {
    background: #3498db;
    color: #fff;
}

.review-button:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

.promo-button {
    background: linear-gradient(45deg, #ffcc00, #ff9933);
    color: #1c2a3a;
    position: relative;
}

.promo-button:hover {
    background: linear-gradient(45deg, #ffdd33, #ffaa66);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.promo-button::before {
    content: 'Копировать';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 204, 0, 0.9);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #1c2a3a;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-button:hover::before {
    opacity: 1;
}

.promo-button.copied::after {
    content: 'Скопировано!';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 204, 0, 0.9);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #1c2a3a;
    animation: fadeOut 1.5s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* Featured Sections */
.featured-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title {
    color: #ffcc00;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    border-radius: 2px;
    background: #ffcc00;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.featured-card {
    background: linear-gradient(135deg, #1c2a3a, #0f1a2e);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.2);
}

.featured-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.featured-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.featured-card p {
    color: #bbb;
    margin-bottom: 20px;
    font-size: 15px;
}

.featured-button {
    background: linear-gradient(45deg, #ffcc00, #ff9933);
    color: #1c2a3a;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
}

.featured-button:hover {
    background: linear-gradient(45deg, #ffdd33, #ffaa66);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

/* Search Section */
.search-section {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.search-container {
    background: rgba(28, 42, 58, 0.8);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.search-bar {
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    background: rgba(28, 42, 58, 0.8);
    color: #fff;
    font-size: 16px;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.search-bar::placeholder {
    color: #bbb;
}

.search-title {
    color: #ffcc00;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Age Verification */
#ageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#agePopup {
    background: linear-gradient(135deg, #1c2a3a, #0f1a2e);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    border: 2px solid rgba(255, 204, 0, 0.3);
}

#agePopup h2 {
    color: #ffcc00;
    margin-bottom: 20px;
    font-size: 24px;
}

#agePopup p {
    color: #ddd;
    margin-bottom: 30px;
    font-size: 18px;
}

.age-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.age-buttons button {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

#yesButton {
    background: linear-gradient(45deg, #ffcc00, #ff9933);
    color: #1c2a3a;
}

#yesButton:hover {
    background: linear-gradient(45deg, #ffdd33, #ffaa66);
    transform: translateY(-3px);
}

#noButton {
    background: #e74c3c;
    color: #fff;
}

#noButton:hover {
    background: #c0392b;
    transform: translateY(-3px);
}

#ageDenied {
    display: none;
    background: linear-gradient(135deg, #1c2a3a, #0f1a2e);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

#ageDenied p {
    color: #ddd;
    margin-bottom: 30px;
    font-size: 18px;
}

#ageDenied button {
    background: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

#ageDenied button:hover {
    background: #c0392b;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    /* СКРЫВАЕМ КРИТЕРИИ В МОБИЛЬНОЙ ВЕРСИИ */
    .casino-criteria {
        display: none;
    }
    
    .casino-actions {
        flex-direction: column;
    }
    .action-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 8px;
    }
    .stat-item {
        min-width: calc(33.333% - 8px);
        padding: 10px 6px;
    }
    .stat-number {
        font-size: 18px;
    }
    .stat-label {
        font-size: 11px;
    }
    .hero-section {
        padding: 40px 15px 30px;
        margin-bottom: 15px;
    }
}
/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 26, 46, 0.9), rgba(15, 26, 46, 0.9)), url('/images/casino-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 20px 30px; /* Уменьшил нижний padding */
    text-align: center;
    position: relative;
    margin-bottom: 20px; /* Уменьшил отступ снизу */
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 20px; /* Уменьшил расстояние между элементами */
    margin-top: 25px; /* Уменьшил отступ сверху */
}

/* Featured Section */
.featured-section {
    max-width: 1200px;
    margin: 20px auto; /* Уменьшил вертикальные отступы */
    padding: 0 20px;
}

/* Hero Section */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 15px; /* Уменьшил расстояние между блоками */
    margin-top: 20px;
}

.stat-item {
    background: rgba(28, 42, 58, 0.8);
    border-radius: 10px; /* Уменьшил скругление */
    padding: 15px 10px; /* Уменьшил padding */
    min-width: 120px; /* Уменьшил минимальную ширину */
    border: 1px solid rgba(255, 204, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Уменьшил тень */
}

.stat-number {
    font-size: 24px; /* Уменьшил цифры */
    font-weight: 800;
    color: #ffcc00;
    margin-bottom: 3px; /* Уменьшил отступ */
}

.stat-label {
    font-size: 12px; /* Уменьшил текст */
    color: #ddd;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: row; /* Оставляем в строке */
        flex-wrap: wrap; /* Разрешаем перенос */
        gap: 8px; /* Еще меньше расстояние */
    }
    
    .stat-item {
        flex: 1;
        min-width: calc(33.333% - 8px); /* Три в строке */
        padding: 10px 5px; /* Еще компактнее */
    }
    
    .stat-number {
        font-size: 18px; /* Еще меньше цифры */
    }
    
    .stat-label {
        font-size: 10px; /* Еще меньше текст */
    }
}