:root {
  --bg: #08090b;
  --panel: #101216;
  --panel-2: #14171c;
  --line: #25282e;
  --text: #f4f4f0;
  --sub: #acb0b7;
  --orange: #ff7916;
  --soft: #e69b62;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
::selection { background: #f57a2770; }
.container { width: min(1160px, calc(100% - 72px)); margin: auto; }
.skip-link { position: fixed; z-index: 100; left: 14px; top: 12px; transform: translateY(-160%); padding: 12px 16px; border-radius: 4px; background: var(--orange); color: #14110e; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.header { position: relative; z-index: 3; border-bottom: 1px solid #222429; background: #090a0c; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 89px; gap: 16px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { width: 102px; height: 69px; object-fit: contain; flex: none; }
.nav { display: flex; align-items: center; gap: 35px; font-size: 13px; color: #cdd0d2; }
.nav a { transition: color .2s; }
.nav a:hover { color: #ff8e3d; }
.nav .contact-nav { padding: 13px 18px; border: 1px solid #555150; border-radius: 5px; color: #fff; }
.nav .contact-nav:hover { border-color: var(--orange); }

.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 43%, #d85c1719 0%, transparent 32%), radial-gradient(circle at 90% 15%, #963f120d, transparent 45%); pointer-events: none; }
.hero-inner { min-height: 635px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 50px; padding: 70px 0; }
.eyebrow, .kicker { display: flex; align-items: center; gap: 10px; color: var(--soft); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 5.7vw, 77px); letter-spacing: -.067em; line-height: 1.06; margin: 28px 0 30px; font-weight: 790; }
h1 span { color: var(--orange); font-size: .84em; white-space: nowrap; }
.hero p { max-width: 490px; color: #b3b5bb; font-size: 16px; line-height: 1.88; margin-bottom: 35px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; padding: 17px 22px; border-radius: 5px; background: var(--orange); color: #14110e; font-size: 13px; font-weight: 800; transition: background .2s, transform .2s; }
.button:hover { background: #ff983f; transform: translateY(-2px); }
.button .arr { font-size: 20px; }
.hero-visual { min-width: 0; min-height: 510px; display: flex; justify-content: center; align-items: center; position: relative; }
.hero-visual img { width: min(100%, 480px); max-height: 480px; object-fit: contain; filter: drop-shadow(0 0 45px #ec621422); position: relative; z-index: 1; }

.section { padding: 104px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.kicker { margin-bottom: 16px; }
h2 { font-size: clamp(38px, 4vw, 56px); letter-spacing: -.059em; line-height: 1.12; font-weight: 760; margin-bottom: 0; }
.section-head p { margin: 0; line-height: 1.75; color: #aeb0b4; max-width: 325px; font-size: 14px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.game { min-width: 0; border: 1px solid #33363c; background: #121419; border-radius: 11px; overflow: hidden; transition: border-color .2s; }
.game:hover { border-color: #66605a; }
.game-image { position: relative; height: 326px; background: #10141b; overflow: hidden; }
.game-image > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.game-image::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(0deg, #08090b79, transparent); pointer-events: none; }
.game-image.trivia { display: grid; place-items: center; isolation: isolate; background: radial-gradient(circle at 50% 44%, #3b414b 0, #1b1f25 43%, #0d0f13 78%); }
.game-image.trivia::before { content: ""; position: absolute; z-index: -1; width: 250px; height: 390px; border: 1px solid #ffffff14; border-radius: 24px; background: #171a20; transform: rotate(7deg); box-shadow: -55px 25px 70px #0009; }
.game-image.trivia::after { inset: 55% 0 0; background: linear-gradient(0deg, #08090bc7, transparent); z-index: 2; }
.trivia-frame { height: 304px; width: 180px; overflow: hidden; border: 1px solid #555b65; border-radius: 17px; background: #13120f; box-shadow: 0 18px 48px #000c, 0 0 0 7px #0c0e12; }
.trivia-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.artnote { position: absolute; z-index: 3; left: 20px; bottom: 20px; padding: 7px 10px; border: 1px solid #ffffff30; background: #080a0db0; backdrop-filter: blur(6px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #dfe3e7; font-size: 9px; border-radius: 3px; }
.game-content { padding: 29px 29px 32px; }
.game-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
h3 { font-size: 28px; letter-spacing: -.045em; line-height: 1.1; margin: 0; font-weight: 740; }
.status { white-space: nowrap; flex-shrink: 0; color: #eec9aa; border: 1px solid #6e4c32; border-radius: 4px; background: #46302136; padding: 7px 9px; font-size: 9px; letter-spacing: .06em; font-weight: 700; }
.game-sub { font-size: 16px; font-weight: 700; color: #f0e4d7; line-height: 1.5; margin: 18px 0 10px; }
.game-content p.detail { color: #b2b3b8; line-height: 1.85; font-size: 14px; margin: 0; }
.game-tag { font-size: 12px; color: #d6a77e; margin: 21px 0 0; line-height: 1.5; }

.about { background: #111317; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: .86fr 1.14fr; gap: 125px; padding: 91px 0; align-items: start; }
.about-text p { color: #b6b7bc; line-height: 1.9; font-size: 15px; margin: 0 0 16px; }
.about-text p:last-child { margin-bottom: 0; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.contact-inner p { color: #aeb1b7; line-height: 1.8; margin: 16px 0 0; font-size: 15px; }
.email-link { font-size: 14px; color: #f1d8c4; border-bottom: 1px solid #986a50; padding: 12px 0 8px; line-height: 1.6; transition: color .2s, border-color .2s; }
.email-link:hover { color: #fff; border-color: var(--orange); }

.footer { border-top: 1px solid var(--line); padding: 26px 0 34px; color: #98999f; font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.footer-brand img { height: 41px; width: 41px; border-radius: 50%; object-fit: contain; }
.footer-legal { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; line-height: 1.75; text-align: right; max-width: 610px; }
.footer-legal a { color: #d1d2d4; border-bottom: 1px solid #505257; }
.footer-legal a:hover { color: #fff; border-color: var(--orange); }
.rights { font-size: 10px; letter-spacing: .08em; color: #9f9e9c; }

.legal-main { min-height: calc(100vh - 190px); }
.legal-hero { border-bottom: 1px solid var(--line); background: radial-gradient(circle at 82% 35%, #d85c1714 0%, transparent 35%); }
.legal-hero .container { padding-top: 78px; padding-bottom: 70px; }
.legal-hero h1 { max-width: 760px; margin-bottom: 0; }
.legal-content { width: min(760px, calc(100% - 72px)); margin: auto; padding: 72px 0 96px; }
.legal-content h2 { margin: 46px 0 14px; font-size: 26px; letter-spacing: -.035em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #bbbcc1; font-size: 15px; line-height: 1.85; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: #f0c7a6; border-bottom: 1px solid #79583f; }
.legal-content .effective { color: #85888e; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 950px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-visual { min-height: 450px; }
  h1 { font-size: clamp(53px, 6vw, 70px); }
  .about-inner { gap: 55px; }
  .game-title-row { flex-direction: column; }
  .game-image { height: 290px; }
  .trivia-frame { height: 270px; width: 160px; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 38px); }
  .header-row { min-height: 76px; }
  .brand img { width: 88px; height: 59px; }
  .nav { gap: 14px; font-size: 12px; }
  .nav a:not(.contact-nav) { display: none; }
  .nav .contact-nav { padding: 10px 13px; }
  .hero-inner { grid-template-columns: 1fr; gap: 10px; padding: 76px 0 24px; min-height: 0; }
  .hero-visual { height: 325px; min-height: 0; order: 2; margin-top: 10px; }
  .hero-visual img { width: min(85%, 325px); max-height: 310px; }
  .eyebrow { font-size: 10px; }
  h1 { font-size: clamp(48px, 10.8vw, 59px); margin: 24px 0; }
  h1 span { font-size: .81em; }
  .hero p { font-size: 15px; margin-bottom: 28px; }
  .section { padding: 80px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 14px; }
  .game-grid { grid-template-columns: 1fr; gap: 20px; }
  .game-image { height: 295px; }
  .trivia-frame { height: 274px; width: 162px; }
  .game-title-row { flex-direction: row; align-items: center; }
  .game-content { padding: 26px 23px 29px; }
  h3 { font-size: 25px; }
  .status { font-size: 8px; }
  .about-inner { padding: 76px 0; grid-template-columns: 1fr; gap: 26px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-legal { justify-content: flex-start; text-align: left; }
  .legal-hero .container { padding-top: 62px; padding-bottom: 56px; }
  .legal-content { width: calc(100% - 38px); padding: 58px 0 78px; }
}

@media (max-width: 400px) {
  .game-title-row { flex-direction: column; align-items: start; }
  .game-image { height: 270px; }
  .trivia-frame { height: 250px; width: 148px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .game, .nav a, .email-link { transition: none; }
}
