/*
Theme Name: Football24 Theme
Author: Ты
Version: 1.0
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #1a1a1a;
    --bg2: #242424;
    --bg3: #2e2e2e;
    --bg5: #eff3f6;
    --accent: #4fc3f7;
    --accent2: #e53935;
    --green: #43a047;
    --text: #e0e0e0;
    --text-muted: #9e9e9e;
    --border: #333;
    --nav-bg: #111;
    --tab-active: #4fc3f7;
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;
}

body {
    background-color: var(--bg);
    background-image: url('assets/img/background.webp');
    background-attachment: fixed;  /* ← параллакс эффект */
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
}
.container{
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 15px;
}
a { color: inherit; text-decoration: none; }
.site-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
    pointer-events: none;
}
.top-banner,
.container,
.main-grid,
footer {
    position: relative;
    z-index: 1;
}
.main-content{
    background: var(--bg3);
    padding:15px;
}


.banner-zone-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* подбери под ширину баннера на картинке */
    height: 260px;
    z-index: 2;
    cursor: pointer;
}
/* Кликабельная зона левого баннера */
.banner-zone-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px; /* подбери под ширину баннера на картинке */
    height: 100vh;
    z-index: 2;
    cursor: pointer;
}

/* Кликабельная зона правого баннера */
.banner-zone-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px; /* подбери под ширину баннера на картинке */
    height: 100vh;
    z-index: 2;
    cursor: pointer;
}
/* ─── TOP BANNER ─── */
.top-banner {
    display: none;
    position: relative;
    overflow: hidden;
    height: 200px;
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}
.top-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.banner-brand {
    z-index: 1;
}
.banner-brand .logo-text {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
}
.banner-brand .logo-text span { color: #f7b731; }
.banner-brand .tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
    font-style: italic;
}
.banner-promo {
    z-index: 1;
    text-align: center;
}
.banner-promo .promo-text {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.banner-promo .promo-text span { color: #f7b731; }
.banner-promo .promo-sub {
    font-family: var(--font-head);
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    margin-top: 4px;
}
.banner-cta {
    z-index: 1;
}
.banner-cta a {
    display: block;
    background: linear-gradient(135deg, #f7b731, #e67e22);
    color: #111;
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(247,183,49,0.4);
    transition: transform .2s, box-shadow .2s;
}
.banner-cta a:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(247,183,49,0.5); }

/* ─── NAVBAR ─── */
.navbar__wrap{
    margin-top: 250px;
}
.navbar {
    position: relative;
    z-index: 10;
    background: var(--nav-bg);
    border-bottom: 2px solid var(--accent);
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 44px;
    gap: 0;
}
.navbar-logo {
    width: 70px;
    height: 50px;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 4px;
    margin-right: 16px;
    letter-spacing: .5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.navbar-logo img{
    width: 100%;
    height: 100%;
}
.navbar-menu {
    display: flex;
    list-style: none;
    height: 100%;
}
.navbar-menu li a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    border-right: 1px solid var(--border);
    transition: color .15s, background .15s;
}
.navbar-menu li a:hover, .navbar-menu li.active a {
    color: #fff;
    background: rgba(79,195,247,0.1);
}

/* ─── MATCHES BAR ─── */
.matches-bar {
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 0;
    height: 36px;
}
.tab-btn {
    height: 100%;
    padding: 0 18px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .15s;
}
.tab-btn.active {
    color: var(--tab-active);
    border-bottom-color: var(--tab-active);
}
.matches-empty {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 12px;
    font-style: italic;
}

/* ─── MAIN LAYOUT ─── */
.container {
    position: relative;
    z-index: 10;
    max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.main-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
    padding: 20px 16px;
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── SECTION TITLE ─── */
.section-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}
.section-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.6;
}

/* ─── PREDICTION CARDS ─── */
.prediction-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 0;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color .2s;
}
.prediction-card:hover { border-color: var(--accent); }
.pred-img {
    width: 130px;
    height: 110px;
    object-fit: cover;
    display: block;
    background: var(--bg3);
}
.pred-img-placeholder {
    width: 130px;
    height: 110px;
    background: linear-gradient(135deg, #1a3a6b, #0d1b4b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.pred-body { padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.pred-league {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.pred-league span { color: var(--accent); }
.pred-title {
    font-family: var(--font-head);
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}
.pred-title a:hover { color: var(--accent); }
.pred-odd {
    display: inline-block;
    background: var(--accent);
    color: #111;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-top: 4px;
    align-self: flex-start;
}
.pred-more {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    align-self: flex-start;
}
.pred-more:hover { text-decoration: underline; }

.show-all-btn {
    text-align: center;
    color: #FFF;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background .2s, color .2s;
    margin-top: 4px;
    background: linear-gradient(0deg, #448aff, #00bfa5);
    border: 1px solid #0097a7;
}
.show-all-btn:hover {
    background: linear-gradient(0deg, #81abf1, #57f3dd);
    color: #111;
}
.all-buttons-wrapper{
    display: flex;
    justify-content: center;

}
/* ─── BOOKMAKER BLOCK ─── */
.bookmaker-block {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    margin-top: 20px;
}
.bk-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bk-name {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}
.bk-stars { color: #f7b731; font-size: 14px; letter-spacing: 2px; }
.bk-logo-placeholder {
    background: #fff;
    border-radius: 4px;
    padding: 6px 16px;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}
.bk-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.bk-plus { font-size: 12px; color: var(--accent); cursor: pointer; }
.bk-amount {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 10px 0;
}
.bk-cta {
    display: inline-block;
    background: linear-gradient(135deg, #43a047, #2e7d32);
    color: #fff;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 4px;
    float: right;
    transition: filter .2s;
}
.bk-cta:hover { filter: brightness(1.15); }

/* ─── PREDICTIONS TABLE ─── */
.pred-table-section { margin-top: 24px; }
.pred-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.pred-tab {
    flex: 1;
    padding: 8px 4px;
    text-align: center;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    background: var(--bg2);
    border: none;
    cursor: pointer;
    border-right: 1px solid var(--border);
    transition: background .15s, color .15s;
}
.pred-tab:last-child { border-right: none; }
.pred-tab.active { background: var(--accent); color: #111; }

.date-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: center;
}
.date-tab {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}
.date-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.date-tab-select {
    margin-left: auto;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-head);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 3px;
    cursor: pointer;
}

.pred-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.pred-table thead th {
    background: var(--bg3);
    color: var(--text-muted);
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.pred-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.pred-table tbody tr:hover { background: var(--bg3); }
.pred-table td { padding: 10px 10px; color: var(--text); }
.table-empty {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 24px !important;
}
.table-cta {
    display: block;
    width: 100%;
    margin-top: 14px;
    background: var(--accent2);
    color: #fff;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px;
    text-align: center;
    border-radius: 4px;
    transition: filter .2s;
}
.table-cta:hover { filter: brightness(1.15); }

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.news-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}
.news-card-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.news-card-placeholder {
    height: 160px; background: var(--bg3);
    display: flex; align-items: center; justify-content: center; font-size: 32px;
}
.news-card-body { padding: 10px 12px; }
.news-card-title a { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; }
.news-card-title a:hover { color: var(--accent); }
.news-card-excerpt { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.news-card-meta { font-size: 11px; color: var(--text-muted); margin-top: 8px; display: flex; gap: 10px; }
/* ─── SIDEBAR ─── */
.sidebar {}
.sidebar-widget {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
}
.sidebar-widget-title {
    background: var(--accent2);
    color: #fff;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 14px;

}
.news-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--bg3); }
.news-thumb {
    width: 70px;
    height: 60px;
    object-fit: cover;
    display: block;
    background: var(--bg3);
}
.news-thumb-placeholder {
    width: 70px;
    height: 60px;
    background: linear-gradient(135deg, #1a3a6b, #0d1b4b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.news-body { padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; }
.news-title {
    font-size: 12px;
    color: var(--text);
    line-height: 1.4;
    font-weight: 600;
}
.news-title:hover { color: var(--accent); }
.news-meta { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.news-views { font-size: 10px; color: var(--text-muted); }

/* ─── SIDEBAR AD ─── */
.sidebar-ad {
    background: linear-gradient(135deg, #0d1b4b, #1a3a8f);
    border: 1px solid #1a3a8f;
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}
.sidebar-ad .ad-text {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 10px;
}
.sidebar-ad a {
    color: var(--accent);
    font-weight: 600;
}
.sidebar-ad .ad-bonus {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: #f7b731;
    margin: 6px 0;
}

/* ─── FOOTER ─── */
footer {
    position:relative;
    z-index: 4;
    background: var(--nav-bg);
    border-top: 2px solid var(--border);
    padding: 30px 16px;
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}
footer .footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
footer .footer-nav a {
    color: var(--text-muted);
    font-size: 12px;
    transition: color .15s;
}
footer .footer-nav a:hover { color: var(--accent); }
footer .footer-social { display: flex; justify-content: center; gap: 12px; margin: 12px 0; }
footer .social-btn {
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: border-color .15s, color .15s;
}
footer .social-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .top-banner { flex-direction: column; height: auto; padding: 20px; gap: 12px; text-align: center; }
    .main-grid { grid-template-columns: 1fr; }
    .sidebar { order: -1; }
    .prediction-card { grid-template-columns: 1fr; }
    .pred-img-placeholder { width: 100%; height: 140px; }
    .navbar-menu li a { padding: 0 10px; font-size: 11px; }
}



/* ═══════════════════════════════════════
   ХЛЕБНЫЕ КРОШКИ
═══════════════════════════════════════ */
.breadcrumbs {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding: 8px 0;
}
.breadcrumbs a { color: var(--accent); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 4px; }

/* ═══════════════════════════════════════
   ФИЛЬТР ПО СТРАНАМ
═══════════════════════════════════════ */
.country-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.country-btn {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--bg3);
    border: 1px solid #fff;
    color: var(--text-muted);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all .15s;
}
.country-btn:hover,
.country-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #111;
}

/* ═══════════════════════════════════════
   СЕТКА БУКМЕКЕРОВ (архив)
═══════════════════════════════════════ */
.bookmakers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.bookmaker-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .2s;
}
.bookmaker-card:hover { border-color: var(--accent); }

.bk-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}
.bk-logo-img {
    max-height: 50px;
    max-width: 160px;
    object-fit: contain;
}
.bk-logo-placeholder {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.bk-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.bk-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}
.bk-card-cta {
    display: block;
    text-align: center;
    background: var(--accent);
    color: #111;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px;
    border-radius: 4px;
    transition: filter .2s;
}
.bk-card-cta:hover { filter: brightness(1.15); }

/* ═══════════════════════════════════════
   ПАГИНАЦИЯ
═══════════════════════════════════════ */
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin: 16px 0;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 3px;
    font-size: 12px;
    transition: all .15s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #111;
}

/* ═══════════════════════════════════════
   ГЕРОЙ БУКМЕКЕРА (single)
═══════════════════════════════════════ */
.bk-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 24px;
    min-height: 220px;
    border: 1px solid var(--border);
}
.bk-hero-bg {
    background-size: cover;
    background-position: center;
    min-height: 220px;
}
.bk-hero-bg--empty {
    background: linear-gradient(135deg, #0d1b4b, #1a3a8f);
}
.bk-ratings {
    background: rgba(0,0,0,0.85);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.bk-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
}
.bk-rating-label { color: var(--text-muted); }
.bk-rating-value {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
}
.bk-rating-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}
.bk-rating-total .bk-rating-label {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}
.bk-rating-total .bk-stars {
    color: #f7b731;
    font-size: 16px;
    letter-spacing: 2px;
}

/* ═══════════════════════════════════════
   ОБЗОР БУКМЕКЕРА
═══════════════════════════════════════ */
.bk-overview {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}
.bk-overview-content {
    font-size: 13px;
    color: var(--text);
    line-height: 1.7;
}
.bk-overview-content p { margin-bottom: 12px; }
.bk-overview-content h2,
.bk-overview-content h3 {
    font-family: var(--font-head);
    color: #fff;
    margin: 16px 0 8px;
}
.bk-overview-content a { color: var(--accent); }
.bk-overview-content a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   АДАПТИВ
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .bookmakers-grid { grid-template-columns: 1fr; }
    .bk-hero { grid-template-columns: 1fr; }
    .country-filter { gap: 4px; }
    .country-btn { font-size: 10px; padding: 4px 8px; }
}

.all-buttons-wrapper{
    margin-bottom: 30px;
}



/* ── APPLICATIONS ── */
.app-intro {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}
.app-intro a { color: var(--accent); }

.app-filter {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}
.app-filter-btn {
    padding: 8px 28px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: var(--bg2);
    border-right: 1px solid var(--border);
    transition: all .15s;
}
.app-filter-btn:last-child { border-right: none; }
.app-filter-btn.active,
.app-filter-btn:hover {
    background: var(--accent);
    color: #111;
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.app-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .2s;
}
.app-card:hover { border-color: var(--accent); }
.app-card-img-wrap { display: block; }
.app-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.app-card-placeholder {
    height: 180px;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.app-card-title {
    padding: 12px;
    text-align: center;
}
.app-card-title a {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.4;
}
.app-card-title a:hover { text-decoration: underline; }


/* ═══════════════════════════════════════
   SINGLE APPLICATION
═══════════════════════════════════════ */

.app-single-hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    align-items: start;
}
.app-single-logo {
    background: var(--bg3);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}
.app-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.app-single-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.2;
}
.app-platform-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.app-platform-ios {
    background: rgba(0, 122, 255, 0.15);
    border: 1px solid #007aff;
    color: #007aff;
}
.app-platform-android {
    background: rgba(61, 220, 132, 0.15);
    border: 1px solid #3ddc84;
    color: #3ddc84;
}
.app-single-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}
.app-download-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #0288d1);
    color: #fff;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 6px;
    transition: filter .2s, transform .2s;
    box-shadow: 0 4px 15px rgba(79,195,247,0.3);
}
.app-download-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/* Основной контент статьи */
.app-single-content {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
}
.app-single-content h2,
.app-single-content h3 {
    font-family: var(--font-head);
    color: #fff;
    margin: 20px 0 10px;
    text-transform: uppercase;
}
.app-single-content h2 { font-size: 20px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.app-single-content h3 { font-size: 16px; }
.app-single-content p  { margin-bottom: 14px; }
.app-single-content a  { color: var(--accent); }
.app-single-content a:hover { text-decoration: underline; }
.app-single-content ul,
.app-single-content ol {
    padding-left: 20px;
    margin-bottom: 14px;
}
.app-single-content li { margin-bottom: 6px; }

/* Похожие приложения */
.related-section { margin-top: 8px; }

/* Адаптив */
@media (max-width: 768px) {
    .app-single-hero {
        grid-template-columns: 1fr;
    }
    .app-single-logo { min-height: 120px; }
}


/* ── БУРГЕР ── */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    z-index: 1001;
}
.burger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all .3s;
}
/* Анимация крестика */
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── OVERLAY ── */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
}
.menu-overlay.open { display: block; }

/* ── КНОПКА ЗАКРЫТИЯ ВНУТРИ МЕНЮ ── */
.menu-close-wrap { display: none; }
.menu-close {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
}

/* ── АДАПТИВ ── */
@media (max-width: 768px) {
    .burger { display: flex; }

    .navbar-menu {
        position: fixed;
        top: 20px;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: var(--nav-bg);
        border-left: 1px solid var(--border);
        flex-direction: column;
        padding: 20px 0;
        z-index: 1000;
        transition: right .3s ease;
        overflow-y: auto;
    }
    .navbar-menu.open { right: 0; }

    .navbar-menu li a {
        display: block;
        padding: 14px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }
    .navbar-menu li.active a {
        color: var(--accent);
        background: rgba(79,195,247,0.08);
    }

    .menu-close-wrap { display: block; padding: 0 20px; }
}


/* ── ТАБЛИЦА ПРОДУКТОВ ── */
.bk-products-section,
.bk-payment-section {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}
.prod-tabs, .payment-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}
.prod-tab, .payment-tab {
    padding: 8px 20px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--bg3);
    color: var(--text-muted);
    border: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
    transition: all .15s;
}
.prod-tab:last-child, .payment-tab:last-child { border-right: none; }
.prod-tab.active, .payment-tab.active {
    background: var(--accent);
    color: #111;
}
.prod-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.prod-table th {
    background: var(--bg3);
    color: var(--text-muted);
    font-family: var(--font-head);
    font-size: 11px;
    text-transform: uppercase;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.prod-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.prod-table tr:last-child td { border-bottom: none; }
.prod-table tr:hover td { background: var(--bg3); }

/* ── СПОСОБЫ ОПЛАТЫ ── */
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}
.payment-item {
    background: #fff;
    border-radius: 4px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 44px;
}
.payment-logo {
    max-height: 32px;
    max-width: 80px;
    object-fit: contain;
}
.payment-name {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

/* ── СОЦСЕТИ ── */
.bk-social {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}
.social-share {
    padding: 8px 20px;
    border-radius: 4px;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    transition: filter .2s;
}
.social-share:hover { filter: brightness(1.2); }
.social-share.youtube  { background: #ff0000; }
.social-share.twitter  { background: #1da1f2; }
.social-share.whatsapp { background: #25d366; }


.prod-table-wrap {
    display: none;
}
.prod-table-wrap.active {
    display: block;
}

.check { font-size: 16px; font-weight: 700; }
.check.yes { color: #43a047; }
.check.no  { color: #e53935; }



/* ── БОНУС ── */
.bk-bonus-block {
    position: relative;
    min-height: 280px;
    background: linear-gradient(135deg, #1a3a1a, #2d5a2d);
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
}
.bk-bonus-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 0;
}
.bk-bonus-inner {
    position: relative;
    z-index: 1;
    padding: 24px;
    width: 100%;
}
.bk-bonus-ribbon {
    position: absolute;
    top: -180px;
    left: 16px;
    background: var(--accent);
    color: #111;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    transform: rotate(-30deg);
    transform-origin: bottom left;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.bk-bonus-title {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 14px;
}
.bk-bonus-btn {
    display: inline-block;
    background: var(--accent);
    color: #111;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border-radius: 4px;
    transition: filter .2s;
}
.bk-bonus-btn:hover { filter: brightness(1.15); }

/* ── СОЦИАЛЬНЫЕ КНОПКИ ── */
.bk-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}
.social-share {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 44px;
    border-radius: 6px;
    color: #fff;
    transition: filter .2s, transform .2s;
}
.social-share:hover { filter: brightness(1.2); transform: translateY(-2px); }
.social-share.facebook  { background: #1877f2; }
.social-share.twitter   { background: #1da1f2; }
.social-share.whatsapp  { background: #25d366; }

/* ── ТАБЫ ОПЛАТЫ ── */
.payment-logos-wrap { display: none; }
.payment-logos-wrap.active { display: block; }



/* ── GUIDES ── */
.guide-top-banner {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 6px;
    overflow: hidden;
}
.guide-top-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.guide-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.guide-filter-btn {

    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg3);
    color: var(--text-muted);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: all .15s;
    border: 1px solid #fff;
}
.guide-filter-btn:hover,
.guide-filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #111;
}

.guides-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.guide-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .2s;
}
.guide-card:hover { border-color: var(--accent); }
.guide-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.guide-card-placeholder {
    height: 180px;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.guide-card-body { padding: 12px; }
.guide-card-title a {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.4;
    text-transform: uppercase;
}
.guide-card-title a:hover { text-decoration: underline; }
.guide-card-excerpt {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.5;
}
.guide-card-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
    display: flex;
    gap: 10px;
}

/* Блок внизу */
.guide-bottom-cta {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}
.guide-bottom-cta p{
    margin-bottom: 15px;
}
.guide-bk-btn {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    background: var(--accent);
    color: #111;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 25px;
    transition: filter .2s;
}
.guide-bk-btn:hover { filter: brightness(1.15); }

@media (max-width: 768px) {
    .guides-grid { grid-template-columns: 1fr; }
}


/* ── SINGLE GUIDE ── */
.guide-single-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin: 16px 0 10px;
    letter-spacing: 1px;
}

.guide-single-hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    margin: 14px 0 20px;
    align-items: start;
}
.guide-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.guide-single-subtitle {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.guide-single-intro p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.guide-single-content {
    font-size: 14px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
}
.guide-single-content h2,
.guide-single-content h3 {
    font-family: var(--font-head);
    color: #fff;
    text-transform: uppercase;
    margin: 20px 0 10px;
}
.guide-single-content h2 { font-size: 20px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.guide-single-content h3 { font-size: 16px; }
.guide-single-content p  { margin-bottom: 14px; }
.guide-single-content a  { color: var(--accent); }
.guide-single-content img { max-width: 100%; border-radius: 4px; margin: 10px 0; }

/* CTA кнопки */
.guide-single-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
    flex-wrap: wrap;
}
.guide-cta-btn {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    border-radius: 25px;
    transition: filter .2s, transform .2s;
}
.guide-cta-btn:hover { filter: brightness(1.15); transform: translateY(-2px); }
.guide-cta-primary  { background: var(--accent); color: #111; }
.guide-cta-secondary { background: var(--green); color: #fff; }

/* À lire aussi */
.guide-related { margin-top: 24px; }

@media (max-width: 768px) {
    .guide-single-hero { grid-template-columns: 1fr; }
}


/* ── SINGLE PREDICTION ── */
.pred-single-hero {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    margin: 14px 0 20px;
    align-items: start;
}
.pred-hero-img { width: 100%; height: auto; display: block; border-radius: 4px; }
.pred-single-league { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.pred-single-league span { color: var(--accent); }
.pred-single-subtitle {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.status-win     { color: #43a047; font-weight: 700; }
.status-lose    { color: #e53935; font-weight: 700; }
.status-pending { color: #f7b731; font-weight: 700; }

@media (max-width: 768px) {
    .pred-single-hero { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   404 СТРАНИЦА
══════════════════════════════════════ */
.error-404 {
    text-align: center;
    padding: 40px 20px;
}
.error-404-code {
    font-family: var(--font-head);
    font-size: 120px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    opacity: 0.8;
    text-shadow: 0 4px 20px rgba(79,195,247,0.3);
}
.error-404-title {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin: 8px 0 12px;
}
.error-404-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.error-404-btn {
    display: inline-block;
    background: var(--accent);
    color: #111;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 25px;
    transition: filter .2s, transform .2s;
    margin-bottom: 32px;
}
.error-404-btn:hover { filter: brightness(1.15); transform: translateY(-2px); }

.error-404-links {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.error-404-links-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.error-404-links ul { list-style: none; }
.error-404-links ul li {
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}
.error-404-links ul li:last-child { border-bottom: none; }
.error-404-links ul li a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color .15s;
}
.error-404-links ul li a:hover { color: var(--accent); }

.error-404-recent { margin-top: 8px; }
.error-404-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}
.error-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .2s;
    text-align: left;
}
.error-card:hover { border-color: var(--accent); }
.error-card-img { width: 100%; height: 100px; object-fit: cover; display: block; }
.error-card-placeholder {
    height: 100px;
    background: var(--bg3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.error-card-body { padding: 8px 10px; }
.error-card-league {
    font-size: 10px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.error-card-title {
    font-family: var(--font-head);
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .error-404-code { font-size: 80px; }
    .error-404-cards { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   АРХИВ ПРОГНОЗОВ — табы
══════════════════════════════════════ */
.pred-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.pred-tab {
    flex: 1;
    padding: 9px 4px;
    text-align: center;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted);
    background: var(--bg2);
    border-right: 1px solid var(--border);
    transition: background .15s, color .15s;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.pred-tab:last-child { border-right: none; }
.pred-tab.active, .pred-tab:hover {
    background: var(--accent);
    color: #111;
}

.date-tabs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: center;
}
.date-tab {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    text-decoration: none;
}
.date-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.date-tab:hover  { color: var(--accent); }



/* ── БОНУСЫ ── */
.bonus-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.bonus-filter-select {
    flex: 1;
    min-width: 200px;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-head);
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239e9e9e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.bonus-filter-select:focus { outline: none; border-color: var(--accent); }

.bonus-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.bonus-card {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 0;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .2s;
    align-items: center;
}
.bonus-card:hover { border-color: var(--accent); }

.bonus-card-logo {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    min-height: 80px;
}
.bonus-logo-img {
    max-width: 110px;
    max-height: 50px;
    object-fit: contain;
}
.bonus-logo-placeholder {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.bonus-card-body { padding: 14px 16px; }
.bonus-card-title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.bonus-card-type {
    font-size: 11px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}
.bonus-card-amount {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: #f7b731;
    margin-bottom: 6px;
}
.bonus-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.bonus-card-footer {
    padding: 16px;
    border-left: 1px solid var(--border);
}
.bonus-card-btn {
    display: block;
    background: linear-gradient(135deg, #43a047, #2e7d32);
    color: #fff;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 10px 16px;
    border-radius: 4px;
    text-align: center;
    white-space: nowrap;
    transition: filter .2s;
}
.bonus-card-btn:hover { filter: brightness(1.15); }

@media (max-width: 768px) {
    .bonus-card { grid-template-columns: 1fr; }
    .bonus-card-logo { border-right: none; border-bottom: 1px solid var(--border); }
    .bonus-card-footer { border-left: none; border-top: 1px solid var(--border); }
}


/* ══════════════════════════════════════
   1xBET APK СТРАНИЦА
══════════════════════════════════════ */

.apk-hero {
    background: linear-gradient(135deg, #0d1b4b 0%, #1a3a8f 50%, #0d6efd 100%);
    border-radius: 8px;
    padding: 40px 30px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.apk-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.apk-logo {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.apk-logo span { color: #f7b731; }
.apk-title {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}
.apk-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
.apk-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.apk-btn {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border-radius: 6px;
    transition: filter .2s, transform .2s;
}
.apk-btn:hover { filter: brightness(1.15); transform: translateY(-2px); }
.apk-btn--android { background: #3ddc84; color: #111; }
.apk-btn--ios     { background: #fff; color: #111; }

/* Преимущества */
.apk-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.apk-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 14px;
}
.apk-feature-icon { font-size: 24px; flex-shrink: 0; }
.apk-feature-text strong {
    display: block;
    font-family: var(--font-head);
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
}
.apk-feature-text p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* Блок скачивания */
.apk-download-block {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
    align-items: center;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}
.apk-download-icon { font-size: 40px; text-align: center; }
.apk-download-title {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.apk-download-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}
.apk-download-specs {
    list-style: none;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.apk-download-specs li {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg3);
    padding: 2px 8px;
    border-radius: 3px;
}
.apk-download-btn {
    display: block;
    white-space: nowrap;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 12px 20px;
    border-radius: 6px;
    text-align: center;
    transition: filter .2s;
}
.apk-download-btn:hover { filter: brightness(1.15); }

/* ══════════════════════════════════════
   ФУТЕР
══════════════════════════════════════ */
.site-footer {
    background: var(--nav-bg);
    border-top: 2px solid var(--border);
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.footer-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-bottom: 16px;
    flex-wrap: wrap;
    padding: 0;
}
.footer-menu li a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color .15s;
}
.footer-menu li a:hover { color: var(--accent); }
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 14px 0;
}
.social-btn {
    background: var(--bg2);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: border-color .15s, color .15s;
    display: inline-block;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }
.footer-copy {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 8px;
}
.footer-copy a { color: var(--accent); }

@media (max-width: 768px) {
    .apk-features       { grid-template-columns: 1fr; }
    .apk-download-block { grid-template-columns: 1fr; text-align: center; }
    .apk-download-specs { justify-content: center; }
}


/* ================================================
   ДОБАВИТЬ В style.css ВАШЕЙ ТЕМЫ
   ================================================ */

/* --- Таблица содержания (TOC) --- */
.toc-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px 24px;
    margin: 24px 0 32px;
}

.toc-box ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 32px;
}

@media (max-width: 640px) {
    .toc-box ol {
        columns: 1;
    }
}

.toc-box ol li {
    margin-bottom: 6px;
    font-size: 14px;
    break-inside: avoid;
}

.toc-box ol li a {
    color: #1a73e8;
    text-decoration: none;
}

.toc-box ol li a:hover {
    text-decoration: underline;
}

/* --- Контент страницы APK --- */
.guide-single-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.guide-single-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.guide-single-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 6px;
    color: #fff;
}

.guide-single-content p {
    margin-bottom: 14px;
    line-height: 1.7;
    color: #ccc;
}

.guide-single-content ul,
.guide-single-content ol {
    padding-left: 22px;
    margin-bottom: 16px;
    color: #ccc;
}

.guide-single-content ul li,
.guide-single-content ol li {
    margin-bottom: 6px;
    line-height: 1.6;
}

/* Таблица платёжных методов */
.guide-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.guide-single-content table td {
    vertical-align: top;
    padding: 8px 12px;
    width: 50%;
    color: #ccc;
}


/* ================================================
   ДОБАВИТЬ В style.css — стили для /predictions/
   ================================================ */

/* --- Intro текст --- */
.pred-page-intro {
    background: var(--card-bg, #1e2330);
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 24px;
    line-height: 1.7;
    color: var(--text-secondary, #ccc);
}

.pred-page-intro p { margin-bottom: 12px; }
.pred-page-intro ol { padding-left: 20px; }
.pred-page-intro ol li { margin-bottom: 6px; }

/* --- Таблица прогнозов --- */
.pred-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg, #1e2330);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pred-table thead tr {
    background: var(--bg-secondary, #252a3a);
}

.pred-table th {
    padding: 10px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pred-table tbody tr {
    border-bottom: 1px solid var(--border-color, #2e3347);
    transition: background 0.15s;
}

.pred-table tbody tr:hover {
    background: var(--bg-secondary, #252a3a);
}

.pred-table td {
    padding: 12px 14px;
    vertical-align: middle;
    font-size: 13px;
    color: var(--text-secondary, #ccc);
}

.table-empty {
    color: var(--text-muted, #888) !important;
    font-size: 13px;
}


.guide-single-content{
	padding: 0 15px !important;
}
.wp-block-list{
	padding: 0 15px;
}

/* ================================================
   ДОБАВИТЬ В style.css — стили для страницы букмекера
   ================================================ */

/* --- Навигационные табы букмекера --- */
.bk-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 20px 0;
  border-bottom: 2px solid var(--border-color, #2e3347);
}

.bk-nav-tab {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #888);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.bk-nav-tab:hover,
.bk-nav-tab.active {
  color: var(--accent, #00c8ff);
  border-bottom-color: var(--accent, #00c8ff);
}

/* --- Языки --- */
.bk-languages-section {
  margin: 32px 0;
}

.bk-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.bk-lang-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary, #ccc);
}

.bk-lang-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

/* --- Секции plaintes/avis --- */
.bk-plaintes-section,
.bk-avis-section {
  margin: 32px 0;
  padding: 20px;
  background: var(--card-bg, #1e2330);
  border-radius: 6px;
}
.section-title{
	text-align:center;
}