/* Synverse Games — dark studio look. Shared by the homepage and the generated game pages (game.css adds their layout). */
@font-face { font-family: Outfit; src: url(../assets/fonts/outfit-latin-ext.woff2) format('woff2'); font-weight: 300 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Outfit; src: url(../assets/fonts/outfit-latin.woff2) format('woff2'); font-weight: 300 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: dark;
  --bg: #0b0e17; --bg2: #10131d; --card: #151926; --card2: #1c2131;
  --line: rgba(255, 255, 255, .08); --line2: rgba(255, 255, 255, .16);
  --text: #f4f5f8; --muted: rgba(244, 245, 248, .74); --faint: rgba(244, 245, 248, .52);
  --turq: #45d6cf; --violet: #9a8cf2; --grad: linear-gradient(100deg, #45d6cf, #9a8cf2 65%, #8b7cf6);
  --ease: cubic-bezier(.22, 1, .36, 1); --pad: clamp(16px, 4vw, 56px); --max: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Outfit, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(69, 214, 207, .3); }
:focus-visible { outline: 2px solid var(--turq); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: 24px; letter-spacing: -.02em; }
h3 a { text-decoration: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--turq); }
.kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }

/* nav */
.nav { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 28px; padding: 16px var(--pad);
  transition: background .35s, border-color .35s, padding .35s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11, 14, 23, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > img { width: 38px; height: 38px; }
.brand-text { display: grid; gap: 3px; }
.brand-text img { height: 17px; width: auto; }
.brand-text b { font-weight: 600; font-size: 9.5px; letter-spacing: .72em; color: var(--muted); }
.links { margin-left: auto; display: flex; gap: 6px; }
.links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .25s, background .25s; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.lang { display: flex; padding: 7px 12px; border: 1px solid var(--line2); border-radius: 999px; background: none; cursor: pointer; font: 600 12px Outfit, sans-serif; letter-spacing: .12em; color: var(--faint); text-decoration: none; }
.lang span + span::before { content: '/'; margin: 0 7px; color: var(--faint); }
html[lang='tr'] .lang [data-l='tr'], html[lang='en'] .lang [data-l='en'] { color: var(--text); }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--line2); border-radius: 50%; background: none; cursor: pointer; padding: 0; place-content: center; gap: 6px; }
.menu-btn span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s; }
.btn.primary { background: var(--text); color: #0b0e17; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(69, 214, 207, .55); }
.btn.ghost { border: 1px solid var(--line2); color: var(--text); background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .09); }

/* hero: in-game footage behind the headline */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; background: #0b0e17 url(../assets/video/reel-poster.jpg) center/cover; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 14, 23, .92) 0%, rgba(11, 14, 23, .65) 48%, rgba(11, 14, 23, .1) 78%),
              linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 23, .55) 22%, rgba(11, 14, 23, 0) 45%),
              linear-gradient(180deg, rgba(11, 14, 23, .6) 0%, rgba(11, 14, 23, 0) 18%); }
.hero-inner { align-self: center; width: min(var(--max), 100%); margin: 0 auto; padding: 120px var(--pad) 32px; }
.hero h1 { max-width: 11.5em; font-size: clamp(46px, 7.4vw, 112px); font-weight: 800; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 33em; margin: 26px 0 36px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--muted); }
.hero-foot { width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--pad) clamp(24px, 5vh, 48px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hero-icons { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-icons a { display: block; border-radius: 14px; transition: transform .35s var(--ease); }
.hero-icons a:hover { transform: translateY(-4px); }
.hero-icons img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 24px -10px rgba(0, 0, 0, .8); }
.now { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(11, 14, 23, .55); border: 1px solid var(--line); font-size: 13px; color: var(--muted);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.now i { width: 7px; height: 7px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 0 rgba(255, 77, 94, .6); animation: live 2s infinite; }
.now b { font-weight: 600; color: var(--text); transition: opacity .3s; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(255, 77, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); } }

/* sections */
section { position: relative; }
.games, .studio, .contact { padding: clamp(72px, 12vh, 140px) 0 0; }
.sec-head { width: min(var(--max), 100%); margin: 0 auto 48px; padding: 0 var(--pad); }
.games > .feature, .games > .grid { width: min(var(--max), 100% - 2 * var(--pad)); margin-left: auto; margin-right: auto; }

/* game cards */
.feature, .card { position: relative; border-radius: 26px; background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease); }
.feature:hover, .card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--accent) 70%, transparent); }
.card:hover { transform: translateY(-4px); }
.art { display: block; overflow: hidden; background: var(--card2); }
.art img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1280 / 625; transition: transform .8s var(--ease); }
.feature:hover .art img, .card:hover .art img { transform: scale(1.04); }
.body { padding: 26px 28px 28px; }
.body > p { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
.game-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.game-head img { flex: none; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 10px 24px -12px rgba(0, 0, 0, .9); }
.card .game-head img { width: 56px; height: 56px; }
.genre { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, var(--turq)); }
.sub { margin: 6px 0 0; font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.feature { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); margin-bottom: 24px; }
.feature .art img { aspect-ratio: auto; min-height: 100%; }
.feature .body { padding: clamp(28px, 3.4vw, 48px); align-self: center; }
.feature h3 { font-size: clamp(30px, 3vw, 42px); }
.feature .game-head img { width: 72px; height: 72px; border-radius: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.tag { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line2); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tag.new { border-color: transparent; background: var(--accent); color: #0b0e17; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; }
.card .body { display: flex; flex-direction: column; flex: 1; }
.card .body > p { flex: 1; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 7px 18px 7px 14px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.1; }
.store small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
.store.live { background: var(--text); color: #0b0e17; transition: transform .35s var(--ease), box-shadow .35s; }
.store.live:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(255, 255, 255, .45); }
.store.soon { color: var(--faint); border: 1px dashed var(--line2); }
.ico { width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.ico.apple { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.2-1.7-3-1.9-3.6-2-1.5-.2-3 .9-3.8.9-.8 0-2-.9-3.3-.9-1.7 0-3.3 1-4.2 2.6-1.8 3.1-.5 7.7 1.3 10.2.8 1.2 1.8 2.6 3.1 2.6 1.2 0 1.7-.8 3.2-.8s1.9.8 3.2.8c1.3 0 2.2-1.2 3-2.4.9-1.4 1.3-2.7 1.3-2.8-.1 0-2.5-1-2.3-4.5zM14 5.3c.7-.8 1.1-1.9 1-3-1 0-2.1.7-2.8 1.5-.6.7-1.2 1.8-1 2.9 1.1.1 2.1-.6 2.8-1.4z'/%3E%3C/svg%3E"); }
.ico.play { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2.6c-.3.3-.5.8-.5 1.4v16c0 .6.2 1.1.5 1.4L13.1 12 4 2.6zm10.3 10.6 2.6 2.6-11 6.3 8.4-8.9zm0-2.4L5.9 1.9l11 6.3-2.6 2.6zm3.9-1.8 3 1.7c.9.5.9 1.3 0 1.8l-3 1.7-2.8-2.6 2.8-2.6z'/%3E%3C/svg%3E"); }
.store.mine { box-shadow: 0 0 0 3px rgba(69, 214, 207, .45); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.play-trailer { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 15px Outfit, sans-serif; color: var(--text); }
.pi { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--accent, var(--turq)); transition: transform .3s var(--ease); }
.pi::after { content: ''; position: absolute; left: 13px; top: 10px; border-left: 11px solid #0b0e17; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.play-trailer:hover .pi { transform: scale(1.12); }
.more-link { margin-left: auto; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; transition: color .25s; }
.more-link:hover { color: var(--text); }

/* studio */
.studio { width: min(var(--max), 100%); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.studio-text h2 { margin-bottom: 24px; }
.studio-text p { margin: 0; max-width: 36em; font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.stats li { display: grid; grid-template-columns: 1.4em 1fr; align-items: baseline; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.stats li:last-child { border-bottom: 1px solid var(--line); }
.stats b { font-size: clamp(56px, 6vw, 88px); font-weight: 800; line-height: .9; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 18px; color: var(--muted); }


/* contact */
.contact { width: min(var(--max), 100% - 2 * var(--pad)); margin: 0 auto; }
.contact-card { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px); border-radius: 32px; text-align: center; background: var(--card); border: 1px solid var(--line); isolation: isolate; }
.contact-card::before { content: ''; position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(154, 140, 242, .28), transparent), radial-gradient(closest-side at 30% 60%, rgba(69, 214, 207, .22), transparent); filter: blur(10px); }
.contact-card h2 { margin-bottom: 18px; }
.contact-card > p { margin: 0 auto 32px; max-width: 30em; font-size: 18px; color: var(--muted); }
.contact-card .cta { justify-content: center; }
.contact-card .support { margin: 26px auto 0; font-size: 15px; color: var(--faint); }
.contact-card .support a { color: var(--muted); }

/* footer */
.foot { width: min(var(--max), 100%); margin: clamp(72px, 12vh, 120px) auto 0; padding: 48px var(--pad) 36px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .25s; }
.foot-grid a:hover { color: var(--text); }
.foot-h { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.foot-brand p { margin: 10px 0 0; color: var(--faint); font-size: 15px; }
.copy { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 44px 0 0; font-size: 13px; color: var(--faint); }
.copy span + span::before { content: '·'; margin-right: 18px; }

/* trailer dialog */
.trailer-box { width: fit-content; max-width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 20px; background: transparent; overflow: visible; }
.trailer-box::backdrop { background: rgba(4, 5, 8, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.trailer-box video { display: block; background: #000; max-width: min(1100px, 94vw); max-height: 86vh; border-radius: 20px; }
.trailer-box .close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--text); font: 400 26px/1 Outfit, sans-serif; cursor: pointer; }

/* reveal on scroll (only once site.js is running) */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .9s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; }
  .feature .art img { aspect-ratio: 1280 / 625; min-height: 0; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; }
  .lang { margin-left: auto; }
  .links { position: absolute; top: 100%; left: 12px; right: 12px; display: grid; gap: 2px; padding: 10px; border-radius: 20px; background: var(--card); border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    opacity: 0; translate: 0 -8px; pointer-events: none; transition: opacity .25s, translate .3s var(--ease); }
  .menu-open .links { opacity: 1; translate: 0 0; pointer-events: auto; }
  .links a { padding: 14px 16px; font-size: 17px; }
  .menu-open .nav { background: rgba(11, 14, 23, .92); }
  .studio { grid-template-columns: 1fr; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 23, .75) 45%, rgba(11, 14, 23, .35) 75%, rgba(11, 14, 23, .55) 100%); }
  .hero-inner { align-self: end; padding-bottom: 20px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .body { padding: 22px 20px 22px; }
  .hero-icons { gap: 8px; }
  .hero-icons img { width: 40px; height: 40px; border-radius: 11px; }
  .now { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .brand-text b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .now i { animation: none; }
}
