:root {
  --bg: #0A0A0A;
  --bg-soft: #121212;
  --bg-card: rgba(248, 248, 255, 0.04);
  --bg-card-strong: rgba(248, 248, 255, 0.08);
  --text: #F8F8FF;
  --text-soft: #D8D8E2;
  --muted: #A8A8B3;
  --line: rgba(248, 248, 255, 0.12);
  --line-strong: rgba(255, 117, 24, 0.28);
  --primary: #FF7518;
  --primary-dark: #D95E08;
  --primary-glow: rgba(255, 117, 24, 0.28);
  --white-glow: rgba(248, 248, 255, 0.1);
  --success: #b9ffba;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 86px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 117, 24, 0.14), transparent 30%),
    radial-gradient(circle at top left, rgba(248, 248, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #090909 0%, #0A0A0A 100%);
  line-height: 1.65;
  min-width: 320px;
}

img,
svg,
iframe {
  max-width: 100%;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

iframe {
  border: 0;
  display: block;
}

main {
  overflow: hidden;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #ff9a52);
  color: var(--bg);
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(255, 117, 24, 0.25);
}

.brand-text {
  font-size: 1.08rem;
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 117, 24, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 117, 24, 0.18);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 72px 0 44px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(248, 248, 255, 0.06), transparent 20%),
    radial-gradient(circle at 80% 12%, rgba(255, 117, 24, 0.1), transparent 24%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.hero-copy,
.hero-panel,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.content-card h2,
.legal-card h2,
.responsible-box h2,
.game-banner-copy h3,
.feature-card h3,
.review-card h3,
.step-card h3,
.hero-card h2 {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.06;
  margin-bottom: 18px;
  max-width: 12ch;
}

.hero-text {
  margin: 0 0 26px;
  max-width: 64ch;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-actions,
.responsible-actions,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ff9548);
  color: var(--bg);
  box-shadow: 0 12px 24px rgba(255, 117, 24, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(255, 117, 24, 0.3);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(248, 248, 255, 0.03);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(255, 117, 24, 0.08);
}

.text-link {
  color: var(--primary);
  font-weight: 700;
}

.text-link:hover {
  color: #ff9e5f;
}

.hero-points,
.detail-list,
.footer-links,
.legal-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.detail-list li,
.legal-card ul li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.hero-points li::before,
.detail-list li::before,
.legal-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(255, 117, 24, 0.1);
}

.hero-panel,
.hero-card,
.strip-card,
.feature-card,
.review-card,
.step-card,
.content-card,
.notice-box,
.legal-card,
.game-banner-card,
.responsible-box,
.contact-form,
.cookie-inner {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(248, 248, 255, 0.05), rgba(248, 248, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-panel,
.hero-card,
.notice-box,
.legal-card,
.contact-form,
.content-card,
.responsible-box {
  border-radius: var(--radius);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.panel-glow {
  position: absolute;
  inset: auto auto -20% -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 117, 24, 0.28), transparent 64%);
  filter: blur(8px);
}

.hero-card {
  padding: 28px;
  height: 100%;
}

.mini-label {
  margin: 0 0 12px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.info-strip {
  padding: 10px 0 12px;
}

.info-strip-grid,
.feature-grid,
.review-grid,
.steps-grid,
.form-grid {
  display: grid;
  gap: 18px;
}

.info-strip-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid,
.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.strip-card,
.feature-card,
.review-card,
.step-card {
  border-radius: 20px;
  padding: 24px;
}

.strip-icon,
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 117, 24, 0.14);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}

.step-no {
  width: 50px;
  min-width: 50px;
  height: 50px;
}

.section {
  padding: 38px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(248, 248, 255, 0.02), rgba(248, 248, 255, 0.01));
  border-top: 1px solid rgba(248, 248, 255, 0.04);
  border-bottom: 1px solid rgba(248, 248, 255, 0.04);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  margin-bottom: 12px;
}

.section-heading p:last-child,
.feature-card p,
.review-card p,
.step-card p,
.content-card p,
.strip-card p,
.notice-box p,
.hero-card p,
.footer-copy,
.legal-card p {
  color: var(--text-soft);
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.content-card,
.notice-box,
.legal-card,
.contact-form {
  padding: 28px;
}

.notice-box {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 117, 24, 0.08), rgba(248, 248, 255, 0.04));
}

.game-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.game-banner-art {
  min-height: 280px;
  position: relative;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(248, 248, 255, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(255, 117, 24, 0.08), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(248, 248, 255, 0.08);
}

.moon-shape {
  position: absolute;
  top: 34px;
  right: 54px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff4cc 0%, #ffd08f 55%, rgba(255, 208, 143, 0.25) 72%, transparent 73%);
  box-shadow: 0 0 30px rgba(255, 210, 155, 0.16);
}

.grave {
  position: absolute;
  bottom: 26px;
  width: 60px;
  height: 88px;
  border-radius: 30px 30px 10px 10px;
  background: linear-gradient(180deg, #3c3c46, #1c1c22);
  border: 1px solid rgba(248, 248, 255, 0.08);
}

.grave-one {
  left: 50px;
}

.grave-two {
  left: 130px;
  height: 102px;
}

.grave-three {
  left: 220px;
  height: 76px;
}

.responsible-highlight {
  padding-bottom: 62px;
}

.responsible-box {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.review-grid .review-card,
.feature-grid .feature-card,
.info-strip-grid .strip-card,
.steps-grid .step-card {
  backdrop-filter: blur(8px);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(248, 248, 255, 0.03);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-weight: 700;
}

.faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--primary);
  flex-shrink: 0;
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--text-soft);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.form-grid {
  grid-template-columns: repeat(2, 1fr);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.72);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 117, 24, 0.12);
}

.checkbox-line {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-line input {
  margin-top: 4px;
}

.legal-layout {
  display: block;
}

.legal-card h2 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--text);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.game-frame-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.game-frame-wrap iframe {
  width: 100%;
  height: 760px;
  background: #000;
}
@media (max-width: 767px) {
  .game-frame-wrap iframe {
    max-width: none !important;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 20px;
  background: rgba(6, 6, 6, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 26px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-title {
  font-size: 1rem;
  margin: 0 0 14px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
}

.cookie-inner {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 20px 22px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(10, 10, 10, 0.96);
}

.cookie-inner p {
  margin: 0;
  color: var(--text-soft);
}

.cookie-inner a {
  color: var(--primary);
  font-weight: 700;
}

.hero-inner .hero-grid {
  align-items: stretch;
}

.hero-play .hero-grid,
.hero-home .hero-grid {
  align-items: center;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .hero-grid,
  .game-banner-card,
  .footer-grid,
  .two-col-layout,
  .feature-grid,
  .review-grid,
  .steps-grid,
  .info-strip-grid {
    grid-template-columns: 1fr;
  }

  .responsible-box,
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    max-width: 100%;
  }

  .game-banner-art {
    min-height: 220px;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 14px;
    padding: 12px 14px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-text {
    font-size: 0.98rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-heading h2 {
    font-size: 1.6rem;
  }

  .hero-card,
  .content-card,
  .notice-box,
  .legal-card,
  .contact-form,
  .strip-card,
  .feature-card,
  .review-card,
  .step-card,
  .game-banner-card,
  .responsible-box {
    padding: 22px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .responsible-actions,
  .cookie-actions {
    width: 100%;
  }

  .cookie-inner {
    padding: 18px;
  }

  .moon-shape {
    right: 24px;
    width: 68px;
    height: 68px;
  }

  .grave-one {
    left: 28px;
  }

  .grave-two {
    left: 94px;
  }

  .grave-three {
    left: 160px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}