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: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  --body-bg: #02101d;
  --body-color: #fafafc;
  --dialog-bg: #232323;
  --dialog-color: #80d6f0;
  --form-background: #131517;
  --form-border-color: #383b40;
  --form-color: #fafafc;
}

body {
  font-family: "Arimo", sans-serif;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  font-size: 16px;
  line-height: 1.4;
  color: var(--form-color);
}
/* =========================
   LIGHT THEME
========================= */
body.light-theme {
  --body-bg: #f4f6f9;
  --body-color: #1b1e23;

  --dialog-bg: #ffffff;
  --dialog-color: #b57a00;

  --form-background: #f7f9fc;
  --form-border-color: #d8dde6;
  --form-color: #1b1e23;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  width: 100%;
}
.main_wrapper{
  width: 100%;
}
header {
  background: var(--body-bg);
  padding: 10px;
}
.logo {
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  width: max-content;
  margin: 0 auto 10px;
  display: block;
  width: max-content;
  font-size: 32px;
  color: #00d8ff;

  text-shadow: 0 0 6px rgba(255, 150, 45, 0.6), 0 0 14px rgba(45, 101, 255, 0.4),
    0 0 28px rgba(255, 178, 45, 0.25);

  transition: all 0.35s ease;
}

.logo:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #ff2d75, 0 0 20px #ff2d75, 0 0 40px #ff2d75;
  transform: scale(1.06);
}

.breadcrumbs_items {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.breadcrumbs_items > li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumbs {
  margin: 20px 0 10px;
}

.breadcrumbs_items , .breadcrumb-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
}
.breadcrumb-nav{
  margin-bottom: 30px;
}
.breadcrumbs_items > li {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.card strong {
      font-weight: 500;
      color: var(--dialog-color);
}
.section.container .text-neutral {
  list-style: disc;
  margin: 0 0 16px;
}
.light-theme .card strong{
  color: #ad5802;
}
.breadcrumbs_items a , .breadcrumbs_items  a{
  color: #00d8ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease;
}

.breadcrumbs_items a:hover ,.breadcrumbs_items  a:hover{
  color: #ffffff;
}

.breadcrumbs_items b {
  color: #666;
  font-weight: 400;
}

.breadcrumbs_items h1 , .breadcrumbs_items  span{
  font-size: 16px;
  font-weight: 700;
  color: #fafafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-content {
  position: absolute;
  top: 140%;
  left: 100%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  max-height: 400px;
  overflow-y: auto;
  background: linear-gradient(180deg, #23262a, #1b1e22);
  border: 1px solid #2f3338;
  border-radius: 12px;
  padding: 10px 0;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: all 0.25s ease;
  z-index: 50;
}
.has_nav:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: #e6e6e6;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.dropdown-content a:hover {
  background: rgba(255, 174, 45, 0.12);
  color: #00d8ff;
}
.has_nav {
  position: relative;
}
.has_nav::before {
  content: "";
  display: block;
  width: 100%;
  height: 20px;
  bottom: -20px;
  left: 0;
  position: absolute;
}

.has_nav b {
  transition: transform 0.25s ease;
}

.has_nav:hover b {
  transform: rotate(180deg);
}

.live_games_section h3 {
  text-align: center;
  font-style: italic;
  font-size: 18px;
  margin: 0 0 30px;
}
.live_games_section {
  padding: 30px 0;
}

.main_wrapper {
  align-items: start;
  display: flex;
  justify-content: center;
}
.skyscraper-banner * {
  display: block;
  height: 100%;
  width: auto;
  aspect-ratio: 300 / 1200;
}
.skyscraper-banner {
  aspect-ratio: 300 / 1200;
  width: auto;
  height: 80dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: sticky;
  top: 3em;
}
.has_nav > button {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 14px;
  font-family: "Montserrat", "Arimo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #00d8ff;
  background: linear-gradient(
    135deg,
    rgba(255, 174, 45, 0.15),
    rgba(255, 174, 45, 0.05)
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 174, 45, 0.25);
  box-shadow: 0 6px 20px rgba(255, 174, 45, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.25s ease,
    color 0.25s ease;
}

.has_nav > button:hover {
  color: #ffffff;

  background: linear-gradient(
    135deg,
    rgba(255, 174, 45, 0.35),
    rgba(255, 174, 45, 0.15)
  );

  box-shadow: 0 0 12px rgba(255, 174, 45, 0.6), 0 0 32px rgba(255, 174, 45, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);

  transform: translateY(-1px) scale(1.03);
}

.has_nav > button:active {
  transform: scale(0.98);
  box-shadow: 0 0 8px rgba(255, 174, 45, 0.4);
}

.btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.btn {
  all: unset;
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 18px;
  border-radius: 14px;

  font-family: "Montserrat", "Arimo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;

  color: #fafafc;

  background: linear-gradient(135deg, #2a2e34, #1c1f24);
  border: 1px solid #32363c;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease,
    color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.btn-favs {
  color: #00d8ff;
  background: linear-gradient(
    135deg,
    rgba(255, 174, 45, 0.25),
    rgba(255, 174, 45, 0.08)
  );
  border-color: rgba(255, 174, 45, 0.35);

  box-shadow: 0 8px 26px rgba(255, 174, 45, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-favs:hover {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(255, 174, 45, 0.45),
    rgba(255, 174, 45, 0.18)
  );
  box-shadow: 0 0 14px rgba(255, 174, 45, 0.8), 0 0 36px rgba(255, 174, 45, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, #3a7bff, #2a55e6);
  border-color: rgba(58, 123, 255, 0.6);

  box-shadow: 0 8px 26px rgba(58, 123, 255, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4a8cff, #2f62ff);
  box-shadow: 0 0 14px rgba(58, 123, 255, 0.8), 0 0 36px rgba(58, 123, 255, 0.5);
}

.theme-toggle-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;

  background: linear-gradient(135deg, #22252a, #16181c);
  border: 1px solid #2f3338;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);

  position: relative;
  overflow: hidden;
}

.theme-toggle-btn b {
  position: absolute;
  font-size: 18px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-toggle-btn .day {
  opacity: 1;
}
.category-head{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #00d8ff;
  padding: 10px ;
  background: var(--form-background);
  margin-bottom: 20px;
}
.light-theme .category-title{
  color: #fff;
}
.theme-toggle-btn .night {
  opacity: 0;
  transform: scale(0.6);
}
.category-title{
  color: blanchedalmond;
}
.theme-toggle-btn:hover {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.15),
    0 0 28px rgba(90, 120, 255, 0.35);
}

body.dark .theme-toggle-btn .day {
  opacity: 0;
  transform: scale(0.6);
}

body.dark .theme-toggle-btn .night {
  opacity: 1;
  transform: scale(1);
}
.navbar {
  display: flex;
  gap: 20px;
}
.header_btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.online_num {
  position: absolute;
  display: grid;
  z-index: 2;
  right: 0.5em;
  top: 0.5em;
  gap: 0.25em;
  justify-items: end;
}
.carts_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
}
.game_box a img {
  display: block;
  width: 100%;
}
.faq-answer p{
  font-style: italic;
}
.game_box {
  box-sizing: border-box;
  gap: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, #1b1e23, #14161a);
  border: 1px solid #2a2e34;
  border-radius: 18px;
  padding: 14px;
  box-sizing: border-box;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
filter: invert(1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.game_box a img{
      filter: invert(1);
}
.game_box:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.8), 0 0 36px rgba(255, 174, 45, 0.18);
}

.game-thumbnail {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.game-thumbnail img {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  max-height: 1000px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}
.game-tags{
  display: none !important;
}
.game-thumbnail a{
  display: block;
  width: 100%;
   aspect-ratio: 1 / 0.6;
  overflow: hidden;
  margin: 0 0 5px;
}
.game_box:hover .game-thumbnail img {
  transform: scale(1.07); 
}
.live_games_section>div{
  display: flex;
  flex-direction: column;
}
.live_games_section iframe{
  order: -4;
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
}
.game-meta-block>div+div{
  display: none;
}
.game-controls{
  display: none !important;
}
.updated {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #121212;
  background: linear-gradient(135deg, #00d8ff, #ffd27a);
  border-radius: 999px;
  z-index: 2;
}

.online_num {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  height: max-content;
}
.online_num .tag {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 14px rgba(255, 0, 60, 0.6);
}

.game-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-title .h2 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #00d8ff;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}
.game-title:hover .h2 {
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 174, 45, 0.6);
}

.game-desc {
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: #d2d6dc;
box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  border: 1px solid #2a2e34;
  border-radius: 14px;
  padding: 14px;
}
.game-desc.collapsed {
  max-height: 110px;
  overflow: hidden;
}
.desc-toggle {
  all: unset;
  cursor: pointer;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #00d8ff;
}
.desc-toggle:hover {
  color: #fff;
}

.game-tags,
.game-categories {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  font-size: 13px;
}

.tag h2,
.category h2 {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 4px;
  color: #fafafc;
    white-space: pre;
  background: rgba(104, 186, 237, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.tag:hover h2 {
  background: rgba(255, 174, 45, 0.25);
  box-shadow: 0 0 16px rgba(255, 174, 45, 0.55);
  transform: translateY(-1px);
}
.category h2 {
  background: rgba(58, 123, 255, 0.22);
}
.category:hover h2 {
  background: rgba(58, 123, 255, 0.38);
  box-shadow: 0 0 16px rgba(58, 123, 255, 0.5);
}

.game-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 400px;
  margin-top: auto;
  font-size: 13px;
  color: #b9bec6;
}
.game-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
}
.star-rating {
  color: #00d8ff;
  letter-spacing: 2px;
}
/* .light-theme header {
  background: #e6e6e6;
} */
.light-theme .breadcrumbs_items h1, .light-theme .breadcrumbs_items  span{
  color: #000;
}

.light-theme .breadcrumbs_items a , .light-theme .breadcrumbs_items  a{
  color: #824a02;
}
.light-theme .category-count{
  color: #d53107;
}
.light-theme .has_nav > button,
.light-theme .btn-favs {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(255, 174, 45, 0.883),
    rgb(138, 86, 2)
  );
  border-color: rgba(255, 174, 45, 0.665);
  box-shadow: 0 8px 26px rgba(255, 174, 45, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.light-theme .dropdown-content {
  background: #f7f9fc;
}
.light-theme .dropdown-content a {
  color: #212121;
}

.live_games_section h1 {
  font-size: 32px;
  text-align: center;
  margin: 0 0 24px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff3d1f;

  text-shadow:
    0 0 4px rgba(255, 61, 31, 0.6),
    0 0 12px rgba(255, 80, 120, 0.45),
    0 0 24px rgba(255, 160, 60, 0.35);

  position: relative;
}

.live_games_section h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    #ff3d1f,
    #ff8a3d,
    transparent
  );
  border-radius: 2px;
}

/* лёгкая пульсация */
@keyframes glowPulse {
  0% {
    text-shadow:
      0 0 4px rgba(255, 61, 31, 0.6),
      0 0 12px rgba(255, 80, 120, 0.45),
      0 0 24px rgba(255, 160, 60, 0.35);
  }
  100% {
    text-shadow:
      0 0 6px rgba(255, 61, 31, 0.9),
      0 0 18px rgba(255, 80, 120, 0.65),
      0 0 36px rgba(255, 160, 60, 0.5);
  }
}

.live_games_section h1 {
  animation: glowPulse 2.5s ease-in-out infinite alternate;
}

.game-controls {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  justify-content: space-evenly;
}
.game-controls .btn {
  min-width: 80px;
}
.top-players .tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid #2f3338;
  color: #e6e6e6;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease;
}
.carts_container .collapsed {
  max-height: 100px;
  overflow-y: scroll;
}
.game-tags,
.game-categories {
  display: flex;
  gap: 8px; 
  /* overflow: hidden; */
  font-size: 13px;
  cursor: grab;
  padding-bottom:6px;
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(255,255,255,0.4) transparent;
}
.more{
  display: none;
}
.game-tags:active,
.game-categories:active {
  cursor: grabbing;
}

/* Chrome / Edge / Safari */
.game-tags::-webkit-scrollbar,
.game-categories::-webkit-scrollbar {
  height: 1px;
}

.game-tags::-webkit-scrollbar-track,
.game-categories::-webkit-scrollbar-track {
  background: transparent;
}

.game-tags::-webkit-scrollbar-thumb,
.game-categories::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.4);
  border-radius: 1px;
}

.game-desc {
  margin-bottom: 20px;
}
.live_games_section .top-players,
.live_games_section .game-categories,
.live_games_section .game-tags,
.live_games_section .game-desc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(180deg, #1b1e23, #14161a);
  border: 1px solid #2a2e34;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.card-content h2{
   color: var(--dialog-color);
   font-size: 16px;
   font-weight: 700; 
   text-transform: uppercase;
  display: inline-block;
}
.card-content h2:after{
  content: ':';

}
.card p{
  font-style: italic;
    display: inline-block;
}
.card{
  margin:  0 0 20px;
}
.faq {
  margin: 40px auto;
  padding: 30px;  
  border-radius: 22px; 
  max-width: 700px;
}

.faq-title {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00d8ff;
  margin-bottom: 30px;
  text-shadow: 0 0 12px rgba(255, 174, 45, 0.5);
}
 .footer-content{
  text-align: center;
 }
.faq-item {
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #23262a, #1c1f24);
  border: 1px solid #2f3338;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.75),
    0 0 22px rgba(255, 174, 45, 0.18);
}
 
.faq-question {
  all: unset;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fafafc;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  transition: color 0.25s ease, background 0.25s ease;
}

.faq-question span {
  flex: 1;
}

.faq-question:hover {
  color: #00d8ff;
}
 
.faq-icon {
  transition: transform 0.35s ease, color 0.25s ease;
  color: #00d8ff;
}
.carts_container .collapsed { 

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

/* WebKit (Chrome, Edge, Safari) */
.carts_container .collapsed::-webkit-scrollbar, .section_information > div::-webkit-scrollbar {
  width: 3px;
}

.carts_container .collapsed::-webkit-scrollbar-track,  .section_information > div::-webkit-scrollbar-track {
  background: transparent;
}

.carts_container .collapsed::-webkit-scrollbar-thumb,  .section_information > div::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.carts_container .collapsed::-webkit-scrollbar-thumb:hover,  .section_information > div::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #ffffff;
}
 
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease;
  padding: 0 22px;
}

.faq-item.active .faq-answer {
  max-height: 1200px;
  padding: 18px 22px 22px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.7;
  color: #d2d6dc;
}
.footer {
  background: linear-gradient(180deg, #0b182c, #0d0f12);
  border-top: 1px solid #2a2e34;
  padding: 50px 0 30px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00d8ff;
  margin-bottom: 16px;
  position: relative;
}


.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.footer-links li {
  font-size: 14px;
  color: #b8bcc4;
  line-height: 1.7;
}
.footer-section:nth-child(2) li{
  margin-bottom: 10px;
}
.footer-links a {
  color: #b8bcc4;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding: 4px 10px;
  min-width: 100px;
  box-sizing: border-box;
  border-radius: 4px;
  background: #23262a;
  transition: color 0.25s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d8ff, #ff7a18);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-section li:not(a) {
  color: #d1d5db;
}
.light-theme .card-content h2, .light-theme .faq-title{
  color: #1577cd;
}
.footer-bottom {
  border-top: 1px solid #2a2e34;
  padding-top: 20px;
  background: var(--body-bg);
}

.footer-bottom p {
  font-size: 13px;
  color: #9ca3af;
  margin: 0;
  line-height: 1.6;
}

.footer-bottom p:last-child {
  color: #00d8ff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255, 174, 45, 0.4);
}
.section_information>div{
  max-height: 350px;
  height: 70%;
  max-width: 900px;
  width: calc(100% - 40px);
  overflow-y: auto;
  margin: 40px auto;
  box-sizing: border-box;
    padding: 30px;
    border: 1px solid #2a2e34;
    border-radius: 22px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.live_games_section .top-players{
  border: none;
  background: transparent;
}
.document_section h1{
      font-size: 28px;
    text-align: center;
    margin: 20px 0 20px;
}
.document_section  p{
  margin: 0 0 20px;
  display: block;
}
.document_section  h2{
      display: block;
    font-size: 22px;
    color: var(--dialog-color);
    margin: 30px 0 16px;
}
.document_section h3{
   display: block;
    font-size: 22px;
        color: var(--dialog-color);
    margin: 0 0 16px;
}
.light-theme .document_section h3, .light-theme .document_section h2{
  color: #824a02;
}
.text_neutral li{
  list-style: disc;
  margin: 0 0 10px 30px;
}
.list_check, .text_neutral{
  margin: 0 0 20px;
}
.list_check li{
    margin: 0 0 10px 20px;
    position: relative; 
}
.list_check li::before{
  content: "✓" ;
  display: inline-block;
  margin-right: 10px;
}
.document_section .card-content{
  background: linear-gradient(180deg, #1b1e23, #14161a);
    border: 1px solid #2a2e34;
    border-radius: 22px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.image_document_group{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0
}
.group_item h3{
  color: #00d8ff;
}
.light-theme .group_item{
  background: var(--dialog-color);
}
.group_item p{
  font-style: italic;
}
body.light-theme {
  background: #e6e6e6;
}

.group_item_img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
}
.document_section_footer{

    text-align: center;
    padding: 20px;
    width: max-content;
    margin:0 auto 50px;
}
.group_item{
    background: linear-gradient(180deg, #1b1e23, #14161a);
    border: 1px solid #2a2e34;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    max-width: 320px;
    margin: 0 auto;
    padding: 1.5rem;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
header>div{
  display: flex;
  flex-direction: column;
}
.logo{
  order: -3;
}

header .header_btns{
  order: -2;
}
.light-theme .group_item_img path{
  stroke: #fff;
}
@media (max-width: 768px) {
  .footer {
    padding: 40px 0 25px;
  }
.section_information>div{
  padding: 10px ;
   width: calc(100% - 20px);
}
  .footer-content {
    gap: 28px;
  }

  .footer-section h3 {
    font-size: 13px;
  }

  .footer-links li {
    font-size: 13px;
  }
}

@media screen and (max-width: 1199px) {
  .skyscraper-banner {
    display: none;
  }
}
@media screen and (max-width: 992px) {
  .carts_container {
    grid-template-columns: 1fr 1fr;
  }
  .breadcrumbs_items {
    flex-wrap: wrap;
  }
  .group_item{
    padding: 15px;
  }
  .image_document_group{
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .carts_container {
    grid-template-columns: 1fr;
  }
  .game-tags,
.game-categories {
  overflow-y: auto;
}
  .header_btns {
    margin-top: 20px; 
    gap: 10px;
  }
  .game-controls {
    flex-wrap: wrap;
  }
  .game-controls .btn {
    min-width: 30px;
    box-sizing: border-box;
  }
  .container {
    padding: 0 10px;
  }
  .breadcrumbs_items span {
    font-size: 13px;
  }
  .logo {
    font-size: 26px;
  }
  .live_games_section h1 {
    font-size: 22px;
  }
  .top-players .tag {
    font-size: 11px;
    padding: 4px 6px;
  }
  .faq {
    padding: 20px;
  }

  .faq-title {
    font-size: 20px;
  }

  .faq-question {
    font-size: 14px;
    padding: 14px 16px;
  }

  .faq-answer p {
    font-size: 13px;
    padding: 5px 8px;
  }
  .faq-item.active .faq-answer{
    padding: 10px;
  }
  .category-head{
    font-size: 16px;
    text-align: center;
  }
  .game-thumbnail a{
    aspect-ratio: 1 / 0.5;
  }
  .game-title .h2{
    font-style: italic;
  }
}
@media screen and (max-width: 767px) {
  .image_document_group{
    display: flex;
    flex-direction: column;
  }
  .game_box{
    display: flex;
    flex-direction: column;
  }
  .btn-row .btn-primary{
    display: none;
  }
}
