:root {
  --bg: #05030a;
  --surface: #0d0816;
  --surface-2: #151021;
  --text: #faf8ff;
  --muted: #a8a1b5;
  --red: #a970ff;
  --red-dark: #6d2dde;
  --green: #c078ff;
  --line: rgba(187, 128, 255, .16);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -60px; left: 12px; padding: 10px 14px; color: #111; background: #fff; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; z-index: 20; top: 0; width: 100%; border-bottom: 1px solid var(--line); background: rgba(4,2,8,.82); backdrop-filter: blur(18px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(225,181,255,.24); border-radius: 6px; background: linear-gradient(145deg, #f03ab8, #7432e7); box-shadow: 0 0 30px rgba(169,112,255,.32); font-size: 18px; font-weight: 900; transform: skew(-5deg); }
.logo-text { font-size: 15px; font-weight: 900; letter-spacing: -.4px; line-height: 1; }
.logo-text > span { color: var(--red); }
.logo-text small { display: block; margin-top: 5px; color: #77777e; font-size: 7px; letter-spacing: 2px; }
.header-nav { display: flex; align-items: center; gap: 28px; color: #b8b8bd; font-size: 11px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.header-nav a:hover { color: white; }
.language-picker { position: relative; display: flex; align-items: center; gap: 8px; margin-left: auto; }
.language-picker::before { content: "文"; color: #bd8cff; font-size: 13px; font-weight: 900; }
.language-picker select { height: 38px; max-width: 138px; padding: 0 30px 0 11px; border: 1px solid rgba(187,128,255,.28); border-radius: 7px; outline: 0; background: #120b1d; color: #eee8f7; font: inherit; font-size: 11px; font-weight: 750; cursor: pointer; }
.language-picker select:focus-visible { border-color: #bd8cff; box-shadow: 0 0 0 3px rgba(169,112,255,.16); }
.translation-state { position: absolute; top: calc(100% + 5px); right: 0; width: max-content; color: #8f859c; font-size: 9px; opacity: 0; transform: translateY(-2px); transition: opacity .2s, transform .2s; pointer-events: none; }
.translation-state.is-visible { opacity: 1; transform: none; }
.translation-state.is-error { color: #ff9cac; }
.back-button { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; color: #c4c4c8; font-size: 12px; font-weight: 700; }
.back-button:hover { border-color: rgba(182,118,255,.5); color: white; }

.simple-hero { position: relative; overflow: hidden; min-height: 570px; display: grid; align-items: center; padding: 140px 0 80px; background: radial-gradient(circle at 78% 28%, rgba(116,50,231,.25), transparent 29rem), radial-gradient(circle at 92% 72%, rgba(240,58,184,.09), transparent 23rem), linear-gradient(180deg, #090512, #05030a); }
.hero-grid-bg { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, #000 45%, transparent); }
.simple-hero::after { content: "NGT"; position: absolute; right: -2vw; bottom: -7vw; color: rgba(255,255,255,.018); font-size: clamp(170px, 27vw, 390px); font-weight: 950; letter-spacing: -2vw; line-height: 1; }
.simple-hero-inner { position: relative; z-index: 1; }
.kicker { margin: 0 0 16px; color: #cda8ff; font-size: 10px; font-weight: 850; letter-spacing: 2.4px; text-transform: uppercase; }
.kicker span { display: inline-block; width: 22px; height: 2px; margin-right: 9px; vertical-align: middle; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
.simple-hero h1 { max-width: 880px; margin-bottom: 22px; font-size: clamp(52px, 7vw, 92px); letter-spacing: -5px; text-transform: uppercase; }
.simple-hero h1 em { color: var(--red); font-style: normal; }
.simple-hero-inner > p:not(.kicker) { max-width: 650px; margin-bottom: 30px; color: var(--muted); font-size: 16px; }
.primary-button, .secondary-button, .entry-button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 21px; border: 1px solid rgba(231,201,255,.2); border-radius: 6px; background: linear-gradient(135deg, #bd79ff, var(--red-dark)); box-shadow: 0 12px 38px rgba(132,60,232,.28); color: white; font-size: 13px; font-weight: 850; transition: transform .2s, box-shadow .2s; }
.primary-button:hover, .secondary-button:hover, .entry-button:hover { transform: translateY(-2px); box-shadow: 0 17px 44px rgba(169,112,255,.4); }

.games-section { padding: 95px 0 110px; }
.section-title-row, .content-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 35px; }
.section-title-row h2, .content-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -2px; text-transform: uppercase; }
.game-search { display: flex; align-items: center; gap: 10px; width: min(320px, 100%); height: 48px; padding: 0 15px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: #6f6f75; }
.game-search:focus-within { border-color: rgba(183,121,255,.6); box-shadow: 0 0 0 3px rgba(169,112,255,.11); }
.game-search input { width: 100%; height: 100%; border: 0; outline: 0; color: white; background: transparent; }
.game-search input::placeholder { color: #66666d; }
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.game-card { position: relative; min-height: 182px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #140d20, #09060f); animation: card-in .4s both; animation-delay: var(--delay); transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.game-card::before { content: ""; position: absolute; width: 110px; height: 110px; top: -60px; left: -45px; border-radius: 50%; background: rgba(169,112,255,.16); filter: blur(25px); transition: background .2s; }
.game-card-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) brightness(.67); transition: transform .35s ease, filter .35s ease; }
.game-card.has-image::before { z-index: 1; inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(180deg, rgba(5,3,10,.04) 18%, rgba(5,3,10,.56) 58%, rgba(5,3,10,.96) 100%); filter: none; }
.game-card.has-image:hover .game-card-image { transform: scale(1.055); filter: saturate(1) brightness(.76); }
.game-card.has-image .game-card-icon { display: none; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(187,128,255,.48); background: linear-gradient(145deg, #1a102b, #0c0715); box-shadow: 0 16px 45px rgba(83,34,144,.18); }
.game-card:hover::before { background: rgba(236,63,190,.25); }
.game-card.has-image:hover::before { background: linear-gradient(180deg, rgba(5,3,10,.01) 15%, rgba(13,7,24,.48) 56%, rgba(8,4,15,.95) 100%); }
.game-card-index { position: absolute; z-index: 2; top: 14px; right: 15px; color: #3d3d42; font-size: 10px; font-weight: 850; }
.game-card.has-image .game-card-index { padding: 3px 7px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(5,3,10,.56); color: rgba(255,255,255,.72); backdrop-filter: blur(8px); }
.game-card-icon { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 49px; height: 49px; border: 1px solid rgba(193,131,255,.32); border-radius: 7px; background: linear-gradient(145deg, rgba(169,112,255,.18), rgba(240,58,184,.08)); color: #d7b6ff; font-size: 15px; font-weight: 900; letter-spacing: -.3px; box-shadow: inset 0 0 20px rgba(169,112,255,.06); }
.game-card-content { position: relative; z-index: 2; display: grid; gap: 5px; padding-right: 24px; }
.game-card-content strong { font-size: 16px; line-height: 1.15; }
.game-card-content small { color: #74747a; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.game-card.has-image .game-card-content strong { text-shadow: 0 2px 14px rgba(0,0,0,.95); }
.game-card.has-image .game-card-content small { color: rgba(255,255,255,.68); text-shadow: 0 2px 10px rgba(0,0,0,.95); }
.game-card-arrow { position: absolute; z-index: 2; right: 18px; bottom: 20px; color: var(--red); transition: transform .2s; }
.game-card:hover .game-card-arrow { transform: translate(3px, -3px); }
.empty-state, .content-empty { padding: 45px 25px; border: 1px dashed rgba(255,255,255,.14); border-radius: 8px; text-align: center; background: rgba(255,255,255,.015); }
.empty-state h3, .content-empty h3 { margin-bottom: 7px; }
.empty-state p, .content-empty p { margin: 0; color: var(--muted); }

.contact-strip { padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, #0a0710, #10091a, #09060e); }
.contact-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-strip-inner > div { display: flex; align-items: center; gap: 15px; }
.contact-strip p { margin: 0; color: var(--muted); font-size: 13px; }
.contact-strip strong { color: white; font-size: 15px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(192,120,255,.65); }
.secondary-button { background: transparent; box-shadow: none; }

.game-hero { position: relative; overflow: hidden; padding: 152px 0 75px; background: radial-gradient(circle at 85% 30%, rgba(132,61,229,.24), transparent 26rem), radial-gradient(circle at 12% 90%, rgba(240,58,184,.07), transparent 20rem), #08050e; }
.game-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 30px; }
.game-hero-icon { display: grid; place-items: center; flex: 0 0 105px; height: 105px; border: 1px solid rgba(193,131,255,.38); border-radius: 12px; background: linear-gradient(145deg, rgba(169,112,255,.22), rgba(240,58,184,.06)); color: #d9b8ff; font-size: 30px; font-weight: 950; box-shadow: 0 0 55px rgba(132,61,229,.2); }
.game-hero h1 { margin: 0 0 10px; font-size: clamp(42px, 6vw, 72px); letter-spacing: -3.5px; text-transform: uppercase; }
.game-hero div > p:last-child { margin: 0; color: var(--muted); }
.game-options-section { padding: 55px 0; background: #07040c; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.option-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; min-height: 145px; padding: 25px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #140d20, #09060f); transition: transform .2s, border-color .2s, box-shadow .2s; }
.option-card:hover { transform: translateY(-3px); border-color: rgba(187,128,255,.5); box-shadow: 0 16px 42px rgba(83,34,144,.15); }
.option-number { position: absolute; top: 11px; right: 13px; color: #343438; font-size: 10px; font-weight: 900; }
.option-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 7px; background: linear-gradient(145deg, rgba(169,112,255,.2), rgba(240,58,184,.08)); color: #d9b8ff; font-size: 20px; font-weight: 850; }
.option-card h2 { margin: 0 0 7px; font-size: 19px; }
.option-card p { margin: 0; color: var(--muted); font-size: 12px; }
.option-arrow { color: var(--red); font-size: 20px; }
.content-section { padding: 85px 0; border-top: 1px solid var(--line); }
.instructions-section { background: #08050e; }
.count-badge { padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px; color: #77777d; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.product-entry { padding: 23px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, #140d20, #09060f); }
.entry-status { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; color: #8c8c92; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.entry-status span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(192,120,255,.6); }
.product-entry h3 { margin-bottom: 8px; font-size: 19px; }
.product-entry > p { min-height: 42px; color: var(--muted); font-size: 12px; }
.entry-actions { display: grid; gap: 8px; margin-top: 20px; }
.entry-button { width: 100%; min-height: 42px; font-size: 11px; box-shadow: none; }
.entry-button.guide-button { border-color: rgba(187,128,255,.24); background: rgba(169,112,255,.09); color: #d8b9ff; }
.entry-button.guide-button:hover { border-color: rgba(187,128,255,.52); background: rgba(169,112,255,.15); box-shadow: none; }
.entry-button.shop-button { border-color: rgba(246,185,255,.38); background: linear-gradient(135deg, #e168ff, #9138ed); box-shadow: 0 10px 28px rgba(145,56,237,.24); }
.entry-button.shop-button:hover { box-shadow: 0 14px 34px rgba(190,82,255,.38); }
.entry-button.disabled { color: #777180; background: #151020; cursor: not-allowed; }
.content-empty { grid-column: 1 / -1; }
.content-empty > span { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 17px; border-radius: 7px; background: rgba(169,112,255,.13); color: var(--red); font-weight: 900; }
.content-empty code { color: #d3aeff; }
.instruction-list { display: grid; gap: 10px; }
.product-instructions-group { overflow: hidden; scroll-margin-top: 24px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(145deg, #120b1d, #08050d); }
.product-instructions-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px; border-bottom: 1px solid var(--line); background: rgba(169,112,255,.045); }
.product-instructions-heading > div { display: grid; gap: 3px; }
.product-instructions-heading > div > span { color: #81768f; font-size: 8px; font-weight: 850; letter-spacing: 1.4px; text-transform: uppercase; }
.product-instructions-heading h3 { margin: 0; font-size: 17px; }
.product-instructions-entries { display: grid; gap: 9px; padding: 12px; }
.product-instructions-empty { margin: 0; padding: 22px; color: var(--muted); font-size: 12px; text-align: center; }
.instruction-entry { border: 1px solid var(--line); border-radius: 8px; background: #0f0918; }
.instruction-entry summary { display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; padding: 20px; cursor: pointer; list-style: none; }
.instruction-entry summary::-webkit-details-marker { display: none; }
.instruction-number { color: var(--red); font-size: 10px; font-weight: 900; }
.instruction-entry summary > span:nth-child(2) { display: grid; gap: 3px; }
.instruction-entry summary strong { font-size: 14px; }
.instruction-entry summary small { color: var(--muted); font-size: 11px; }
.instruction-toggle { color: var(--red); font-size: 20px; transition: transform .2s; }
.instruction-entry[open] .instruction-toggle { transform: rotate(45deg); }
.instruction-body { padding: 0 20px 20px 53px; }
.instruction-body ol { margin: 0; padding: 17px 20px 17px 38px; border-radius: 6px; background: #08050d; color: #b8afc5; font-size: 12px; }
.instruction-body li + li { margin-top: 8px; }
.instruction-body li strong { color: #f4ecff; font-weight: 850; }
.instruction-body li a { color: #cda8ff; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(205,168,255,.42); text-underline-offset: 3px; }
.instruction-body li a:hover { color: #efdfff; text-decoration-color: currentColor; }

.site-footer { padding: 45px 0 24px; background: #030106; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.footer-links { display: flex; gap: 22px; color: #84848a; font-size: 11px; }
.footer-links a:hover { color: white; }
.footer-inner > p { grid-column: 1 / -1; margin: 15px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #4f4f54; font-size: 10px; }

.legal-page { min-height: 100vh; background: var(--bg); }
.legal-header { position: static; }
.legal-main { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 75px 0 110px; }
.legal-main .eyebrow { color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: 2px; text-transform: uppercase; }
.legal-main .eyebrow span { display: inline-block; width: 22px; height: 2px; margin-right: 9px; vertical-align: middle; background: var(--red); }
.legal-main h1 { font-size: clamp(42px, 7vw, 65px); letter-spacing: -3px; }
.legal-main h2 { margin-top: 35px; font-size: 20px; }
.legal-main p { color: var(--muted); }
.notice { margin: 28px 0; padding: 17px 19px; border-left: 3px solid var(--red); background: rgba(169,112,255,.09); }
.back-link { display: inline-block; margin-top: 32px; color: #cda8ff; font-weight: 750; }

@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 950px) {
  .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-nav { gap: 16px; }
  .language-picker select { max-width: 112px; }
  .simple-hero { min-height: 520px; }
  .simple-hero h1 { font-size: 50px; letter-spacing: -3px; }
  .section-title-row, .content-heading { align-items: stretch; flex-direction: column; }
  .game-search { width: 100%; }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-strip-inner { align-items: stretch; flex-direction: column; }
  .game-hero-inner { align-items: flex-start; flex-direction: column; }
  .game-hero-icon { flex-basis: 85px; width: 85px; height: 85px; }
  .option-grid { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .header-nav a:first-child { display: none; }
  .header-inner { gap: 10px; }
  .language-picker::before { display: none; }
  .language-picker select { max-width: 98px; padding-inline: 8px; }
  .logo-text { font-size: 13px; }
  .simple-hero h1 { font-size: 42px; }
  .games-grid { grid-template-columns: 1fr; }
  .game-card { min-height: 155px; }
  .game-hero h1 { font-size: 38px; }
  .option-card { grid-template-columns: auto 1fr; }
  .option-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
