/* ============================================================
   NOVASTREAMERS — ANA SAYFA (index) ÖZEL TASARIM
   Sadece index.html yükler; diğer sayfalar etkilenmez.
   ============================================================ */

.home {
  --font-display: "Sora", Inter, sans-serif;
}

.home main {
  overflow-x: clip;
}

/* ---------- Chip ---------- */
.nova-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 9px 16px;
  border: 1px solid rgba(248, 185, 74, .32);
  border-radius: 999px;
  background: rgba(248, 185, 74, .07);
  color: #ffd67b;
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.nova-chip i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(50, 229, 143, .9);
  animation: chipBlink 1.8s ease-in-out infinite;
}

@keyframes chipBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.nova-chip b {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .1);
  color: var(--ink);
  font-size: 11px;
}

/* ---------- HERO ---------- */
.nova-hero {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 480px);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: 88vh;
}

.nova-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(46px, 6.2vw, 92px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.02em;
}

.nova-title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  background: linear-gradient(100deg, #ffd67b, #f8b94a 40%, #32d5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nova-title em::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: .04em;
  height: .12em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(248, 185, 74, .85), rgba(50, 213, 255, .85));
  transform-origin: 0 50%;
  animation: underlineGrow 1.1s cubic-bezier(.2, .7, .3, 1) .5s backwards;
}

@keyframes underlineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Kelime kelime giriş animasyonu (home.js sarar) */
.nova-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(.55em) rotate(2deg);
  filter: blur(6px);
  animation: wordIn .7s cubic-bezier(.2, .7, .3, 1) forwards;
}

/* Alt sayfalarda başlık içeriktir; animasyon aksasa bile asla görünmez kalmasın. */
.subpage .nova-title .w {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}

.nova-lead {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--soft);
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.65;
}

/* ---------- Butonlar ---------- */
.nova-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nova-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 900;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.nova-btn.big {
  min-height: 62px;
  padding: 0 34px;
  font-size: 16.5px;
}

.nova-btn.primary {
  color: #090a0e;
  background: linear-gradient(120deg, #ffe08a, #f8b94a 45%, #32d5ff 130%);
  box-shadow: 0 20px 60px rgba(248, 185, 74, .35);
}

.nova-btn.primary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(9, 10, 14, .18);
  transition: transform .3s ease;
}

.nova-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 80px rgba(248, 185, 74, .5);
}

.nova-btn.primary:hover span {
  transform: translate(2px, -2px);
}

.nova-btn.ghost {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
}

.nova-btn.ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(50, 213, 255, .55);
  background: rgba(50, 213, 255, .08);
}

/* ---------- Hero istatistikleri ---------- */
.nova-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.nova-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 800;
  background: linear-gradient(120deg, #fff, #ffd67b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.nova-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- Hero sahnesi: telefon + kartlar ---------- */
.nova-hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}

.stage-glow {
  position: absolute;
  inset: 6% -8%;
  background:
    radial-gradient(circle at 50% 42%, rgba(248, 185, 74, .2), transparent 55%),
    radial-gradient(circle at 62% 68%, rgba(50, 213, 255, .16), transparent 50%);
  filter: blur(6px);
  animation: glowBreath 6s ease-in-out infinite;
}

@keyframes glowBreath {
  0%, 100% { opacity: .8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, #1c2130, #0b0d14 60%);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    0 50px 140px rgba(0, 0, 0, .65),
    0 0 0 1px rgba(0, 0, 0, .6),
    inset 0 1px 0 rgba(255, 255, 255, .12);
  animation: phoneFloat 7s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-14px) rotate(.6deg); }
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  border-radius: 999px;
  background: #05060a;
  z-index: 5;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #0a0c12;
  display: flex;
  flex-direction: column;
}

.phone-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .5;
  animation: phoneBgPan 26s ease-in-out infinite alternate;
}

@keyframes phoneBgPan {
  from { transform: scale(1.06) translateX(0); }
  to { transform: scale(1.14) translateX(-3%); }
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, .78) 0%, rgba(5, 6, 10, .1) 30%, rgba(5, 6, 10, .15) 55%, rgba(5, 6, 10, .88) 100%);
  z-index: 1;
}

.phone-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 52px 14px 10px;
}

.phone-top img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid rgba(248, 185, 74, .8);
  background: #0a0c12;
  padding: 3px;
}

.phone-top b {
  display: block;
  font-size: 13px;
}

.phone-top span {
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: 11px;
}

.phone-top em {
  font-style: normal;
  padding: 5px 9px;
  border-radius: 7px;
  background: #fe2c55;
  color: #fff;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .04em;
  animation: chipBlink 1.6s ease-in-out infinite;
}

/* Olay akışı */
.phone-feed {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  padding: 10px 12px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 22%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%);
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 10, 16, .72);
  backdrop-filter: blur(8px);
  font-size: 12px;
  line-height: 1.35;
  animation: feedIn .45s cubic-bezier(.2, .8, .3, 1.15);
}

@keyframes feedIn {
  from { opacity: 0; transform: translateY(16px) scale(.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.feed-item .fi-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  font-size: 15px;
  background: rgba(255, 255, 255, .1);
}

.feed-item.gift .fi-emoji { background: rgba(248, 185, 74, .2); }
.feed-item.like .fi-emoji { background: rgba(254, 44, 85, .22); }
.feed-item.follow .fi-emoji { background: rgba(50, 213, 255, .2); }
.feed-item.action .fi-emoji { background: rgba(50, 229, 143, .2); }

.feed-item b { color: #ffd67b; font-weight: 800; }
.feed-item span { color: rgba(255, 255, 255, .85); }
.feed-item.action { border-color: rgba(50, 229, 143, .38); }
.feed-item.action span { color: #a9f5cf; font-weight: 700; }

/* Uçan kalpler */
.phone-hearts {
  position: absolute;
  right: 8px;
  bottom: 70px;
  width: 60px;
  height: 65%;
  z-index: 3;
  pointer-events: none;
}

.heart {
  position: absolute;
  bottom: 0;
  font-size: 18px;
  animation: heartRise 3.4s ease-in forwards;
}

@keyframes heartRise {
  0% { opacity: 0; transform: translate(0, 0) scale(.5); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--hx, -18px), -420px) scale(1.25) rotate(var(--hr, -14deg)); }
}

.phone-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px 16px;
}

.phone-input {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

.phone-gift,
.phone-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 16px;
}

.phone-like { animation: likeBeat 1.4s ease-in-out infinite; }

@keyframes likeBeat {
  0%, 100% { transform: scale(1); }
  22% { transform: scale(1.22); }
  36% { transform: scale(1); }
}

/* Yüzen bilgi kartları */
.stage-card {
  position: absolute;
  z-index: 4;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(9, 11, 17, .85);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .5);
  min-width: 190px;
}

.stage-card small {
  display: block;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
}

.stage-card b {
  display: block;
  margin: 6px 0 4px;
  font-size: 15px;
}

.stage-card span { color: var(--muted); font-size: 11.5px; }

.stage-card-a {
  top: 16%;
  left: -8%;
  animation: cardFloatA 8s ease-in-out infinite;
  border-color: rgba(50, 229, 143, .35);
}

.stage-card-b {
  bottom: 12%;
  right: -6%;
  animation: cardFloatB 9s ease-in-out infinite;
  border-color: rgba(248, 185, 74, .35);
}

@keyframes cardFloatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes cardFloatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

.stage-card-b b i {
  font-style: normal;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.goal-bar {
  display: block;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}

.goal-bar i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transition: width 1.2s cubic-bezier(.2, .7, .3, 1);
}

/* ---------- MARQUEE ---------- */
.nova-marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
  transform: rotate(-.6deg) scale(1.01);
  margin: 30px 0 10px;
}

.nova-marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.nova-marquee span {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 800;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
}

.nova-marquee i {
  color: var(--gold);
  font-style: normal;
  font-size: 14px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.nova-marquee:hover .nova-marquee-track {
  animation-play-state: paused;
}

/* ---------- Bölüm başlıkları ---------- */
.nova-section {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0 20px;
}

.nova-head {
  max-width: 820px;
  margin-bottom: 40px;
}

.nova-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.018em;
}

/* ---------- BENTO ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 16px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(150deg, rgba(18, 22, 32, .92), rgba(10, 12, 18, .88));
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.bento-card.span-2 { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
  transition: opacity .5s ease, transform .8s cubic-bezier(.2, .7, .3, 1);
}

.bento-card:hover img {
  opacity: .55;
  transform: scale(1.06);
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 12, .1) 20%, rgba(7, 8, 12, .92));
  z-index: 1;
}

.bento-card:hover {
  border-color: rgba(248, 185, 74, .45);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 40px rgba(248, 185, 74, .08);
}

.bento-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 24px;
}

.bento-body small {
  color: #ffd67b;
  font-size: 11.5px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.bento-body h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 700;
  line-height: 1.12;
}

.bento-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 520px;
}

.bento-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--cyan);
  font-size: 13.5px;
  font-weight: 900;
  transition: transform .25s ease, color .25s ease;
}

.bento-card:hover .bento-link,
.game-hero-card:hover .bento-link {
  transform: translateX(4px);
  color: #7fe4ff;
}

/* ---------- FLOW ---------- */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}

.flow-step {
  position: relative;
  padding: 28px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(150deg, rgba(16, 20, 30, .92), rgba(9, 11, 17, .88));
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.flow-step:hover {
  border-color: rgba(50, 213, 255, .4);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 13px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #090a0e;
  background: linear-gradient(130deg, #ffe08a, #f8b94a 60%, #32d5ff 140%);
  box-shadow: 0 12px 34px rgba(248, 185, 74, .3);
}

.flow-step b {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.flow-arrow {
  align-self: center;
  color: var(--gold);
  font-size: 26px;
  font-weight: 900;
  animation: arrowNudge 1.6s ease-in-out infinite;
}

@keyframes arrowNudge {
  0%, 100% { transform: translateX(0); opacity: .7; }
  50% { transform: translateX(6px); opacity: 1; }
}

/* ---------- OYUN KARTLARI ---------- */
.game-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.game-hero-card {
  position: relative;
  display: block;
  min-height: 400px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.game-hero-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .7, .3, 1), filter .5s ease;
  filter: saturate(.92) brightness(.85);
}

.game-hero-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(1);
}

.game-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 8, 12, .06) 30%, rgba(7, 8, 12, .95) 82%);
}

.game-hero-card:hover {
  border-color: rgba(248, 185, 74, .5);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .6);
}

.game-hero-card > div {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 26px;
}

.game-hero-card small {
  color: #ffd67b;
  font-size: 11.5px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.game-hero-card h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
}

.game-hero-card p {
  margin: 0;
  color: var(--soft);
  font-size: 14.5px;
  line-height: 1.55;
  opacity: .85;
}

/* ---------- CTA ---------- */
.nova-cta {
  position: relative;
  width: min(1280px, calc(100% - 36px));
  margin: 60px auto 70px;
  padding: clamp(50px, 8vw, 100px) clamp(24px, 6vw, 90px);
  border-radius: 28px;
  border: 1px solid rgba(248, 185, 74, .28);
  background: linear-gradient(160deg, rgba(20, 16, 8, .9), rgba(9, 11, 17, .94));
  overflow: hidden;
  text-align: center;
}

.nova-cta-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(248, 185, 74, .18), transparent 40%),
    radial-gradient(circle at 72% 70%, rgba(50, 213, 255, .14), transparent 42%);
  animation: glowBreath 7s ease-in-out infinite;
}

.nova-cta h2 {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -.02em;
}

.nova-cta p {
  position: relative;
  max-width: 560px;
  margin: 0 auto 34px;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.6;
}

.nova-cta .nova-actions {
  position: relative;
  justify-content: center;
}

/* ---------- Reveal (index'e özel) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .75s cubic-bezier(.2, .65, .3, 1), transform .75s cubic-bezier(.2, .65, .3, 1), filter .75s ease;
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* data-tilt (home.js yönetir) */
[data-tilt] {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
}

[data-reveal][data-tilt].in {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
}

/* Eski katmandaki gradyan h1/h2 animasyonunu index'te sadeleştir */
.home .nova-title,
.home .nova-head h2,
.home .nova-cta h2 {
  background: linear-gradient(120deg, #ffffff, #e8ecf5 55%, #cfd8e6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

.home .nova-title em {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(100deg, #ffd67b, #f8b94a 40%, #32d5ff);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nova-hero {
    grid-template-columns: 1fr;
    padding-top: 116px;
    min-height: auto;
    gap: 60px;
  }
  .nova-hero-stage { min-height: 520px; }
  .stage-card-a { left: 0; }
  .stage-card-b { right: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.span-2 { grid-column: span 2; }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
    animation: none;
  }
  .game-trio { grid-template-columns: 1fr; }
  .game-hero-card { min-height: 300px; }
}

@media (max-width: 680px) {
  .nova-hero { padding-top: 100px; }
  .nova-title .w {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.06;
  }
  .nova-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, auto);
  }
  .bento-card.span-2 { grid-column: auto; }
  .bento-card.tall { grid-row: auto; min-height: 300px; }
  .stage-card { display: none; }
  .nova-hero-stage { min-height: auto; }
  .nova-marquee { transform: none; }
}

/* ---------- Açılış perdesi ---------- */
body.intro-lock {
  overflow: hidden;
}

.intro-veil {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05060a;
  transition: opacity .7s ease, visibility .7s ease;
}

.intro-veil.is-done {
  opacity: 0;
  visibility: hidden;
}

.intro-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: introMark 1.3s cubic-bezier(.2, .7, .3, 1) both;
}

.intro-mark img {
  width: 74px;
  height: 74px;
  filter: drop-shadow(0 0 40px rgba(248, 185, 74, .55));
}

.intro-mark span {
  font-family: var(--font-display, Sora, Inter, sans-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  background: linear-gradient(100deg, #fff, #ffd67b 50%, #32d5ff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: introSheen 1.4s ease .2s both;
}

@keyframes introMark {
  from { opacity: 0; transform: scale(.82) translateY(14px); filter: blur(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes introSheen {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.intro-ring {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(248, 185, 74, .4);
  animation: introRing 1.5s cubic-bezier(.2, .7, .3, 1) .15s both;
}

@keyframes introRing {
  from { opacity: 1; transform: scale(.55); }
  to { opacity: 0; transform: scale(2.1); }
}

/* ---------- Alt sayfalar (platform, games, commands, detay) ---------- */
.subpage .nova-title {
  font-size: clamp(38px, 5vw, 72px);
  margin-bottom: 22px;
  max-width: 980px;
}

.subpage .hero-lead {
  font-family: Inter, sans-serif;
}

.subpage .hero-actions .button {
  border-radius: 14px;
  min-height: 52px;
  padding: 0 24px;
}

.subpage .section-head h2,
.subpage .section-kicker h2,
.subpage .detail-split h2,
.subpage .detail-command-band h2,
.subpage .command-section-head h2,
.subpage .product-band h2,
.subpage .cta-section h2,
.subpage .visual-copy h2 {
  font-family: var(--font-display);
  letter-spacing: -.015em;
  font-weight: 800;
}

/* ---------- Hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  .nova-title .w,
  .nova-title em::after,
  .phone,
  .phone-bg,
  .stage-glow,
  .nova-cta-glow,
  .stage-card-a,
  .stage-card-b,
  .flow-arrow,
  .phone-like,
  .nova-chip i,
  .phone-top em {
    animation: none;
  }
  .nova-title .w {
    opacity: 1;
    transform: none;
    filter: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  /* Marquee marka kimliğidir: durmaz, sadece yavaşlar */
  .nova-marquee-track {
    animation-duration: 80s;
  }
}

/* ---------- Yayinci yolculugu ve oyun sinyalleri ---------- */
.creator-journey {
  position: relative;
  overflow: hidden;
}

.creator-journey::before {
  content: "";
  position: absolute;
  inset: 4% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50, 213, 255, .32), rgba(248, 185, 74, .35), transparent);
  pointer-events: none;
}

.journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 48px;
  align-items: end;
}

.journey-head > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.journey-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .08);
  border-radius: 8px;
  overflow: hidden;
}

.journey-track::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 56px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(255, 255, 255, .18), var(--gold));
  opacity: .42;
}

.journey-step {
  position: relative;
  min-height: 260px;
  padding: 28px 24px 26px;
  background: rgba(8, 12, 20, .92);
  isolation: isolate;
  transition: background .3s ease;
}

.journey-step:hover { background: rgba(14, 22, 34, .98); }

.journey-index {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(255, 255, 255, .2);
  font: 800 12px/1 var(--mono, monospace);
}

.journey-icon {
  position: relative;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 7px 0 31px;
  place-items: center;
  border: 1px solid rgba(50, 213, 255, .42);
  border-radius: 50%;
  background: #0b1420;
  color: var(--cyan);
  box-shadow: 0 0 0 7px rgba(8, 12, 20, .95);
  font-size: 17px;
}

.journey-step:nth-child(4) .journey-icon {
  border-color: rgba(248, 185, 74, .55);
  color: var(--gold);
}

.journey-step small {
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
}

.journey-step h3 {
  margin: 9px 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.journey-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.game-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin .35s ease, opacity .3s ease;
}

.game-signals i {
  padding: 5px 8px;
  border: 1px solid rgba(50, 213, 255, .22);
  border-radius: 4px;
  background: rgba(4, 12, 20, .72);
  color: #d9f7ff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.game-hero-card:hover .game-signals,
.game-hero-card:focus-visible .game-signals {
  max-height: 70px;
  margin: 12px 0 2px;
  opacity: 1;
}

@media (max-width: 960px) {
  .journey-head { grid-template-columns: 1fr; gap: 18px; }
  .journey-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-track::after { display: none; }
}

@media (max-width: 680px) {
  .journey-track { grid-template-columns: 1fr; }
  .journey-step { min-height: auto; padding: 22px 20px; }
  .journey-icon { margin-bottom: 18px; }
  .game-signals { max-height: 70px; margin: 12px 0 2px; opacity: 1; }
}

/* Subpage layout repair: restore visual hierarchy without touching the home phone stage. */
.subpage .page-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  min-height: 560px;
  padding-bottom: 48px;
  align-items: center;
}

.subpage .page-hero .hero-copy {
  max-width: 720px;
}

.subpage .page-hero .command-panel {
  display: block;
  min-height: 420px;
}

.subpage .page-hero h1,
.subpage .section-head h2,
.subpage .cta-section h2 {
  letter-spacing: 0;
}

.subpage .page-hero h1 {
  max-width: 720px;
  font-size: 52px;
  line-height: 1.04;
}

.subpage .commands-hero h1 {
  max-width: 650px;
  font-size: 56px;
}

.subpage .cta-section h2 {
  max-width: 700px;
  font-size: 46px;
  line-height: 1.06;
}

@media (max-width: 1020px) {
  .subpage .page-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding-top: 112px;
  }

  .subpage .page-hero .command-panel {
    min-height: 340px;
  }

  .subpage .page-hero h1,
  .subpage .commands-hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 680px) {
  .subpage .page-hero {
    gap: 22px;
    padding-top: 96px;
    padding-bottom: 28px;
  }

  .subpage .page-hero h1,
  .subpage .commands-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .subpage .page-hero .command-panel {
    min-height: 260px;
    height: 260px;
  }

.subpage .cta-section h2 {
    font-size: 34px;
    line-height: 1.08;
  }
}

/* Homepage hero repair: keep the headline readable and the phone stage visible. */
.home:not(.subpage) .nova-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 460px);
  gap: 56px;
}

.home:not(.subpage)::before {
  background:
    linear-gradient(90deg, rgba(7, 8, 12, .42), rgba(7, 8, 12, .1) 48%, rgba(7, 8, 12, .2)),
    linear-gradient(180deg, rgba(7, 8, 12, .06), rgba(7, 8, 12, .56) 90%);
}

.home:not(.subpage) .nova-hero-copy {
  max-width: 720px;
}

.home:not(.subpage) .nova-title {
  max-width: 700px;
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: 0;
}

.home:not(.subpage) .nova-title em {
  display: inline-block;
  padding-bottom: .04em;
}

.home:not(.subpage) .nova-title em::after {
  left: 1%;
  right: 1%;
  bottom: -.07em;
  height: 4px;
}

@media (max-width: 1200px) {
  .home:not(.subpage) .nova-hero {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
    gap: 38px;
  }

  .home:not(.subpage) .nova-title {
    font-size: 58px;
  }
}

@media (max-width: 1020px) {
  .home:not(.subpage) .nova-hero {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .home:not(.subpage) .nova-hero-copy {
    max-width: 760px;
  }

  .home:not(.subpage) .nova-title {
    max-width: 720px;
    font-size: 54px;
  }
}

@media (max-width: 680px) {
  .home:not(.subpage) .nova-hero {
    gap: 34px;
  }

  .home:not(.subpage) .nova-title {
    font-size: 40px;
    line-height: 1.08;
  }

  .home:not(.subpage) .nova-title em::after {
    height: 3px;
  }
}
