/* ================================================================
   ОСНОВНЫЕ СТИЛИ (base.css)
   ================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0a0a1a;
  color: #e0e0e0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================================================================
   ШАПКА (header)
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(10, 10, 30, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.header_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
}

.main_logo_text a {
  display: block;
}

.main_logo_text img {
  height: 40px;
  width: auto;
}

.non_auth {
  display: flex;
  align-items: center;
  gap: 15px;
}

#online {
  font-size: 12px;
  color: #00e676;
}

.register {
  background: #e74c3c;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

.register:hover {
  background: #c0392b;
}

.link_standard {
  color: #ccc;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s;
}

.link_standard:hover {
  color: #fff;
}

/* ================================================================
   КНОПКА РЕГИСТРАЦИИ #A940BE
   ================================================================ */
.btn_register_small {
  background: #A940BE !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s;
}

.btn_register_small:hover {
  background: #8e35a8 !important;
  color: #fff !important;
}

.btn-register {
  background: #A940BE;
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  transition: background 0.3s;
  display: inline-block;
}

.btn-register:hover {
  background: #8e35a8;
  color: #fff !important;
}

/* ================================================================
   ОСНОВНОЙ КОНТЕНТ
   ================================================================ */
.main {
  padding-top: 70px;
  min-height: 100vh;
}

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

/* ================================================================
   КАРУСЕЛЬ
   ================================================================ */
#carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #1a1a3e, #2d1b69);
  min-height: 300px;
}

.carousel-static {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 50px 30px;
  text-align: center;
  box-sizing: border-box;
}

.carousel-slide h2 {
  color: #ffd700;
  font-size: 32px;
  margin-bottom: 15px;
}

.carousel-slide p {
  color: #ccc;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-dots .dot.active {
  background: #ffd700;
}

/* ================================================================
   ИГРЫ
   ================================================================ */
.games_list_content {
  margin-top: 20px;
}

.games-grid-static {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.game-card-static {
  background: #1a1a2e;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  border: 1px solid #2a2a4a;
  transition: 0.3s;
}

.game-card-static:hover {
  border-color: #ffd700;
  transform: translateY(-5px);
}

.game-card-static img {
  width: 100%;
  border-radius: 8px;
}

.game-card-static h4 {
  color: #fff;
  margin: 10px 0 5px;
  font-size: 16px;
}

/* ================================================================
   SEO-ТЕКСТ
   ================================================================ */
.seo-section-static {
  background: #111128;
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  border-left: 4px solid #ffd700;
}

.seo-section-static h2 {
  color: #ffd700;
  font-size: 28px;
  margin-bottom: 20px;
}

.seo-section-static h3 {
  color: #ffd700;
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.seo-section-static h4 {
  color: #ffd700;
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.seo-section-static p {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 15px;
}

.seo-section-static ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0;
}

.seo-section-static ul li {
  padding: 6px 0 6px 28px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23ffd700" stroke-width="2"><path d="M20 6L9 17l-5-5"/></svg>') left center no-repeat;
  background-size: 18px;
  color: #ccc;
}

/* ================================================================
   ПОДВАЛ (footer) — 100% копия оригинальных классов
   ================================================================ */
.footer {
  background: #0f0f20;
  padding: 30px 0;
  margin-top: 40px;
  border-top: 1px solid #2a2a4a;
}

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

.footer_links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer_link a {
  color: #aaa;
  font-size: 14px;
  transition: color 0.3s;
}

.footer_link a:hover {
  color: #ffd700;
}

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

.website_info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.warnings_and_site {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.licence_icon2 {
  flex-shrink: 0;
}

.gcb_licence img {
  height: 40px;
  width: auto;
}

.domain_name2 {
  color: #888;
  font-size: 13px;
  line-height: 1.5;
}

.warnings_and_site_rate {
  height: 30px;
  width: auto;
}

.warnings_and_site_rate_text {
  color: #888;
  font-size: 13px;
  line-height: 1.5;
}

/* ================================================================
   SCROLL.CSS (дополнительные стили для скролла)
   ================================================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0a1a;
}
::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e6c200;
}

/* ================================================================
   ICONMOON.CSS (иконки)
   ================================================================ */
@font-face {
  font-family: 'icomoon';
  src: url('{THEME}/fonts/icomoon.eot?806');
  src: url('{THEME}/fonts/icomoon.eot?806#iefix') format('embedded-opentype'),
       url('{THEME}/fonts/icomoon.ttf?806') format('truetype'),
       url('{THEME}/fonts/icomoon.woff?806') format('woff'),
       url('{THEME}/fonts/icomoon.svg?806#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */
@media (max-width: 768px) {
  .header_box {
    flex-direction: column;
    gap: 10px;
  }

  .non_auth {
    gap: 10px;
  }

  .carousel-slide h2 {
    font-size: 24px;
  }

  .carousel-slide p {
    font-size: 16px;
  }

  .games-grid-static {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .warnings_and_site {
    flex-direction: column;
    text-align: center;
  }

  .footer_links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .seo-section-static h2 {
    font-size: 24px;
  }

  .seo-section-static h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .games-grid-static {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  .carousel-slide {
    padding: 30px 15px;
  }

  .carousel-slide h2 {
    font-size: 20px;
  }
}