/*
Theme Name: 7k342 Casino Theme
Theme URI: https://7k-342.casino/
Author: Your Name
Author URI: https://example.com/
Version: 1.0.0
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 7k342-theme
*/

/* Базовые сбросы и типографика */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #05070d;
    color: #f5f7ff;
    line-height: 1.5;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Ссылки и кнопки */
a {
    color: #ffcc33;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #ffe680;
    opacity: 0.9;
}

.button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #ff7a00, #ffcc33);
    color: #1b1025;
    box-shadow: 0 0 18px rgba(255, 204, 51, 0.4);
}

.button:hover,
.btn:hover {
    filter: brightness(1.05);
}

/* Хедер */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 7, 13, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
}

.site-logo img {
    height: 32px;
    width: auto;
}

/* Навигация */
.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    font-size: 14px;
    opacity: 0.85;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
    opacity: 1;
}

/* Hero / верхний баннер */
.hero {
    padding: 40px 0 32px;
    background: radial-gradient(circle at top, #26144d 0, #05070d 55%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px;
}

.hero-subtitle {
    font-size: 16px;
    max-width: 540px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-badge {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(20, 255, 160, 0.1);
    color: #afffd9;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Блоки статистики/фич */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 12px;
}

.hero-stat {
    min-width: 120px;
}

.hero-stat-title {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 4px;
    letter-spacing: 0.1em;
}

.hero-stat-value {
    font-size: 18px;
    font-weight: 700;
}

/* Список казино */
.casino-list-section {
    padding: 32px 0 40px;
}

.section-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 24px;
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.casino-card {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #111323, #070814);
    border: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
}

.casino-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.casino-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #090b16;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.casino-logo img {
    max-width: 100%;
    max-height: 100%;
}

.casino-info-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.casino-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
}

.casino-tag {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    opacity: 0.9;
}

/* Колонка бонуса/оффера */
.casino-offer {
    font-size: 14px;
}

.casino-offer-main {
    font-weight: 700;
    margin-bottom: 4px;
}

.casino-offer-sub {
    font-size: 12px;
    opacity: 0.8;
}

/* Колонка CTA */
.casino-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.casino-rating {
    font-size: 13px;
    opacity: 0.9;
}

/* FAQ / текстовые блоки */
.faq-section,
.text-section {
    padding: 24px 0 40px;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 4px;
}

.faq-answer {
    font-size: 14px;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    margin-top: 32px;
    padding: 24px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #05060c;
    font-size: 12px;
    opacity: 0.8;
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
}

/* Адаптив */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .casino-card {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    }

    .casino-cta {
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .site-header-inner {
        gap: 12px;
    }

    .main-nav {
        display: none; /* под бургер-меню позже */
    }

    .hero {
        padding-top: 24px;
    }

    .hero-title {
        font-size: 24px;
    }

    .casino-card {
        grid-template-columns: minmax(0, 1fr);
        align-items: flex-start;
    }

    .casino-cta {
        width: 100%;
        align-items: stretch;
    }

    .button,
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   7K Buttons like reference (red gradient + gold)
   Put this at the VERY END of style.css
   ========================================= */

:root{
  --brand-simple: linear-gradient(180deg, #7C0818 0%, #830B1A 100%);
  --brand-red: #D1021B;
  --brand-yellow: #F5C66B;
  --brand-gold: #C79E0C;

  --primary-button-color: #FFF;
  --secondary-button-color: #000;

  --buttons-border-radius: 10px;
  --brand-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.25);
}

/* Header right panel like .userPanel___PXBCb */
@media screen and (min-width: 320px){
  .header-cta{
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 8px 0 10px 20px;
    position: relative;
    gap: 10px;
  }
}

/* Base button reset for theme */
.btn,
.button,
a.btn,
button.btn,
input[type="submit"].btn,
.header-cta .btn{
  appearance: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  height: 40px !important;
  padding: 0 16px !important;

  border-radius: var(--buttons-border-radius) !important;
  border: 1px solid rgba(0,0,0,0.18) !important;

  font-weight: 800 !important;
  font-size: 13px !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;

  cursor: pointer !important;
  user-select: none !important;

  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease, background .12s ease !important;
  box-shadow: var(--brand-shadow) !important;
}

/* Primary (red gradient like reference) */
.btn,
.button{
  color: var(--primary-button-color) !important;
  background: var(--brand-simple) !important;
  border-color: rgba(0,0,0,0.22) !important;
}

/* Hover/Active like casino UI */
.btn:hover,
.button:hover{
  filter: brightness(1.05) saturate(1.05) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.35) !important;
}

.btn:active,
.button:active{
  transform: translateY(0) scale(.99) !important;
  filter: brightness(.98) !important;
}

/* Secondary button (gold / light gradient) — use class btn--secondary */
.btn.btn--secondary,
.button.btn--secondary{
  background: linear-gradient(180deg, #F6EB76 0%, #CEA334 45%, #D6770D 100%) !important;
  color: var(--secondary-button-color) !important;
  border-color: rgba(0,0,0,0.22) !important;
}

/* Outline button (transparent with gold border) — use btn--outline */
.btn.btn--outline,
.button.btn--outline{
  background: transparent !important;
  border: 1px solid rgba(245,198,107,.55) !important;
  color: rgba(245,247,255,.92) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.20) !important;
}
.btn.btn--outline:hover{
  box-shadow: 0 6px 18px rgba(245,198,107,.14), 0 6px 18px rgba(0,0,0,.35) !important;
}

/* Icon button small (optional) — use btn--icon */
.btn.btn--icon{
  width: 40px !important;
  padding: 0 !important;
}

/* Disabled */
.btn:disabled,
.button:disabled{
  opacity: .55 !important;
  cursor: not-allowed !important;
  transform: none !important;
  filter: none !important;
}

/* Fix WP menu buttons / ensure not broken */
.main-nav .btn{
  height: 36px !important;
  font-size: 12px !important;
}

/* Mobile: full width if needed */
@media (max-width: 720px){
  .header-cta{
    padding: 6px 0 6px 0;
  }
  .header-cta .btn{
    height: 38px !important;
    padding: 0 14px !important;
  }
}

/* =========================================
   Secondary button — WHITE (Registration)
   ========================================= */

.btn.btn--secondary,
.button.btn--secondary{
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F1F1 100%) !important;
  color: #000000 !important;

  border: 1px solid rgba(0,0,0,0.15) !important;
  box-shadow:
    0 2px 6px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.6) !important;

  font-weight: 800 !important;
}

/* Hover — как в казино UI */
.btn.btn--secondary:hover,
.button.btn--secondary:hover{
  background: linear-gradient(180deg, #FFFFFF 0%, #E7E7E7 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow:
    0 6px 18px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

/* Active */
.btn.btn--secondary:active,
.button.btn--secondary:active{
  transform: translateY(0) scale(.99) !important;
  background: linear-gradient(180deg, #F2F2F2 0%, #E0E0E0 100%) !important;
}

/* ================================
   Hero Offer Card with Image
   ================================ */

/* =========================================
   Hero offer image — overlay + hover + adapt
   ========================================= */

.hero-offer-card{
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #111323, #070814);
  border: 1px solid rgba(255,255,255,.06);
}

/* Image wrapper */
.hero-offer-image{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* Image itself */
.hero-offer-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center ; /* desktop focus */
  display: block;
  transition: transform .6s ease;
}

/* Dark gradient overlay (casino style) */
.hero-offer-image::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5,7,13,0.05) 0%,
      rgba(5,7,13,0.35) 45%,
      rgba(5,7,13,0.75) 100%
    );
  pointer-events: none;
}

/* Hover zoom (subtle, premium) */
.hero-offer-card:hover .hero-offer-image img{
  transform: scale(1.06);
}

/* Content always above overlay */
.hero-offer-content{
  position: relative;
  z-index: 2;
  padding: 16px 18px 18px;
}

/* Mobile tweaks */
@media (max-width: 720px){
  .hero-offer-image{
    aspect-ratio: 4 / 3;
  }

  .hero-offer-image img{
    object-position: center center; /* mobile focus */
  }
}


.hero-offer-content{
  padding: 16px 18px 18px;
}

.hero-offer-title{
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 6px;
}

.hero-offer-text{
  font-size: 14px;
  opacity: .85;
  margin-bottom: 14px;
}

/* =========================================
   Hero background image
   ========================================= */

.hero{
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;

  background-image:
    radial-gradient(
      circle at top,
      rgba(5,7,13,0.35) 0%,
rgba(5,7,13,0.70) 60%,
rgba(5,7,13,1) 100%
    ),
    url("assets/img/banner.webp");

  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* затемнение + читабельность */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5,7,13,0.10) 0%,
rgba(5,7,13,0.45) 70%,
rgba(5,7,13,0.85) 100%
    );
  z-index: 1;
}

/* контент поверх */
.hero > .container{
  position: relative;
  z-index: 2;
}

/* =========================================
   FAQ (premium accordion)
   ========================================= */

.faq-section{
  padding: 28px 0 44px;
}

.faq-head{
  margin-bottom: 18px;
}

.faq-accordion{
  display: grid;
  gap: 12px;
}

.faq-item{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(135deg, rgba(17,19,35,.95), rgba(7,8,20,.95));
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  overflow: hidden;
}

.faq-q{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: transparent;
  color: #f5f7ff;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  font-size: 14px;
}

.faq-q:hover{
  background: rgba(255,255,255,.03);
}

.faq-icon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  position: relative;
  flex: 0 0 28px;
}

.faq-icon::before,
.faq-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width: 12px;
  height: 2px;
  background: rgba(245,247,255,.85);
  transform: translate(-50%, -50%);
  border-radius: 2px;
}
.faq-icon::after{
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .18s ease, opacity .18s ease;
}

.faq-item.is-open .faq-icon{
  border-color: rgba(245,198,107,.28);
  box-shadow: 0 0 18px rgba(245,198,107,.12);
}
.faq-item.is-open .faq-icon::after{
  opacity: 0;
}

.faq-a{
  padding: 0 16px 14px;
}
.faq-a__inner{
  color: rgba(245,247,255,.86);
  font-size: 14px;
  line-height: 1.55;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.faq-note{
  margin-top: 14px;
  font-size: 12px;
  color: rgba(245,247,255,.72);
  opacity: .9;
}

.faq-group-title{
  margin: 22px 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.page-bonuses .hero--inner{
  padding: 44px 0 34px;
}

.bonus-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bonus-card{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(135deg, #111323, #070814);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  padding: 16px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height: 190px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.bonus-card:hover{
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.bonus-badge{
  display:inline-flex;
  align-items:center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  font-size: 11px;
  opacity:.9;
  margin-bottom: 10px;
}
.bonus-title{ font-weight: 900; font-size: 14px; margin-bottom: 6px; }
.bonus-desc{ font-size: 13px; opacity: .85; }
.bonus-note{ font-size: 12px; opacity:.65; margin-top: 10px; }

.promo-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.promo-card{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(135deg, #111323, #070814);
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  padding: 16px;
}
.promo-code{
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  display:inline-block;
  margin-bottom: 10px;
}
.promo-desc{ font-size: 13px; opacity:.9; margin-bottom: 6px; }
.promo-hint{ font-size: 12px; opacity:.65; margin-bottom: 12px; }
.promo-actions{ display:flex; gap:10px; flex-wrap:wrap; }

@media (max-width: 1100px){
  .bonus-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .bonus-grid, .promo-grid{ grid-template-columns: 1fr; }
}

/* Bonuses page: hero offer improvements */
.hero-offer-card--promo{
  overflow:hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #111323, #070814);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}

.hero-offer-image{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}
.hero-offer-image img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center 35%;
  display:block;
  transform: scale(1.02);
}
.hero-offer-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.70));
}
.hero-offer-badge{
  position:absolute;
  left: 14px; top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.28);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero-offer-content{
  padding: 16px 18px 18px;
}
.hero-offer-title{
  font-weight: 900;
  margin-bottom: 6px;
  font-size: 16px;
}
.hero-offer-desc{
  opacity:.86;
  margin-bottom: 12px;
}
.hero-offer-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.hero-offer-note{
  margin-top: 10px;
  font-size: 12px;
  opacity:.70;
}

/* Fix: bonuses-nav should be outside hero; keep sticky */
.bonuses-nav{
  position: sticky;
  top: 58px;
  z-index: 20;
  padding: 10px 0;
  background: rgba(5,7,13,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.native-links{
  margin: 10px 0 0;
  font-size: 13px;
  opacity: .88;
}
.native-links a{ font-weight: 800; }


.native-links{
  margin: 10px 0 0;
  font-size: 13px;
  opacity: .88;
}
.native-links a{ font-weight: 800; }
.native-more{ margin-top: 12px; opacity: .85; }
.native-more a{ font-weight: 900; }
