/* БАЗА */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-main: #f5f5f7;
    --bg-grey: #f1f3f7;
    --bg-white: #ffffff;

    --border-soft: #e4e4ea;
    --border-strong: #d4d4de;

    --text-main: #111827;
    --text-muted: #6b7280;

    --accent: #e11d48;   /* красный */
    --accent-dark: #b91c3b;
    --accent-soft: #fee2e2;

    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

/* КОНТЕЙНЕР */

.container {
    width: 100%;
    max-width: 1320px; /* шире, чтобы не было пустоты */
    margin: 0 auto;
    padding: 0 16px;
}

/* ХЕДЕР */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #ffffffcc;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 16px;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-block {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.logo-text-main span {
    color: var(--accent);
}

.logo-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 0.15s ease;
}

.main-nav a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

/* HERO */

.hero {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 26px 0 26px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 28px;
    align-items: flex-start;
}

.hero-left h1 {
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 6px;
}

.hero-lead {
    font-size: 15px;
    color: #374151;
    margin-bottom: 12px;
}

.hero-list {
    list-style: none;
    font-size: 14px;
    margin-bottom: 14px;
}

.hero-list li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.hero-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* КНОПКИ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: 0.15s ease;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: #d4d4de;
    color: var(--text-main);
    background: #ffffff;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* HERO PRAWO */

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius-lg);
    background: linear-gradient(90deg, #fee2e2, #ffffff);
    border: 1px solid #fecaca;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
}

.hero-banner-left {
    max-width: 60%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.banner-label {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: #fee2e2;
    color: #b91c1c;
}

.banner-title {
    font-size: 18px;
    font-weight: 700;
}

.banner-text {
    font-size: 13px;
    color: #374151;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #ef4444;
    color: #ffffff;
    margin-top: 4px;
}

.hero-banner-logo {
    width: 120px;
    height: 60px;
    border-radius: var(--radius-md);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* заменишь на свою картинку */
.hero-banner-logo-1win {
    background-image: url("img/logo-1win.webp");
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.mini-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
}

.mini-card:hover {
    border-color: var(--accent);
}

.mini-logo {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mini-logo-mostbet {
    background-image: url("img/logo-mostbet.webp");
}

.mini-logo-pinup {
    background-image: url("img/logo-pinup.webp");
}

.mini-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mini-title {
    font-size: 13px;
    font-weight: 600;
}

.mini-sub {
    font-size: 11px;
    color: var(--text-muted);
}

/* ОБЩИЕ СЕКЦИИ */

.section {
    padding: 28px 0;
}

.section-grey {
    background: var(--bg-grey);
}

.section h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.section-lead {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 860px;
    margin-bottom: 14px;
}

/* БРЕНДЫ */

.brand-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.brand-card {
    padding: 12px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.03);
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 10px;
    align-items: center;
}

.brand-card:hover {
    border-color: var(--accent);
}

.brand-logo {
    width: 54px;
    height: 32px;
    border-radius: var(--radius-sm);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* поменяешь пути к логотипам */
.brand-logo-1win {
    background-image: url("img/logo-1win.webp");
}
.brand-logo-mostbet {
    background-image: url("img/logo-mostbet.webp");
}
.brand-logo-pinup {
    background-image: url("img/logo-pinup.webp");
}
.brand-logo-leon {
    background-image: url("img/logo-leon.webp");
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 14px;
    font-weight: 600;
}

.brand-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* РЕЙТИНГ */

.rating-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-soft);
    padding: 16px 16px 12px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 20px;
}

.rating-table-wrapper {
    overflow-x: auto;
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rating-table thead {
    background: #f9fafb;
}

.rating-table th,
.rating-table td {
    padding: 9px 8px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.rating-table tbody tr:nth-child(even) {
    background: #fcfcff;
}

.cell-pos {
    font-weight: 700;
    color: var(--accent);
    text-align: center;
}

.casino-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cell-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* снова заменишь на свои картинки */
.cell-logo-1win {
    background-image: url("img/logo-1win.webp");
}
.cell-logo-mostbet {
    background-image: url("img/logo-mostbet.webp");
}
.cell-logo-pinup {
    background-image: url("img/logo-pinup.webp");
}
.cell-logo-leon {
    background-image: url("img/logo-leon.webp");
}

.cell-name {
    font-weight: 600;
}

.cell-tags {
    font-size: 11px;
    color: var(--text-muted);
}

.score-badge {
    display: inline-flex;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #22c55e;
    background: #dcfce7;
    font-size: 12px;
    font-weight: 600;
}

.btn-table {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--accent);
    color: #ffffff;
    text-decoration: none;
}

.btn-table:hover {
    background: var(--accent-dark);
}

/* ТЕКСТ ПРАВО ОТ ТАБЛИЦЫ */

.rating-text h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.rating-text p {
    font-size: 13px;
    color: #374151;
    margin-bottom: 8px;
}

.rating-note {
    font-size: 12px;
    color: var(--text-muted);
    border-left: 3px solid var(--accent);
    padding-left: 10px;
}

/* КАРТОЧКИ ОБЗОРОВ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.casino-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-soft);
    padding: 14px;
    font-size: 14px;
}

.casino-card header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.card-logo {
    width: 46px;
    height: 30px;
    border-radius: var(--radius-sm);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.card-logo-1win { background-image: url("img/logo-1win.webp"); }
.card-logo-mostbet { background-image: url("img/logo-mostbet.webp"); }
.card-logo-pinup { background-image: url("img/logo-pinup.webp"); }

.card-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.casino-card p + p {
    margin-top: 6px;
}

.btn-secondary {
    margin-top: 8px;
    background: #111827;
    color: #ffffff;
    border-color: #111827;
}

.btn-secondary:hover {
    background: #020617;
}

/* ДВЕ КОЛОНКИ */

.two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.two-cols h3 {
    font-size: 15px;
    margin-bottom: 4px;
}

.two-cols p {
    font-size: 13px;
    color: #374151;
    margin-bottom: 10px;
}

/* БОНУСЫ */

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.bonus-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    padding: 12px;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.bonus-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

/* СРАВНЕНИЕ */

.compare-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-soft);
    padding: 10px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.compare-table th,
.compare-table td {
    padding: 8px 8px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

/* FAQ */

.faq-item {
    margin-top: 8px;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    font-size: 14px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 6px;
    font-size: 13px;
    color: #374151;
}

/* ГИД + SEO ХВОСТ */

.seo-tail {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ФУТЕР */

.site-footer {
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 16px 0 18px;
    margin-top: 8px;
}

.footer-inner {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

.footer-note {
    margin-top: 4px;
}

/* АДАПТИВ */

@media (max-width: 1024px) {
    .hero-grid,
    .rating-card {
        grid-template-columns: 1fr;
    }
    .brand-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bonus-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-nav {
        justify-content: flex-start;
    }
    .hero-left h1 {
        font-size: 24px;
    }
    .brand-row,
    .cards-grid,
    .bonus-grid,
    .two-cols {
        grid-template-columns: 1fr;
    }
}
