:root {
  --ink: #2a2145;
  --sky: #8cd1f5;
  --grass: #2ecc71;
  --orange: #f98c2e;
  --green: #5ac85a;
  --cream: #fff9ec;
  --dark: #1b1530;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: "Baloo 2", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.45; }
img { image-rendering: auto; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h2 svg, h3 svg { vertical-align: -0.15em; margin-right: .35em; }

/* ---------- meniu ---------- */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 10px 24px;
  background: rgba(27, 21, 48, .92); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 24px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav nav a { display: flex; align-items: center; gap: 6px; color: #d9d3f0; text-decoration: none; font-weight: 700;
  padding: 8px 12px; border-radius: 12px; transition: background .15s, color .15s; }
.nav nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav nav a.cta { background: var(--orange); color: #fff; box-shadow: 0 4px 0 #c96a16; }
.nav nav a.cta:hover { filter: brightness(1.08); }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; text-align: center; padding: 40px 20px 150px;
  background: url(img/title_bg.png) center bottom / cover no-repeat, var(--sky); }
.hero .logo { width: min(640px, 92%); filter: drop-shadow(0 8px 10px rgba(0,0,0,.2)); animation: bob 3.2s ease-in-out infinite; }
.tagline { max-width: 620px; margin: 8px auto 22px; font-size: 21px; font-weight: 700; background: rgba(255,255,255,.82);
  padding: 10px 18px; border-radius: 16px; }
.big-btn { display: inline-flex; align-items: center; gap: 10px; font: 800 24px "Baloo 2", sans-serif; color: #fff; background: var(--green);
  border: 0; border-radius: 18px; padding: 14px 30px; text-decoration: none; cursor: pointer; box-shadow: 0 6px 0 #3e9a3e, 0 10px 20px rgba(0,0,0,.2);
  transition: transform .12s; }
.big-btn:hover { transform: translateY(-2px); }
.big-btn:active { transform: translateY(3px); box-shadow: 0 3px 0 #3e9a3e; }
.big-btn svg { fill: currentColor; stroke: none; width: 1em; height: 1em; }
.hero .big-btn { margin-top: 4px; }
/* butonul „Play” din secțiunea de jos: loc sub el pentru telefonul din mijloc (ridicat cu 14 px) */
.play-row { margin: 0 0 48px; }
.soon { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff; border-radius: 12px; padding: 7px 16px 7px 12px;
  border: 1.5px solid #555; opacity: .92; cursor: default; }
.store svg { width: 28px; height: 28px; }
.store span { display: flex; flex-direction: column; line-height: 1.05; font-weight: 800; font-size: 19px; text-align: left; }
.store small { font-size: 11px; font-weight: 600; opacity: .8; letter-spacing: .02em; }
.chips { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; padding: 0; margin: 22px 0 0; }
.chips li { display: flex; align-items: center; gap: 6px; background: rgba(42,33,69,.85); color: #fff; padding: 6px 14px; border-radius: 999px; font-weight: 700; }
.hero-pip { position: absolute; left: 12%; bottom: 64px; width: 110px; animation: hop 1.6s ease-in-out infinite; }
.ground { position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
  background: url(img/terrain_grass_block_top.png) repeat-x left top / 64px 64px; }
.ground.small { position: static; height: 32px; background-size: 32px 32px; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-70px) rotate(-6deg); } }

/* ---------- secțiuni ---------- */
.section { max-width: 1120px; margin: 0 auto; padding: 64px 20px; }
.section h2 { font-size: 40px; margin: 0 0 24px; text-align: center; }
.section.dark { max-width: none; background: var(--dark); color: #fff; }
.section.dark > * { max-width: 1120px; margin-left: auto; margin-right: auto; }

.cast { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cast figure, .bosses figure, .weapons figure { margin: 0; text-align: center; }
.cast img { width: 180px; height: 180px; background: #fff; border-radius: 50%; padding: 10px; box-shadow: 0 6px 0 #e6dcc4; }
figcaption b { display: block; font-size: 22px; }

.get { text-align: center; }
.hint { max-width: 760px; margin: -8px auto 26px; font-size: 19px; }
kbd { display: inline-block; min-width: 1.6em; padding: 0 .45em; margin: 0 .1em; border-radius: 6px; background: #fff; border: 2px solid #d8cfb8;
  border-bottom-width: 4px; font: 700 .9em "Baloo 2", sans-serif; color: var(--ink); text-align: center; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: center; }
.phone { margin: 0; padding: 10px; background: #1b1530; border-radius: 28px; box-shadow: 0 10px 0 #d9ceb2, 0 18px 30px rgba(0,0,0,.2); }
.phone:nth-child(2) { transform: translateY(-14px) scale(1.04); }
.phone img { display: block; width: 100%; aspect-ratio: 19.5 / 9; object-fit: cover; border-radius: 20px; }
.soon.big { margin-top: 34px; }
.soon.big .store { padding: 10px 22px 10px 16px; }
.soon.big .store svg { width: 34px; height: 34px; }
.soon.big .store span { font-size: 24px; }

.worlds { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.worlds article { position: relative; border-radius: 20px; overflow: hidden; padding: 18px 14px 20px; text-align: center; color: #fff;
  background: var(--bg) center bottom / cover; box-shadow: 0 6px 0 rgba(0,0,0,.15); min-height: 300px; }
.worlds article::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(27,21,48,.75)); }
.worlds article > * { position: relative; }
.worlds img { width: 110px; }
.worlds h3 { margin: 6px 0 2px; font-size: 22px; text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.worlds p { margin: 0; font-weight: 600; }

.bosses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.bosses img { width: 100%; max-width: 190px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(0,0,0,.4)); }
.bosses figcaption { color: #cfc6ea; }
.bosses figcaption b { color: #ffd23f; }

.weapons { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.weapons img { width: 96px; height: 96px; background: #fff; border-radius: 24px; padding: 12px; box-shadow: 0 6px 0 #e6dcc4; }
.enemies { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.enemies img { width: 64px; height: 64px; }
.enemies span { font-weight: 700; }

.ctl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tips { margin-top: 26px; }
.ctl > div { background: #fff; border-radius: 20px; padding: 18px 22px; box-shadow: 0 6px 0 #e6dcc4; }
.ctl h3 { margin: 0 0 8px; }
.ctl p { margin: 6px 0; }

footer { text-align: center; background: var(--dark); color: #cfc6ea; }
footer p { margin: 0; padding: 18px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
footer svg { color: #f2557a; fill: currentColor; stroke: none; }

/* ---------- moduri de joc ---------- */
.modes-sec { text-align: center; }
.phone figcaption { color: #fff; font-weight: 800; font-size: 19px; padding: 8px 0 2px; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; text-align: left; }
.modes article { background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: 0 6px 0 #e6dcc4; }
.modes img { width: 64px; height: 64px; object-fit: contain; display: block; margin-bottom: 4px; }
.modes h3 { margin: 0 0 4px; font-size: 21px; }
.modes p { margin: 0; font-size: 16px; }
.assist { display: flex; gap: 12px; align-items: center; max-width: 820px; margin: 30px auto 0; text-align: left; background: #e9f8e6;
  border-radius: 18px; padding: 14px 20px; font-size: 17px; }
.assist svg { color: #f2557a; fill: currentColor; stroke: none; width: 28px; height: 28px; }

/* ---------- politica de confidențialitate ---------- */
.policy { max-width: 820px; }
.policy h1 { font-size: 44px; margin: 0 0 4px; }
.policy .updated { margin: 0 0 24px; color: #6b6488; font-weight: 600; }
.policy h2 { font-size: 26px; text-align: left; margin: 30px 0 8px; }
.policy p, .policy li { font-size: 17px; }
.policy ul { padding-left: 22px; }
.policy a, footer a { color: #2f7fd8; }
footer a { color: #ffd23f; }

/* ---------- telefon ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { flex-wrap: wrap; }
  .nav nav { display: none; width: 100%; flex-direction: column; }
  .menu-open .nav nav { display: flex; }
  .cast, .ctl, .phones { grid-template-columns: 1fr; }
  .phone:nth-child(2) { transform: none; }
  .worlds, .bosses, .weapons, .modes { grid-template-columns: repeat(2, 1fr); }
  .hero-pip { display: none; }
  .section h2 { font-size: 32px; }
}
@media (max-width: 480px) {
  .worlds, .bosses, .weapons, .modes { grid-template-columns: 1fr; }
  .big-btn { font-size: 20px; }
}
