/* Общие стили */
body {
    font-family: 'Space Mono', monospace;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; 
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background-color: #173048;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px; 
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: #FFF;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff; 
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin-bottom: 4px;
    border-radius: 2px;
}

.nav.active {
    display: block;
    position: absolute;
    top: 80px; 
    left: 0;
    width: 100%;
    background-color: #223954;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav.active .nav-list {
    flex-direction: column;
    padding: 10px 0;
}

.nav.active .nav-item {
    margin: 0;
    text-align: center;
    padding: 10px 0;
}


/* Hero Section */
.hero-section {
    background-color: #d6eff4; 
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    color: #555;
}

.features input[type="checkbox"] {
    accent-color: #28a745; /* Зеленый цвет для чекбокса */
    transform: scale(1.2);
}

.warning {
    color: #dc3545; /* Красный цвет для предупреждения */
    font-weight: bold;
}


/* Casino List Section */

.casino-card-wrapper {
    position: relative;
    margin-bottom: 30px;
    padding-left: 50px;
}

.card-number {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #333;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2;
}

.casino-card {
    position: relative; 
    background-color: #512b73;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.casino-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 120px;
}

.casino-logo {
    height: 60px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.rating {
    margin-bottom: 5px;
}

.rating .star {
    color: #ffc107;
    font-size: 1.2em;
}

.evaluations {
    font-size: 0.9em;
    color: #ccc;
    margin-top: 5px;
    white-space: nowrap;
}

.offer {
    text-align: center;
    flex-grow: 1;
}

.offer-title {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-details {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    /* white-space: nowrap; */
}

.score {
    text-align: center;
    flex-shrink: 0;
}

.score p {
    font-size: 0.9em;
    color: #ccc;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: transparent;
    border: 3px solid #00b383;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    color: #00b383;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    width: 180px;
}

.button {
    padding: 12px 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    font-size: 0.95em;
}

.primary-button {
    background-color: #00b383;
    color: #fff;
    border: none;
}

.primary-button:hover {
    background-color: #00a866;
}

.secondary-button {
    background-color: transparent;
    color: #fff;
    border: none;
    font-size: 0.85em;
    text-decoration: underline;
    padding: 5px;
}

.secondary-button:hover {
    color: #00b383;
}

@media (max-width: 911px) {
    .casino-card-wrapper {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
        padding-left: 0;
      }
    
      .casino-card {
        flex-direction: column;
        align-items: center;
        padding: 25px 15px;
        max-width: 400px;
        width: 95%;
      }
    
      .card-number {
        position: absolute; 
        top: 4px;          
        left: 4px;        
        width: 50px;
        height: 50px;
        font-size: 2.2em;
        box-shadow: none;  
      }

    .casino-info {
        flex: none;
        text-align: center;
        width: 100%;
        margin-bottom: 20px;
    }

    .casino-logo {
        max-width: 150px;
        height: auto;
        margin-bottom: 15px;
    }

    .evaluations {
        font-size: 1em;
        white-space: normal;
        margin-top: 10px;
    }

    .offer {
        width: 100%;
        margin-bottom: 20px;
    }

    .offer-title {
        font-size: 1.1em;
        margin-bottom: 8px;
    }

    .offer-details {
        font-size: 2em;
        white-space: normal;
        padding: 0 10px;
    }

    .score {
        width: 100%;
        margin-bottom: 25px;
    }

    .score-circle {
        margin: 0 auto;
        width: 80px;
        height: 80px;
        font-size: 2.5em;
    }

    .score p {
        font-size: 1.05em;
        margin-bottom: 10px;
    }

    .actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .button {
        max-width: 280px;
        width: 90%;
        font-size: 1.05em;
        padding: 14px 20px;
    }

    .secondary-button {
        font-size: 0.95em;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .casino-card {
        padding: 20px 10px;
        width: 98%;
    }

    .card-number {
        width: 45px;
        height: 45px;
        font-size: 2em;
        margin-bottom: 15px;
    }

    .casino-logo {
        max-width: 120px;
        margin-bottom: 10px;
    }

    .offer-details {
        font-size: 1.8em;
    }

    .score-circle {
        width: 70px;
        height: 70px;
        font-size: 2.2em;
    }

    .button {
        max-width: 260px;
        width: 95%;
        font-size: 1em;
        padding: 12px 15px;
    }

    .secondary-button {
        font-size: 0.9em;
    }
}


/* Content Section (для текста под списком казино) */
.content-section {
    background: linear-gradient(135deg, #ffffff 0%, #d6eff4 100%);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.content-section h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #173048; /* Темный фон как на скрине */
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Центрируем элементы */
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #495057;
    margin-bottom: 20px;
}

.footer-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.9em;
    /* Опционально: задать минимальную ширину для каждого значка, чтобы они не были слишком узкими */
    min-width: 100px; /* Пример */
    max-width: 150px; /* Пример, чтобы не растягивались слишком сильно на больших экранах */
}

.footer-badge img {
    /* Новые стили для стандартизации размеров изображений */
    height: 60px; /* Задаем одинаковую высоту для всех изображений */
    width: auto; /* Позволяем ширине автоматически подстраиваться по пропорциям */
    max-width: 100%; /* Гарантируем, что изображение не вылезет за пределы родителя */
    object-fit: contain; /* Масштабируем изображение, сохраняя пропорции, чтобы оно полностью поместилось */
    margin-bottom: 5px; /* Отступ между изображением и текстом */
}

/* Остальные стили футера */
.footer-badge span {
    /* Стили для текста под иконками */
    color: #ccc; /* Более светлый цвет для текста */
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo img {
    height: 60px; /* Размер логотипа в футере */
}

.footer-text {
    flex: 2;
    font-size: 0.85em;
    line-height: 1.6;
}

.footer-text p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9em;
    font-weight: bold;
}

.footer-links a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

/* Page-specific content styles (для страниц privacy-policy, terms-and-conditions, etc.) */
.content-page-section {
    background-color: #fff;
    padding: 40px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-page-section h1 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 20px;
}

.content-page-section p {
    line-height: 1.7;
    margin-bottom: 15px;
}


/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .nav {
        display: none; /* Скрыть основное меню на мобильных */
    }

    .hamburger-menu {
        display: flex; /* Показать бургер-меню */
    }

    .header-container {
        justify-content: space-between;
    }

    .nav.active {
        display: block;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 1.8em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .casino-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .casino-info, .offer, .score, .actions {
        margin-bottom: 15px;
        width: 100%; 
    }

    .actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .button {
        flex: 1 1 auto; 
        max-width: 200px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-text, .footer-links {
        text-align: center;
    }
}