/* culorile vin din logo: magenta -> albastru -> auriu, pe fundal aproape negru */
:root {
  --bg: #07070d;
  --bg-2: #0e0e18;
  --card: #12121f;
  --line: #24243a;
  --text: #f1f0f7;
  --muted: #a5a3b8;
  --magenta: #e03cff;
  --cyan: #2fc6ff;
  --gold: #ffb81c;
  --neon: linear-gradient(90deg, var(--magenta), var(--cyan) 55%, var(--gold));
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3, .brand, .eyebrow, .btn { font-family: "Rajdhani", "Inter", system-ui, sans-serif; }

a { color: var(--cyan); }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.neon-text { background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* antet */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 7, 13, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--neon); opacity: .55; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: 1.5px; text-transform: uppercase; }
.brand img { width: 46px; height: 46px; border-radius: 10px; }
.nav { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--text); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 13px !important; font-weight: 700 !important; }
.lang:hover { border-color: var(--cyan); }

/* hero: text in stanga, imaginea studioului in dreapta */
.hero {
  padding: 88px 0 72px;
  background: radial-gradient(700px 360px at 10% 0%, rgba(224, 60, 255, .18), transparent 70%), radial-gradient(700px 360px at 95% 20%, rgba(47, 198, 255, .14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.02; margin: 0 0 16px; letter-spacing: .5px; text-transform: uppercase; }
.hero p { font-size: 19px; color: #d6d4e4; max-width: 620px; margin: 0 0 30px; }
.hero-img { border-radius: 20px; padding: 3px; background: var(--neon); box-shadow: 0 0 50px rgba(224, 60, 255, .25), 0 0 80px rgba(47, 198, 255, .15); }
.hero-img img { border-radius: 17px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.eyebrow { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 14px; margin-bottom: 12px; }

section { padding: 72px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.1; }
h3 { font-size: 22px; margin: 0 0 6px; letter-spacing: .3px; }
.lead { color: var(--muted); max-width: 700px; margin-top: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  background: var(--neon); color: #0a0a12;
  box-shadow: 0 0 24px rgba(224, 60, 255, .35);
}
.btn:hover { color: #0a0a12; box-shadow: 0 0 32px rgba(47, 198, 255, .5); }
.btn.ghost { background: rgba(7, 7, 13, .5); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--cyan); color: var(--text); }
.btn.soon { background: var(--card); color: var(--muted); border: 1px dashed var(--line); box-shadow: none; cursor: default; }
.btn[href^="mailto"] { text-transform: none; letter-spacing: 0; font-family: "Inter", system-ui, sans-serif; font-size: 16px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
section[id] { scroll-margin-top: 90px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; background: rgba(224, 60, 255, .12); border: 1px solid rgba(224, 60, 255, .35); }
.card:nth-child(3n+2) .ico { background: rgba(47, 198, 255, .12); border-color: rgba(47, 198, 255, .35); }
.card:nth-child(3n+3) .ico { background: rgba(255, 184, 28, .12); border-color: rgba(255, 184, 28, .35); }

/* prezentarea jocului */
.game { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.phone {
  aspect-ratio: 9 / 16; width: 100%; max-width: 290px; margin: 0 auto;
  border-radius: 34px; padding: 10px; background: var(--neon);
  box-shadow: 0 0 60px rgba(224, 60, 255, .25), 0 0 90px rgba(47, 198, 255, .15);
}
.phone-screen { height: 100%; border-radius: 26px; background: linear-gradient(170deg, #161628, #0b0b14); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-screen .title { font-family: "Rajdhani", sans-serif; font-size: 34px; font-weight: 700; text-transform: uppercase; line-height: 1; color: var(--text); margin-bottom: 8px; }
.tags { margin: 18px 0 26px; }
.tag { display: inline-block; font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); margin: 0 6px 8px 0; }

.maps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: map; }
.map { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; }
.map::before { counter-increment: map; content: "0" counter(map); font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 26px; display: block; line-height: 1; margin-bottom: 8px; background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.map strong { display: block; }
.map span { color: var(--muted); font-size: 14px; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.shot { aspect-ratio: 9 / 16; border-radius: 18px; border: 1px dashed var(--line); display: grid; place-items: center; color: var(--muted); font-size: 14px; background: var(--bg-2); text-align: center; padding: 12px; }

/* cardul unui joc din portofoliu; daca imaginea lipseste, apare numele jocului */
.game-card { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.game-card-art { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(150deg, #2a1838, #0f1a2e 60%, #2a2010); }
.game-card-art img { width: 100%; height: 100%; object-fit: cover; }
.game-card-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7, 7, 13, .55), rgba(7, 7, 13, .2) 70%); }
.game-card-art img.art-logo { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72%; height: auto; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .8)); }
.hero-img.game-card-art { padding: 0; border: 3px solid transparent; background: linear-gradient(150deg, #2a1838, #0f1a2e 60%, #2a2010) padding-box, var(--neon) border-box; }
.credit { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.shots.wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.shots.wide img, .shots.wide .shot { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; border-radius: 14px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }
.facts li span:first-child { color: var(--muted); white-space: nowrap; }
.facts li span:last-child { text-align: right; }

/* pagini de text (politica, termeni) */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .5px; line-height: 1.1; }
.doc .meta { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 24px; margin: 44px 0 10px; text-transform: none; letter-spacing: .3px; }
.doc p, .doc li { color: #dad8e6; }
.doc .table { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.doc th { background: var(--bg-2); }
.note { background: var(--card); border-left: 4px solid var(--cyan); padding: 14px 18px; border-radius: 8px; }

/* banda cu cifre de sub hero */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .wrap > div { padding: 26px 16px; text-align: center; }
.stats .wrap > div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: "Rajdhani", sans-serif; font-size: 40px; line-height: 1.1; background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }

/* despre noi: text in stanga, valori in dreapta */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.grid.one { grid-template-columns: 1fr; gap: 14px; }
.grid.one .card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 20px; }
.grid.one .card .ico { grid-row: span 2; margin: 0; }

/* trailer: imagine cu buton de play, inlocuita la click cu playerul YouTube */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 24px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; box-shadow: 0 0 50px rgba(224, 60, 255, .18), 0 0 80px rgba(47, 198, 255, .12); }
.video img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: filter .2s; }
.video:hover img { filter: brightness(.75); }
.video iframe { width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--neon); box-shadow: 0 0 40px rgba(224, 60, 255, .6); }
.video .play::after { content: ""; position: absolute; left: 36px; top: 28px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #0a0a12; }
.video-note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #cfcde0; font-size: 13px; }

/* iconite retele sociale (desenate cu masca, ca sa ia culoarea textului) */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); margin: 0 !important; transition: border-color .15s, transform .15s; }
.social a::before { content: ""; width: 20px; height: 20px; background: var(--text); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.social a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.social a:hover::before { background: var(--cyan); }
.social.small a { width: 34px; height: 34px; border-radius: 10px; }
.social.small a::before { width: 16px; height: 16px; }
.i-facebook { --i: url("icons/facebook.svg"); }
.i-x { --i: url("icons/x.svg"); }
.i-tiktok { --i: url("icons/tiktok.svg"); }
.i-instagram { --i: url("icons/instagram.svg"); }
.i-linkedin { --i: url("icons/linkedin.svg"); }
.i-discord { --i: url("icons/discord.svg"); }
.i-youtube { --i: url("icons/youtube.svg"); }
.i-twitch { --i: url("icons/twitch.svg"); }
.social-label, .card .social-label { color: var(--muted); font-size: 14px; margin: 22px 0 10px; }

/* subsol */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; background: var(--bg-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; }
.site-footer a { color: var(--muted); text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 800px) {
  .site-header .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; gap: 8px; }
  .nav { margin-left: 0; width: 100%; gap: 16px; flex-wrap: wrap; }
  .hero { padding: 48px 0; }
  .hero-grid, .game, .contact, .game-card, .about { grid-template-columns: 1fr; gap: 32px; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap > div:nth-child(3) { border-left: 0; }
  .stats .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .video .play { width: 64px; height: 64px; }
  .video .play::after { left: 26px; top: 20px; border-width: 12px 0 12px 19px; }
  section { padding: 52px 0; }
  .facts li { flex-direction: column; gap: 0; }
  .facts li span:last-child { text-align: left; }
}
