/* RivaWeb ana sayfa — siyah zemin, ince çerçeveli koyu kartlar, beyaz ana düğme, pembe marka vurgusu.
   Sadece body.ana altında geçerli; diğer sayfalar style.css ile aynı kalır. */
body.ana {
  --bg: #000; --bg-2: #050506; --card: #0c0c0e; --card-2: #141417;
  --line: #1c1c21; --line-2: #26262c;
  --fg: #fafafa; --muted: #a1a1aa; --dim: #71717a;
  --pink: #ff4d9d; --green: #22c55e; --violet: #8b5cff;
  background: #000;
}
.ana h1, .ana h2, .ana h3 { letter-spacing: -.025em; }
.ana :focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.h-acc { color: var(--pink); }

/* düğmeler */
.ana .btn { border-radius: 999px; transition: background .15s, transform .15s; }
.ana .btn:hover { transform: none; }
.h-btn-w { background: #fff; color: #09090b !important; font-weight: 700; padding: 11px 22px; }
.h-btn-w:hover { background: #e4e4e7; }
.h-btn-g { background: #1f1f23; color: #fafafa !important; font-weight: 600; padding: 11px 22px; border: 1px solid #2a2a30; }
.h-btn-g:hover { background: #2a2a30; }
.h-btn-w.sm { padding: 8px 16px; font-size: 14px; }
.ana .nav-cta .btn-primary { background: #fff; color: #09090b; box-shadow: none; }

/* giriş */
.h-hero { position: relative; padding: 70px 0 30px; text-align: center; overflow: hidden; }
.h-glow { position: absolute; left: 50%; top: 250px; width: 1100px; height: 420px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 77, 157, .35), rgba(139, 92, 255, .18) 45%, transparent 72%); filter: blur(30px); }
.h-hero .wrap { position: relative; }
.h-hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.08; font-weight: 800; }
.h-lead { max-width: 640px; margin: 20px auto 0; font-size: 19px; color: var(--muted); }
.h-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.h-shot { position: relative; max-width: 1080px; margin: 64px auto 0; }
.h-shot img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 -20px 80px -30px rgba(255, 77, 157, .35), 0 40px 80px -30px #000;
  mask-image: linear-gradient(180deg, #000 72%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); }
.h-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: #18181b; border: 1px solid #2a2a30; color: #fafafa; box-shadow: 0 14px 30px -12px #000; }
.h-badge.pink { background: var(--pink); border-color: var(--pink); color: #fff; }
.h-badge.green { background: #16a34a; border-color: #16a34a; color: #fff; }
.h-badge.b1 { left: -40px; top: -18px; }
.h-badge.b2 { right: -36px; top: 32%; }
.h-badge.b3 { left: -54px; top: 54%; }
.h-badge.b4 { right: 6%; bottom: 22%; }

/* entegrasyon satırı */
.h-trust { padding: 10px 0 30px; text-align: center; }
.h-trust p { color: var(--muted); font-size: 17px; }
.h-trust b { color: var(--fg); }
.h-trust ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 44px; margin-top: 26px; }
.h-trust li { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #71717a; }
.h-trust li i { font-size: 22px; }

/* bölümler */
.h-sec { padding: 110px 0 0; }
.h-last { padding-bottom: 110px; }
.h-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.h-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 800; }
.h-head p { margin-top: 12px; color: var(--muted); font-size: 17.5px; }
.h-center { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 36px; }

/* özellik kartları */
.h-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.h-card { grid-column: span 2; position: relative; overflow: hidden; padding: 24px 24px 0; border-radius: 16px; background: var(--card); border: 1px solid var(--line); min-height: 330px; display: flex; flex-direction: column; }
.h-card.wide { grid-column: span 3; min-height: 420px; }
.h-card h3 { font-size: 19px; font-weight: 700; }
.h-card > p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.h-notes { position: relative; margin-top: auto; padding: 30px 0 30px; }
.h-note { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; background: var(--card-2); border: 1px solid var(--line-2); font-size: 15px; position: relative; z-index: 3; }
.h-note .ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 77, 157, .15); color: var(--pink); }
.h-note small { margin-left: auto; color: var(--dim); font-size: 13px; }
.h-note.n2 { margin: -6px 14px 0; z-index: 2; opacity: .6; transform: scale(.97); }
.h-note.n3 { margin: -6px 28px 0; z-index: 1; opacity: .3; transform: scale(.94); }
.h-rows { margin-top: auto; padding: 26px 0; display: grid; gap: 10px; }
.h-rows > div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.h-rows .ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 15px; }
.h-rows .ic.o { background: rgba(249, 115, 22, .15); color: #fb923c; }
.h-rows .ic.p { background: rgba(255, 77, 157, .15); color: var(--pink); }
.h-rows .ic.b { background: rgba(59, 130, 246, .15); color: #60a5fa; }
.h-rows span:last-child { display: grid; gap: 7px; flex: 1; font-size: 14px; }
.h-rows span:last-child i { display: block; height: 7px; width: 70%; border-radius: 4px; background: #232328; }
.h-chat { margin-top: auto; padding: 26px 0; display: grid; gap: 12px; }
.h-chat > div { display: flex; gap: 10px; align-items: flex-start; }
.h-chat img { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.h-chat span { padding: 10px 13px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); font-size: 14px; color: #d4d4d8; }
.h-chat b { display: block; font-size: 12.5px; color: var(--fg); margin-bottom: 2px; }
.h-chat .you { justify-content: flex-end; }
.h-chat .you span { background: #1d1420; border-color: #3a1f30; }
.h-chart { position: relative; margin: 26px 0 0; padding: 24px 24px 18px; border-radius: 14px 14px 0 0; background: #070708; border: 1px solid var(--line); border-bottom: 0; flex: 1; display: flex; flex-direction: column; }
.h-chart > b { font-size: 42px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.h-chart > b span { color: #52525b; }
.h-chart em { align-self: flex-start; margin-top: 12px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #4ade80; background: rgba(34, 197, 94, .12); padding: 4px 10px; border-radius: 999px; }
.h-chart svg { width: 100%; height: 150px; margin-top: auto; }
.h-months { display: flex; justify-content: space-between; font-size: 11.5px; color: #52525b; font-weight: 600; margin-top: 6px; }
.h-news { margin: 26px 0 0; border-radius: 14px 14px 0 0; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; background: #070708; flex: 1; }
.h-news img { width: 100%; height: 210px; object-fit: cover; }
.h-news div { padding: 18px 20px; display: grid; gap: 9px; }
.h-news b { font-size: 16px; }
.h-news i { display: block; height: 9px; border-radius: 5px; background: #232328; }
.h-news i.s { width: 55%; }

/* ikili bölümler */
.h-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.h-split + .h-split { margin-top: 110px; }
.h-split.rev > div:first-child { order: 2; }
.h-tag { font-size: 14px; font-weight: 600; color: #60a5fa; }
.h-tag.green { color: #4ade80; }
.h-tag.violet { color: #a78bfa; }
.h-split h2 { margin-top: 6px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.15; }
.h-split p { margin: 14px 0 24px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.h-media { border-radius: 18px; background: var(--card); border: 1px solid var(--line); min-height: 380px; position: relative; overflow: hidden; }
.h-hosts { display: grid; grid-template-columns: repeat(3, 92px); gap: 22px 30px; justify-content: center; align-content: center; padding: 36px; }
.h-hosts span { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 22px; font-size: 40px; color: #fff; }
.h-hosts span:nth-child(1) { background: #ff6c2c; } .h-hosts span:nth-child(2) { background: #e95420; } .h-hosts span:nth-child(3) { background: #1d63ed; }
.h-hosts span:nth-child(4) { background: #0078d4; } .h-hosts span:nth-child(5) { background: #f38020; } .h-hosts span:nth-child(6) { background: #27272a; }
.h-hosts span:nth-child(7) { background: #3c873a; } .h-hosts span:nth-child(8) { background: #232f3e; } .h-hosts span:nth-child(9) { background: #0080ff; }
.h-hosts span:nth-child(3n+2) { transform: translateY(18px); }
.h-fan img { position: absolute; width: 74%; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 20px 50px -20px #000; }
.h-fan img:nth-child(1) { left: 4%; top: 12%; transform: rotate(-5deg); opacity: .75; }
.h-fan img:nth-child(2) { right: 4%; top: 18%; transform: rotate(5deg); opacity: .85; }
.h-fan img:nth-child(3) { left: 13%; top: 30%; }
.h-ai { display: grid; place-items: center; padding: 30px; }
.h-ai::before { content: ""; position: absolute; width: 70%; height: 70%; background: radial-gradient(closest-side, rgba(255, 77, 157, .55), rgba(249, 115, 22, .3) 55%, transparent); filter: blur(40px); }
.h-ai-card { position: relative; width: min(420px, 100%); display: grid; gap: 12px; }
.h-ai-top { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: rgba(12, 12, 14, .9); border: 1px solid var(--line-2); }
.h-ai-top .ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 77, 157, .15); color: var(--pink); }
.h-ai-top b { display: block; font-size: 14px; }
.h-ai-top small { color: var(--muted); font-size: 13px; }
.h-ai-in { position: relative; padding: 14px 16px 44px; border-radius: 14px; background: rgba(12, 12, 14, .92); border: 1px solid var(--line-2); font-size: 13.5px; }
.h-ai-in span { font-weight: 700; font-size: 13px; }
.h-ai-in span i { color: var(--pink); }
.h-ai-in p { margin-top: 10px; color: var(--dim); }
.h-ai-in > i { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #27272a; color: #a1a1aa; font-size: 12px; }

/* modüller */
.h-mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.h-mods > div { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .15s; }
.h-mods > div:hover { border-color: var(--line-2); }
.h-mods h3 { font-size: 17px; font-weight: 700; }
.h-mods i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 77, 157, .1); color: var(--pink); font-size: 16px; }
.h-mods p { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; }

/* oyunlar */
.h-games { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.h-games .g { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 20px; border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in oklab, var(--c, #333) 32%, #0c0c0e), #0c0c0e 70%); }
.h-games .g i { position: absolute; top: 18px; right: 20px; font-size: 26px; color: color-mix(in oklab, var(--c, #fff) 70%, #fff); }
.h-games .g b { font-size: 20px; font-weight: 800; }
.h-games .g small { color: var(--muted); font-size: 13px; }
.h-games .g.soon { opacity: .55; }
.h-games .g.big { grid-column: span 2; min-height: 260px; background: none; }
.h-games .g.big::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transition: transform .4s; }
.h-games .g.big::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .1) 60%); }
.h-games .g.big:hover::before { transform: scale(1.04); }
.h-games .g.big b { font-size: 28px; }

/* tema şeritleri */
.h-themes .h-head { margin-bottom: 40px; }
.h-marquee { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.h-track { display: flex; gap: 16px; width: max-content; animation: h-kay 60s linear infinite; }
.h-marquee.rev .h-track { animation-direction: reverse; }
.h-marquee:hover .h-track { animation-play-state: paused; }
.h-track a { flex: none; }
.h-track img { width: 380px; height: 238px; object-fit: cover; object-position: top; border-radius: 12px; border: 1px solid var(--line-2); }
@keyframes h-kay { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .h-track { animation: none; } .h-marquee { overflow-x: auto; } }

/* ödeme */
.h-pays { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.h-pays li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.h-pays i { font-size: 24px; color: var(--muted); }

/* SSS */
.h-faq-wrap { max-width: 780px; }
.h-faq-wrap .h-head { margin-bottom: 28px; }
.h-faq > div { padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.h-faq b { font-size: 17px; }
.h-faq p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.h-faq-more { margin-top: 24px; color: var(--muted); font-size: 14.5px; }
.h-faq-more a { color: var(--fg); font-weight: 700; }

/* son çağrı */
.h-cta { position: relative; overflow: hidden; text-align: center; padding: 64px 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.h-cta::before { content: ""; position: absolute; left: 50%; top: 100%; width: 700px; height: 300px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255, 77, 157, .35), transparent); }
.h-cta h2 { position: relative; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
.h-cta p { position: relative; margin: 12px auto 0; max-width: 520px; color: var(--muted); }
.h-cta .h-actions { position: relative; }

@media (max-width: 1100px) {
  .h-badge.b1, .h-badge.b3 { left: 8px; }
  .h-badge.b2 { right: 8px; }
}
@media (max-width: 900px) {
  .h-sec { padding-top: 80px; }
  .h-bento { grid-template-columns: minmax(0, 1fr); }
  .h-card, .h-card.wide { grid-column: auto; min-height: 0; }
  .h-split, .h-split.rev { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .h-split.rev > div:first-child { order: 0; }
  .h-split + .h-split { margin-top: 80px; }
  .h-media { min-height: 300px; }
  .h-mods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .h-games { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .h-pays { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .h-hero { padding-top: 44px; }
  .h-lead { font-size: 16.5px; }
  .h-actions .btn { flex: 1 1 100%; justify-content: center; }
  .h-shot { margin-top: 44px; }
  .h-badge { font-size: 12px; padding: 6px 11px; }
  .h-badge.b2, .h-badge.b4 { display: none; }
  .h-badge.b1 { left: 6px; top: -14px; }
  .h-badge.b3 { left: auto; right: 6px; top: -14px; }
  .h-trust ul { gap: 12px 24px; }
  .h-trust li { font-size: 15px; }
  .h-mods { grid-template-columns: minmax(0, 1fr); }
  .h-games .g.big { min-height: 200px; }
  .h-hosts { grid-template-columns: repeat(3, 64px); gap: 16px 18px; }
  .h-hosts span { width: 64px; height: 64px; font-size: 28px; border-radius: 16px; }
  .h-track img { width: 260px; height: 163px; }
  .h-pays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* SEO içerik bölümü + üst etiket */
.h-kicker { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--line, rgba(255,255,255,.1)); background: rgba(255,255,255,.03); }
.h-seo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.h-seo-grid article { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line, rgba(255,255,255,.08)); background: rgba(255,255,255,.025); }
.h-seo-grid h3 { margin: 0 0 8px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.h-seo-grid h3 i { color: var(--pink); width: 20px; text-align: center; }
.h-seo-grid p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.h-seo-alt { margin: 22px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.h-seo-alt a { color: var(--pink); }
@media (max-width: 760px) { .h-seo-grid { grid-template-columns: 1fr; } }

/* Sayılar şeridi */
.h-stats { padding: 20px 0 0; }
.h-stats-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.h-stats-in > div { padding: 22px 18px; border-radius: 18px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); backdrop-filter: blur(6px); text-align: center; }
.h-stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-stats span { color: var(--muted); font-size: 14px; }
/* Vitrin */
.h-link { color: var(--pink); }
.h-vitrin { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; }
.h-vt-sekme { display: grid; gap: 8px; }
.h-vt-sekme button { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); color: var(--fg); font: inherit; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.h-vt-sekme button:hover { border-color: var(--line-2); transform: translateX(3px); }
.h-vt-sekme button i { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--muted); font-size: 16px; align-self: center; transition: .2s; }
.h-vt-sekme button b { font-size: 15.5px; }
.h-vt-sekme button small { color: var(--muted); font-size: 13px; line-height: 1.45; }
.h-vt-sekme button[aria-selected="true"] { border-color: color-mix(in srgb, var(--pink) 55%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--pink) 14%, var(--card)), color-mix(in srgb, var(--violet) 10%, var(--card))); }
.h-vt-sekme button[aria-selected="true"] i { background: var(--grad); color: #fff; }
.h-vt-ekran { position: relative; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 60px -30px var(--pink); aspect-ratio: 1200 / 790; }
.h-vt-bar { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--card-2); }
.h-vt-bar i { width: 11px; height: 11px; border-radius: 50%; }
.h-vt-bar i:nth-child(1) { background: #ff5f57; } .h-vt-bar i:nth-child(2) { background: #febc2e; } .h-vt-bar i:nth-child(3) { background: #28c840; }
.h-vt-bar span { margin-left: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); background: rgba(255,255,255,.04); padding: 4px 12px; border-radius: 8px; }
.h-vt-ekran img { position: absolute; left: 0; right: 0; top: 40px; width: 100%; height: calc(100% - 40px); object-fit: cover; object-position: top; opacity: 0; transform: scale(1.015); transition: opacity .5s, transform .6s; }
.h-vt-ekran img.on { opacity: 1; transform: none; }
@media (max-width: 960px) {
  .h-stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .h-stats-in > div:last-child { grid-column: span 2; }
  .h-vitrin { grid-template-columns: 1fr; }
  .h-vt-sekme { grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); overflow-x: auto; padding-bottom: 4px; }
}
html.rw-light .h-stats-in > div, html.rw-light .h-vt-sekme button { background: #fff; }
