:root {
  --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --size-base:      15px;
  --weight-body:    400;
  --weight-ui:      500;
  --weight-heading: 600;

  --size-xs:   0.73em;
  --size-sm:   0.867em;
  --size-md:   1em;
  --size-lg:   1.2em;
  --size-xl:   1.6em;
  --size-3xl:  3em;

  --bg:      #ffffff;
  --text:    #0d0d0d;
  --muted:   #6b6b6b;
  --faint:   #b3b3b3;
  --border:  #e8e8e8;
  --surface: #f7f7f7;

  --max-width:   950px;
  --pad:         clamp(1.25rem, 5vw, 2.5rem);
  --section-gap: 5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--size-base); }
body {
  font-family: var(--font);
  font-weight: var(--weight-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.page { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--pad); }

/* -- Nav -- */
nav {
  position: sticky; top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-inner a.bold { font-weight: var(--weight-ui); text-decoration: none; color: var(--text); }
.nav-right { display: flex; gap: 1.75rem; }
.nav-right a { font-size: var(--size-sm); color: var(--muted); text-decoration: none; }
.nav-right a:hover { color: var(--text); }

/* -- Hero -- */
.hero { padding: 5rem 0 4.5rem; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: var(--size-3xl); font-weight: var(--weight-heading); line-height: 1.1; margin-bottom: 1.25rem; }
.hero .tagline { font-size: var(--size-lg); color: var(--muted); max-width: 540px; line-height: 1.5; margin-bottom: 2.25rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* -- Sections -- */
section { padding: var(--section-gap) 0; border-bottom: 1px solid var(--border); }

/* Gray uppercase label - 1.5x --size-xs */
.gray-label {
  font-size: calc(var(--size-xs) * 1.3);
  font-weight: var(--weight-ui);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--faint);
  margin-bottom: 2.5rem;
  display: block;
}

/* -- Pills -- */
.pills { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--size-xs); }
.pills.lg { font-size: var(--size-sm); }
.pill {
  font-weight: var(--weight-ui);
  background: #f0f0f0; color: #444;
  padding: 0.25em 0.7em; border-radius: 4px; white-space: nowrap;
}

/* -- Row -- */
.row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.row.loose { gap: 1.5rem; }

/* -- Divided stack -- */
.divided > * + * { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--border); }

/* -- Text links -- */
.text-link {
  text-decoration: none; color: var(--text);
  border-bottom: 1.5px solid var(--text); padding-bottom: 1px;
  font-size: var(--size-sm); font-weight: var(--weight-ui);
  display: inline-block;
}
.text-link:hover { opacity: 0.45; }
.text-link.muted {
  color: var(--muted); border-color: var(--border); border-bottom-width: 1px;
  font-weight: var(--weight-body); display: inline;
}
.text-link.muted:hover { color: var(--text); border-color: var(--text); opacity: 1; }

/* -- Package -- */
.pkg h2 { font-size: var(--size-xl); font-weight: var(--weight-heading); line-height: 1; }
.pkg > .row { margin-bottom: 1.5rem; }
.pkg .pills  { margin-bottom: 1.5rem; }
.pkg .desc   { font-size: var(--size-md); line-height: 1.75; margin-bottom: 1.25rem; }
.pkg .bullets { list-style: none; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.pkg .bullets li { font-size: var(--size-sm); color: var(--muted); padding-left: 1.1em; position: relative; }
.pkg .bullets li::before { content: '\2022'; position: absolute; left: 0.3em; color: var(--faint); }

/* -- Carousel -- */
.carousel {
  position: relative; margin-bottom: 1.75rem;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 9; user-select: none;
}
.carousel-track { display: flex; height: 100%; transition: transform 0.25s cubic-bezier(.4,0,.2,1); }
.carousel-slide  { flex: 0 0 100%; height: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* YouTube slide: thumbnail fills the slot, play button centered */
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,0.6);
  border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.15s, transform 0.15s;
}
.yt-play:hover { background: rgba(0,0,0,0.85); transform: translate(-50%, -50%) scale(1.08); }

/* Injected iframe fills the slide absolutely, below arrow buttons */
.carousel-slide iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none; display: block;
  z-index: 1;
}

/* Transparent side zones - always above the iframe, capture pointer events
   so the iframe never steals clicks meant for the arrows.
   The center of the video stays fully interactive for YouTube controls. */
.carousel-zone {
  position: absolute; top: 0; bottom: 0; width: 60px;
  z-index: 4;
  display: flex; align-items: center; justify-content: center;
}
.carousel-zone.prev { left: 0; }
.carousel-zone.next { right: 0; }

/* Arrow buttons - inside the zone, no own positioning needed */
.carousel-btn {
  width: 60px; height: 60px; background: rgba(255,255,255,0);
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0.2; transition: opacity 0.2s, background 0.2s;
  border-radius: 50%; padding: 0; flex-shrink: 0;
}
.carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: rgba(255,255,255,0.75); }

/* Dots */
.carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; opacity: 0.3; transition: opacity 0.2s; z-index: 3;
}
.carousel:hover .carousel-dots { opacity: 1; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,0,0,0.5); border: none; cursor: pointer; padding: 0;
  transition: background 0.1s;
}
.dot.active { background: rgba(0,0,0,1); }

/* -- About -- */
.about-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; margin-bottom: 0; }
@media (max-width: 600px) { .about-grid { grid-template-columns: 1fr; } }
.about-bio p { font-size: var(--size-md); color: var(--muted); line-height: 1.75; }
.about-bio p + p { margin-top: 1em; }
.titles-label { font-size: var(--size-xs); font-weight: var(--weight-ui); text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 1rem; }
.titles-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.titles-list li { display: flex; flex-direction: column; gap: 0.1rem; }
.title-game { font-size: var(--size-sm); font-weight: var(--weight-ui); color: var(--text); }
.title-platform { font-size: var(--size-xs); color: var(--faint); }

/* -- Contact -- */
.contact-table { display: flex; flex-direction: column; gap: 0.85rem; }
.row .lbl { font-size: var(--size-sm); font-weight: var(--weight-ui); color: var(--faint); min-width: 90px; }
.row .val  { font-size: var(--size-sm); }

footer { padding: 2.5rem 0; text-align: center; font-size: var(--size-xs); color: var(--faint); }
