/*
Theme Name: 7K1021 Casino
Theme URI: https://7k1021.casino
Author: OpenAI
Author URI: https://openai.com
Description: Кастомная WordPress-тема для 7k1021.casino в стилистике 7k5290.casino.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: sevenk1021
*/

:root {
  /* === BRAND CORE === */
  --brand-content-background: #0B0001;
  --brand-text: #D1D1D1;
  --brand-text-secondary: #000;
  --brand-simple: linear-gradient(180deg, #7C0818 0%, #830B1A 100%);
  --brand-red: #D1021B;
  --brand-grey: rgba(245,245,245,.5);
  --brand-grey-dark: rgb(31, 26, 27);
  --brand-green: #2DD890;
  --brand-blue: #D1021B;
  --brand-yellow: #F5C66B;
  --brand-gold: #C79E0C;
  --brand-blue-dark: #D1021B;
  --brand-gradient-white: #F9F9F9;
  --brand-gradient-blue: linear-gradient(180deg, #FFF 0%, #E7E7E7 100%);
  --brand-gradient-green: linear-gradient(180deg, #D1021B 0%, #A71023 100%);
  --brand-gradient-bg: none;
  --buttons-color: linear-gradient(180deg, #D1021B 0%, #A71023 100%);
  --buttons-text-inside-color: #fff;
  --buttons-border-radius: 10px;
  --brand-blue-link: #D1021B;
  --link-color: #F5C66B;
  --brand-header-background-mob: rgba(0,0,0,.8);
  --brand-header-background-web: #0B0001;
  --footer-background-color: #110D0E;
  --footer-text-color: #D1D1D1;
  --footer-divider: 1px solid rgba(255,255,255,0.10);
  --main-content-bg: #110D0E;
  --menu-background-color: #060102;
  --menu-active-color: rgba(245,198,107,1);
  --input-background: #000;
  --input-color: #fff;
  --input-border: 1px solid transparent;
  --input-radius: 8px;
  --brand-gradient-popup-bg: linear-gradient(0deg, #1E0409 2.5%, #530B12 97.5%);
  --brand-shadow: 0 2px 8px 0 rgba(0,0,0,0.25);
  --components-border-radius: 12px;

  /* === THEME ALIASES (used in existing CSS) === */
  --bg: #0B0001;
  --bg-soft: #110D0E;
  --panel: rgba(31,26,27,0.92);
  --panel-2: rgba(11,0,1,0.95);
  --text: #D1D1D1;
  --muted: rgba(209,209,209,0.65);
  --line: rgba(255,255,255,.08);
  --primary: #D1021B;
  --primary-2: #A71023;
  --accent: #F5C66B;
  --success: #2DD890;
  --shadow: 0 2px 8px 0 rgba(0,0,0,0.25);
  --radius: 12px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--link-color); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: var(--brand-header-background-web);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.branding a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
}
.site-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--brand-simple);
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(209,2,27,.35);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: #fff;
  background: rgba(255,255,255,.06);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.button,
.wp-block-button__link,
input[type="submit"],
button,
.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--buttons-border-radius);
  padding: 14px 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  color: var(--buttons-text-inside-color);
  background: var(--buttons-color);
  box-shadow: 0 8px 20px rgba(209,2,27,.30);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.button::after,
.wp-block-button__link::after,
input[type="submit"]::after,
button::after,
.cta-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button:not(.mobile-toggle):hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 36px rgba(209,2,27,.55), 0 0 24px rgba(209,2,27,.28);
  filter: brightness(1.12);
  color: #fff;
}
.button:hover::after,
.wp-block-button__link:hover::after,
input[type="submit"]:hover::after,
button:not(.mobile-toggle):hover::after {
  opacity: 1;
}
.button:active,
.wp-block-button__link:active,
input[type="submit"]:active,
button:active {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 8px 20px rgba(209,2,27,.40);
}
.button--ghost {
  background: rgba(255,255,255,.05);
  color: #fff;
  box-shadow: none;
  border: 1px solid var(--line);
}
.button--ghost:hover {
  background: rgba(209,2,27,.14);
  border-color: rgba(209,2,27,.55);
  box-shadow: 0 0 22px rgba(209,2,27,.22), inset 0 0 14px rgba(209,2,27,.08);
  filter: none;
  transform: translateY(-3px) scale(1.03);
  color: #fff;
}
.button--ghost::after { display: none; }

/* === Белая кнопка "Войти" === */
.button--white {
  background: #ffffff;
  color: #0B0001;
  box-shadow: 0 4px 16px rgba(255,255,255,.12);
  border: none;
  font-weight: 700;
}
.button--white::after { display: none; }
.button--white:hover {
  background: #f0f0f0;
  color: #0B0001;
  filter: none;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 26px rgba(255,255,255,.22);
}
.button--white:active {
  background: #e4e4e4;
  transform: translateY(0) scale(1);
  box-shadow: 0 3px 10px rgba(255,255,255,.10);
}

/* === Кнопка "Играть Сейчас" (усиленная) === */
.button--play {
  background: linear-gradient(180deg, #E8021F 0%, #A71023 100%);
  box-shadow: 0 8px 22px rgba(209,2,27,.40);
  letter-spacing: .02em;
}
.button--play::after {
  background: linear-gradient(135deg, rgba(255,255,255,.22) 0%, transparent 55%);
}
.button--play:hover {
  background: linear-gradient(180deg, #ff1433 0%, #c4122a 100%);
  box-shadow: 0 14px 36px rgba(209,2,27,.60), 0 0 28px rgba(255,30,60,.30);
}
.cta-link {
  background: transparent;
  box-shadow: none;
  padding: 6px 2px;
  border-bottom: 1px solid rgba(209,2,27,.45);
  border-radius: 0;
  color: var(--accent);
  font-weight: 700;
}
.cta-link:hover {
  border-bottom-color: var(--accent);
  color: #fff;
  filter: none;
  transform: translateX(4px);
  box-shadow: none;
}

.hero {
  padding: 48px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: stretch;
}
.hero-card,
.panel,
.post-card,
.widget,
.comment-respond,
.comment-list li,
.wp-block-group.is-style-panel {
  background: linear-gradient(180deg, rgba(89,8,25,.88), rgba(11,0,1,.95));
  border: 1px solid rgba(209,2,27,.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(209,2,27,.35), transparent 70%);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.07);
  font-size: 14px;
  margin-bottom: 16px;
}
.hero-title {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
}
.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 24px;
}
.hero-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.hero-point {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.04);
}
.hero-point strong { display: block; font-size: 20px; color: #fff; }
.hero-side {
  display: grid;
  gap: 18px;
}
.mini-card { padding: 24px; }
.mini-card h3 { margin: 0 0 10px; font-size: 22px; }
.mini-card p { margin: 0 0 16px; color: var(--muted); }
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 14px;
}

.section {
  padding: 26px 0;
}
.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
}
.section-copy { color: var(--muted); max-width: 760px; }

.cards-3,
.cards-4,
.post-grid {
  display: grid;
  gap: 18px;
}
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-card,
.provider-card,
.post-card {
  padding: 24px;
}
.feature-card h3,
.provider-card h3,
.post-card h2,
.post-card h3 {
  margin: 0 0 10px;
}
.feature-card p,
.provider-card p,
.post-card p,
.entry-summary,
.entry-content,
.widget p,
.widget li {
  color: var(--muted);
}
.icon-pill {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(209,2,27,.24), rgba(167,16,35,.22));
  margin-bottom: 16px;
}

.providers-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.provider-chip {
  padding: 18px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: #fff;
  font-weight: 700;
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  padding: 30px 0 60px;
}
.entry-area,
.sidebar-area { min-width: 0; }
.entry-shell,
.archive-shell {
  background: linear-gradient(180deg, rgba(89,8,25,.88), rgba(11,0,1,.95));
  border: 1px solid rgba(209,2,27,.16);
  border-radius: var(--components-border-radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.entry-title,
.page-title {
  margin-top: 0;
  line-height: 1.1;
  font-size: clamp(30px, 4.5vw, 52px);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: #fff; margin-top: 28px; }
.entry-content a { color: #f3d6ff; }
.entry-content ul,
.entry-content ol { padding-left: 22px; }
.entry-content blockquote {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.entry-content th,
.entry-content td {
  border: 1px solid var(--line);
  padding: 12px 14px;
}

.sidebar-area > * + * { margin-top: 18px; }
.widget,
.search-form,
.comment-respond,
.comment-list li {
  padding: 22px;
}
.widget-title { margin-top: 0; font-size: 20px; }
.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  background: linear-gradient(180deg, rgba(89,8,25,.88), rgba(11,0,1,.95));
  border: 1px solid rgba(209,2,27,.16);
  border-radius: var(--radius);
}
input[type="search"],
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: var(--input-border);
  background: var(--input-background);
  color: var(--input-color);
  border-radius: var(--input-radius);
  padding: 14px 16px;
}
textarea { min-height: 150px; }

.site-footer {
  margin-top: 24px;
  border-top: var(--footer-divider);
  background: var(--footer-background-color);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 24px;
  padding: 34px 0;
}
.footer-grid h3,
.footer-grid h4 { margin-top: 0; }
.footer-copy { color: var(--muted); }
.footer-menu,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-info {
  border-top: 1px solid var(--line);
  padding: 16px 0 30px;
  color: var(--muted);
  font-size: 14px;
}

/* === PROVIDERS === */
.providers-section { background: var(--bg-soft); }

.providers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.provider-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  color: #fff;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .15s;
  cursor: pointer;
}
.provider-logo-card:hover {
  background: rgba(209,2,27,.12);
  border-color: rgba(209,2,27,.4);
  transform: translateY(-2px);
  color: #fff;
}

.prov-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
}
.prov-name {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
  line-height: 1.3;
}
.provider-logo-card:hover .prov-name { color: #fff; }

/* Provider brand colors */
.prov-pragmatic  { background: linear-gradient(135deg, #c8102e, #8b000f); }
.prov-evolution  { background: linear-gradient(135deg, #e63946, #9d0208); }
.prov-netent     { background: linear-gradient(135deg, #e63946, #6a0572); }
.prov-micro      { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.prov-playtech   { background: linear-gradient(135deg, #003566, #001d3d); }
.prov-nolimit    { background: linear-gradient(135deg, #7b2d8b, #4a0e6b); }
.prov-hacksaw    { background: linear-gradient(135deg, #2d6a4f, #1b4332); }
.prov-push       { background: linear-gradient(135deg, #e76f51, #a4310e); }
.prov-bgaming    { background: linear-gradient(135deg, #0077b6, #023e8a); }
.prov-spinomenal { background: linear-gradient(135deg, #7209b7, #3a0ca3); }
.prov-playson    { background: linear-gradient(135deg, #f77f00, #c44d00); }
.prov-relax      { background: linear-gradient(135deg, #2b9348, #007f5f); }
.prov-redtiger   { background: linear-gradient(135deg, #d62828, #6a040f); }
.prov-btg        { background: linear-gradient(135deg, #5c4033, #3e1f10); }
.prov-elk        { background: linear-gradient(135deg, #1c7c54, #0a3622); }
.prov-wazdan     { background: linear-gradient(135deg, #f4a261, #e76f51); }
.prov-booongo    { background: linear-gradient(135deg, #9b2226, #6a0572); }
.prov-gamzix     { background: linear-gradient(135deg, #0077b6, #48cae4); }
.prov-amatic     { background: linear-gradient(135deg, #606c38, #283618); }
.prov-igrosoft   { background: linear-gradient(135deg, #b5179e, #7209b7); }

.providers-more {
  margin-top: 20px;
  text-align: center;
}
.providers-more span {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  background: rgba(209,2,27,.12);
  border: 1px solid rgba(209,2,27,.3);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

/* === END PROVIDERS === */

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 14px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* ============================================================
   NEW SECTIONS: JACKPOT, GAMES, TOURNAMENT, PAYMENTS, SEO, FOOTER
   ============================================================ */

/* --- Hero banner with real image --- */
.hero-card--banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 34px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.hero-card--banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,0,1,.85) 40%, transparent 100%);
  z-index: 1;
}
.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
}
.hero-banner-content .hero-eyebrow { margin-bottom: 10px; }
.hero-banner-content .hero-title {
  font-size: clamp(22px, 3vw, 36px);
  margin: 0 0 20px;
}
.hero-character {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

/* --- Promo banner (side) --- */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  gap: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(89,8,25,.9), rgba(60,5,15,.95));
  min-height: 110px;
}
.promo-banner-content { flex: 1; position: relative; z-index: 2; }
.promo-text { margin: 0 0 12px; font-size: 14px; color: var(--muted); line-height: 1.4; }
.promo-text strong { color: #fff; display: block; font-size: 16px; }
.promo-character {
  height: 100px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* --- Game thumb with real image --- */
.game-thumb--img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  font-size: 0;
}

/* --- Footer new layout --- */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 40px;
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--line);
}
.footer-section h4 {
  margin: 0 0 18px;
  font-size: 16px;
  color: #fff;
}
.footer-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.footer-apps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  padding-top: 38px;
}
.app-btn { display: block; opacity: .85; transition: opacity .2s; }
.app-btn:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.footer-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-chip {
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.footer-meta { display: flex; align-items: center; gap: 16px; }
.footer-lang { color: var(--muted); font-size: 13px; }

/* --- Jackpot card --- */
.jackpot-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 24px;
  background: linear-gradient(160deg, rgba(20,4,28,.97) 0%, rgba(50,10,8,.95) 100%);
  border: 1px solid rgba(245,198,107,.2);
  position: relative;
  overflow: hidden;
}
.jackpot-card::before {
  content: "";
  position: absolute;
  top: -50px; left: 50%;
  transform: translateX(-50%);
  width: 240px; height: 160px;
  background: radial-gradient(ellipse, rgba(245,198,107,.14) 0%, transparent 70%);
  pointer-events: none;
}
.jackpot-main { position: relative; z-index: 1; width: 100%; }
.jackpot-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: 10px;
}
.jackpot-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: jkp-blink 1.4s ease-in-out infinite;
}
@keyframes jkp-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--success); }
  50%       { opacity: .3; box-shadow: none; }
}
.jackpot-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,198,107,.65);
  margin-bottom: 8px;
}
.jackpot-amount {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  animation: jkp-glow 2.2s ease-in-out infinite;
}
@keyframes jkp-glow {
  0%, 100% { text-shadow: 0 0 18px rgba(245,198,107,.35); }
  50%       { text-shadow: 0 0 40px rgba(245,198,107,.8), 0 0 80px rgba(245,198,107,.25); }
}
.jackpot-amount span { font-size: .64em; color: var(--accent); }
.jackpot-sub {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.jackpot-btn { position: relative; z-index: 1; width: 100%; justify-content: center; }

/* --- Game tabs --- */
.game-tabs-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.game-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.game-tab {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.game-tab:hover {
  background: rgba(209,2,27,.12);
  color: #fff;
  border-color: rgba(209,2,27,.3);
  transform: none;
  box-shadow: none;
  filter: none;
}
.game-tab.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(209,2,27,.35);
}
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* --- Tab content --- */
.tab-content { display: none; }
.tab-content.is-active { display: grid; }

/* --- Games grid --- */
.games-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 0 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(209,2,27,.4);
  box-shadow: 0 8px 24px rgba(209,2,27,.2);
  color: #fff;
}
.game-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  border-radius: 12px 12px 0 0;
}
.gt-red    { background: linear-gradient(135deg, #c8102e, #6a0010); }
.gt-green  { background: linear-gradient(135deg, #1b6b35, #0a3d1d); }
.gt-dark   { background: linear-gradient(135deg, #2a0a18, #0e0309); }
.gt-orange { background: linear-gradient(135deg, #c45a00, #7a3800); }
.gt-purple { background: linear-gradient(135deg, #6b1fa8, #3b0d6b); }
.gt-gold   { background: linear-gradient(135deg, #a07000, #5c3e00); }
.gt-blue   { background: linear-gradient(135deg, #0a4a8c, #061e4d); }
.gt-pink   { background: linear-gradient(135deg, #9b1860, #5c0030); }
.game-name {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 0 8px;
  color: #fff;
  line-height: 1.3;
}
.game-provider {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* --- Tournament --- */
.tournament-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px;
  align-items: start;
}
.tournament-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(209,2,27,.15);
  border: 1px solid rgba(209,2,27,.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.tournament-name { font-size: 28px; margin: 0 0 10px; }
.tournament-prize { font-size: 42px; font-weight: 900; color: var(--accent); margin-bottom: 8px; line-height: 1; }
.tournament-prize span { font-size: 28px; }
.tournament-timer { color: var(--muted); margin-bottom: 20px; font-size: 15px; }
.leaders-title {
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.leader-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.leader-row:last-child { border-bottom: none; }
.leader-pos {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(209,2,27,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.leader-name { flex: 1; color: #fff; font-weight: 600; }
.leader-score { color: var(--accent); font-weight: 700; font-size: 14px; }

/* --- Payments --- */
.payments-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.payments-title {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.payments-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.payment-badge {
  padding: 8px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* --- SEO text section --- */
.seo-section { background: var(--bg-soft); }
.seo-text {
  max-width: 900px;
  margin: 0 auto;
}
.seo-text h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 16px;
  color: #fff;
}
.seo-text h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-top: 30px;
  margin-bottom: 10px;
  color: #fff;
}
.seo-text p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 15px;
}

/* --- Footer 4-column --- */
.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding: 40px 0 30px;
}
.footer-grid-4 h4 { margin-top: 0; font-size: 15px; color: #fff; margin-bottom: 14px; }
.footer-logo { height: 40px; width: auto; margin-bottom: 14px; }
.footer-email {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-email:hover { color: #fff; }
.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin-top: 8px;
}
.footer-links li a {
  color: var(--muted);
  font-size: 14px;
  transition: color .18s;
}
.footer-links li a:hover { color: #fff; }
.footer-links { gap: 8px; }
.footer-responsible {
  color: var(--muted);
  font-size: 12px;
}
.site-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 16px 0 30px;
  color: var(--muted);
  font-size: 13px;
}

/* === GOLDEN SEVEN ROW === */
.golden7-strip {
  margin-bottom: 24px;
}
.golden7-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.golden7-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #F5C66B, #b8820a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(245,198,107,.35);
}
.golden7-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .01em;
}
.golden7-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,198,107,.3) transparent;
}
.golden7-row::-webkit-scrollbar { height: 4px; }
.golden7-row::-webkit-scrollbar-track { background: transparent; }
.golden7-row::-webkit-scrollbar-thumb { background: rgba(245,198,107,.3); border-radius: 4px; }

/* === PROMOTIONS ROW === */
.promo-cards-section { padding: 0 0 8px; }
.promo-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.promo-card-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(209,2,27,.18);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 168px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform .22s, box-shadow .22s;
}
.promo-card-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,0,1,.84) 30%, transparent 100%);
  z-index: 1;
}
.promo-card-banner--blur::before {
  background: linear-gradient(0deg, rgba(11,0,1,.88) 0%, rgba(11,0,1,.45) 100%);
}
.promo-card-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(209,2,27,.32);
  color: #fff;
}
.promo-card-content {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 65%;
}
.promo-card-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}
.promo-card-title {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.promo-card-char {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 95%;
  max-height: 160px;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

/* === PLAYSON REAL LOGO === */
.prov-img-logo {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: contain;
  background: linear-gradient(135deg, #f77f00, #c44d00);
  padding: 6px;
}

/* ============================================================
   RESPONSIVE for new sections
   ============================================================ */

/* === TABLET === */
@media (max-width: 1100px) {
  .hero-grid,
  .content-wrap,
  .footer-grid,
  .cards-4,
  .cards-3,
  .post-grid,
  .providers-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .providers-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .promo-card-content { max-width: 60%; }
  .promo-card-title { font-size: 16px; }
  .golden7-row { grid-template-columns: repeat(7, minmax(120px, 1fr)); }
}

/* === MOBILE === */
@media (max-width: 820px) {
  /* Header */
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo toggle" "nav nav";
    align-items: center;
    gap: 0;
    padding: 10px 0;
  }
  .branding { grid-area: logo; }
  .mobile-toggle { grid-area: toggle; display: inline-flex; }
  .main-nav { grid-area: nav; width: 100%; display: none; margin-top: 8px; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 12px 16px; border-radius: 10px; }
  .header-actions { display: none; } /* скрываем кнопки в хэдере, есть кнопки на главной */

  /* Logo */
  .site-logo { height: 36px; }

  /* Layouts */
  .hero-grid,
  .content-wrap,
  .cards-4,
  .cards-3,
  .post-grid,
  .providers-strip,
  .footer-grid,
  .hero-points {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero { padding: 24px 0 16px; }
  .hero-card { padding: 22px 18px; }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .button {
    width: 100%;
    justify-content: center;
    padding: 16px 22px;
    font-size: 16px;
  }
  .hero-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .hero-point { padding: 12px 8px; text-align: center; }
  .hero-point strong { font-size: 16px; }

  /* Hero side */
  .mini-card { padding: 18px; }

  /* Cards */
  .feature-card.panel { padding: 18px; }

  /* Sections */
  .section { padding: 20px 0; }
  .section-header { align-items: start; flex-direction: column; gap: 12px; }
  .section-header .button { width: 100%; justify-content: center; }

  /* Providers */
  .providers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .provider-logo-card { padding: 14px 8px; gap: 8px; }
  .prov-icon { width: 44px; height: 44px; font-size: 10px; }
  .prov-name { font-size: 11px; }

  /* Content / sidebar */
  .entry-shell,
  .archive-shell { padding: 20px 16px; }

  /* Footer */
  .footer-grid { gap: 16px; padding: 24px 0; }
  .footer-grid-4 { grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
  .footer-apps { flex-direction: row; padding-top: 0; }

  /* Hero banner */
  .hero-card--banner { min-height: 180px; padding: 22px 18px; }
  .hero-character { max-height: 180px; }
  .promo-character { height: 80px; }

  /* Games */
  .games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .game-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .game-tab { white-space: nowrap; }
  .game-tabs-wrap { flex-direction: column; align-items: flex-start; }

  /* Tournament */
  .tournament-card { grid-template-columns: 1fr; gap: 20px; }
  .tournament-prize { font-size: 34px; }

  /* Golden 7 */
  .golden7-row { grid-template-columns: repeat(7, minmax(110px, 1fr)); }

  /* Promo cards */
  .promo-cards-row { grid-template-columns: 1fr; gap: 12px; }
  .promo-card-banner { min-height: 140px; }
  .promo-card-content { max-width: 70%; }
  .promo-card-char { max-height: 130px; }

  /* Jackpot — горизонтальный layout на мобиле */
  .jackpot-card {
    flex-direction: row;
    text-align: left;
    align-items: center;
    padding: 18px 20px;
    gap: 16px;
  }
  .jackpot-card::before { display: none; }
  .jackpot-main { flex: 1; min-width: 0; }
  .jackpot-live  { margin-bottom: 4px; }
  .jackpot-label { margin-bottom: 4px; }
  .jackpot-amount { font-size: clamp(26px, 6vw, 36px); margin-bottom: 2px; }
  .jackpot-sub   { margin-bottom: 0; }
  .jackpot-btn   { flex-shrink: 0; white-space: nowrap; width: auto; }
}

/* === SMALL PHONES (≤480px) === */
@media (max-width: 480px) {
  /* Compact container padding */
  .container { width: calc(100% - 24px); }

  /* Hero title already uses clamp(), extra safety */
  .hero-title { letter-spacing: -.01em; }
  .hero-text { font-size: 15px; }

  /* Hero points: stack */
  .hero-points { grid-template-columns: 1fr; gap: 6px; }
  .hero-point { padding: 10px 14px; display: flex; align-items: center; gap: 12px; }
  .hero-point strong { font-size: 18px; }

  /* Providers: 2 columns */
  .providers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .provider-logo-card { padding: 12px 6px; }
  .prov-icon { width: 40px; height: 40px; font-size: 9px; }

  /* Section titles */
  .section-title { font-size: 24px; }

  /* Buttons */
  .hero-actions .button { font-size: 15px; padding: 15px 18px; }

  /* Footer */
  .footer-grid h3, .footer-grid h4 { font-size: 16px; }
  .footer-grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .footer-cols-2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Hero banner */
  .hero-card--banner { flex-direction: column; align-items: flex-start; min-height: 160px; }
  .hero-banner-content { max-width: 100%; }
  .hero-character { height: 120px; position: static; margin-top: 10px; }

  /* Games */
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .game-thumb { font-size: 30px; }
  .game-name { font-size: 12px; }

  /* Tournament */
  .tournament-name { font-size: 22px; }
  .tournament-prize { font-size: 28px; }

  /* Jackpot — компактный на маленьких экранах */
  .jackpot-card { padding: 14px 16px; gap: 12px; }
  .jackpot-amount { font-size: 24px; }
  .jackpot-btn { padding: 12px 14px; font-size: 13px; }
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section { padding: 40px 0; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--panel);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .18s;
  line-height: 1.4;
}
.faq-q:hover { background: rgba(255,255,255,.06); }
.faq-q[aria-expanded="true"] { background: rgba(245,198,107,.07); color: var(--accent); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);
  position: relative;
  transition: transform .25s, border-color .18s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; transition: transform .25s, opacity .25s; }

.faq-q[aria-expanded="true"] .faq-icon {
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 24px;
  background: rgba(0,0,0,.18);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.faq-a.is-open {
  max-height: 300px;
  padding: 16px 24px 20px;
}

@media (max-width: 820px) {
  .faq-q { padding: 16px 18px; font-size: 15px; }
  .faq-a { padding: 0 18px; }
  .faq-a.is-open { padding: 12px 18px 16px; }
}
@media (max-width: 480px) {
  .faq-q { padding: 14px 16px; font-size: 14px; }
  .faq-a { padding: 0 16px; font-size: 14px; }
  .faq-a.is-open { padding: 10px 16px 14px; }
}

/* PAGE NAV */
.page-nav {
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.page-nav__list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 4px;
  list-style: none !important;
  margin: 0;
  padding: 10px 0;
}
.page-nav__list > li {
  display: inline-flex !important;
  float: none !important;
  margin: 0;
  padding: 0;
}
.page-nav__list a {
  display: block;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.page-nav__list a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
@media (max-width: 600px) {
  .page-nav__list { gap: 2px; }
  .page-nav__list a { padding: 6px 12px; font-size: 13px; }
}
