:root {
  --ink: #101920;
  --ink-deep: #0b1116;
  --surface: #15232c;
  --surface-raised: #1b2c36;
  --line: rgba(188, 222, 222, .17);
  --text: #f2f7f7;
  --muted: #aebfc2;
  --teal: #65bec2;
  --teal-soft: #93d5d6;
  --orange: #ea6908;
  --orange-light: #ff8d3a;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 10%, rgba(101, 190, 194, .10), transparent 24rem),
    radial-gradient(circle at 90% 42%, rgba(234, 105, 8, .08), transparent 25rem),
    var(--ink);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: -80px;
  left: 20px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--teal);
  border-radius: 8px;
}
.skip-link:focus { top: 20px; }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(11, 17, 22, .90);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .085em; font-size: 14px; white-space: nowrap; }
.brand-mark { position: relative; width: 27px; height: 27px; transform: rotate(30deg); border: 2px solid var(--orange); border-radius: 7px; }
.brand-mark::after { position: absolute; inset: 6px; content: ""; border: 2px solid var(--teal); border-radius: 3px; }
.brand-name { color: var(--text); }
.brand-name span { color: var(--teal); }

.nav-list { display: flex; align-items: center; gap: 32px; padding: 0; margin: 0; list-style: none; }
.nav-list a { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; transition: color .2s ease; }
.nav-list a:hover, .nav-list a:focus-visible { color: var(--teal); }

.menu-toggle { display: none; width: 42px; height: 38px; padding: 8px; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; }

.hero {
  position: relative;
  display: grid;
  min-height: min(790px, calc(100vh - 76px));
  overflow: hidden;
  isolation: isolate;
  background-color: var(--ink-deep);
}
.hero::before { position: absolute; z-index: -2; inset: 0; content: ""; background: url("../images/Banner_Regal.gif") center/cover no-repeat; opacity: .80; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(8, 14, 18, .96) 0%, rgba(8, 14, 18, .79) 44%, rgba(8, 14, 18, .22) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 23%); }
.hero-inner { display: flex; width: min(var(--max-width), calc(100% - 48px)); margin: auto; padding: 110px 0 128px; align-items: flex-start; justify-content: center; flex-direction: column; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; content: ""; background: currentColor; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; }
h1 { max-width: 780px; margin-bottom: 25px; font-size: clamp(45px, 7vw, 92px); letter-spacing: -.055em; }
h1 em { color: var(--teal); font-style: normal; }
.hero-copy { max-width: 575px; margin-bottom: 36px; color: #d1dddd; font-size: clamp(17px, 2vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 30px rgba(234, 105, 8, .20); }
.button-primary:hover, .button-primary:focus-visible { background: var(--orange-light); }
.button-secondary { color: var(--text); border-color: rgba(255, 255, 255, .3); background: rgba(16, 25, 32, .32); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: var(--teal); color: var(--teal); }

.scroll-cue { position: absolute; right: max(24px, calc((100% - var(--max-width)) / 2)); bottom: 34px; display: flex; gap: 10px; align-items: center; color: rgba(242,247,247,.65); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue::after { width: 42px; height: 1px; content: ""; background: var(--orange); }

.section { padding: 112px 0; }
.section-heading { max-width: 700px; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 18px; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.045em; }
.section-heading p { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 18px; }

.intro { border-top: 1px solid var(--line); }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 80px; }
.intro-title { margin: 0; font-size: clamp(39px, 5vw, 62px); letter-spacing: -.055em; }
.intro-copy { align-self: center; }
.intro-copy p { margin-bottom: 20px; color: var(--muted); font-size: 18px; }
.intro-copy p:last-child { margin-bottom: 0; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 68px; border: 1px solid var(--line); }
.principle { min-height: 215px; padding: 30px; border-right: 1px solid var(--line); }
.principle:last-child { border-right: 0; }
.principle-number { display: block; margin-bottom: 36px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.principle h3 { margin-bottom: 12px; color: var(--teal-soft); font-size: 17px; letter-spacing: .02em; }
.principle p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.games { position: relative; background: linear-gradient(135deg, rgba(101,190,194,.05), transparent 42%), var(--ink-deep); }
.games::before { position: absolute; top: 90px; left: 0; width: 35vw; height: 1px; content: ""; background: var(--teal); opacity: .5; }
.games-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.games-head .section-heading { margin-bottom: 47px; }
.games-note { max-width: 280px; margin: 0 0 52px; color: var(--muted); font-size: 14px; text-align: right; }
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.game-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.game-card:hover { transform: translateY(-5px); border-color: rgba(101,190,194,.58); box-shadow: 0 18px 48px rgba(0,0,0,.24); }
.game-visual { position: relative; height: 320px; overflow: hidden; background: #0b1116; }
.game-visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(11,17,22,.35), transparent 48%); }
.game-visual img { width: 100%; height: 100%;  transition: transform .5s ease; }
.game-card:hover .game-visual img { transform: scale(1.04); }
.game-card:nth-child(4) .game-visual img { object-position: center 38%; }
.game-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px 30px 30px; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.game-meta .status { color: var(--orange-light); }
.game-card h3 { margin-bottom: 14px; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.035em; }
.game-card p { margin-bottom: 27px; color: var(--muted); }
.game-card .button { align-self: flex-start; margin-top: auto; }
.button-store { gap: 9px; color: #fff; background: transparent; border-color: rgba(255,255,255,.26); }
.button-store:hover, .button-store:focus-visible { border-color: var(--orange); color: var(--orange-light); }
.button-store svg { width: 17px; height: 17px; fill: currentColor; }
.coming-soon { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: #b4c7c9; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.coming-soon::before { width: 7px; height: 7px; content: ""; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgba(234,105,8,.15); }

.studio { overflow: hidden; border-bottom: 1px solid var(--line); }
.studio-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.studio-title { position: sticky; top: 110px; }
.studio-title h2 { margin-bottom: 18px; font-size: clamp(37px, 4.6vw, 57px); letter-spacing: -.05em; }
.studio-title p { max-width: 350px; margin-bottom: 0; color: var(--muted); }
.studio-points { border-top: 1px solid var(--line); }
.studio-point { display: grid; grid-template-columns: 95px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.studio-point strong { color: var(--orange-light); font-size: 12px; letter-spacing: .13em; }
.studio-point h3 { margin-bottom: 7px; font-size: 22px; }
.studio-point p { margin-bottom: 0; color: var(--muted); }

.contact { position: relative; padding: 120px 0; overflow: hidden; background: linear-gradient(115deg, #132a31, #101920 70%); }
.contact::before { position: absolute; width: 420px; height: 420px; top: -185px; right: -110px; content: ""; border: 1px solid rgba(101,190,194,.25); border-radius: 50%; box-shadow: 0 0 0 55px rgba(101,190,194,.04), 0 0 0 110px rgba(101,190,194,.025); }
.contact-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: end; }
.contact h2 { max-width: 700px; margin-bottom: 20px; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.055em; }
.contact p { max-width: 600px; margin-bottom: 0; color: #cad8d9; font-size: 18px; }
.contact-card { min-width: 280px; padding: 26px; background: rgba(8,14,18,.43); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; }
.contact-card span { display: block; margin-bottom: 9px; color: var(--teal); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.contact-card a { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.contact-card a:hover, .contact-card a:focus-visible { color: var(--orange-light); }

.site-footer { padding: 34px 0; background: #0b1116; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.footer-copy { margin: 0; color: rgba(206,220,222,.64); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { color: rgba(206,220,222,.74); font-size: 12px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--teal); }

:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 3px; }

@media (max-width: 800px) {
  .container, .hero-inner { width: min(100% - 36px, var(--max-width)); }
  .header-inner { min-height: 67px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 18px; left: 18px; display: none; padding: 10px; background: #111d24; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 15px 30px rgba(0,0,0,.3); }
  .site-nav[data-open="true"] { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { display: block; padding: 14px; }
  .hero { min-height: 650px; }
  .hero-inner { padding: 100px 0 120px; }
  .intro-layout, .studio-grid { grid-template-columns: 1fr; gap: 34px; }
  .principles { grid-template-columns: 1fr; }
  .principle { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .principle-number { margin-bottom: 18px; }
  .games-head { display: block; }
  .games-note { max-width: 440px; margin: -27px 0 42px; text-align: left; }
  .studio-title { position: static; }
  .contact-inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 600px) {
  .brand { font-size: 12px; }
  .brand-mark { width: 24px; height: 24px; }
  .section { padding: 78px 0; }
  .hero { min-height: 610px; }
  .hero::after { background: linear-gradient(90deg, rgba(8,14,18,.95), rgba(8,14,18,.60)), linear-gradient(0deg, var(--ink) 0%, transparent 23%); }
  h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-copy, .section-heading p, .intro-copy p, .contact p { font-size: 16px; }
  .scroll-cue { display: none; }
  .games-grid { grid-template-columns: 1fr; gap: 18px; }
  .game-visual { height: 220px; }
  .game-card-body { padding: 24px; }
  .studio-point { grid-template-columns: 67px 1fr; gap: 14px; }
  .contact { padding: 80px 0; }
  .contact-card { min-width: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
