:root {
  /* 电子竞技配色方案 - 巴西风格 */
  --background-color: #0a0e27;
  --background-color-1: #0f1629;
  --background-color-opacity: rgba(15, 22, 41, 0.95);
  --button-color: #00ff88;
  --button-color-secondary: #ffd700;
  --button-color-accent: #00d4ff;
  --header-color: #050813;
  --text-color: #e8f4f8;
  --footer-text-color: #8a9ba8;
  
  /* 霓虹色强调 */
  --neon-green: #00ff88;
  --neon-blue: #00d4ff;
  --neon-yellow: #ffd700;
  --neon-purple: #b026ff;
  --accent-orange: #ff6b35;

  --button-font-weight: 900;
  --button-text-size: 1.6rem;

  --header-height: 70px;
  --logo-font-size: 2.1rem;
  --border-radius: 12px;
  --container-width: 1500px;
  --letter-spacing: 0.5px;

  --content-gap: 30px;
  --content-padding: 30px;

  --body-font: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
  --font-size: 1.1rem;
  --text-height: 1.6rem;
  --title-size: 2.2rem;
  --menu-item-size: 1.12rem;
  
  /* 电子竞技特效 */
  --glow-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
  --glow-shadow-blue: 0 0 20px rgba(0, 212, 255, 0.3);
  --glow-shadow-yellow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.container {
  padding: var(--content-padding);
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container ul li {
  padding: 10px 30px;
}

.container ul li::before {
  content: "-   ";
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: var(--body-font);
  font-size: var(--font-size);
  line-height: var(--text-height);
  background: var(--background-color);
  background: linear-gradient(135deg, var(--background-color) 0%, var(--background-color-1) 50%, #0a0e27 100%);
  background-attachment: fixed;
  color: var(--text-color);
  padding-top: var(--header-height);
  letter-spacing: var(--letter-spacing);
  height: 100%;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

img {
  vertical-align: top;
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: var(--border-radius);
}

ul {
  list-style: none;
}

a {
  color: var(--text-color);
  cursor: pointer;
  text-decoration: none;
}

a.active {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  position: relative;
}

a.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  border-radius: 1px;
}

.button {
  min-width: 200px;
  display: block;
  width: fit-content;
  padding: 20px 40px;
  border-radius: var(--border-radius);
  font-size: var(--button-text-size);
  color: #0a0e27;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
  box-shadow: var(--glow-shadow), 0 4px 15px rgba(0, 255, 136, 0.2);
  animation: anim 3s infinite 3s, pulse-glow 2s ease-in-out infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.button:hover::before {
  left: 100%;
}

.button.opacity {
  background: transparent;
  border: 2px solid var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.button.opacity:hover {
  background: rgba(0, 255, 136, 0.1);
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.4);
}

.button.small {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  min-width: 120px;
  padding: 10px 20px;
  font-size: var(--font-size);
  background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
  box-shadow: 0 2px 10px rgba(0, 255, 136, 0.3);
  letter-spacing: 1px;
}

.button.small:hover {
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.5);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 6px 20px rgba(0, 255, 136, 0.3);
  filter: brightness(1.2);
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: var(--glow-shadow), 0 4px 15px rgba(0, 255, 136, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 4px 20px rgba(0, 255, 136, 0.4);
  }
}

@keyframes anim {

  0%,
  15%,
  60%,
  100% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.02);
  }

  45% {
    transform: scale(1);
  }


}

.header {
  max-width: 100vw;
  width: 100%;
  background: linear-gradient(180deg, rgba(5, 8, 19, 0.98) 0%, rgba(10, 14, 39, 0.95) 100%);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 255, 136, 0.2);
  border-bottom: 1px solid rgba(0, 255, 136, 0.1);
}

.navigation {
  max-width: var(--container-width);
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navigation .buttons {
  display: flex;
  gap: 10px;
}

.buttons .button {
  padding: 8px 10px;
  min-width: 100px;
}

.logo {
  font-size: var(--logo-font-size);
  color: var(--text-color);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

#menu__toggle {
  opacity: 0;
}

/* стилизуем кнопку */
.menu__btn {
  display: flex;
  align-items: center;
  position: absolute;
  top: calc((var(--header-height) - 30px) /2);
  left: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 1;
  overflow: hidden;
}

/* добавляем "гамбургер" */
.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
}

.menu__btn>span::before {
  content: '';
  top: -10px;
}

.menu__btn>span::after {
  content: '';
  top: 10px;
}

/* контейнер меню */
.menu__box {
  display: flex;
  flex-direction: column;
  position: fixed;
  visibility: hidden;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: 80px 0 20px 0;
  list-style: none;
  text-align: left;
  background-color: var(--background-color);
  box-shadow: 1px 0px 6px rgba(0, 0, 0, .2);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* элементы меню */
.menu__item {
  display: block;
  padding: 12px 24px;
  color: var(--text-color);
  font-size: var(--menu-item-size);
  font-weight: 900;
  text-decoration: none;
  position: relative;
  transition: all .3s ease-in-out;
}


.menu__item:hover {
  filter: brightness(2);
  transform: scale(1.05);
  transition: all .3s ease-in-out;
}

#menu__toggle:checked~.menu__box {
  visibility: visible;
  left: 0;
}

.menu__box {
  transition-duration: .25s;
}

.menu__item {
  transition-duration: .25s;
}

.text-center {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);
  padding: 50px var(--content-padding);
  justify-content: center;
  align-items: center;
  width: 80%;
  min-width: 300px;
  margin: 0 auto;
  text-align: center;
}

h1 {
  line-height: 1.2;
  font-size: var(--title-size);
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-blue) 50%, var(--neon-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
  letter-spacing: -0.5px;
}

h3 {
  line-height: 1.3;
  font-size: calc(var(--font-size) * 1.8);
  font-weight: 800;
  color: var(--neon-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 15px;
}

h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
  border-radius: 2px;
}

footer {
  background: linear-gradient(180deg, rgba(5, 8, 19, 0.98) 0%, rgba(10, 14, 39, 0.95) 100%);
  border-top: 1px solid rgba(0, 255, 136, 0.1);
  position: relative;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

footer div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__content a {
  text-overflow: ellipsis;
  max-width: 100%;
  overflow: hidden;
  color: var(--footer-text-color) !important;
}


.footer__content {
  display: flex;
  flex-direction: column-reverse;
  max-width: var(--container-width);
  margin: 0 auto;
}

#cookie-popup {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: 80%;
  max-width: 550px;
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.98) 0%, rgba(10, 14, 39, 0.98) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 136, 0.3);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), var(--glow-shadow);
}

#cookie-popup button {
  cursor: pointer;
  font-size: var(--font-size);
  font-weight: 700;
  padding: 12px 20px;
  margin: 15px 0 0 0;
  background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
  border: none;
  border-radius: var(--border-radius);
  color: var(--background-color);
  box-shadow: var(--glow-shadow);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#cookie-popup button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 6px 20px rgba(0, 255, 136, 0.3);
}

.section p {
  padding: 10px;
}

.bonus {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
  border: 3px solid var(--neon-green);
  color: var(--neon-green);
  border-radius: var(--border-radius);
  margin-top: 20px;
  gap: 50px;
  text-align: center;
  text-transform: uppercase;
  font-size: 3rem !important;
  box-shadow: var(--glow-shadow), 0 8px 30px rgba(0, 255, 136, 0.2);
  position: relative;
  overflow: hidden;
  animation: bonus-pulse 3s ease-in-out infinite;
}

.bonus::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 136, 0.1), transparent);
  animation: bonus-shine 3s infinite;
}

@keyframes bonus-pulse {
  0%, 100% {
    box-shadow: var(--glow-shadow), 0 8px 30px rgba(0, 255, 136, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 136, 0.6), 0 8px 40px rgba(0, 255, 136, 0.4);
  }
}

@keyframes bonus-shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.bonus .button {
  width: fit-content;
}


.sponsors {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 20px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--footer-text-color);
  border-top: 1px solid var(--footer-text-color);
}

.sponsors>div {
  max-width: 100px;
}

.content {
  padding: 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--content-gap);
}

h1 a {
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-blue) 50%, var(--neon-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

h1 a:hover {
  filter: brightness(1.2);
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.content>div {
  padding: var(--content-padding);
  text-align: justify;
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: var(--content-padding);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 255, 136, 0.2);
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.6) 0%, rgba(10, 14, 39, 0.8) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.content>div:hover {
  border-color: var(--neon-green);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.2), var(--glow-shadow);
  transform: translateY(-3px);
}

.content>div.no-border {
  border: none;
}

.content div.image,
div.carousel-container {
  border: none;
  background: none;
}

/* FAQ */

.faq-header {
  font-size: 42px;
  border-bottom: 1px solid #ccc;
  padding: 24px;
}

.faq-content {
  margin: 0 auto;
}

.faq-question {
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.faq-question:last-child {
  border: none;
}

.panel-title {
  line-height: calc(var(--font-size) * 2);
  font-size: calc(var(--font-size) * 1.8);
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0px 0px 0 40px;
  display: block;
  cursor: pointer;
}

.panel-content {
  padding: 0px 14px;
  height: 0;
  overflow: hidden;
  z-index: 1;
  position: relative;
  opacity: 0;
  font-style: italic;
  -webkit-transition: .4s ease;
  -moz-transition: .4s ease;
  -o-transition: .4s ease;
  transition: .4s ease;
}

.panel:checked~.panel-content {
  height: auto;
  opacity: 1;
  padding: 20px 14px;
}

.plus {
  position: absolute;
  margin-left: 5px;
  margin-top: -4px;
  font-size: 35px;
  line-height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-transition: .2s ease;
  -moz-transition: .2s ease;
  -o-transition: .2s ease;
  transition: .2s ease;
}

.panel:checked~.plus {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.panel {
  display: none;
}


.content div img {
  max-height: 500px;
}

.content div.flex-800 {
  flex: 1 1 800px;
}

@keyframes gameanim {

  0%,
  20%,
  100% {
    transform: scale(1);
  }

  10% {
    transform: scale(1.05);
  }
}

.content div.games {
  padding: 0;
  flex: 1 1 1500px;
  display: flex;
  justify-content: center;
  flex-direction: row;
  background: none;
  gap: 30px;
  flex-wrap: wrap;
  border: none;
}

.content div.games a img {
  height: 100%;
}

.content div.games a {
  display: block;
  flex: 1 0 20%;
  max-width: 300px;
  animation: gameanim 5s ease-in-out infinite;
}

.content div.games a:nth-child(2) {
  animation-delay: 0.5s;
}

.content div.games a:nth-child(3) {
  animation-delay: 1s;
}

.content div.games a:nth-child(4) {
  animation-delay: 1.5s;
}

.content div.games a:nth-child(5) {
  animation-delay: 2s;
}

.content div.games a:nth-child(6) {
  animation-delay: 2.5s;
}

.content div.games a:nth-child(7) {
  animation-delay: 3s;
}

.content div.games a:nth-child(8) {
  animation-delay: 3.5s;
}

.content div.games a:nth-child(9) {
  animation-delay: 4s;
}

.content div.games a:nth-child(10) {
  animation-delay: 4.5s;
}

.content div.games a img {
  border-radius: 20px;
}

.mobile-header {
  display: none;
}

.desktop-header {
  display: flex;
  width: 80%;
}

.desktop-header .logo {
  margin-left: 0;
}


.desktop-header ul a:hover {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  transition: all 0.3s ease;
}

div.carousel-container {

  position: relative;
  display: flex;
  flex-direction: column;
}

.carousel {
  padding: 0;
  aspect-ratio: 16/9;
  width: 100%;
  position: relative;
  overflow: hidden;
}

div.carousel-container .carousel img {
  max-height: none;
}

.carousel .item {
  opacity: 0;
  width: 100%;
  height: 100%;
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.carousel .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel .item .caption {
  width: 100%;
  padding: var(--lx-space-01);
  position: absolute;
  bottom: 0;
  text-transform: uppercase;
  text-align: center;
  font-size: 12px;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel .item.active {
  opacity: 1;
  display: block;
}


div.carousel-container .btn {
  width: 50px;
  height: 50px;
  display: block;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  outline: none;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 900;
  color: #ffffe6;
  background-color: #575757;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
}

div.carousel-container .btn:active,
div.carousel-container .btn:focus {
  transform: translateY(-50%) scale(0.9);
}

div.carousel-container .btn:hover {
  transform: translateY(-50%) scale(0.96);
}


div.carousel-container .prev {
  left: -5px;
}

div.carousel-container .next {
  right: -5px;
}

div.carousel-container .dots {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

div.carousel-container .dots .dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  background-color: #242421;
  transition: background-color 0.2s ease;
}

div.carousel-container .dots .dot.active,
div.carousel-container .dots .dot:hover {
  background-color: #ffffe6;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--content-padding);
  background: var(--background-color-opacity);
  border-radius: var(--border-radius);
}

form input {
  height: 50px;
  padding: 10px;
  background: var(--text-color);
}

form textarea {
  height: 150px;
  padding: 10px;
  background: var(--text-color);
}

form label {
  display: flex;
  align-items: center;
  gap: 10px;
}

form .button {
  border: 1px solid var(--button-text-color);
  padding: 10px 15px;
  font-size: 1rem;
}

.gameCards {
  padding: var(--content-padding);
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.8) 0%, rgba(10, 14, 39, 0.9) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 136, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.gameCard>h3 {
  margin-bottom: 30px;
  padding-left: 10px;
}

.gameCard .items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.gameCard .items .item {
  flex: 0 1 23%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.gameCard .items .item .icon {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gameCard .items .item:hover .icon {
  border-color: var(--neon-green);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3), var(--glow-shadow);
  transform: translateY(-5px);
}

.gameCard .items .item span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: calc(var(--font-size) * 1.2);
  line-height: 45px;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.gameCard .items .item:hover span {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.gameCard .items .item .icon>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.play {
  z-index: 5;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2) 0%, rgba(0, 212, 255, 0.2) 100%);
  backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--border-radius);
}

.play .button {
  text-align: center;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-blue) 100%);
  box-shadow: var(--glow-shadow-blue), 0 4px 15px rgba(0, 212, 255, 0.3);
  animation: play-button-pulse 2s ease-in-out infinite;
}

@keyframes play-button-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--glow-shadow-blue), 0 4px 15px rgba(0, 212, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 6px 20px rgba(0, 212, 255, 0.4);
  }
}

.gameCard .items .item:hover .play {
  opacity: 1;
}

.gameCard .items .item:hover .icon>img {
  filter: blur(3px) brightness(0.7);
  transform: scale(1.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.divider {
  margin: 40px 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.3), transparent);
  border: none;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.6);
}

.main-menu {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.main-menu>.main-list {
  line-height: 50px;
  padding: 0 5px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.main-menu>.main-list:hover>a {
  color: var(--neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  transition: all 0.3s ease;
}

.main-menu>.main-list>.second-menu {
  display: none;
  list-style: none;
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% + 40px);
  transform: translate(-20px, 100%);
}

.main-menu>.main-list:hover>.second-menu {
  display: block;
}

.main-menu>.main-list>.second-menu>.second-list:hover>a {
  color: var(--neon-green);
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.main-menu>.main-list>.second-menu>.second-list {
  height: 50px;
  background: linear-gradient(135deg, rgba(5, 8, 19, 0.98) 0%, rgba(10, 14, 39, 0.95) 100%);
  border-top: 0.5px solid rgba(0, 255, 136, 0.2);
  transition: all 0.3s ease;
}

.main-menu>.main-list>.second-menu>.second-list:hover {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
  border-left: 3px solid var(--neon-green);
}

.main-menu>.main-list>.second-menu>.second-list>.third-menu {
  display: none;
  margin-left: 100%;
  margin-top: -50px;
}

.main-menu>.main-list>.second-menu>.second-list>.third-menu>.third-list {
  text-align: center;
  width: 200px;
  padding: 0 20px;
  background-color: var(--header-color);
  border-top: 0.5px solid var(--footer-text-color);
}

.main-menu>.main-list>.second-menu>.second-list>.third-menu>.third-list:hover>a {
  color: var(--button-color);
}

.main-menu>.main-list>.second-menu>.second-list:hover>.third-menu {
  display: block;
}

.main-menu-mobile {
  overflow: visible;
  max-height: none;
  height: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main-menu-mobile li {
  padding: 10px 12px 10px 25px;
  font-size: var(--font-size);
  font-weight: 800;
  flex-shrink: 0;
}

.main-menu-mobile li li {
  font-weight: 600;
  font-size: calc(var(--font-size) * 0.9);
}

.main-menu-mobile li li li {
  font-weight: 400;
  font-size: calc(var(--font-size) * 0.8);
}

.main-menu-mobile-top {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  height: var(--header-height);
  background: var(--header-color);
}

@media (max-width: 1120px) {

  .gameCard .items .item {
    flex: 1 1 45%;
    max-width: 48%;
    min-width: 140px;
  }
  
  .gameCard .items {
    gap: 15px;
  }
  
  .gameCard .items .item .icon {
    border-width: 1px;
  }
  
  .gameCard .items .item:hover .icon {
    transform: translateY(-3px);
  }

  .desktop-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    padding-left: 20px;
  }

  .logo {
    margin-left: 0;
  }

  #cookie-popup {
    position: static;
  }

  .bonus {
    position: fixed;
    z-index: 10;
    width: 100%;
    left: 0;
    bottom: 0;
    border-radius: 0;
    padding: 20px 10px;
    background: linear-gradient(135deg, var(--neon-green) 0%, #00cc6a 100%);
    border: 3px solid var(--neon-green);
    border-top: 3px solid var(--neon-green);
    color: var(--background-color);
    gap: 10px;
    font-weight: 900;
    font-size: 1.6rem !important;
    line-height: 2rem;
    box-shadow: 0 -4px 30px rgba(0, 255, 136, 0.5), var(--glow-shadow);
    animation: bonus-pulse 3s ease-in-out infinite;
  }

  .content div.games {
    gap: 10px;
  }

  .content div.games a {
    display: block;
    flex: 1 1 150px;
    max-width: 150px;
    max-height: 150px;
  }

  .sponsors>div {
    max-width: 80px;
  }

  .bonus h4:nth-child(3),
  .bonus h4:nth-child(1) {
    display: none;
  }

  .logo {
    font-size: calc(var(--logo-font-size) * 0.8);
  }

  h1 {
    font-size: calc(var(--title-size) * 0.7);
    line-height: 1.2;
  }
  
  h3 {
    font-size: calc(var(--font-size) * 1.4);
    line-height: 1.3;
  }

  .button {
    font-size: calc(var(--button-text-size) * 0.8);
    letter-spacing: 1px;
    padding: 15px 20px;
    min-width: 150px;
  }
  
  .button.small {
    padding: 10px 15px;
    font-size: 0.9rem;
    min-width: 90px;
  }

  footer {
    flex-direction: column;
    padding-bottom: 200px;
    padding-top: 30px;
  }
  
  .content {
    padding: 30px 0;
    gap: 20px;
  }
  
  .content>div {
    padding: 20px;
    flex: 1 1 100%;
  }
  
  .gameCards {
    padding: 20px 15px;
  }

  .navigation .buttons .button:nth-child(2) {
    display: none;
  }

  /* 移动端菜单优化 - 确保菜单内容完全显示 */
  .menu__box {
    width: 100%;
    max-width: 300px;
    padding: 80px 0 100px 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    height: 100vh;
    max-height: 100vh;
  }

  .main-menu-mobile {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    padding-bottom: 40px;
    min-height: fit-content;
  }

  .main-menu-mobile li {
    white-space: normal;
    word-wrap: break-word;
    display: block !important;
    visibility: visible !important;
  }

  .main-menu-mobile ul {
    display: block !important;
    visibility: visible !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .main-menu-mobile li ul {
    display: block !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  /* 移动端菜单 - 强制展开所有子菜单 */
  .main-menu-mobile .second-menu,
  .main-menu-mobile .third-menu,
  .main-menu-mobile ul ul,
  .main-menu-mobile ul ul ul {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .main-menu-mobile .second-list,
  .main-menu-mobile .third-list {
    position: static !important;
    transform: none !important;
    height: auto !important;
    min-height: 40px !important;
  }

}
/* 文章更新区域样式 */
.articles-section {
  padding: var(--content-padding);
  margin: 40px 0;
}

.articles-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.article-card {
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.8) 0%, rgba(10, 14, 39, 0.9) 100%);
  border-radius: var(--border-radius);
  border: 1px solid rgba(0, 255, 136, 0.2);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-green);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.3), var(--glow-shadow);
}

.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.article-card:hover .article-overlay {
  opacity: 1;
}

.article-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-time {
  font-size: 0.9rem;
  color: var(--footer-text-color);
  font-weight: 600;
}

.article-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neon-green);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.article-card:hover .article-title {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.article-description {
  font-size: var(--font-size);
  line-height: 1.6;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .articles-container {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  
  .article-image {
      height: 180px;
  }
}