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: #191c1f;
  --body-color: #fafafc;
  --dialog-bg: #232323;
  --dialog-color: #f0d480;
  --form-background: #23262a;
  --form-border-color: #383b40;
  --form-color: #fafafc;
}

body {
  font-family: "Arimo", sans-serif;
  background-color: #ffffff;
background-size: cover;
   background: linear-gradient(45deg, #ffffff, #f2e4cfab, #f1cea43c);
  background-size: 400% 400%;
  animation: gradientAnimation 400s ease infinite;
  
  font-size: 16px;
  line-height: 1.4;
 color: #4b3f36; 
}
.game-title{
  text-decoration: none;
}
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
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%;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4b3f36;
  text-decoration: none;
  letter-spacing: 1px;
}

/* Хедер кнопки */
.header_btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Навбар */
.navbar .dropdown {
  position: relative;
}

.navbar .nav-btn {
  background-color: #e6d6c2; /* светлый беж */
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  color: #4b3f36;
  transition: background 0.3s;
}

.navbar .nav-btn:hover {
  background-color: #d6c1a3; /* тёплый акцент */
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff5e1; /* светлый беж */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 6px;
  min-width: 180px;
  padding: 10px 0;
  z-index: 100;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Кнопки Login и тема */
.btn-row .btn {
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;

  font-weight: 500;
  transition: all 0.3s;
  text-decoration: none;
}

/* Основная кнопка */
.btn-primary {
  background-color: #d6c1a3;
  color: #4b3f36;
}

.btn-primary:hover {
  background-color: #bfa081;
  color: #fff;
}

/* Кнопка смены темы */
.theme-toggle-btn {
  background-color: #e6d6c2;
  color: #4b3f36;
  display: flex;
  align-items: center;
  justify-content: center;
    display: none !important;
}

.theme-toggle-btn:hover {
  background-color: #d6c1a3;
}

/* Иконки дня/ночи */
.theme-toggle-btn .day,
.theme-toggle-btn .night {
  font-size: 1.2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .header_btns {
    gap: 10px;
    margin-top: 10px;
  }
}


.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: #ffae2d;
  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;
}
 .live_games_section>div{
  display: flex;flex-direction: column;
 }
.live_games_section iframe{
  order: -7;
}
.dropdown-content {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;

  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: #ffae2d;
}
.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: #ffae2d;
  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-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);
}
.game-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  justify-content: center;
  font-family: 'Arimo', sans-serif;
}
 
.game-controls .btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
 
.btn-favs {
  background-color: #fdf7f0;
  color: #4b3f36;
  border: 1px solid #e6d6c2;
}

.btn-favs:hover {
  background-color: #f5e6d3;
  border-color: #d6c1a3;
  transform: translateY(-2px);
}
 
.btn-sharer b.f {
  font-size: 1.1rem;
}
 
.btn-favs span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.game-controls .btn, .btn-row .btn{
  color: #fff;
}
.btn-favs .t , .btn-favs span{
  font-weight: 700;
  color: #f5f5f5;
}

.btn-favs .v {
  font-size: 0.85rem; 
}
 
.btn-warning {
  background-color: #ffe3d3;
  color: #c94e4e;
  border: 1px solid #f5b5a1;
}

.btn-warning:hover {
  background-color: #ffd0b8;
  box-shadow: 0 6px 14px rgba(201,78,78,0.2);
  transform: translateY(-2px);
}
 
.btn-warning, .btn-favs {
  display: flex;
  align-items: center;
  justify-content: center;
}
 
@media (max-width: 480px) {
  .game-controls { 
    align-items: center;
  }

  .game-controls .btn {
    width: 100%;
    justify-content: center;
  }
}

.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;
}
 
.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{
  padding: 10px 0;
  background: #ffffff;
  box-shadow: 0 1px 10px #d5d4d4;
}
.header_btns {
  display: flex;
  margin-top: 10px;
  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: start;
}
.carts_container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
}
 
 
.category-head {
  display: flex;
  align-items: center; 
  background-color: #fdf7f0;  
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 0 0 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-head:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
 
.category-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #4b3f36;  
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.category-title:hover {
  color: #a67c52;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
 
.category-count {
  background-color: #e6d6c2;  
  color: #4b3f36;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.95rem;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.05);
  transition: background 0.3s, transform 0.3s;
}

.category-count:hover {
  background-color: #d6c1a3;
  transform: scale(1.05);
}

.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-thumbnail a{
  display: block;
  width: 100%;
   aspect-ratio: 1 / 0.5;
  overflow: hidden;
  margin: 0 0 5px;
}
.game_box:hover .game-thumbnail img {
  transform: scale(1.07);
  filter: brightness(1.06) contrast(1.06);
}

.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, #ffae2d, #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;
  text-align: center;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffae2d;
  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;

  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: #ffae2d;
}
.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: 2px 10px;
  font-style: italic;
  border-radius: 2px;
  color: #090909;
    white-space: pre;
  background: rgba(255, 255, 255, 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: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;
  margin-top: auto;
  font-size: 13px;
  color: #b9bec6;
}
.game-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
}
.star-rating {
  color: #ffae2d;
  letter-spacing: 2px;
}
/* .light-theme header {
  background: #e6e6e6;
} */
.light-theme .breadcrumbs_items h1, .light-theme .breadcrumbs_items  span{
  color: #000;
}
.light-theme .category-title{
  color: #121417;
}
.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-family: 'Arimo', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  color: #4b3f36;
  position: relative;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #593407, #f5d6a3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.live_games_section h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #fbbf77, #a67c52);
  border-radius: 2px;
  margin: 10px auto 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.live_games_section h1:hover {
  transform: scale(1.05);
}

 
.top-players .tag {
  display: inline-flex;
  align-items: center;
  text-align: center;
  padding: 3px 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: #000000;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease;
}
.game-tags{
  display: none !important;
}
.carts_container .collapsed {
  max-height: 100px;
  overflow-y: scroll;
}
.game-tags,
.game-categories {
  display: flex;
  gap: 8px;  
  flex-wrap: wrap;
  font-size: 13px;
  cursor: grab;
  padding-bottom:6px;
  scrollbar-width: thin;  
  scrollbar-color: rgba(255,255,255,0.4) transparent;
  width: 100%; 
  overflow-x: auto;
}
.more{
  display: none;
}
.game-tags:active,
.game-categories:active {
  cursor: grabbing;
}
header>div{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game_box {
  background-color: #fdf7f0; 
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.307);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.game_box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.249);
}
 
.game-thumbnail {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e6d6c2;
}

.game-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 12px 12px 0 0;
}

.game-thumbnail:hover img {
  transform: scale(1.05);
}
 
.updated {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #d6c1a3;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
 
.online_num .tag {
  display: inline-block;
  background-color: #e6d6c2;
  color: #4b3f36;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin: 10px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.05);
}
 
.game-meta {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.game-title .h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4b3f36;
  transition: color 0.3s, text-shadow 0.3s;
}

.game-title:hover .h2 {
  color: #a67c52;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
 
.game-desc { 
  overflow: hidden;
  position: relative;
  font-size: 0.95rem;
  color: #4b3f36;
  transition: max-height 0.3s ease;
}

.game-desc.collapsed:hover {
  max-height: 300px; 
}
 
.game-tags, .game-categories {
  display: flex; 
  gap: 8px;
  font-size: 0.85rem;
  color: #4b3f36;
}

.game-tags .tag, .game-categories .category {
  background-color: #e6d6c2;
  padding: 4px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #4b3f36;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
}

.game-tags .tag:hover, .game-categories .category:hover {
  background-color: #d6c1a3;
  transform: scale(1.05);
}

/* Информация и статистика */
.game-stats {
  display: none;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #4b3f36;
  padding-top: 10px;
  border-top: 1px solid #e6d6c2;
}
.star-rating{
  order: -1;
}
.game-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.updated{
  display: none !important;
}
.game_box {
  background: #fff;
}
@media (max-width: 768px) {
  .game_box {
    margin: 15px 0;
  }

  .game-meta {
    padding: 2px;
  }

  .game-title .h2 {
    font-size: 1.1rem;
  }

  .game-desc.collapsed:hover {
    max-height: 200px;
  }
}

.game-tags::-webkit-scrollbar,
.game-categories::-webkit-scrollbar {
  height: 1px;
}

.game-tags::-webkit-scrollbar-track,
.game-categories::-webkit-scrollbar-track {
  background: transparent;
} 
.breadcrumbs {
  background-color: #fdf7f0;  
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin: 20px 0;
}
 
.breadcrumbs_items {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: #4b3f36;
}
 
.breadcrumbs_items li {
  display: flex;
  align-items: center;
}
 
.breadcrumbs_items li a {
  color: #a67c52;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, text-decoration 0.3s;
}

.breadcrumbs_items li a:hover {
  color: #4b3f36;
  text-decoration: underline;
}
 
.breadcrumbs_items li b {
  margin: 0 6px;
  color: #2e1c06;
}
 
.breadcrumbs_items li.has_nav h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #4b3f36;
  margin: 0;
}
 
@media (max-width: 768px) {
  .breadcrumbs_items { 
    align-items: flex-start;
    gap: 4px;
  }

  .breadcrumbs_items li b {
    display: none;  
  }
}

.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: 10px 12px;
  padding: 16px;
  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);
} */
.top-players .label:first-child {
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #392504;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 174, 45, 0.15);
  border: 1px solid rgba(255, 174, 45, 0.35);
  box-shadow: 0 0 16px rgba(255, 174, 45, 0.45);
}
.card-content h2{
   color: var(--dialog-color);
   font-size: 18px; 
  display: inline-block;
}
.card-content h2:after{
  content: ':';

}
.card p{
  font-style: italic;
    display: inline-block;
}
 
.faq {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Arimo', sans-serif;
}
 
.faq-title {
  font-size: 2rem;
  font-weight: 700;
  color: #4b3f36;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.faq-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #d6c1a3;
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

/* Каждый элемент FAQ */
.faq-item {
  background-color: #c1a586;
  border-radius: 12px;
  margin-bottom: 15px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

 
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #4b3f36;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #f5e6d3;
}
 
.faq-icon {
  transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}
 
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #fff5e1;
  color: #4b3f36;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer{
  max-height: 1000px;
   padding: 15px 20px;
}
 

.carts_container .collapsed { 
 
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}
 
.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;
} 
.footer {
  background: linear-gradient(135deg, #fdf7f0, #bd9f78);
  color: #4b3f36;
  padding: 50px 20px 30px;
  font-family: 'Arimo', sans-serif;
  border-top: 2px solid #d6c1a3;
}
  
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}
 
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 30px;
}
 
.footer-section {
  flex: 1 1 200px;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: #d6c1a3;
  border-radius: 2px;
  margin-top: 5px;
}
 
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.footer-links li {
  margin-bottom: 8px;
  transition: transform 0.2s;
}

.footer-links li a {
  color: #4b3f36;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: #a67c52;
  transform: translateX(5px);
}
 
.footer-bottom {
  border-top: 1px solid #ffffff;
  padding-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #4b3f36;
  line-height: 1.5;
}

.footer-bottom p {
  margin: 0;
}
 
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 25px;
  }

  .footer-section {
    flex: 1 1 100%;
  }
}

.container[data-animate] {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  max-height: 400px;
  margin: 20px auto;
  overflow-y: auto;
  padding: 20px;
  font-family: 'Arimo', sans-serif;
}
 
.card {
  background: #ffffff;  
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;

  padding: 20px;
}
.section_information{
  margin: 40px 0;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #fdf7f0, #f5e6d3);
} 
.card-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #4b3f36;
  margin-bottom: 10px;
  position: relative;
}

.card-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50px;
  height: 3px;
  border-radius: 2px;
  background: #d6c1a3;
  transition: width 0.3s ease;
}

.card:hover .card-content h2::after {
  width: 80px;
} 
.card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b3f36;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.card:hover .card-content p {
  opacity: 1;
}
 
@media (max-width: 768px) {
  .card-content h2 {
    font-size: 1.25rem;
  }

  .card-content p {
    font-size: 0.95rem;
  }
}
 
.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: #ff7a18;
}
.light-theme .group_item{
  background: var(--dialog-color);
}
 
.document_section {
  background-color: #fdf7f0;
  color: #4b3f36;
  font-family: 'Arimo', sans-serif;
  padding: 60px 20px;
  line-height: 1.7;
}
 
.document_section .container {
  max-width: 1000px;
  margin: 0 auto;
}
 
.document_section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.document_section h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #d6c1a3;
  border-radius: 2px;
  margin: 10px auto 0;
}

.document_section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 15px;
  color: #4b3f36;
}

.document_section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 10px;
  color: #4b3f36;
}

/* Параграфы */
.document_section p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #4b3f36;
  opacity: 0.95;
}

/* Списки */
.text_neutral li,
.list_check li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.text_neutral li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d6c1a3;
}

.list_check li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #a67c52;
  font-weight: bold;
}
 
.image_document_group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.group_item {
  background-color: #fff5e1;
  border-radius: 12px;
  flex: 1 1 250px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.group_item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.group_item_img {
  margin-bottom: 15px;
}

.group_item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.group_item p {
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
}
 
.document_section_footer {
  border-top: 1px solid #e6d6c2;
  padding-top: 20px;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #4b3f36;
}

.document_section_footer p {
  margin: 4px 0;
}
 
@media (max-width: 768px) {
  .image_document_group {
    flex-direction: column;
    gap: 15px;
  }

  .group_item {
    flex: 1 1 100%;
  }
}

@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;
  }
  .game-desc.full{
  max-height: 300px;
  overflow-y: auto;
}
}
@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;
    width: max-content;
    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.6;
  }
}
@media screen and (max-width: 767px) {
  .image_document_group{
    display: flex;
    flex-direction: column;
  }
}
