:root {
  --ink: #193c3a;
  --ink-soft: #315653;
  --teal: #126c69;
  --teal-deep: #0b4d4c;
  --ivory: #f6f0e2;
  --paper: #fffaf0;
  --gold: #c99a4b;
  --gold-pale: #ead39d;
  --line: rgba(25, 60, 58, .18);
  --shadow: 0 22px 50px rgba(19, 54, 51, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: absolute; z-index: 4; inset: 0 0 auto; color: var(--paper); }
.site-header .wrap { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 800; font-size: 14px; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
.brand-mark { color: var(--gold-pale); font-size: 20px; line-height: .8; }
.site-nav { display: flex; align-items: center; gap: 25px; font-size: 14px; }
.site-nav a { text-decoration: none; opacity: .9; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }
.site-nav { margin-left: auto; }
.lang-switch { display: flex; flex: none; border: 1px solid rgba(255,250,240,.45); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.lang-switch a { display: inline-flex; min-width: 44px; min-height: 34px; align-items: center; justify-content: center; padding: 0 8px; text-decoration: none; opacity: .88; }
.lang-switch a + a { border-left: 1px solid rgba(255,250,240,.3); }
.lang-switch a:hover { opacity: 1; background: rgba(255,250,240,.12); }
.lang-switch a[aria-current] { opacity: 1; background: var(--gold-pale); color: var(--ink); }
.lang-switch a:focus-visible { outline-offset: 2px; }
.hero { position: relative; min-height: min(800px, 90svh); isolation: isolate; overflow: hidden; background: var(--teal-deep); color: var(--paper); display: grid; align-items: end; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(4, 49, 49, .96) 0%, rgba(8, 78, 77, .86) 31%, rgba(7, 65, 65, .22) 60%, rgba(6, 55, 54, .1)); }
.hero-art { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 67% center; }
.hero .wrap { width: min(1180px, calc(100% - 48px)); padding: 170px 0 105px; }
.eyebrow { margin: 0 0 19px; color: var(--gold-pale); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 735px; margin-bottom: 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(52px, 8.2vw, 112px); font-weight: 500; line-height: .9; letter-spacing: -.055em; }
.hero-copy { max-width: 440px; margin-bottom: 30px; color: rgba(255,250,240,.88); font-size: clamp(17px, 2vw, 21px); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 19px; border: 1px solid currentColor; background: transparent; color: inherit; font-weight: 750; font-size: 14px; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-solid { border-color: var(--gold); background: var(--gold); color: #173c39; }
.button-solid:hover { background: #e1b867; }
.button-light { color: var(--paper); }
.title-band { border-bottom: 1px solid var(--line); background: var(--paper); }
.title-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; padding: 25px 0; align-items: baseline; }
.title-band p { margin: 0; color: var(--ink-soft); }
.section { padding: 116px 0; }
.section-label { margin-bottom: 16px; color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-title { max-width: 670px; margin-bottom: 45px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 68px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.game-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); overflow: hidden; background: var(--teal-deep); box-shadow: var(--shadow); color: var(--paper); }
.game-feature-image { min-height: 500px; background: url("assets/shopyr-bala-key-art.webp") 65% center / cover; }
.game-feature-copy { padding: clamp(34px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.game-feature h3 { margin-bottom: 15px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4vw, 55px); font-weight: 500; line-height: .95; letter-spacing: -.04em; }
.game-feature p { color: rgba(255,250,240,.82); }
.status { display: inline-flex; width: fit-content; margin: 5px 0 28px; padding: 6px 9px; border: 1px solid rgba(234,211,157,.7); color: var(--gold-pale); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.game-link { margin-top: 16px; color: var(--gold-pale); font-weight: 750; }
.how { background: #e5dbc6; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(25,60,58,.18); border: 1px solid rgba(25,60,58,.18); }
.how-step { min-height: 250px; padding: 30px; background: var(--ivory); }
.how-step-number { display: block; margin-bottom: 42px; color: var(--gold); font-family: Georgia, serif; font-size: 28px; }
.how-step h3 { margin-bottom: 10px; font-family: Georgia, serif; font-size: 27px; font-weight: 500; line-height: 1.05; }
.how-step p { margin: 0; color: var(--ink-soft); }
.studio { background: var(--ink); color: var(--paper); }
.studio-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: end; }
.studio .section-label { color: var(--gold-pale); }
.studio .section-title { margin-bottom: 0; }
.studio-copy { color: rgba(255,250,240,.8); font-size: 18px; }
.site-footer { background: #102d2c; color: rgba(255,250,240,.76); }
.footer-grid { display: flex; justify-content: space-between; gap: 32px; padding: 43px 0; align-items: flex-end; }
.footer-grid p { margin: 8px 0 0; font-size: 13px; }
.footer-links { display: flex; gap: 21px; flex-wrap: wrap; font-size: 13px; }
.game-hero { min-height: 670px; }
.game-hero h1 { max-width: 650px; }
.game-hero .hero-copy { max-width: 500px; }
.game-details { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.game-details .lead { font-family: Georgia, serif; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.035em; }
.game-details p:not(.lead) { color: var(--ink-soft); font-size: 18px; }
.portrait-panel { position: relative; min-height: 560px; overflow: hidden; background: var(--teal); }
.portrait-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.portrait-panel::after { content: ""; position: absolute; inset: 0; border: 18px solid rgba(246,240,226,.9); pointer-events: none; }
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 58px; }
.detail { padding-top: 16px; border-top: 2px solid var(--gold); }
.detail strong { display: block; margin-bottom: 4px; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.detail span { color: var(--ink-soft); font-size: 14px; }
.notice { padding: 22px 24px; border-left: 3px solid var(--gold); background: #eee1c7; color: var(--ink-soft); }
.not-found { min-height: 75vh; display: grid; place-items: center; padding: 120px 24px 60px; background: var(--ink); color: var(--paper); text-align: center; }
.not-found h1 { margin-inline: auto; }
@media (max-width: 760px) {
  .wrap, .hero .wrap { width: min(100% - 36px, 1180px); }
  .site-header .wrap { min-height: 74px; }
  .site-nav { gap: 15px; font-size: 12px; }
  .site-nav a:last-child { display: none; }
  .site-header .wrap { gap: 14px; }
  .lang-switch { font-size: 11px; }
  .lang-switch a { min-width: 38px; padding: 0 6px; }
  .hero { min-height: 700px; }
  .hero::before { background: linear-gradient(0deg, rgba(4,49,49,.94) 3%, rgba(7,67,66,.72) 42%, rgba(7,64,63,.03) 70%); }
  .hero-art { object-position: 72% center; }
  .hero .wrap { padding: 195px 0 60px; }
  h1 { font-size: clamp(54px, 17vw, 76px); }
  .title-band .wrap, .studio-inner, .game-details { grid-template-columns: 1fr; }
  .title-band .wrap { gap: 8px; }
  .section { padding: 78px 0; }
  .section-title { margin-bottom: 31px; }
  .game-feature { grid-template-columns: 1fr; }
  .game-feature-image { min-height: 310px; }
  .how-grid, .details-grid { grid-template-columns: 1fr; }
  .how-step { min-height: 0; }
  .how-step-number { margin-bottom: 24px; }
  .portrait-panel { min-height: 480px; }
  .footer-grid { display: block; }
  .footer-links { margin-top: 24px; }
}
@media (max-width: 480px) {
  .site-nav a:nth-child(n+2) { display: none; }
}
@media (max-width: 380px) {
  .site-header .wrap { gap: 10px; }
  .brand { gap: 7px; font-size: 13px; letter-spacing: .08em; }
  .lang-switch a { min-width: 34px; padding: 0 4px; }
}
@media (max-width: 340px) {
  .site-nav { display: none; }
  .lang-switch { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.not-found-alt { margin: 18px 0 0; color: rgba(255,250,240,.72); font-size: 14px; }
.not-found-alt:first-of-type { margin-top: 36px; }
