/* --- Цветовые переменные бренда --- */
:root {
  --brand-blue: #1a4fa3;
  --brand-blue-dark: #142e4d;
  --brand-blue-light: #2196f3;
  --brand-cyan: #00cfff;
  --brand-yellow: #ffd600;
  --brand-yellow-dark: #e6b800;
  --brand-orange: #ff9800;
  --brand-purple: #7c3aed;
  --brand-pink: #ff4fa3;
  --brand-grey: #232b3e;
  --brand-gradient: linear-gradient(90deg, #1a4fa3 0%, #00cfff 100%);
  --brand-gradient-yellow: linear-gradient(90deg, #ffd600 0%, #ff9800 100%);
  --brand-gradient-purple: linear-gradient(90deg, #7c3aed 0%, #ff4fa3 100%);
  --brand-shadow: 0 4px 24px rgba(26, 79, 163, 0.15);
  --text-dark: #232b3e;
  --text-light: #fff;
}

/* --- Локальные шрифты --- */
@import url('../fonts/fonts.css');

body {
  margin: 0;
  background: #0048ac;
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  background-image: url('../images/Mask.png');
  background-repeat: repeat-x;
  background-position: top center;
  background-size: contain;
}
body:before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Mask.png');
    background-repeat: repeat-y;
    background-position: center;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
  }

.bg-brand-blue {
  background: #1F8FFF !important;
  position: relative;
  overflow: hidden;
}
.bg-brand-blue:before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/Mask.png');
  background-repeat: repeat-x;
  background-position: center;
  background-size: contain;
  z-index: 0;
  pointer-events: none;
}

.text-brand-yellow {
  color: var(--brand-yellow) !important;
}

.btn-warning {
  background: var(--brand-yellow);
  color: #222;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.btn-warning:hover {
  background: var(--brand-yellow-dark);
}

/* --- HEADER --- */
header {
  background: var(--brand-blue);
  box-shadow: var(--brand-shadow);
}
header nav a {
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-left: 8px;
}
header nav a.btn-success {
  background: var(--brand-gradient);
  border: none;
  color: var(--text-light);
}
header nav a.btn-success:hover {
  background: var(--brand-blue-light);
}
header nav a.btn-warning {
  background: var(--brand-gradient-yellow);
  color: var(--text-dark);
  border: none;
}
header nav a.btn-warning:hover {
  background: var(--brand-yellow-dark);
  color: var(--text-light);
}

/* --- HEADER MENU & BUTTONS (точно как на скрине) --- */
.py-2 {
    padding-top: .5rem !important;
    padding-bottom: 0rem !important;
}
header nav.menu {
    background-color: #2445A6!important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  background: transparent;
  border-top: 4px solid #000;
  margin-top: 12px;
  margin-bottom: 0;
  padding: 10px 0 10px 0;
}
header nav.menu a {
  font-family: 'Fira Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: var(--brand-yellow);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  padding: 0 18px;
  text-decoration: none;
  transition: color 0.2s;
}
header nav.menu a:hover {
  color: #fff200;
}

header .header-actions {
  display: flex;
  gap: 16px;
}
header .header-actions .btn-header {
  font-family: 'Fira Sans', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #4bb6ff 0%, #2196f3 100%);
  border: 1px solid #000;
  border-radius: 7px;
  box-shadow:
    -0.65px 5.2px 0px 0px #1599FE inset,
    0px -5.2px 0px 0px #0A4AEC inset,
    0px 2px 0px 0px #000000;
  padding: 10px 44px 10px 44px;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 0;
  text-align: center;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  transition: background 0.2s, color 0.2s, box-shadow 0.1s, transform 0.1s;
  position: relative;
  display: inline-block;
  text-decoration: none !important;
  overflow: visible;
  transform: skew(-12deg);
}
header .header-actions .btn-header span {
  display: inline-block;
  transform: skew(12deg);
}
header .header-actions .btn-header:hover {
  background: linear-gradient(180deg, #2196f3 0%, #1a4fa3 100%);
  color: #fff200;
}
header .header-actions .btn-header:active {
  box-shadow:
    -0.65px 2.2px 0px 0px #1599FE inset,
    0px -2.2px 0px 0px #0A4AEC inset,
    0px 1px 0px 0px #000000;
  transform: skew(-12deg) translateY(2px);
}
@media (max-width: 768px) {
  header .header-actions .btn-header {
    font-size: 1.1rem;
    padding: 2px 16px 2px 16px;
    border-radius: 8px;
  }
}

/* --- HERO --- */
.hero {
  position: relative;
  background-image: url('../images/hero-bg1.webp'), url('../images/hero-characters.png');
  background-size: cover, contain;
  background-position: center, bottom center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: var(--brand-shadow);
  color: var(--text-light);
  overflow: hidden;
  margin-bottom: 32px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 73 175 / 42%) 50.02%, #0049AF 100%);
  z-index: 0;
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.img-characters {
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: -1;
  max-width: 380px;
}
.hero-content {
    margin-top: -130px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.hero .btn-warning {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 28.9px;
  line-height: 37.03px;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  text-decoration: none;
  background: #02DB08 ;
  border: 1px solid #000;
  border-radius: 7px;
  box-shadow: 0 4px 0 #111;
  color: #fff;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  padding: 12px 64px!important;
  margin: 0 auto;
  display: inline-block;
  transform: skew(-8deg);
  transition: background 0.2s, color 0.2s, box-shadow 0.1s, transform 0.1s;
}
.hero .btn-warning span {
  display: inline-block;
  transform: skew(8deg);
}
.hero .btn-warning:hover {
  background: linear-gradient(90deg, #00BFFF 0%, #00FF47 100%);
  color: #fff200;
}
.hero .btn-warning:active {
  box-shadow: 0 3px 0 #111;
  transform: skew(-8deg) translateY(5px);
}

.hero-content h1.display-5 {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 20px;
  line-height: 41px;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(90deg, #0DFFF2 0%, #fff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: #0dcaf0;
  text-shadow:
    2px 2px 0 #fff,
    -2px 2px 0 #000,
    2px -2px 0 #000,
    -2px -2px 0 #000,
    0 2px 0 #000,
    0 -2px 0 #000,
    2px 0 0 #000,
    -2px 0 0 #000;
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .hero-content h1.display-5 {
    font-size: 20px;
  }
  .hero { margin-bottom: 20px; }
}

.hero-content .display-3 {
  max-width: 550px;
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 64px;
  font-style: italic;
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(90deg, #FFD600 60%, #FF9800 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: #FFD600;
  text-shadow: 3px 3px 0 #ffffff, -3px 3px 0 #000, 3px -3px 0 #000, -3px -3px 0 #000, 0 3px 0 #ff9800, 0 -3px 0 #ff9800, 3px 0 0 #ff9800, -3px 0 0 #ff9800;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .hero-content .display-3 {
    font-size: 35px;
  }
}

/* --- CATEGORIES --- */
.categories,
.slider-section {
  /* background: #0048ac; убран, фон теперь только у body */
}
.categories .btn-outline-light {
  color: var(--brand-yellow);
  border: 2px solid var(--brand-yellow);
  font-weight: 600;
  border-radius: 8px;
}
.categories .btn-outline-light:hover {
  background: var(--brand-yellow);
  color: var(--brand-blue);
}

.categories-bar {
  gap: 28px;
}
.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-image: url('../images/Group.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-width: 180px;
  min-height: 56px;
  transform: skew(-10deg);
  position: relative;
  text-decoration: none;
  transition: box-shadow 0.15s, background 0.2s;
  justify-content: center;
}
.category-item span {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
  color: #FFD600;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: skew(10deg);
  display: inline-block;
}
.category-item .cat-icon {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0px;
  transform: skew(10deg);
}
.category-item.category-search {
  background: #FFD600;
  border-radius: 16px;
  min-width: 56px;
  min-height: 56px;
  box-shadow: 6px 8px 0 #000;
  padding: 8px;
  justify-content: center;
}
.category-item.category-search .cat-icon {
  width: 44px;
  height: 44px;
  margin: 0;
}


/* --- SLIDER --- */

.slider-section h2 {
  color: var(--brand-yellow);
}
.slider-section .slider .slick-slide {

  margin: 0 8px;
  text-align: center;
  padding: 10px;
}


/* --- TABLES --- */
.seo-table {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(26,79,163,0.10);
  padding: 24px 16px;
  margin-bottom: 24px;
}
.seo-table h2 {
  color: #ffd600;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.seo-table .table {
  background: transparent;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0;
  border: 1.5px solid #003b7a;
}
.seo-table .table th, .seo-table .table td {
  border-color: #2196f3;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.1rem;
  text-shadow: 1px 1px 0 #000;
  background: #2196f3;
  color: #fff;
}
.seo-table .table th {
  color: #ffd600;
  background: #1a4fa3;
  border-bottom: 2px solid #ffd600;
}
.seo-table .table-striped > tbody > tr:nth-of-type(odd) > * {
  background: #0048ac;
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: #2196f3;
}
.seo-table .table-striped > tbody > tr:nth-of-type(even) > * {
  background: #1a4fa3;
}
@media (max-width: 768px) {
  .seo-table { padding: 12px 4px; border-radius: 8px; }
  .seo-table .table th, .seo-table .table td { font-size: 0.95rem; }
}

/* --- FOOTER --- */
footer {
  background: var(--brand-grey);
  color: var(--text-light);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--brand-shadow);
}

/* === Кастомные утилиты для замены Bootstrap === */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}
.col-md-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 8px;
  padding-right: 8px;
}
@media (max-width: 768px) {
  .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.py-2 { padding-top: .5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-3 { margin-top: 1rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.d-none { display: none !important; }
.d-flex { display: flex !important; }
@media (min-width: 768px) {
  .d-md-flex { display: flex !important; }
  .d-md-none { display: none !important; }
}
@media (max-width: 767.98px) {
  .d-md-flex { display: none !important; }
  .d-md-none { display: block !important; }
}
.table {
  width: 100%;
  border-collapse: collapse;
}
.table th, .table td {
  padding: 0.75rem;
  border: 1px solid #2196f3;
}
.table-dark {
  background: #1a4fa3;
  color: #fff;
}
.table-striped tbody tr:nth-of-type(odd) {
  background: #0048ac;
}
.table-striped tbody tr:nth-of-type(even) {
  background: #1a4fa3;
}
/* === Конец кастомных утилит === */

/* === Расширенные утилиты для flex-сетки и gap === */
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-center { justify-content: center; align-items: center; }
.flex-between { justify-content: space-between; }
.flex-row-between-center { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.align-items-center {
  align-items: center !important;
}
/* === Конец расширенных утилит === */

/* --- ADAPTIVE --- */
@media (max-width: 1200px) {
  .slider-section .slider .slick-slide { margin: 0 4px; }
}
@media (max-width: 992px) {
  .hero { padding: 1.5rem 0; }
  .slider-section, .seo-table { padding: 1rem 0.5rem; }
}
@media (max-width: 768px) {
  header .container, .hero .container, .slider-section .container, .seo-table .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .hero img { max-height: 320px; }
  .slider-section .slider .slick-slide { padding: 4px; }
  .categories { 
    display: flex;
    flex-direction: column; 
    gap: 8px !important; 
    padding: 16px 8px;
  }
  .categories-mobile {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    width: 100%;
  }
  .categories-mobile .category-item {
    min-width: 130px;
    max-width: 130px;
  }
  .categories-mobile .category-search {
    min-width: 56px;
    max-width: 56px;
  }
  .categories-mobile .category-search img {
    width: 50px;
    height: 45px;
   
  }
  .categories-mobile .category-item .cat-icon {
    width: 30px;
    height: 30px;
    left: -15px;
  }
  header nav.menu { gap: 16px; }
  header .header-actions .btn-header { font-size: 15px; padding: 6px 16px; }
}
@media (max-width: 480px) {
  .hero { border-radius: 10px; }
  .slider-section, .seo-table { border-radius: 10px; }
  .slider-section .slider .slick-slide { margin: 0 2px; }
}

/* --- SIDEBAR --- */
.burger-icon {
  display: block;
}
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 270px;
  height: 100vh;
  background: #1a4fa3;
  box-shadow: 2px 0 16px rgba(0,0,0,0.25);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.77,0,.18,1);
  padding: 32px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar.open {
  transform: translateX(0);
}
.close-sidebar {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  z-index: 2100;
}
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}
.sidebar-menu a {
  font-family: 'Fira Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffd600;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.sidebar-menu a:hover {
  color: #fff200;
}
@media (max-width: 768px) {
  .sidebar { width: 80vw; min-width: 180px; }
}

.slider-header {
  margin-bottom: 12px;
}


.slider-seeall,
.slider-title {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  transition: color 0.2s;
}

.games-slider {
  width: 100%;
}
.games-slider .game-card {
  margin: 0 8px;
  min-width: 180px;
  max-width: 180px;
  position: relative;
}
.games-slider .game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.games-slider.slick-slider {
  margin-left: -8px;
  margin-right: -8px;
}
.games-slider .slick-slide {
  padding: 0 4px;
}
.games-slider .slick-arrow {
  display: none!important;
}

@media (max-width: 768px) {
  .slider-title-label { font-size: 20px; padding: 2px 10px 2px 18px; }
  .games-slider .game-card { min-width: 120px; max-width: 150px; }
  .slider-seeall { font-size: 14px; }
}

.categories-bar-mobile .slick-slide > div {
  display: flex;
  justify-content: center;
}
.categories-bar-mobile .category-item,
.categories-bar-mobile .category-search {
  min-width: 140px;
  max-width: 160px;
  margin: 0 auto;
}

.faq-accordion .accordion-item {
  background: #1a4fa3;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1.5px solid #003b7a;
  box-shadow: 0 2px 8px rgba(26,79,163,0.10);
}
.faq-accordion .accordion-button {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.3rem;
  color: #fff;
  background: #2196f3;
  border-radius: 8px;
  box-shadow: none;
  border: none;
  outline: none;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  transition: background 0.2s, color 0.2s;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: #1a4fa3;
  color: #ffd600;
}
.faq-accordion .accordion-body {
  background: #0048ac;
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-size: 1.1rem;
  text-shadow: 1px 1px 0 #000;
}
.faq-accordion .accordion-button:after {
  filter: invert(1) drop-shadow(0 0 1px #000);
}
@media (max-width: 768px) {
  .faq-accordion .accordion-button { font-size: 1rem; }
  .faq-accordion .accordion-item { margin-bottom: 10px; }
}

.info-lists {
  display: flex;
  justify-content: space-around;
  gap: 32px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,79,163,0.10);
  margin-bottom: 24px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.info-list-block {
  background: #4F8FFF;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(26,79,163,0.10);
  padding: 32px 28px;
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.info-list-title {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  color: #ffd600;
  font-size: 1.35rem;
  margin-bottom: 18px;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  width: 100%;
}
.info-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: #fff;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  text-shadow: 1px 1px 0 #000;
  line-height: 1.5;
}
.info-list li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(90deg, #ffd600 0%, #ff9800 100%);
  box-shadow: 0 1px 2px #0006;
}
@media (max-width: 900px) {
  .info-lists {
    flex-direction: column;
    gap: 18px;
    padding: 12px 0;
  }
  .info-list-block {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    align-items: flex-start;
    padding: 20px 10px;
  }
}
@media (max-width: 768px) {
  .info-lists { border-radius: 10px; }
  .info-list-block { padding: 16px 8px; }
  .info-list-title { font-size: 1.1rem; }
  .info-list li { font-size: 0.98rem; padding-left: 26px; }
  .info-list li:before { width: 12px; height: 12px; top: 7px; }
}

/* --- GAMES PAGE SECTIONS --- */
.info-text {
  margin-bottom: 32px;
}
.games-list {
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .info-text { margin-bottom: 20px; }
  .games-list { margin-bottom: 24px; }
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 8px;
}
.footer-link {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  color: #ffd600;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.08rem;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  transition: color 0.2s;
}
.footer-link:hover {
  color: #fff200;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .footer-menu { gap: 16px; }
  .footer-link { font-size: 0.98rem; }
}

.footer-sites {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-sites-title {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  font-size: 1rem;
  text-shadow: 1px 1px 0 #000;
  opacity: 0.9;
}

.footer-site-link {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 600;
  font-style: italic;
  color: #00cfff;
  text-decoration: none;
  font-size: 1rem;
  text-shadow: 1px 1px 0 #000;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 207, 255, 0.3);
}

.footer-site-link:hover {
  color: #ffd600;
  text-shadow: 1px 1px 0 #000, 0 0 8px rgba(255, 214, 0, 0.5);
  background: rgba(255, 214, 0, 0.1);
  border-color: rgba(255, 214, 0, 0.4);
}

@media (max-width: 768px) {
  .footer-sites {
    gap: 12px;
    padding: 12px 0;
  }
  
  .footer-sites-title {
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 8px;
  }
  
  .footer-site-link {
    font-size: 0.9rem;
    padding: 3px 6px;
  }
}

.site-footer {
  background: #0048ac;
  color: #fff;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 2px 8px rgba(26,79,163,0.10);
  padding: 32px 0 18px 0;
  font-family: 'Kanit', Arial, sans-serif;
  margin-top: 32px;
}
.footer-payments {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.footer-pay-icon {
  height: 32px;
  width: auto;
}
.footer-pay-more {
  color: #ffd600;
  font-weight: 700;
  font-style: italic;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.footer-arrow {
  font-size: 1.3em;
  margin-left: 2px;
}
.footer-license-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
}
.footer-license-icon {
  height: 38px;
  width: auto;
  background: none;
}
.footer-license-title {
  color: #fff;
  font-weight: 700;
  font-style: italic;
  font-size: 1.15rem;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  cursor: pointer;
}
.footer-warning {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
  opacity: 0.85;
}
.footer-copy {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .site-footer { border-radius: 0 0 10px 10px; padding: 18px 0 10px 0; }
  .footer-pay-icon { height: 24px; padding: 2px 6px; }
  .footer-license-icon { height: 28px; }
  .footer-license-title { font-size: 1rem; }
  .footer-warning, .footer-copy { font-size: 0.92rem; }
}

.site-footer, .footer-warning, .footer-copy {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
}

/* --- Enhanced Content Styling --- */
.mobile-optimization-note {
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
  border: 2px solid #1B5E20;
  border-radius: 12px;
  padding: 12px 20px;
  margin: 16px 0;
  color: #fff;
  font-style: italic;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  position: relative;
  overflow: hidden;
}

.mobile-optimization-note:before {
  content: "📱";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  opacity: 0.7;
}

.bonus-item {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  border: 2px solid #E65100;
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
  position: relative;
  overflow: hidden;
}

.bonus-item:before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(45deg);
}

.bonus-item .bonus-title {
  color: #fff;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  margin-bottom: 8px;
  display: block;
}

.bonus-item .bonus-description {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  line-height: 1.4;
}

.bonus-item .bonus-amount {
  color: #FFD600;
  font-weight: 700;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.cashback-item {
  background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%);
  border: 2px solid #4A148C;
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.25);
  position: relative;
  overflow: hidden;
}

.cashback-item:before {
  content: "💰";
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.8em;
  opacity: 0.7;
}

.cashback-item .cashback-title {
  color: #fff;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  margin-bottom: 8px;
  display: block;
}

.cashback-item .cashback-description {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  line-height: 1.4;
}

.cashback-item .cashback-percentage {
  color: #FFD600;
  font-weight: 700;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.enhanced-list {
  list-style: none;
  padding-left: 0;
}

.enhanced-list li {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .bonus-item, .cashback-item {
    padding: 15px;
    border-radius: 12px;
  }
  
  .bonus-item .bonus-title, .cashback-item .cashback-title {
    font-size: 1.1em;
  }
  
  .mobile-optimization-note {
    padding: 10px 15px;
    border-radius: 8px;
  }
}

/* --- Bonus Page Specific Styles --- */
.bonus-table {
  background: linear-gradient(135deg, #4F8FFF 0%, #2196F3 100%);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 6px 20px rgba(79, 143, 255, 0.25);
  overflow-x: auto;
}

.bonus-table .table {
  background: transparent;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
  border: none;
}

.bonus-table .table th {
  background: linear-gradient(135deg, #1a4fa3 0%, #0d47a1 100%);
  color: #FFD600;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.1rem;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  border: none;
  padding: 16px 12px;
  text-align: center;
}

.bonus-table .table td {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
}

.bonus-table .table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.15);
}

.bonus-table .table tbody tr:hover td {
  background: rgba(255, 215, 0, 0.2);
  transition: background 0.3s ease;
}

.vip-table {
  background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%);
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 6px 20px rgba(156, 39, 176, 0.25);
  overflow-x: auto;
}

.vip-table .table th {
  background: linear-gradient(135deg, #4A148C 0%, #3F006C 100%);
  color: #FFD600;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.1rem;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  border: none;
  padding: 16px 12px;
  text-align: center;
}

.vip-table .table td {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
}

.vip-table .table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.15);
}

.bonus-highlight {
  background: linear-gradient(135deg, #FFD600 0%, #FF9800 100%);
  color: #000;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  text-shadow: none;
  display: inline-block;
  margin: 2px;
}

.bonus-crab-section {
  background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 32px 0;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
  position: relative;
  overflow: hidden;
}

.bonus-crab-section::before {
  content: "🦀";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3em;
  opacity: 0.6;
}

.bonus-crab-section h2 {
  color: #fff;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.bonus-crab-section p {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .bonus-table, .vip-table, .bonus-crab-section {
    padding: 16px 12px;
    border-radius: 12px;
    margin: 16px 0;
  }
  
  .bonus-table .table th, .bonus-table .table td,
  .vip-table .table th, .vip-table .table td {
    font-size: 0.85rem;
    padding: 8px 6px;
  }
  
  .bonus-crab-section::before {
    font-size: 2em;
    top: 15px;
    right: 15px;
  }
}

/* --- Live Casino Page Specific Styles --- */
.live-casino-section {
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 32px 0;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
  position: relative;
  overflow: hidden;
}

.live-casino-section::before {
  content: "🎲";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3em;
  opacity: 0.6;
}

.live-casino-section h2 {
  color: #fff;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.live-casino-section p {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  line-height: 1.6;
}

.game-category-card {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  border-radius: 16px;
  padding: 24px 20px;
  margin: 20px 0;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.25);
  position: relative;
  overflow: hidden;
  border: 2px solid #991B1B;
}

.game-category-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(45deg);
}

.game-category-card h3 {
  color: #fff;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 1.3em;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
  margin-bottom: 12px;
}

.game-category-card p {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  line-height: 1.5;
  margin-bottom: 8px;
}

.providers-section {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 28px 0;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.25);
  position: relative;
  overflow: hidden;
}

.providers-section::before {
  content: "🎰";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5em;
  opacity: 0.6;
}

.providers-section h2 {
  color: #fff;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.providers-section p {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  line-height: 1.6;
}

.game-variants-list {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-variants-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.game-variants-list li {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.game-variants-list li::before {
  content: "♠";
  position: absolute;
  left: 0;
  color: #FFD600;
  font-weight: 700;
  font-size: 1.2em;
}

.game-variants-list li:nth-child(2)::before {
  content: "♥";
  color: #EF4444;
}

.game-variants-list li:nth-child(3)::before {
  content: "♦";
  color: #EF4444;
}

.game-variants-list li:nth-child(4)::before {
  content: "♣";
  color: #000;
  text-shadow: 1px 1px 0 #fff;
}

.variant-name {
  color: #FFD600;
  font-weight: 700;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.benefits-section {
  background: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
  border-radius: 16px;
  padding: 32px 28px;
  margin: 32px 0;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: "🏆";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3em;
  opacity: 0.6;
}

.benefits-section h2 {
  color: #fff;
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

.benefits-section p {
  color: #fff;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .live-casino-section, .game-category-card, .providers-section, .benefits-section {
    padding: 20px 16px;
    border-radius: 12px;
    margin: 20px 0;
  }
  
  .live-casino-section::before, .providers-section::before, .benefits-section::before {
    font-size: 2em;
    top: 15px;
    right: 15px;
  }
  
  .game-category-card h3 {
    font-size: 1.2em;
  }
  
  .game-variants-list {
    padding: 15px;
  }
}

/* --- Two Column Image Layout --- */
.content-with-image {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.content-with-image.reverse {
  flex-direction: row-reverse;
}

.content-with-image .content-text {
  flex: 1 1 60%;
  min-width: 300px;
}

.content-with-image .content-image {
  flex: 1 1 35%;
  min-width: 280px;
  max-width: 400px;
}

.content-with-image .content-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  border: 3px solid #FFD600;
  display: block;
}

@media (max-width: 768px) {
  .content-with-image {
    flex-direction: column !important;
    gap: 20px;
  }
  
  .content-with-image .content-text,
  .content-with-image .content-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  .content-with-image .content-image {
    text-align: center;
  }
  
  .content-with-image .content-image img {
    max-width: 90%;
    margin: 0 auto;
  }
}

/* --- Internal Content Links --- */
.inlink {
  color: #FFD600;
  font-weight: 700;
  text-decoration: none;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  padding: 0 2px;
}

.inlink:before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #FFD600 0%, #FF9800 100%);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.inlink:hover {
  color: #fff200;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000,
              0 0 10px rgba(255, 214, 0, 0.6);
}

.inlink:hover:before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.inlink:active {
  transform: translateY(1px);
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

@media (max-width: 768px) {
  .inlink {
    font-weight: 600;
  }
}
