/* YGT Software — site stili */
:root {
  --bg: #0a0f1c;
  --bg-alt: #0e1526;
  --card: #131c31;
  --card-2: #18233d;
  --line: rgba(255, 255, 255, .09);
  --text: #eef2fb;
  --muted: #9aa7c2;
  --accent: #5b8cff;
  --radius: 18px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
svg { width: 20px; height: 20px; flex: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Üst şerit */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10, 15, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.brand b { font-weight: 800; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #5b8cff, #8f6bff); color: #fff; font-weight: 800; font-size: 17px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; }
.langs a { padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.langs a:hover { color: var(--text); }
.langs a.on { background: var(--text); color: var(--bg); }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; font-weight: 650; font-size: 15px; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #07101f; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .25); }
.btn-store { background: #fff; color: #0a0f1c; padding: 8px 16px 8px 14px; line-height: 1.15; font-size: 15.5px; }
.btn-store span { display: flex; flex-direction: column; }
.btn-store small { font-size: 10.5px; font-weight: 600; opacity: .65; text-transform: uppercase; letter-spacing: .04em; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.badge-dev { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent); }
.badge-dev::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 380px at 85% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%),
    radial-gradient(520px 320px at 5% 110%, rgba(143, 107, 255, .18), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-block: 88px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.kicker a:hover { text-decoration: underline; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; }
.lead { margin: 22px 0 30px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 60ch; }
.hero-icons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 340px; justify-self: end; transform: rotate(-6deg); }
.hero-icons img { width: 100%; border-radius: 26%; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.hero-icons img:nth-child(even) { transform: translateY(26px); }
.hero-game .hero-in { grid-template-columns: 1fr; padding-block: 64px; }
.game-title { display: flex; align-items: center; gap: 22px; }
.game-title img { border-radius: 26%; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.game-title .tag { margin-top: 8px; color: var(--accent); font-weight: 600; font-size: 17px; }
.dev-note { margin-top: 14px; max-width: 60ch; }

/* Bölümler */
.sec { padding-block: 84px; }
.sec-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sec h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.sub { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 62ch; }

/* Oyun kartları */
.games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
.game { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.game::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); }
.game::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: var(--accent); opacity: .12; filter: blur(50px); pointer-events: none; }
.game:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.game-head { display: flex; align-items: center; gap: 18px; }
.game-head img { width: 88px; height: 88px; border-radius: 24%; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.game h3 { font-size: 23px; font-weight: 800; }
.game .tag { margin-top: 6px; color: var(--accent); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.game .desc { color: var(--muted); }
.game-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14.5px; color: var(--muted); }
.more:hover { color: var(--text); }
.more svg { width: 16px; height: 16px; }

/* Videolar ve topluluk */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.social { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 44px; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.social h3 { font-size: 20px; margin-bottom: 4px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Bağış */
.donate { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 48px; align-items: center; }
.warn { margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .35); color: #fcd9a0; font-size: 14.5px; }
.warn b { color: #f59e0b; margin-right: 4px; }
.donate-card { padding: 24px; border-radius: var(--radius); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.donate-top { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.qr { width: 132px; height: 132px; border-radius: 12px; flex: none; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 8px; background: #26a17b; color: #fff; font-size: 12px; font-weight: 800; margin-bottom: 14px; }
.label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.value { font-weight: 800; font-size: 18px; }
.addr { display: flex; gap: 8px; }
.addr input { flex: 1; min-width: 0; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: var(--text); font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.addr button { padding: 0 18px; border: 0; border-radius: 10px; background: var(--accent); color: #07101f; font-weight: 700; font-size: 14px; cursor: pointer; }
.addr button.ok { background: #34c77b; }
.note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* İletişim */
.contact { text-align: center; }
.contact .sub { margin-inline: auto; }
.mail-btn { margin-top: 26px; font-size: 17px; padding: 14px 24px; }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.legal-links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.legal-links a:hover { color: var(--text); text-decoration-color: currentColor; }

/* Oyun sayfası */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.shots img { width: 100%; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.other { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.other:hover { border-color: var(--accent); transform: translateY(-2px); }
.other img { border-radius: 24%; }
.other span { display: flex; flex-direction: column; line-height: 1.3; }
.other small { color: var(--accent); font-weight: 600; font-size: 12.5px; }

/* Yasal sayfalar */
.legal { max-width: 800px; padding-block: 56px 80px; }
.legal-head { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }
.legal-head img { border-radius: 24%; }
.legal-head .kicker { margin-bottom: 8px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { color: #c9d2e6; }
.legal p + p { margin-top: 10px; }
.legal ul, .legal ol { margin: 10px 0; padding-inline-start: 22px; }
.legal li { margin: 6px 0; }
.legal li b { color: var(--text); }
.legal section a, .legal .intro a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .intro { font-size: 17.5px; color: var(--text); }
.applies { margin-bottom: 18px; padding: 12px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; }
.term-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; font-size: 13px; }
.term-langs a { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.term-langs a:hover { color: var(--text); }
.term-langs a.on { background: var(--accent); border-color: var(--accent); color: #07101f; font-weight: 700; }
.legal-foot { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.legal-foot .legal-links { margin-top: 0; }
.mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.mail:hover { color: var(--accent); }

/* Alt bilgi */
.foot { border-top: 1px solid var(--line); background: #070b15; font-size: 14.5px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-block: 52px 36px; }
.foot p { margin-top: 12px; max-width: 34ch; }
.foot h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot li a { color: #c9d2e6; }
.foot li a:hover { color: #fff; }
.foot-bottom { padding-block: 18px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; padding-block: 56px; }
  .hero-icons { display: none; }
  .games, .donate { grid-template-columns: 1fr; }
  .videos, .features, .others { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(4, 62%); overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .shots img { scroll-snap-align: start; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .donate { gap: 28px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .top-in { gap: 12px; }
  .sec { padding-block: 56px; }
  .videos, .features, .others { grid-template-columns: 1fr; }
  .game { padding: 20px; }
  .game-head img { width: 68px; height: 68px; }
  .game-title { gap: 16px; }
  .game-title img { width: 84px; height: 84px; }
  .donate-top { gap: 14px; }
  .qr { width: 108px; height: 108px; }
  .legal-head img { width: 56px; height: 56px; }
}
@media (max-width: 380px) {
  .brand span:last-child { font-size: 15px; }
  .langs a { padding: 4px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
