/*
Theme CSS
Author: Custom
Version: 1.2
License: GPL v2+
*/

:root {
  --color-primary: #008061;
  --color-secondary: #1A3C4E;
  --color-accent: #FFA200;
  --color-accent-dark: #c07d01;
  --color-dark: #0A2735;
  --color-darker: #071B25;
  --color-dark-blue: #0E2C3E;
  --color-text: #eee;
  --color-text-light: #fff;
  --color-text-muted: #aaa;
  --color-background: #0A2735;
  
  --header-height: 70px;
  --menu-height: 40px;
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --border-radius-xl: 10px;
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --container-padding: 25px;
  --container-max-width: 1250px;
  
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.15);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.3);
  
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Base Reset & Global Styles
   ========================================================================== */
html, body, div, span,
applet, object, iframe,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
a, abbr, acronym, address,
big, cite, code, del, dfn, em,
img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup,
tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: none;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", "Roboto", "Helvetica Neue", Tahoma, sans-serif;
  line-height: 1.7;
  color: var(--color-text);
  background: transparent;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 43px;
}

h2 {
  font-size: 1.55em;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.18em;
  font-weight: 700;
}

h4 {
  font-weight: 700;
}

p {
  font-size: 15px;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   Lists
   ========================================================================== */
ul {
  list-style: disc inside;
}

ol {
  list-style: decimal inside;
}

ul ul, ol ul {
  list-style: circle inside;
  margin-left: 14px;
}

ol ol, ul ol {
  list-style: lower-latin inside;
  margin-left: 14px;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  padding: 0;
  background-color: var(--color-primary);
  z-index: 100;
}

.header-items {
  display: flex;
  justify-content: space-between;
  height: var(--header-height);
  align-items: center;
}

.header-link {
  display: block;
}

.header-logo-img {
  width: 170px;
  height: auto;
}

/* Navigation */
.menu {
  background-color: var(--color-secondary);
  display: flex;
  align-items: center;
  height: var(--menu-height);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.nav ul {
  display: flex;
  gap: var(--spacing-xl);
  list-style: none;
  margin: 0;
  padding: 0 16px;
  flex-wrap: nowrap;
}

.nav li {
  flex: 0 0 auto;
}

.menu li a {
  color: var(--color-text-light);
  text-decoration: none;
  padding: var(--spacing-xs) 12px;
  border-radius: 20px;
  transition: var(--transition);
  white-space: nowrap;
}

.menu li a:hover {
  background: var(--color-text-light);
  color: var(--color-secondary);
}

/* Main Content */
.main {
  padding: var(--header-height) 0 0;
  background: var(--color-background);
  color: var(--color-secondary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.button {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 0 16px;
  height: 38px;
  border: none;
  border-radius: var(--border-radius);
  background: transparent;
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition);
}

.button-green {
  background: var(--color-primary);
}

.button-orange {
  background: var(--color-accent);
  color: #481A00;
}

.button-dark {
  background-color: var(--color-primary);
  font-size: 18px;
  padding: 8px 28px;
  position: relative;
  height: 42px;
  box-shadow: var(--shadow-sm);
}

.button-dark::before { left: -7px; }
.button-dark::after { right: -7px; }

.button-dark:hover {
  background-color: var(--color-accent);
  color: var(--color-darker)
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
  background-color: var(--color-darker);
}

.gallery-container {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--spacing-xl);
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 95px 16px 60px;
  color: #E0E6ED;
}

.gallery-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--spacing-sm);
  background: var(--color-secondary);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: 
    3px 3px 0 var(--color-accent),
    6px 6px 0 var(--color-primary);
}

.gallery-text {
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-text span {
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: bold;
}

.gallery-left img,
.gallery-right img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-md);
}

.gallery-left button {
  width: 100%;
}

.gallery-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 12px;
}

.gallery-right-page {
  width: 100%;
  height: 100%;
}

.gallery-right-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 
    3px 3px 0 var(--color-accent),
    6px 6px 0 var(--color-primary);
}

.gallery-item {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: linear-gradient(145deg, var(--color-secondary), #223344);
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.cta-button {
  text-align: center;
  padding: 35px 0;
}

/* Section Title Component */
.section-title {
  position: relative;
  text-align: left;
}

.section-title::after, h2.wp-block-heading::after, h3.wp-block-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 140px;
  height: 6px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: var(--border-radius);
  z-index: 0;
}

/* ==========================================================================
   Search & Sports Grid
   ========================================================================== */
.search-box {
  display: flex;
  justify-content: center;
  margin: var(--spacing-xl) 0;
}

.search-input {
  width: 100%;
  max-width: 500px;
  padding: 12px 20px;
  border-radius: 30px;
  border: 2px solid #2c3e50;
  background: rgba(0, 0, 0, 0.3);
  color: var(--color-text-light);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.sport-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  background: linear-gradient(145deg, var(--color-secondary), #223344);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-lg) var(--spacing-sm);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
}

.sport-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.sport-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
}

.sport-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-light);
  width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.events-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.sport-name,
.events-count {
  line-height: 1.2;
  margin: 0;
}

/* ==========================================================================
   Matches & Leagues
   ========================================================================== */
.league-header {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, var(--color-primary), #005b45);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
  margin-bottom: 2px;
}

.league-flag {
  margin-right: var(--spacing-md);
  border-radius: 3px;
}

.league-info {
  flex-grow: 1;
}

.league-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-text-light);
}

.league-matches {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.match-row {
  display: flex;
  align-items: center;
  background: #1e2f3f;
  padding: var(--spacing-md) var(--spacing-lg);
  margin-bottom: 2px;
  transition: var(--transition);
}

.match-row:hover {
  background: #223344;
  transform: translateX(5px);
}

.match-time {
  width: 80px;
  text-align: center;
  padding: 8px 5px;
  background: #2c3e50;
  border-radius: var(--border-radius);
  margin-right: var(--spacing-md);
  font-weight: bold;
  color: var(--color-text-light);
}

.match-time span {
  font-size: 12px;
}

.match-teams {
  flex-grow: 1;
}

.team-names {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-light);
}

.team-home {
  color: var(--color-accent);
}

.match-bet-type {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  gap: var(--spacing-sm);
  list-style-type: none;
}

.bet-type {
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 3px;
}

.match-odds {
  display: flex;
  gap: var(--spacing-sm);
}

.odds-btn {
  width: 60px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: #2c3e50;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  color: var(--color-text-light);
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
  border: none;
  outline: none; 
}

.odds-type {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin: 0 0 2px 0;
  line-height: 1;
}

.odds-value {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
}

.odds-btn.main {
  background: linear-gradient(135deg, #ffcc00, var(--color-accent));
}

.odds-btn.main .odds-value {
  color: #000;
}

.odds-btn.main .odds-type {
  color: #333;
}

.more-odds {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
  border-radius: var(--border-radius);
  cursor: pointer;
  margin-left: var(--spacing-xs);
  transition: var(--transition-fast);
  color: var(--color-text-light);
  border: none;
  outline: none; 
}

.more-odds:hover, .odds-btn:hover {
  opacity: .5;
}

.match-info {
  display: flex;
  align-items: center;
  background: #1e2f3f;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
  margin-bottom: var(--spacing-xl);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.match-count {
  margin-right: var(--spacing-lg);
}

.favorite-btn {
  margin-left: auto;
  background: none;
  border: 1px solid #2c3e50;
  color: var(--color-accent);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.favorite-btn:hover {
  background: rgba(255, 204, 0, 0.1);
}

.favorite-btn i {
  font-size: 0.8rem;
}

.games {
  margin-bottom: var(--spacing-xl);
}

.filters {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  list-style-type: none;
}

.filter-btn {
  background: #1F3748;
  border: none;
  color: #ccc;
  padding: 8px 15px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.filter-btn.active {
  background: var(--color-accent);
  color: #000;
  font-weight: 500;
}

.filter-btn:hover:not(.active) {
  background: #2c3e50;
}

/* ==========================================================================
   Casino Section
   ========================================================================== */
.casino-section {
  padding: 40px 0;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.block-title {
  font-size: 28px;
  color: var(--color-text-light);
  font-weight: bold;
  text-align: left;
  padding: var(--spacing-sm) 0 var(--spacing-lg);
  text-transform: uppercase;
}

.section-subtitle {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: 40px;
}

.slot-item {
  background: linear-gradient(145deg, #1e2f3f, #223344);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
  height: 250px;
  display: flex;
  flex-direction: column;
}

.slot-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.slot-image {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, #2c3e50, #4a6580);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slot-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--color-accent);
  border: 1px solid #005b45;
  color: #000;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 2;
}

.slot-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.slot-title {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-accent);
  text-align: center;
  flex-grow: 1;
}

.slot-button {
  padding: 6px 10px;
  background: linear-gradient(135deg, #ffcc00, var(--color-accent));
  color: #000;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  font-size: 13px;
}

.slot-button:hover {
  background: linear-gradient(135deg, var(--color-accent), #ffcc00);
}

.view-all {
  text-align: center;
  margin-top: var(--spacing-xl);
}

.view-all-button {
  display: inline-block;
  padding: var(--spacing-md) 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 16px;
}

.view-all-button:hover {
  background: rgba(255, 204, 0, 0.2);
  transform: translateY(-3px);
}

/* Анимации для слотов */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.slot-item:hover .slot-image {
  animation: pulse 1s ease infinite;
}

/* ==========================================================================
   Info Blocks & FAQ
   ========================================================================== */
.info-block {
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-xl) 0;
  position: relative;
  overflow: hidden;
  padding: var(--spacing-lg) 0;
}

.info-header {
  display: flex;
  align-items: stretch;
  margin-bottom: var(--spacing-lg);
}

.info-image {
  text-align: center;
  margin: 20px 0;
}

.info-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px; 
}

.info-image figcaption {
  font-size: 14px;
  color: #555;
  margin-top: 5px;
}

.info-icon {
  background: linear-gradient(135deg, #ffcc00, var(--color-accent));
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--spacing-md);
  padding: 0 var(--spacing-md);
}

.info-icon i {
  font-size: 1.5rem;
  color: #000;
}

.info-title {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 1.5rem;
  border-radius: var(--border-radius-xl);
  color: #000;
  text-transform: uppercase;
  margin: 0;
  background: linear-gradient(135deg, #ffcc00, var(--color-accent));
}

.info-content {
  line-height: 1.6;
}

.info-content p {
  margin-bottom: var(--spacing-md);
  color: #e0e0e0;
}

.info-image {
  position: relative;
  width: 100%;
  text-align: center;
}

.info-image img {
  max-width: 745px;
  width: 100%;
  height: auto;
  display: inline-block;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.highlight {
  color: var(--color-accent);
  font-weight: 600;
}

.steps, ol.wp-block-list {
  margin-top: var(--spacing-lg);
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

.step, ol.wp-block-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
  position: relative;
  color: #e0e0e0;
  background: #143444;
  padding: 20px 10px 20px 50px;
  border-radius: 8px;
}

.step::before, ol.wp-block-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ffcc00, #ff9900);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  color: #e0e0e0;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-xl);
  text-align: center;
}

.feature i {
  color: var(--color-accent);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.feature-text {
  font-size: 0.9rem;
}

.security-note {
  background: rgba(0, 200, 83, 0.1);
  border-left: 4px solid #00c853;
  padding: var(--spacing-md);
  margin-top: var(--spacing-lg);
  border-radius: 0 5px 5px 0;
  display: flex;
  align-items: center;
  color: #e0e0e0;
}

.security-note i {
  color: #00c853;
  font-size: 1.5rem;
  margin-right: var(--spacing-md);
}

.sports-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-sm);
  margin: var(--spacing-md) 0;
  color: var(--color-text-light);
}

.sport-type {
  background: #233D4A;
  padding: var(--spacing-sm);
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 0.9rem;
}

.benefits {
  margin-top: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

.benefit-item {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: flex-start;
}

.benefit-item i {
  color: #ffcc00;
  margin-right: var(--spacing-sm);
  margin-top: var(--spacing-xs);
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-lg) 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
}

.info-table th, .info-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
}

.info-table th {
  background: rgba(255, 204, 0, 0.2);
  color: #ffcc00;
  font-weight: 600;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.note {
  background: rgba(0, 200, 83, 0.1);
  border-left: 4px solid #00c853;
  padding: var(--spacing-md);
  margin-top: var(--spacing-lg);
  border-radius: 0 5px 5px 0;
  display: flex;
  align-items: center;
  color: var(--color-text-light);
}

.note i {
  color: #00c853;
  font-size: 1.5rem;
  margin-right: var(--spacing-md);
}

.warning {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
  padding: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  border-radius: 0 5px 5px 0;
  display: flex;
  align-items: center;
  color: var(--color-text-light);
}

.warning i {
  color: #ffc107;
  font-size: 1.5rem;
  margin-right: var(--spacing-md);
}

.betting-markets {
  margin: 25px 0;
}

.markets-title {
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-md);
  padding-bottom: 8px;
}

.markets-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.market-item {
  background: rgba(255, 255, 255, 0.08);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  color: var(--color-text-light);
}

.market-item i {
  color: var(--color-accent);
  margin-right: 12px;
  font-size: 1.2rem;
}

.leagues {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin: var(--spacing-md) 0;
}

.league {
  background: rgba(255, 204, 0, 0.15);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.live-betting {
  background: rgba(220, 53, 69, 0.15);
  border-left: 4px solid #dc3545;
  padding: var(--spacing-md);
  margin-top: var(--spacing-lg);
  border-radius: 0 5px 5px 0;
  display: flex;
  align-items: center;
  color: var(--color-text-light);
}

.live-betting i {
  color: #dc3545;
  font-size: 1.5rem;
  margin-right: var(--spacing-md);
}

/* FAQ Section */
.schema-faq-section {
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
}

.schema-faq-question {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: bold;
  display: block;
  transition: background-color 0.3s, color 0.3s;
}

.schema-faq-question:hover {
  background-color: var(--color-accent);
  color: var(--color-secondary);
}

.schema-faq-answer {
  display: none;
  padding: var(--spacing-md);
  background-color: var(--color-dark-blue);
  color: var(--color-text-light);
}

/* ==========================================================================
   Pages
   ========================================================================== */


.wpcontent {
  padding: 40px 0;
  color: #e0e0e0;
}


h2.wp-block-heading {
    position: relative;
    font-size: 2rem;
    color: #FFA200;
    margin: 20px 0 30px;
    text-transform: uppercase;
}

h3.wp-block-heading {
    position: relative;
    font-size: 1.5rem;
    color: #FFA200;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.wpcontent p {
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
}


.wp-block-table {
  margin: 30px 0;
  overflow-x: auto;
}

.wp-block-table thead {
    border: 0;
}

.wp-block-table td, .wp-block-table th {
    border: 0;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(26, 60, 78, 0.6);
    border-radius: 12px;
    overflow: hidden;
}

.wp-block-table th {
    background: rgba(255, 204, 0, 0.2);
    color: #FFCC00;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.wp-block-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.wp-block-table tr:last-child td {
    border-bottom: none;
}

.wp-block-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

ul.wp-block-list {
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

ul.wp-block-list li {
    margin-bottom: 20px;
    padding: 20px 20px 20px 70px;
    background: rgba(26, 60, 78, 0.6);
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
}

ul.wp-block-list li::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 204, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #FFCC00;
    border: 2px solid rgba(255, 204, 0, 0.3);
}

ul.wp-block-list li::after {
    content: '✓';
    position: absolute;
    left: 29px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #FFCC00;
    font-weight: bold;
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-dark-blue);
  color: var(--color-text-light);
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  font-size: 14px;
}

.footer-logo {
  margin: var(--spacing-xl) 0;
}

.footer-top {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: var(--spacing-xl);
}

.footer-top a {
  width: 45%;
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  padding: var(--spacing-sm) 40px;
  border-radius: var(--border-radius);
}

.footer-bottom {
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-lg);
}

.footer-payments {
  text-align: left;
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-secondary);
}

.footer-methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.footer-methods .method {
  background: var(--color-text-light);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
}

.footer-methods .method img {
  max-height: 25px;
  max-width: 80px;
  object-fit: contain;
}

.footer-licenses {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
}

.footer-licenses img {
  height: 25px;
}

.footer-text {
  margin: 0 auto var(--spacing-lg);
  border-bottom: 1px solid var(--color-secondary);
}

.footer-text p {
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  list-style-type: none;
}

.footer-nav a {
  color: var(--color-text-light);
  font-size: 15px;
  text-decoration: underline;
}

.footer-nav a:hover {
  text-decoration: none;
}

/* ==========================================================================
   Media Queries (Responsive Styles)
   ========================================================================== */
@media (min-width: 1200px) {
  .slots-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1199px) and (min-width: 768px) {
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .gallery-container {
    display: flex;
    flex-direction: column;
    padding: 70px 16px 35px;
  }

  .gallery-right {
    order: -1;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
  }
  
  .sports-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xs);
  }

  .sport-item {
    padding: var(--spacing-lg) 7px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 12px;
  }
  
  .header-logo-img {
    width: 140px;
  }

  .header-button .button-green {
    display: none;
  }
  
  .gallery-right {
    order: -1;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sport-icon {
    font-size: 2rem;
  }
  
  .sport-name {
    font-size: 1rem;
  }
  
  .match-row {
    flex-direction: column;
    align-items: stretch;
    padding: var(--spacing-md);
    gap: 15px;
  }
  
  .match-time {
    width: 100%;
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }
  
  .match-teams {
    margin-bottom: var(--spacing-sm);
  }
  
  .match-odds {
    justify-content: space-between;
  }
  
  .odds-btn {
    flex-grow: 1;
    width: auto;
  }
  
  .more-odds {
    width: 50px;
  }
  
  .footer-top {
    gap: var(--spacing-lg);
  }

  .footer-top a {
    width: 100%;
  }

  .gallery-left {
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 2rem;
  }
  
  .info-title {
    font-size: 1.3rem;
  }
  
  .info-block {
    padding: var(--spacing-sm);
  }
  
  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .tabs {
    flex-wrap: wrap;
  }
  
  .tab {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .sports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  
  .sport-item {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .sport-icon {
    font-size: 1.8rem;
  }
  
  .league-header {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .league-name {
    font-size: 1.1rem;
  }
  
  .odds-btn {
    height: 45px;
  }
  
  .odds-value {
    font-size: 1rem;
  }
  
  .filters {
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    justify-content: flex-start;
  }
  
  .filter-btn {
    flex-shrink: 0;
  }
}

.boabet-popup-open {
  overflow: hidden;
}

.boabet-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.boabet-popup__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(255, 162, 0, 0.14), transparent 34%),
    rgba(7, 27, 37, 0.86);
  backdrop-filter: blur(6px);
}

.boabet-popup__box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: linear-gradient(145deg, rgba(26, 60, 78, 0.98), rgba(14, 44, 62, 0.98));
  border: 1px solid rgba(255, 162, 0, 0.38);
  border-radius: var(--border-radius-xl);
  padding: 30px;
  color: var(--color-text-light);
  text-align: center;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.62),
    4px 4px 0 var(--color-accent),
    8px 8px 0 var(--color-primary);
  animation: boabetPopupIn 0.28s ease;
}

.boabet-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-light);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition-fast);
}

.boabet-popup__close:hover {
  background: var(--color-accent);
  color: #000;
}

.boabet-popup__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffcc00, var(--color-accent));
  color: #000;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(255, 162, 0, 0.32);
}

.boabet-popup__title {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.boabet-popup__text {
  max-width: 620px;
  margin: 0 auto 12px;
  color: #d9e2ea;
  font-size: 15px;
  line-height: 1.6;
}

.boabet-popup__offer {
  display: grid;
  grid-template-columns: 116px 1fr 190px;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 16px;
  background: #f7f9fc;
  border: 1px solid rgba(7, 27, 37, 0.12);
  border-radius: 14px;
  color: #071b25;
  text-align: left;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.boabet-popup__offer-logo {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.boabet-popup__offer-logo img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  display: block;
}

.boabet-popup__offer-main {
  min-width: 0;
}

.boabet-popup__offer-brand {
  margin-bottom: 6px;
  color: #071b25;
  font-size: 14px;
  font-weight: 700;
}

.boabet-popup__offer-title {
  margin-bottom: 12px;
  color: #000;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.boabet-popup__offer-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 8px;
  background: #dcebf7;
  border-radius: 6px;
  overflow: hidden;
}

.boabet-popup__offer-info span {
  display: block;
  padding: 10px 12px;
  background: #e8f2fb;
  color: #071b25;
  font-size: 14px;
  line-height: 1.35;
}

.boabet-popup__offer-info strong {
  font-weight: 900;
}

.boabet-popup__offer-terms {
  color: #3478ff;
  font-size: 13px;
  line-height: 1.4;
}

.boabet-popup__offer-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.boabet-popup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 13px 22px;
  border: none;
  border-radius: 8px;
  background: #1f8f3a;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 143, 58, 0.28);
  transition: var(--transition);
}

.boabet-popup__button:hover {
  background: #176f2d;
  transform: translateY(-2px);
}

@keyframes boabetPopupIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 760px) {
  .boabet-popup__offer {
    grid-template-columns: 90px 1fr;
  }

  .boabet-popup__offer-logo {
    width: 82px;
    height: 82px;
  }

  .boabet-popup__offer-action {
    grid-column: 1 / -1;
  }

  .boabet-popup__button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .boabet-popup {
    padding: 14px;
  }

  .boabet-popup__box {
    padding: 24px 18px;
  }

  .boabet-popup__title {
    font-size: 20px;
  }

  .boabet-popup__text {
    font-size: 14px;
  }

  .boabet-popup__offer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .boabet-popup__offer-logo {
    margin: 0 auto;
  }

  .boabet-popup__offer-info {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .boabet-popup__offer-terms {
    text-align: center;
  }
}