:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --ink: #173f35;
  --muted: #646d64;
  --line: #d9ddd2;
  --gold: #9b7838;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
::selection { color: var(--paper); background: var(--ink); }
.page-width { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 5; padding: 16px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }

.site-header {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; font-size: 17px; font-weight: 650; white-space: nowrap; }
.brand img { width: 56px; height: 56px; border-radius: 50%; }
.brand-caption { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .035em; }
.header-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
.header-nav > a { text-decoration: none; }
.header-nav > a:hover { text-decoration: underline; }
.header-email { white-space: nowrap; }
.header-email span { margin-left: 5px; }
.language-switch { display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 30px; }
.language-switch a { display: grid; place-items: center; min-width: 38px; min-height: 34px; border-radius: 30px; font-size: 11px; font-weight: 650; text-decoration: none; }
.language-switch a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.language-switch a:hover:not([aria-current="page"]) { background: #e8ebdf; }

.hero { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: 48px; padding: 70px 0 66px; }
.eyebrow { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .13em; line-height: 1.7; }
.tiny-star { color: var(--gold); margin-right: 7px; font-size: 16px; vertical-align: middle; }
h1 { margin-top: 21px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(64px, 7.2vw, 96px); font-weight: 400; letter-spacing: -.055em; line-height: .99; }
h1 em { font-weight: 400; }
.hero-note { max-width: 310px; justify-self: end; padding-bottom: 4px; }
.game-symbols { display: flex; align-items: center; gap: 19px; height: 48px; margin-bottom: 16px; font-family: Georgia, "Times New Roman", serif; font-size: 34px; }
.game-symbols span:nth-child(2) { font-family: "Segoe UI Symbol", "Apple Symbols", sans-serif; font-size: 38px; transform: rotate(-12deg); }
.game-symbols span:last-child { color: var(--gold); }
.hero-note p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 25px; margin-top: 22px; font-size: 13px; font-weight: 650; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link span { font-size: 19px; }

.games-section { scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 23px 0; }
.section-heading h2 { font-size: 14px; font-weight: 600; line-height: 1.5; }
.section-note { color: var(--muted); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.games-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.game-card { min-width: 0; text-decoration: none; border-radius: 10px; }
.game-art { position: relative; overflow: hidden; aspect-ratio: 1; border: 1px solid #e2e4dc; border-radius: 10px; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.yamb-art { background: #edf0f4; }
.kartas-art { background: #fbf8f0; }
.art-label { position: absolute; left: 22px; top: 22px; padding: 8px 11px; background: #ffffffde; border: 1px solid #173f3514; border-radius: 5px; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
.art-arrow { position: absolute; bottom: 20px; right: 20px; display: grid; place-items: center; width: 48px; height: 48px; background: var(--paper); border: 1px solid #173f351c; border-radius: 50%; font-size: 24px; transition: color 180ms ease, background 180ms ease; }
.game-card:hover .game-art img { transform: scale(1.025); }
.game-card:hover .art-arrow, .game-card:focus-visible .art-arrow { background: var(--ink); color: var(--paper); }
.game-details { padding: 23px 0 0; }
.game-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.game-title-row h3 { font-family: Georgia, "Times New Roman", serif; font-size: 38px; font-weight: 400; letter-spacing: -.035em; }
.game-platforms { color: var(--muted); font-size: 11px; white-space: nowrap; }
.game-details p { max-width: 420px; margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.game-action { display: inline-flex; align-items: center; gap: 26px; margin-top: 21px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 650; }
.game-action span { font-size: 18px; }

.contact-section { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 36px; margin-top: 76px; padding: 43px 48px; border-radius: 10px; background: var(--ink); color: var(--paper); }
.contact-section .eyebrow { color: #d5c393; font-size: 10px; }
.contact-copy { justify-self: end; }
.contact-copy p { color: #d1dbd2; font-size: 13px; line-height: 1.8; }
.contact-copy a { display: inline-flex; align-items: center; gap: 20px; margin-top: 15px; padding-bottom: 7px; border-bottom: 1px solid #82978b; font-size: clamp(17px, 2vw, 23px); text-decoration: none; }
.contact-copy a:hover { border-bottom-color: var(--paper); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 30px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.site-footer span { margin-left: 10px; color: var(--gold); }

@media (min-width: 1400px) {
  .hero { padding-block: 80px; }
}
@media (max-width: 1000px) {
  .page-width { width: calc(100% - 64px); }
  .header-nav { gap: 20px; }
  .nav-games { display: none; }
  .hero { gap: 32px; grid-template-columns: 1.3fr 1fr; }
  h1 { font-size: clamp(60px, 8.4vw, 84px); }
  .contact-section { padding: 34px; gap: 26px; }
}
@media (max-width: 720px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { flex-wrap: wrap; min-height: auto; padding-block: 20px; gap: 16px; }
  .brand { font-size: 16px; }
  .brand img { width: 48px; height: 48px; }
  .brand-caption { font-size: 10px; }
  .header-nav { width: 100%; justify-content: space-between; flex-direction: row-reverse; gap: 16px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 44px 0 40px; }
  h1 { font-size: clamp(54px, 12vw, 78px); margin-top: 18px; }
  .hero-note { justify-self: start; max-width: 440px; }
  .hero-note p { font-size: 15px; }
  .game-symbols { display: none; }
  .text-link { margin-top: 15px; }
  .section-heading { padding-block: 19px; }
  .section-note { display: none; }
  .games-grid { grid-template-columns: 1fr; gap: 38px; }
  .game-details { padding-top: 19px; }
  .game-details p { max-width: none; margin-top: 8px; }
  .game-action { margin-top: 15px; }
  .contact-section { grid-template-columns: 1fr; margin-top: 48px; padding: 30px 25px; gap: 25px; }
  .contact-copy { justify-self: start; }
  .contact-copy a { font-size: clamp(17px, 4.8vw, 24px); gap: 12px; }
  .site-footer { flex-wrap: wrap; gap: 8px; padding-block: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
