/* Syud Games website. Plain CSS, no build step. */
:root {
  --bg: #0a1220; --bg2: #0e1829; --card: #132035; --line: #22324d;
  --text: #eef4fb; --muted: #9fb0c8; --accent: #2fd89a; --accent2: #5aa9ff; --warn: #ffb23e; --ok: #2fd89a; --on-accent: #04170f;
  --radius: 18px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 84px 0; }
.eyebrow { color: var(--accent2); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 19px; max-width: 62ch; margin-top: 16px; }
.lead a { color: var(--accent2); }
.accent { background: linear-gradient(90deg, #2fd89a, #5aa9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 18, 32, 0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-weight: 900; font-size: 19px; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; white-space: pre; }
.logo img { width: 38px; height: 26px; margin-right: 10px; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 24px; margin-left: auto; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; }
nav a:hover { color: var(--text); }
.langs { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.langs svg { width: 17px; height: 17px; margin: 0 5px 0 7px; color: var(--muted); flex: none; }
.langs a { padding: 4px 11px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.langs a[href]:hover { color: var(--text); }
.langs a.on { background: var(--accent2); color: #04121f; }
.langs .short { display: none; }
.logo + .langs { margin-left: auto; }
.btn { display: inline-block; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; padding: 13px 24px; border-radius: 12px; border: 0; font-size: 16px; white-space: nowrap; transition: transform .12s, filter .12s; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }

/* hero */
.hero { padding: 72px 0 60px; overflow: hidden; background: radial-gradient(900px 480px at 78% 30%, rgba(90, 169, 255, 0.20), transparent 70%), radial-gradient(700px 420px at 10% 0%, rgba(47, 216, 154, 0.10), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; padding: 0; list-style: none; }
.facts li { font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.phones { position: relative; height: 560px; }
.phones img { position: absolute; width: 270px; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.phones img:nth-child(1) { left: 0; top: 60px; transform: rotate(-7deg); }
.phones img:nth-child(2) { left: 50%; top: 0; margin-left: -135px; z-index: 2; }
.phones img:nth-child(3) { right: 0; top: 60px; transform: rotate(7deg); }

/* steps and feature cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.num { width: 38px; height: 38px; border-radius: 11px; background: rgba(47, 216, 154, 0.14); color: var(--accent); font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.ico { font-size: 28px; margin-bottom: 12px; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* games */
.games { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; }
.game { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.game img { width: 100%; aspect-ratio: 540 / 959; object-fit: cover; }
.game div { padding: 14px 14px 16px; }
.game h3 { font-size: 17px; }
.game p { color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 6px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent2); border: 1px solid rgba(90, 169, 255, 0.45); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.plan.main { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; margin-top: 12px; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .note { color: var(--accent2); font-weight: 600; font-size: 15px; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.plan li { padding-left: 26px; position: relative; margin-top: 9px; color: var(--muted); font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* fair streaming */
.fair { border: 1px solid rgba(255, 178, 62, 0.45); background: rgba(255, 178, 62, 0.07); border-radius: var(--radius); padding: 26px 28px; margin-top: 32px; }
.fair p { margin-top: 10px; color: #f3dcb4; font-size: 16px; }
.fair p:first-of-type { margin-top: 14px; }

/* faq */
.faq { margin-top: 34px; max-width: 800px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; max-width: 70ch; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer .small { flex-basis: 100%; font-size: 13px; opacity: 0.8; }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 22px; margin-top: 38px; }
.legal p, .legal li { color: #c8cedc; margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 0; }
.legal .date { color: var(--muted); font-size: 14px; margin-top: 10px; }
.legal a { color: var(--accent2); }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 430px; max-width: 520px; margin: 10px auto 0; width: 100%; }
  .phones img { width: 205px; }
  .phones img:nth-child(2) { margin-left: -102px; }
  .games { grid-template-columns: repeat(3, 1fr); }
  .grid3, .plans { grid-template-columns: 1fr; }
  nav { display: none; }
  .top .wrap { justify-content: space-between; }
}
@media (max-width: 560px) {
  .top .wrap { gap: 12px; }
  .top .btn { display: none; }
  .langs .full { display: none; }
  .langs .short { display: inline; }
  .logo { font-size: 17px; }
  section { padding: 60px 0; }
  .games { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .phones { height: 330px; }
  .phones img { width: 150px; border-radius: 14px; }
  .phones img:nth-child(2) { margin-left: -75px; }
  .phones img:nth-child(1), .phones img:nth-child(3) { top: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media (max-width: 720px) { .langs .full { display: none; } .langs .short { display: inline; } }
