/* Lessmore – shared styles */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1c23;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1a1c23; text-decoration: none; }
a:hover, a:focus { color: #ff2156; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.hero-logo { width: min(470px, 80vw); animation: fadeInDown 1s .3s both; }
.hero-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  width: 31px;
  margin-left: -15.5px;
  animation: bounce 2s infinite;
}

/* ---------- Game sections ---------- */
.game { background: #f5f5f5; padding: 80px 16px 50px; overflow: hidden; }
.game.white { background: #fff; padding-bottom: 0; }
.game-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.game.flip .game-text { order: 2; }
.game-text h2 {
  margin: 0 0 16px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  color: #1e1e1d;
}
.game-text p { margin: 0 0 32px; font-size: 18px; color: #1e1e1d; }
.game-shot {
  height: 480px;
  background: center / contain no-repeat;
}
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.stores a { width: 170px; transition: transform .2s; }
.stores a:hover { transform: scale(1.04); }

/* ---------- Subpages ---------- */
.site-header {
  border-bottom: 1px solid #eee;
  padding: 14px 16px;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-header img { width: 140px; }
.wrap { max-width: 800px; margin: 0 auto; }
.page { padding: 60px 16px 80px; overflow-wrap: anywhere; }
.page h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #000f2b;
  margin: 0 0 24px;
}
.page p { margin: 0 0 1.2em; }
.page ul { padding-left: 1.4em; }
.page a { color: #ff2156; overflow-wrap: anywhere; }
.page table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 14px; }
.page td { border: 1px solid #ddd; padding: 6px 10px; vertical-align: top; overflow-wrap: anywhere; }
.page figure { margin: 0; overflow-x: auto; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 40px;
  padding: 40px 16px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; }
.reveal.in-left { animation: fadeInLeft 1s both; }
.reveal.in-right { animation: fadeInRight 1s both; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-100%); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-14px); }
  60% { transform: translateY(-7px); }
}
@media (prefers-reduced-motion: reduce) {
  *, .reveal { animation: none !important; opacity: 1 !important; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .game { padding: 50px 16px; }
  .game-inner { grid-template-columns: 1fr; gap: 24px; }
  .game.flip .game-text { order: 0; }
  .game-text h2 { font-size: 34px; }
  .game-text p { font-size: 16px; }
  .game-shot { height: 380px; }
  .reveal.in-left, .reveal.in-right { animation-name: fadeIn; }
  .stores a { width: 150px; }
}

/* Subpage extras */
.page h2 { font-size: 20px; margin: 2em 0 .6em; color: #000f2b; }
.page iframe.pdf { width: 100%; height: 80vh; border: 1px solid #ddd; margin: 0 0 1em; }

/* Subpage menu (dropdowns on desktop, toggle list on mobile) */
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu > ul { display: flex; gap: 8px; }
.menu li { position: relative; }
.menu a { display: block; padding: 8px 12px; font-size: 15px; }
.menu .has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 10px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.menu .sub {
  position: absolute; top: 100%; right: 0; z-index: 10; min-width: 240px;
  background: #fff; border-top: 2px solid #ff2156; box-shadow: 0 6px 20px rgba(0,0,0,.1);
  padding: 6px 0; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.menu .sub a { font-size: 14px; padding: 8px 18px; }
.menu li:hover > .sub, .menu li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; font-size: 15px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 6px; }

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .menu { display: none; width: 100%; }
  .nav-toggle:checked ~ .menu { display: block; }
  .menu > ul { flex-direction: column; gap: 0; }
  .menu .has-sub > a::after { display: none; }
  .menu > ul > li > a { font-weight: 600; }
  .menu .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0;
  }
}

/* Careers overview */
.page .lead { font-size: 18px; color: #444; }
.page ul.jobs { list-style: none; padding: 0; margin: 2em 0; }
.jobs li { margin: 0 0 12px; }
.page .jobs a {
  position: relative; display: block; padding: 20px 56px 20px 24px;
  border: 1px solid #e5e5e5; border-radius: 12px; color: #1a1c23;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.page .jobs a::after {
  content: "→"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: #ff2156; transition: right .15s;
}
.page .jobs a:hover { border-color: #ff2156; box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.page .jobs a:hover::after { right: 18px; }
.jobs strong { display: block; font-size: 18px; margin-bottom: 6px; overflow-wrap: normal; }
.jobs span { font-size: 14px; color: #666; }

/* Job postings */
.page .back { margin: 0 0 16px; font-size: 14px; }
.page .back a { color: #666; }
.page .back a:hover { color: #ff2156; }
.job-meta {
  display: grid; gap: 14px; margin: 0 0 24px; padding: 20px 24px;
  background: #f5f5f5; border-radius: 12px;
}
.job-meta div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.job-meta dt { font-weight: 800; font-size: 14px; color: #000f2b; }
.job-meta dd { margin: 0; }
.job-meta small { display: block; margin-top: 2px; font-size: 13px; color: #666; }
.apply { margin: 0 0 8px; padding: 18px 24px; border-left: 4px solid #ff2156; background: #fff5f7; border-radius: 0 12px 12px 0; }
.page .apply h2 { margin: 0 0 6px; }
.page .apply p { margin: 0; }
.page .job-list { margin: 0 0 1.2em; padding-left: 1.2em; }
.page .job-list li { margin: 0 0 .5em; padding-left: .2em; }
.page .job-list li::marker { color: #ff2156; }

@media (max-width: 767px) {
  .job-meta div { grid-template-columns: 1fr; gap: 2px; }
}
