@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

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

html { scroll-behavior: smooth; }

img { display: block; }

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

:root {
  --accent: #c251ff;
  --accent-bg: rgba(194, 81, 255, 0.2);
  --bg: #101011;
  --dark: #0a0e11;
  --text-70: rgba(255, 255, 255, 0.7);
  --text-60: rgba(255, 255, 255, 0.6);
  --btn-shadow: 0px 5px 30px 0px rgba(194, 81, 255, 0.8);
}

body {
  font-family: 'Anton', sans-serif;
  font-style: normal;
  background: var(--bg);
  color: #fff;
  overflow-x: hidden;
}

.accent { color: var(--accent); }

.container {
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 50px;
  border-radius: 60px;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.88; }
.btn-primary {
  background: var(--accent);
  box-shadow: var(--btn-shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
}

.header-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 20px 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo img { width: 30px; height: 30px; flex-shrink: 0; }
.logo-name {
  font-size: 24px;
  text-transform: uppercase;
  line-height: normal;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-nav a {
  font-size: 14px;
  text-transform: uppercase;
  line-height: normal;
  white-space: nowrap;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--accent); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 20px;
  padding: 20px 84px;
  background: var(--bg);
 
}
.mobile-nav a {
  font-size: 14px;
  text-transform: uppercase;
  line-height: normal;
}
.mobile-nav.open { display: flex; }

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 733px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-size: 120px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

.hero-subtitle {
  font-size: 14px;
  line-height: normal;
  color: var(--text-70);
  max-width: 517px;
}

.hero-char {
  position: absolute;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-char-left {
  left: 84px;
  width: 285px;
  height: 425px;
}
.hero-char-left img {
  position: absolute;
  height: 141.48%;
  left: -17.33%;
  top: -25.22%;
  width: 140.62%;
  max-width: none;
}

.hero-char-right {
  right: 84px;
  width: 330px;
  height: 440px;
}
.hero-char-right img {
  position: absolute;
  height: 164.38%;
  left: -15.5%;
  top: -64.34%;
  width: 145%;
  max-width: none;
}

.about {
  padding: 80px 0;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image-wrap {
  width: 407px;
  height: 434px;
  border-radius: 40px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.about-image-wrap img {
  position: absolute;
  height: 129.18%;
  left: -34%;
  top: -14.65%;
  width: 163.34%;
  max-width: none;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}
.about-text h2 {
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
}
.about-text p {
  font-size: 14px;
  line-height: normal;
  color: var(--text-70);
}

.hall {
  background: var(--accent);
  overflow: hidden;
  padding: 60px 0;
}

.hall-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  padding: 0 20px;
}

.hall-content h2 {
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

.hall-content > p {
  font-size: 14px;
  line-height: normal;
  text-align: center;
  width: 100%;
}

.hall-gallery {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}

.hall-game-large {
  display: block;
  width: 260px;
  height: 260px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
}
.hall-game-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hall-small-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.hall-game-small {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 22px;
  overflow: hidden;
}
.hall-game-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq {
  padding: 80px 0;
}

.faq-inner {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.faq-left {
  width: 490px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.faq-title {
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
}

.faq-char-wrap {
  width: 296px;
  height: 513px;
  overflow: hidden;
  pointer-events: none;
  position: relative;
  flex-shrink: 0;
}
.faq-char-wrap img {
  position: absolute;
  height: 108.32%;
  left: -43.26%;
  top: -4.43%;
  width: 187.67%;
  max-width: none;
}

.faq-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: var(--accent-bg);
  border-radius: 20px;
  overflow: hidden;
  padding: 20px;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.faq-question-text {
  font-size: 22px;
  line-height: normal;
  text-transform: uppercase;
  flex: 1;
}

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s;
  margin-top: 3px;
}

.faq-item.closed .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 14px;
  line-height: normal;
  color: var(--text-70);
  margin-top: 10px;
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.25s ease;
}

.faq-item.closed .faq-answer {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.cta {
  background: var(--accent);
  overflow: hidden;
  position: relative;
  min-height: 713px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 0;
}

.cta-content {
  position: relative;
  z-index: 2;
  width: 578px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.cta-title {
  font-size: 100px;
  line-height: 1;
  text-transform: uppercase;
}

.cta-desc {
  font-size: 14px;
  line-height: normal;
}

.contact-boxes {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  width: 100%;
}

.contact-box {
  background: var(--dark);
  padding: 20px 40px;
  border-radius: 15px;
  font-size: 22px;
  text-transform: uppercase;
  text-align: center;
  line-height: normal;
  white-space: nowrap;
}

.cta-char {
  position: absolute;
  top: 60px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.cta-char-left {
  left: 84px;
  width: 301px;
  height: 587px;
}
.cta-char-left img {
  position: absolute;
  height: 103.94%;
  left: -19.11%;
  top: -3.11%;
  width: 135.2%;
  max-width: none;
}

.cta-char-right {
  right: 84px;
  width: 269px;
  height: 589px;
}
.cta-char-right img {
  position: absolute;
  height: 120.12%;
  left: -24.31%;
  top: -14.17%;
  width: 147.57%;
  max-width: none;
  transform: scaleX(-1);
}

.site-footer {
  padding: 20px 0;
}

.footer-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 20px 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 14px;
  text-transform: uppercase;
  line-height: normal;
  white-space: nowrap;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--accent); }

.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}
.social-links a {
  display: block;
  width: 40px;
  height: 40px;
  transition: opacity 0.2s;
}
.social-links a:hover { opacity: 0.85; }
.social-links img {
  width: 40px;
  height: 40px;
}

.copyright {
  font-size: 14px;
  color: var(--text-60);
  line-height: normal;
  white-space: nowrap;
}

.game-hero {
  background: var(--accent);
  overflow: hidden;
  padding: 60px 0;
}

.game-hero-content {
  max-width: 1049px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.game-hero-content h1 {
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
}

.game-hero-content > p {
  font-size: 14px;
  line-height: normal;
}

.game-thumb {
  width: 260px;
  height: 260px;
  border-radius: 22px;
  overflow: hidden;
  flex-shrink: 0;
}
.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-white {
  background: #ffffff;
  color: #101011;
  box-shadow: 0px 5px 30px 0px rgba(255, 255, 255, 0.8);
}

.game-detail {
  padding: 80px 0;
}

.game-detail-inner {
  max-width: 1368px;
  margin: 0 auto;
  padding: 0 84px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.game-detail-text {
  width: 733px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
}

.game-detail-text h2 {
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
}

.game-detail-text > p {
  font-size: 14px;
  line-height: normal;
  color: var(--text-70);
}

.game-detail-image {
  width: 407px;
  height: 434px;
  border-radius: 40px;
  overflow: hidden;
  flex-shrink: 0;
}
.game-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.policy-section {
  padding: 60px 0;
}
.policy-inner {
  max-width: 1266px;
  margin: 0 auto;
  padding: 0 84px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.policy-title {
  font-size: 80px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}
.policy-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}
.policy-body p {
  margin: 0;
}

.hall-game-large,
.hall-game-small {
  position: relative;
  transition: opacity 0.2s, transform 0.15s;
}
a.hall-game-large:hover,
a.hall-game-small:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

.hall-game-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.93);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.22s ease;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  color: #101011;
  padding: 10px;
  text-align: center;
  line-height: 1.2;
  pointer-events: none;
}

a.hall-game-large:hover .hall-game-label,
a.hall-game-small:hover .hall-game-label {
  opacity: 1;
}

.hall-game-small .hall-game-label {
  font-size: 11px;
  padding: 6px;
}

@media (max-width: 900px) {
  .container {
    padding: 0 15px;
  }

  
  .header-inner {
    padding: 16px 15px;
  }
  .header-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: none;
  }
  .mobile-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 15px;
  }

  
  .hero {
    flex-direction: column;
    min-height: unset;
    padding: 30px 0 0;
    align-items: center;
  }
  .hero-content {
    width: 100%;
    padding: 0 15px;
    gap: 20px;
  }
  .hero-title {
    font-size: 50px;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-char-left {
    display: none;
  }
  .hero-char-right {
    position: relative;
    right: unset;
    width: 300px;
    height: auto;
    margin: 10px auto 0;
    overflow: visible;
  }
  .hero-char-right img {
    position: relative;
    width: 100%;
    height: auto;
    left: unset;
    top: unset;
    max-width: none;
    object-fit: unset;
    object-position: unset;
  }

  
  .about {
    padding: 40px 0;
  }
  .about-inner {
    flex-direction: column;
    gap: 20px;
  }
  .about-image-wrap {
    width: 100%;
    height: 260px;
    border-radius: 20px;
  }
  .about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    left: 0;
    top: 0;
  }
  .about-text h2 {
    font-size: 42px;
  }

  
  .hall {
    padding: 40px 0;
  }
  .hall-content {
    padding: 0 15px;
    max-width: 100%;
    align-items: center;
  }
  .hall-content h2 {
    font-size: 42px;
  }
  .hall-gallery {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .hall-game-large {
    width: 155px;
    height: 155px;
  }
  .hall-small-col {
    flex-direction: row;
    gap: 10px;
  }
  .hall-game-small {
    width: 70px;
    height: 70px;
  }

  
  .faq {
    padding: 40px 0;
  }
  .faq-inner {
    flex-direction: column;
    gap: 20px;
  }
  .faq-left {
    width: 100%;
    gap: 20px;
  }
  .faq-title {
    font-size: 42px;
  }
  .faq-char-wrap {
    width: 180px;
    height: 310px;
    margin: 0 auto;
  }
  .faq-items {
    width: 100%;
  }
  .faq-question-text {
    font-size: 18px;
  }

  
  .cta {
    padding: 40px 15px;
    min-height: unset;
    flex-direction: column;
    align-items: center;
  }
  .cta-content {
    width: 100%;
    max-width: 330px;
    position: relative;
    z-index: 2;
  }
  .cta-title {
    font-size: 42px;
  }
  .contact-box {
    font-size: 14px;
    padding: 15px 20px;
    white-space: normal;
    text-align: center;
  }
  .cta-char {
    display: none;
  }

  
  .footer-inner {
    padding: 20px 15px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .copyright {
    text-align: center;
    white-space: normal;
  }

  
  .game-hero-content h1 {
    font-size: 42px;
  }
  .game-detail {
    padding: 40px 0;
  }
  .game-detail-inner {
    flex-direction: column;
    padding: 0 15px;
    gap: 30px;
  }
  .game-detail-text {
    width: 100%;
  }
  .game-detail-text h2 {
    font-size: 42px;
  }
  .game-detail-image {
    width: 100%;
    height: 350px;
  }

  
  .catalog-gallery {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .catalog-gallery .hall-game-large {
    width: 260px;
    height: 260px;
  }
  .catalog-gallery .hall-small-col {
    flex-direction: row;
    gap: 20px;
  }
  .catalog-gallery .hall-game-small {
    width: 120px;
    height: 120px;
  }

  
  .policy-inner {
    padding: 0 15px;
  }
  .policy-title {
    font-size: 42px;
  }
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 16px 24px;
}
.cookie-overlay.hidden {
  display: none;
}
.cookie-banner {
  background: #1a1a1e;
  border: 1.5px solid var(--accent);
  border-radius: 24px;
  padding: 36px 32px 32px;
  max-width: 672px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.cookie-banner__icon {
  width: 72px;
  height: 72px;
}
.cookie-banner__title {
  font-family: 'Anton', sans-serif;
  font-size: 32px;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.cookie-banner__text {
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-transform: none;
  font-style: normal;
}
.cookie-banner__text a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.cookie-btn-accept {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
  border-radius: 60px;
  background: var(--accent);
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.cookie-btn-accept:hover { opacity: 0.88; }
.cookie-btn-manage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
  border-radius: 60px;
  background: transparent;
  border: 1.5px solid #fff;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cookie-btn-manage:hover { opacity: 0.75; }

@media (max-width: 480px) {
  .cookie-banner {
    padding: 28px 20px 24px;
    gap: 18px;
  }
  .cookie-banner__title {
    font-size: 24px;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-char-left {
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-char-right {
  animation: fadeUp 0.8s ease 0.45s both;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0px 10px 45px 0px rgba(194, 81, 255, 1);
}

.btn-white:hover {
  box-shadow: 0px 10px 45px 0px rgba(255, 255, 255, 0.9);
}

.logo {
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.8;
}

.header-nav a {
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.header-nav a:hover::after {
  width: 100%;
}

.hall-game-large,
.hall-game-small {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.hall-game-large:hover,
a.hall-game-small:hover {
  opacity: 1;
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.about-image-wrap {
  transition: box-shadow 0.3s ease;
}

.about-image-wrap:hover {
  box-shadow: 0 0 0 3px var(--accent);
}

.game-detail-image {
  transition: box-shadow 0.3s ease;
}

.game-detail-image:hover {
  box-shadow: 0 0 0 3px var(--accent);
}

.game-thumb {
  transition: box-shadow 0.3s ease;
}

.game-thumb:hover {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.faq-item {
  transition: background 0.2s ease;
}

.faq-item:hover {
  background: rgba(194, 81, 255, 0.3);
}

.contact-box {
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: default;
}

.contact-box:hover {
  transform: translateY(-3px);
  background: rgba(5, 9, 12, 0.95);
}

.social-links a {
  transition: opacity 0.2s, transform 0.2s;
}

.social-links a:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.footer-nav a {
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

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

.cookie-banner {
  animation: slideUp 0.45s ease 0.1s both;
}

@media (max-width: 768px) {
  .hero-char {
    bottom: 60px;
  }
}