*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --red-primary: #b8243f;
  --red-dark: #8a1b2f;
  --red-glow: rgba(184, 36, 63, 0.5);
  --gold-primary: #d4a84b;
  --gold-light: #f0d078;
  --gold-dark: #a67c32;
  --gold-glow: rgba(212, 168, 75, 0.4);
  --bg-darkest: #0b0b0f;
  --bg-dark: #12121a;
  --bg-medium: #1a1a24;
  --bg-light: #242430;
  --text-white: #f5f5f5;
  --text-light: #c8c8d0;
  --text-muted: #8888a0;
  --border-subtle: rgba(212, 168, 75, 0.2);
  --border-strong: rgba(212, 168, 75, 0.5);
  --font-display: 'Cinzel', serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --section-gap: 100px;
  --container-width: 1140px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background-color: var(--bg-darkest);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.adult-notice {
  background: linear-gradient(90deg, var(--red-dark), var(--red-primary), var(--red-dark));
  color: var(--text-white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gold-primary);
}
.adult-notice-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}
.notice-icon {
  font-size: 1.2rem;
}
.header {
  background: var(--bg-dark);
  padding: 18px 0;
  position: sticky;
  top: 44px;
  z-index: 999;
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-symbol {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1px;
}
.logo-text span {
  color: var(--red-primary);
}
.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-item {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.25s ease;
  position: relative;
}
.nav-item:hover {
  color: var(--gold-primary);
  background: rgba(212, 168, 75, 0.08);
}
.nav-item.active {
  color: var(--gold-primary);
}
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--gold-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 20%, var(--red-glow) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, var(--gold-glow) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-darkest) 0%, var(--bg-dark) 100%);
  z-index: 0;
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-primary);
  border-radius: 50%;
  opacity: 0.4;
  animation: particleFloat 8s infinite ease-in-out;
}
.particle:nth-child(2) { animation-delay: 1.5s; width: 6px; height: 6px; }
.particle:nth-child(3) { animation-delay: 3s; opacity: 0.3; }
.particle:nth-child(4) { animation-delay: 4.5s; width: 5px; height: 5px; }
.particle:nth-child(5) { animation-delay: 6s; opacity: 0.2; width: 8px; height: 8px; }
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.8; }
}
.hero-content {
  text-align: center;
  z-index: 2;
  max-width: 700px;
}
.hero-subtitle-top {
  font-size: 1rem;
  color: var(--gold-primary);
  letter-spacing: 6px;
  margin-bottom: 16px;
  opacity: 0.9;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, var(--text-white) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
}
.hero-border-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: var(--text-white);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid var(--gold-dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--red-glow);
}
.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--red-glow);
  border-color: var(--gold-primary);
}
.btn-main .btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.btn-main:hover .btn-icon {
  transform: translateX(4px);
}
.section-header {
  margin-bottom: 50px;
}
.section-header.center {
  text-align: center;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}
.section-title span {
  color: var(--gold-primary);
}
.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary), var(--gold-primary));
  border-radius: 3px;
  margin: 0 auto;
}
.section-line.left {
  margin: 0;
}
.highlights {
  padding: var(--section-gap) 0;
  background: var(--bg-dark);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.highlight-card {
  position: relative;
  background: var(--bg-medium);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid var(--border-subtle);
  transition: all 0.35s ease;
  overflow: hidden;
}
.highlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, var(--red-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.highlight-card:hover .card-glow {
  opacity: 0.15;
}
.card-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-dark);
  letter-spacing: 2px;
}
.card-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 12px;
}
.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.welcome {
  padding: var(--section-gap) 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darkest) 100%);
}
.welcome-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
}
.welcome-decoration {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-decoration::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  animation: rotateSlow 20s linear infinite;
}
.welcome-decoration::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  animation: rotateSlow 15s linear infinite reverse;
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.deco-kanji {
  font-size: 5rem;
  color: var(--gold-primary);
  text-shadow: 0 0 40px var(--gold-glow);
  z-index: 1;
}
.welcome-content .section-title {
  margin-bottom: 8px;
}
.welcome-content .section-line {
  margin-bottom: 28px;
}
.welcome-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.02rem;
}
.welcome-content .btn-main {
  margin-top: 16px;
}
.about {
  padding: var(--section-gap) 0;
  background: var(--bg-medium);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.about-block {
  background: var(--bg-dark);
  border-radius: 14px;
  padding: 32px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}
.about-block:hover {
  border-color: var(--red-primary);
  box-shadow: 0 0 30px rgba(184, 36, 63, 0.15);
}
.about-icon {
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-bottom: 16px;
}
.about-block h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 14px;
}
.about-block p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.footer {
  background: var(--bg-darkest);
  padding: 50px 0 30px;
  border-top: 1px solid var(--border-subtle);
}
.footer-top {
  text-align: center;
  margin-bottom: 30px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--gold-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}
.footer-links a:hover {
  color: var(--gold-light);
}
.footer-divider {
  color: var(--text-muted);
  opacity: 0.4;
}
.footer-disclaimer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  padding: 24px;
  background: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}
.footer-disclaimer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}
.copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.copyright strong {
  color: var(--gold-primary);
}
.age-badge {
  background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
  color: var(--text-white);
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--gold-dark);
}
@media (max-width: 992px) {
  .welcome-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .welcome-decoration {
    margin: 0 auto;
    width: 160px;
    height: 160px;
  }
  .deco-kanji {
    font-size: 4rem;
  }
  .welcome-content .section-line {
    margin-left: auto;
    margin-right: auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  :root {
    --section-gap: 70px;
  }
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darkest);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  .main-nav.active {
    opacity: 1;
    visibility: visible;
  }
  .nav-item {
    font-size: 1.3rem;
    padding: 16px 32px;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-subtitle-top {
    font-size: 0.85rem;
    letter-spacing: 4px;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .adult-notice-inner {
    font-size: 0.8rem;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .btn-main {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .highlight-card {
    padding: 28px 22px;
  }
  .about-block {
    padding: 26px 22px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
  .footer-divider {
    display: none;
  }
}
.game-page {
  position: relative;
  width: 100%;
  height: calc(100vh - 106px);
  background: var(--bg-darkest);
}
.game-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darkest) 100%);
  border-top: 2px solid var(--gold-dark);
}
.game-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.policy-page {
  min-height: 100vh;
  padding: 50px 24px 100px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darkest) 100%);
}
.policy-wrapper {
  max-width: 860px;
  margin: 0 auto;
}
.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 32px;
  padding: 10px 20px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: all 0.25s ease;
}
.back-link:hover {
  background: var(--gold-primary);
  color: var(--bg-darkest);
  border-color: var(--gold-primary);
}
.policy-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-subtle);
}
.policy-content {
  color: var(--text-light);
  line-height: 1.8;
}
.policy-date {
  color: var(--text-muted);
  margin-bottom: 32px;
  padding: 16px 20px;
  background: var(--bg-medium);
  border-radius: 8px;
  border-left: 3px solid var(--gold-primary);
}
.policy-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}
.policy-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 28px;
  margin-bottom: 12px;
}
.policy-content p {
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text-light);
}
.policy-content ul {
  margin: 16px 0 20px 24px;
  list-style: none;
}
.policy-content ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: var(--text-muted);
}
.policy-content ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-size: 0.7rem;
  top: 4px;
}
.policy-content strong {
  color: var(--text-white);
  font-weight: 600;
}
.policy-link {
  color: var(--red-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}
.policy-link:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}
@media (max-width: 768px) {
  .policy-page {
    padding: 40px 20px 80px;
  }
  .policy-title {
    font-size: 2rem;
  }
  .policy-content h2 {
    font-size: 1.3rem;
  }
  .game-page {
    height: calc(100vh - 106px);
  }
}
@media (max-width: 480px) {
  .policy-title {
    font-size: 1.7rem;
  }
  .policy-content h2 {
    font-size: 1.2rem;
  }
  .back-link {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}