/* --- Цветовые переменные бренда --- */
: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;
}

body {
  background: #0048ac!important;
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  background-image: url('../images/Mask.png');
 
  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 (точно как на скрине) --- */
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
.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.webp');
  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 {
    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;
  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;
  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);
}

/* --- 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 {
  /* background: #0048ac; убран, фон теперь только у body */
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,79,163,0.10);
  margin-bottom: 24px;
}
.info-list-block {
  background: #4F8FFF;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(26,79,163,0.10);
  padding: 24px 20px;
  height: 100%;
}
.info-list-title {
  font-family: 'Kanit', Arial, sans-serif;
  font-weight: 700;
  font-style: italic;
  color: #ffd600;
  font-size: 1.35rem;
  margin-bottom: 16px;
  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;
}
.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;
}
.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: 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; }
}

.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;
}
