/* =============================================
   StanbolGames — DreamGames-inspired Design
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Sora:wght@400;600;700;800&display=swap');

:root {
  /* Palette */
  --bg: #F5F5F7;
  --bg-alt: #FFFFFF;
  --bg-strong: #E9EBF0;
  --surface: #FFFFFF;
  --ink: #1D1D1F;
  --ink-soft: #4E5561;
  --ink-muted: #616977;
  --primary: #621DF2;
  --primary-hover: #3710A0;
  --footer-bg: #1D1D1F;
  --footer-ink: #F5F5F7;
  --footer-muted: #86868B;
  --line: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --section-gap: 0;
  --container-max: 1200px;
  --container-padding: clamp(1.5rem, 5vw, 4rem);

  /* Shapes */
  --radius-btn: 100px;
  --radius-card: 20px;
  --radius-img: 16px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0;
}

/* ── Page Shell ── */
.page-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ── Container ── */
.container {
  width: min(var(--container-max), 100%);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-container {
  width: min(var(--container-max), 100%);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-container-narrow {
  max-width: 980px;
}

.content-page-lane {
  padding-top: 0;
  padding-bottom: 0;
}

/* ══════════════════════════════════════════════
   TOPBAR / NAVIGATION — Transparent overlay
   ══════════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--container-padding);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
}

.topbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--primary);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.brand-dot {
  display: inline-block;
  width: 0;
  height: 0;
}

.brand-star {
  display: inline-block;
  font-size: 1.1rem;
  margin-left: 0.1rem;
  color: var(--primary);
}

/* Logo images */
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: none;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.topnav a {
  position: relative;
  transition: color 0.3s ease;
}

.topnav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.topnav a:hover {
  color: var(--primary);
}

.topnav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 120;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.45rem 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-dropdown-menu a::after {
  display: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.8rem;
  padding-left: 0.8rem;
  border-left: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.language-switch a {
  color: var(--ink-muted);
}

.language-switch a.active,
.language-switch a:hover {
  color: var(--primary);
}

.language-switch span {
  color: var(--ink-muted);
}

/* Hide the CTA button from topbar (DreamGames style has no CTA in nav) */
.cta {
  display: none;
}

/* ══════════════════════════════════════════════
   HERO SECTION — Full-width showcase
   ══════════════════════════════════════════════ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding-top: 80px;
  background: linear-gradient(180deg, #E8E8ED 0%, #D2D2D9 40%, #C4C4CC 100%);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  display: none;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) var(--container-padding) 0;
  max-width: 800px;
  z-index: 2;
}

.hero-intro {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.hero-intro-copy {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.hero-intro-copy p {
  margin: 1.2rem auto 2rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 56ch;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1.2rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(59, 68, 246, 0.08);
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: none;
}

.hero-copy p {
  margin: 1.4rem auto 2rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Visual — Large character showcase area */
.hero-visual {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 400px;
  margin-top: 2rem;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

/* Remove old decorative elements */
.hero-sun,
.hero-cloud,
.hero-cloud-a,
.hero-cloud-b,
.hero-castle {
  display: none;
}

/* Hero characters image */
.hero-characters-img {
  width: min(94vw, 1320px);
  max-width: 1320px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  /* Subtle drop shadow for depth */
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* ══════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════ */
.btn-solid,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-btn);
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
}

.btn-solid {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 20px rgba(59, 68, 246, 0.3);
}

.btn-solid:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 30px rgba(59, 68, 246, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   CONTENT SECTIONS
   ══════════════════════════════════════════════ */
.page-content {
  padding-top: 0;
}

/* About / Showcase Section */
.showcase {
  margin-top: 0;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

.showcase-media {
  min-height: 520px;
  border-radius: var(--radius-img);
  background: transparent;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.showcase-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-media-image-about {
  clip-path: inset(0 2px 0 2px);
  transform: scale(1.0);
}

.showcase-copy .eyebrow {
  background: transparent;
  padding: 0;
  color: var(--ink-muted);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

.section-cta {
  margin-top: 2rem;
}

.showcase-copy h2,
.section-head h2,
.career-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.showcase-copy p,
.section-head p,
.career-copy p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 1.12rem;
  font-weight: 500;
  margin-top: 1rem;
}

/* ══════════════════════════════════════════════
   GAMES SECTION
   ══════════════════════════════════════════════ */
.games-section {
  margin-top: 0;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-strong);
}

.section-head {
  max-width: 600px;
  margin-bottom: 3rem;
}

.section-head .eyebrow {
  background: transparent;
  padding: 0;
  color: var(--ink-muted);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 0;
}

.game-card {
  border: none;
  border-radius: var(--radius-card);
  background: var(--surface);
  padding: 0;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.linked-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.game-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.game-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-thumb-blue {
  background: linear-gradient(150deg, #6366F1, #4338CA 50%, #3730A3);
}

.game-thumb-gold {
  background: linear-gradient(150deg, #FCD34D, #F59E0B 50%, #D97706);
}

.game-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1.2rem 1.5rem 0.3rem;
  color: var(--ink);
}

.game-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  padding: 0 1.5rem 1.5rem;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.6;
}

.section-action {
  margin-top: 2.5rem;
  text-align: center;
}

/* ══════════════════════════════════════════════
   CAREERS SECTION
   ══════════════════════════════════════════════ */
.careers-section {
  margin-top: 0;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--bg-alt);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 5vw, 5rem);
  align-items: center;
}

.career-copy .eyebrow {
  background: transparent;
  padding: 0;
  color: var(--ink-muted);
}

.career-media {
  min-height: 380px;
  border: none;
  border-radius: var(--radius-img);
  background: #dfe3ea;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.career-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════
   FOOTER — Dark theme like DreamGames
   ══════════════════════════════════════════════ */
.site-footer {
  margin-top: 0;
  padding: 3rem var(--container-padding) 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--footer-bg);
  color: var(--footer-ink);
  font-size: 0.88rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.65rem;
}

.footer-follow-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--footer-ink);
}

.footer-links {
  display: flex;
  gap: 2rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--footer-ink);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.text-primary {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--footer-ink);
  transition: color 0.3s ease, background 0.3s ease;
  font-size: 1rem;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom span,
.footer-bottom a {
  color: var(--footer-muted);
  font-size: 0.82rem;
}

.footer-bottom a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--footer-ink);
}

/* ══════════════════════════════════════════════
   ANIMATIONS — Scroll reveal
   ══════════════════════════════════════════════ */
.reveal-1,
.reveal-2,
.reveal-3 {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-1.visible,
.reveal-2.visible,
.reveal-3.visible {
  animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-2.visible {
  animation-delay: 150ms;
}

.reveal-3.visible {
  animation-delay: 280ms;
}

/* Initial page load — hero always visible */
.hero.reveal-1 {
  opacity: 1;
  transform: none;
}

.hero .hero-copy {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.9s 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero .hero-visual {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.9s 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════
   CONTENT SECTION (Privacy etc.)
   ══════════════════════════════════════════════ */
.content-section {
  margin-top: 0;
  padding: clamp(6rem, 10vw, 8rem) var(--container-padding) clamp(3rem, 6vw, 5rem);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.content-section h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.content-section p {
  color: var(--ink-soft);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════
   CONTENT PAGES (About / Games / Careers)
   ══════════════════════════════════════════════ */
.content-page {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2.2rem, 4vw, 3.2rem) var(--container-padding) clamp(1.5rem, 3.5vw, 2.4rem);
}

.careers-top-hero,
.about-top-hero,
.games-top-hero {
  width: 100%;
  height: 540px;
  position: relative;
  margin-top: 88px;
  overflow: hidden;
}

.careers-top-hero-image,
.about-top-hero-image,
.games-top-hero-image {
  width: 100%;
  height: 540px;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.careers-top-hero-title,
.about-top-hero-title,
.games-top-hero-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.inner-page-section {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.text-section-tight {
  padding: clamp(0.1rem, 0.5vw, 0.35rem) 0;
}

.inner-page-section-white {
  background: var(--bg-alt);
}

.inner-page-section-soft {
  background: var(--bg);
}

.inner-page-section-strong {
  background: var(--bg-strong);
}

.content-page-header {
  margin-bottom: 2rem;
}

.content-page-header h1 {
  margin-top: 0.9rem;
  margin-bottom: 1.2rem;
}

.content-page-header p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.content-page-media {
  margin-bottom: 2rem;
}

.content-page-photo {
  width: 100%;
  min-height: 320px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-img);
}

.image-placeholder {
  min-height: 320px;
  border-radius: var(--radius-img);
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 68, 246, 0.16), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(255, 195, 77, 0.18), transparent 45%),
    linear-gradient(145deg, #f1f2f6, #dfe2ea);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem;
}

.image-placeholder span {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-family: var(--font-heading);
}

.image-placeholder strong {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--ink);
}

.content-page-block {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--line);
}

.content-page-block-flat {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.content-page-block h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin-bottom: 0.8rem;
}

.content-page-block p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.content-page-block p:last-child {
  margin-bottom: 0;
}

.career-gallery-thumb {
  overflow: hidden;
}

.career-gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-gallery-grid {
  margin-top: 0;
}

.content-list {
  margin: 0.8rem 0 1rem 1.2rem;
  color: var(--ink-soft);
  line-height: 1.7;
  font-weight: 500;
}

.content-list li {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.content-list li:last-child {
  margin-bottom: 0;
}

.character-groups-wrap {
  display: grid;
  gap: 1.4rem;
}

.character-groups-wrap.content-page {
  max-width: 1320px;
}

.character-group-card {
  margin-bottom: 2rem;
}

.character-group-card h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  margin-bottom: 0.35rem;
}

.character-group-card p {
  color: var(--ink-soft);
  font-size: 1.12rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.character-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0.8rem;
  background: #e7e9ef;
}

.open-positions-header {
  max-width: 860px;
}

.open-positions-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  padding: 1rem 1.1rem;
}

.filter-select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 0;
  outline: none;
}

.filter-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.open-positions-head {
  margin-bottom: 2rem;
}

.open-positions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.open-role-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--bg-strong);
  padding: 1rem 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.open-role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(29, 29, 31, 0.08);
}

.open-role-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  min-width: 0;
}

.open-role-card h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  margin-bottom: 0;
}

.open-role-location {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.open-role-link {
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
}

.open-positions-empty {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.internship-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.internship-role-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.internship-role-card h3 {
  margin-bottom: 0.55rem;
}

.internship-role-card p {
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════
   MISC
   ══════════════════════════════════════════════ */
.label {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value {
  margin: 0.2rem 0 0;
  font-size: 1.5rem;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 980px) {
  .topbar {
    padding: 1rem var(--container-padding);
  }

  .topnav {
    gap: 1.5rem;
    font-size: 0.75rem;
  }

  .language-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .nav-dropdown-menu {
    min-width: 160px;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-copy {
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .showcase,
  .showcase-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .careers-top-hero,
  .careers-top-hero-image,
  .about-top-hero,
  .about-top-hero-image,
  .games-top-hero,
  .games-top-hero-image {
    height: 420px;
  }

  .careers-top-hero,
  .about-top-hero,
  .games-top-hero {
    margin-top: 78px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .open-positions-filters,
  .open-positions-grid {
    grid-template-columns: 1fr;
  }

  .internship-role-grid {
    grid-template-columns: 1fr;
  }

  .open-role-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .open-role-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .open-role-link {
    width: 100%;
  }

  .showcase-media,
  .career-media {
    min-height: 300px;
  }

}

@media (max-width: 640px) {
  .topbar {
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .topnav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.9rem 1rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(19, 24, 39, 0.08);
  }

  .topnav.open {
    display: flex;
  }

  .topnav > a,
  .topnav > .nav-dropdown,
  .topnav > .language-switch {
    width: 100%;
  }

  .language-switch {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-dropdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0.2rem 0 0 0.8rem;
    min-width: auto;
  }

  .nav-dropdown-menu a {
    padding: 0.35rem 0;
  }

  .hero {
    min-height: 70vh;
    padding-top: 100px;
  }

  .hero-visual {
    min-height: 250px;
  }

  .careers-top-hero,
  .careers-top-hero-image,
  .about-top-hero,
  .about-top-hero-image,
  .games-top-hero,
  .games-top-hero-image {
    height: 300px;
  }

  .careers-top-hero,
  .about-top-hero,
  .games-top-hero {
    margin-top: 118px;
  }

  .showcase,
  .careers-section,
  .games-section {
    padding-left: 0;
    padding-right: 0;
  }

  .content-page {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .content-page-block {
    padding: 1.2rem;
  }

  .image-placeholder {
    min-height: 240px;
  }

  .character-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-right {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-characters-img {
    width: 100%;
  }
}

/* Disable old styles */
.page-shell {
  width: 100%;
  padding: 0;
}
