/* Home — sections moved from the approved mockup B «Tribün» (hero, panels, live,
 * steps, RG) + new sections in the same language (categories, FAQ preview). */

/* ── HERO ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--color-navy-2); isolation: isolate; }
.hero-bg { position: absolute; inset: -60px 0; z-index: -2; }
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 70%; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 38, 62, .55) 0%, rgba(16, 38, 62, .15) 55%, rgba(16, 38, 62, .35) 100%); }
.hero > .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 72px; min-height: 560px; }
.hero-plate { min-width: 0; max-width: 640px; background: color-mix(in srgb, #fff 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--r20); padding: 36px 36px 32px; box-shadow: var(--shadow-lg); }
.hero-plate .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-plate .lead { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--color-muted); margin-top: 14px; max-width: 48ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--color-line); }
.hero-stats div { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 18px; color: var(--color-muted); font-weight: 600; }

.hero-stack { position: relative; min-width: 0; height: 460px; }
.hcard { position: absolute; width: min(380px, 100%); background: #fff; border-radius: var(--r16); border: 1px solid var(--color-line); box-shadow: var(--shadow-lg); padding: 20px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hcard--loto { top: 0; right: 0; transform: rotate(1.6deg); padding-bottom: 56px; animation: cardIn .7s var(--ease) .15s both; }
.hcard--match { bottom: 0; left: 0; transform: rotate(-1.8deg); z-index: 2; animation: cardIn .7s var(--ease) .4s both; }
.hcard--loto:hover { transform: rotate(-.6deg) translateY(-6px); }
.hcard--match:hover { transform: rotate(.6deg) translateY(-6px); }
@keyframes cardIn { from { opacity: 0; translate: 40px 24px; } to { opacity: 1; translate: 0 0; } }
.hcard-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.hcard-title { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--color-navy); }
.hcard-title span { display: block; font-weight: 500; color: var(--color-muted); font-size: 13px; }
.numgrid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; }
.numgrid span { display: grid; place-items: center; height: 26px; border-radius: 7px 7px 4px 4px; background: var(--color-canvas); border: 1px solid var(--color-line); font-size: 12px; font-weight: 700; color: var(--color-muted); transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.numgrid span.on { background: var(--color-brand); border-color: var(--color-brand); color: #fff; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); }
.numgrid span.flash { transform: translateY(-2px); }
.plus-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--color-line); font-size: 13px; color: var(--color-muted); font-weight: 600; }
.plus-row-end { margin-left: auto; }
.match-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--color-muted); font-weight: 600; min-width: 0; }
.match-teams { font-size: 17px; line-height: 24px; font-weight: 700; color: var(--color-navy); margin: 8px 0 14px; }
.match-teams a { color: inherit; text-decoration: none; }
.match-teams a:hover { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── PANELS ───────────────────────────────────────────────────────────── */
.panels { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; align-items: stretch; }
.panels .panel { display: flex; flex-direction: column; }
.panels .panel-body { flex: 1; display: flex; flex-direction: column; }
.panels .panel-foot { margin-top: auto; }
.panels .tabpanel { flex: none; margin-bottom: 16px; }

/* ── LIVE (static example) ────────────────────────────────────────────── */
.live { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding: var(--sec) 0; background-color: var(--color-navy); }
.live-bg { position: absolute; inset: -60px 0; z-index: -2; }
.live-bg picture, .live-bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.live::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 38, 62, .94) 0%, rgba(16, 38, 62, .86) 55%, rgba(16, 38, 62, .7) 100%); }
.live h2 { color: #fff; }
.live .lead { color: var(--on-navy); margin-top: 12px; }
.live .eyebrow small { color: var(--on-navy-muted); }
.live .rows-rule { background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .22) 0 1px, transparent 1px 6px); }
.live-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.live-points { margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; }
.live-points li { display: flex; gap: 12px; align-items: center; font-size: 15px; line-height: 22px; }
.live-points .icon { color: color-mix(in srgb, var(--color-brand) 40%, white); }
.screen { min-width: 0; background: color-mix(in srgb, var(--color-navy) 70%, transparent); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r16); padding: 8px 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.screen-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 700; color: var(--on-navy); }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto 216px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.lrow .t b { display: block; font-size: 15px; line-height: 22px; }
.lrow .t a { color: #fff; text-decoration: none; }
.lrow .t a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.lrow .t small { display: block; font-size: 13px; line-height: 18px; color: var(--on-navy-muted); }
.score { display: flex; gap: 6px; align-items: center; }
.score .seat { min-width: 36px; height: 36px; font-size: 18px; border-radius: 11px 11px 6px 6px; background: #fff; color: var(--color-navy); box-shadow: inset 0 -3px 0 var(--color-line); }
.score .seat::after { background: var(--color-line); top: 4px; }
.score i { font-style: normal; color: var(--on-navy-muted); font-weight: 700; }
.lrow .odds { gap: 6px; }
.lrow .odd { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; justify-content: center; padding: 0 4px; font-size: 15px; }
.lrow .odd:hover { border-color: #fff; }
.lrow .odd::before { content: attr(data-l); font-size: 11px; font-weight: 700; opacity: .7; margin-right: 8px; }
.lrow .odd[aria-pressed="true"] { background: var(--color-brand); border-color: color-mix(in srgb, var(--color-brand) 60%, white); }
.live .note { color: var(--on-navy-muted); margin: 4px 0 12px; }

/* ── CATEGORIES (new) ─────────────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cat { position: relative; display: flex; flex-direction: column; }
.cat .card-photo { margin-bottom: 0; aspect-ratio: 4 / 3; }
.cat-seat { margin-top: -22px; margin-bottom: 14px; box-shadow: 0 0 0 4px #fff, inset 0 -4px 0 rgba(0, 0, 0, .18); }
.cat h3 a { color: inherit; text-decoration: none; }
.cat h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r16); }   /* whole card clickable, one link */
.cat p { color: var(--color-muted); margin-top: 8px; flex: 1; }
.cat-link { margin-top: 12px; }
.cat:hover h3 a { color: var(--brand-ink); }

/* ── STEPS (mockup) ───────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; }
.step { min-width: 0; background: #fff; border: 1px solid var(--color-line); border-radius: var(--r16); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.step figure { margin: 0; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.step figure picture, .step figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.step:hover figure img { transform: scale(1.04); }
.step-body { position: relative; padding: 44px 24px 24px; }
.step-body .seat { position: absolute; left: 20px; top: -36px; z-index: 1; box-shadow: 0 0 0 4px #fff, inset 0 -4px 0 rgba(0, 0, 0, .18); }
.step-body p { color: var(--color-muted); margin-top: 8px; }

/* ── RG (mockup) ──────────────────────────────────────────────────────── */
.rg-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: stretch; }
.rg-photo { position: relative; min-width: 0; border-radius: var(--r20); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; }
.rg-photo picture, .rg-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rg-photo .seat { position: absolute; top: 20px; left: 20px; }
#sorumlu .lead { margin-top: 12px; }
.rg-tips { margin: 28px 0 0; padding: 0; display: grid; }
.rg-tips li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--color-line); }
.rg-tips li:last-child { border-bottom: 1px solid var(--color-line); }
.rg-tips p { color: var(--color-muted); margin-top: 4px; }
.rg-help { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 16px; border-radius: 12px; background: var(--color-brand-tint); color: var(--color-navy); font-size: 15px; line-height: 22px; }
.rg-help .icon { color: var(--brand-ink); }

/* ── FAQ preview (new) ────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.faq-all { margin-top: 24px; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero > .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-stack { height: auto; display: grid; max-width: 520px; }
  .hcard { position: relative; inset: auto; width: 100%; }
  .hcard--loto { padding-bottom: 44px; }
  .hcard--match { margin: -28px 0 0 24px; width: calc(100% - 24px); }
  .panels, .live-grid, .rg-grid, .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap { gap: 24px; }
  .rg-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) and (min-width: 761px) { .step-body { padding: 44px 18px 20px; } }
@media (max-width: 760px) {
  .hero > .wrap { padding-top: 24px; padding-bottom: 40px; min-height: 0; }
  .hero-plate { padding: 24px 20px; border-radius: var(--r16); }
  .hero-plate .lead { font-size: 16px; line-height: 26px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hcard { padding: 16px; }
  .hcard--match { margin: -20px 0 0 12px; width: calc(100% - 12px); }
  .hero-stack .hcard--loto { transform: rotate(.8deg); }
  .hero-stack .hcard--match { transform: rotate(-1deg); }
  .numgrid { gap: 4px; }
  .numgrid span { height: 24px; font-size: 11px; }
  .lrow { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .lrow .odds { grid-column: 1 / -1; }
  .screen { padding: 4px 14px; }
  .steps, .cats { grid-template-columns: 1fr; }
  .rg-photo { aspect-ratio: 4 / 3; }
}
