/*
  Hero layout fix — saydam cam panel, ortalı masthead, Dünya arka planda görünür
  Load LAST
*/

body.sr-flagship .sr-hero-pro.sr-aether-hero {
  min-height: auto !important;
  max-height: none !important;
  padding-bottom: 0 !important;
}

body.sr-site .sr-cosmos-scroll-track {
  display: block !important;
  height: var(--sr-cosmos-track-h, clamp(300px, 46dvh, 520px)) !important;
  min-height: clamp(260px, 40dvh, 480px) !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  pointer-events: none !important;
}

/* ── Hero: tam ekran Dünya, içerik üstte cam panel ── */
body.sr-site .sr-hero-pro.sr-aether-hero {
  position: relative;
  z-index: 10;
  overflow-x: clip !important;
  overflow-y: visible;
  min-height: auto;
  display: flex;
  flex-direction: column;
}

body.sr-site .sr-hero-pro__shell {
  position: relative;
  z-index: 3;
  max-width: var(--sr-lane-wide, min(92rem, 100%));
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.sr-site .sr-hero-pro__intro--earth-view {
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

body.sr-site .sr-hero-pro__title-stack {
  align-items: center !important;
}

body.sr-site .sr-hero-pro__intro--earth-view .sr-hero-pro__title-stack {
  align-items: center !important;
}

body.sr-site .sr-hero-pro__tagline--apex {
  justify-content: center !important;
}

body.sr-site .sr-hero-pro__grid {
  opacity: 0.04 !important;
}

body.sr-site #world-solar-bg,
body.sr-flagship #world-solar-bg {
  opacity: 1 !important;
  z-index: 0 !important;
}

body.sr-site.is-scrolling #world-solar-bg canvas,
body.sr-site.is-scrolling .wsb-gl-canvas {
  opacity: 0.92 !important;
  visibility: visible !important;
}

body.sr-site:not(.is-scrolling) #world-solar-bg.is-ready canvas,
body.sr-site:not(.is-scrolling) #world-solar-bg.wsb-live canvas {
  opacity: 1 !important;
  visibility: visible !important;
}

#world-solar-bg .wsb-vignette {
  background:
    radial-gradient(ellipse 100% 82% at 50% 42%, transparent 24%, rgba(2, 6, 14, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 8, 18, 0.18) 0%, transparent 12%, transparent 82%, rgba(2, 6, 14, 0.28) 100%) !important;
}

body.sr-site .sr-hero-pro__bar {
  margin-top: 0.15rem;
}

body.sr-site .sr-promo-strip {
  position: relative;
  z-index: 12;
  padding-block: 0 clamp(1rem, 2.5vw, 1.35rem);
  padding-inline: 0;
}

body.sr-site #dashboard,
body.sr-site .sr-flow-section {
  position: relative;
  z-index: 12;
}

@media (min-width: 1024px) {
  body.sr-site .sr-hero-pro__apex {
    grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
    align-items: start;
  }
}

@media (max-width: 767px) {
  body.sr-site .sr-hero-pro__telemetry {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Masthead: ortalı, saydam cam ── */
body.sr-site .sr-hero-masthead--observatory {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem);
  border-radius: 1.1rem;
  border: 1px solid rgba(186, 230, 253, 0.12);
  background: linear-gradient(180deg, rgba(4, 12, 24, 0.14) 0%, rgba(2, 8, 18, 0.08) 100%);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
}

body.sr-site .sr-hero-masthead__trust {
  width: 100%;
}

body.sr-site .sr-hero-masthead__trust .sr-hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

body.sr-site .sr-hero-masthead__copy {
  min-width: 0;
  width: 100%;
  text-align: center;
}

body.sr-site .sr-hero-masthead__title {
  margin: 0;
}

body.sr-site .sr-hero-masthead__tagline {
  margin: clamp(0.4rem, 1.2vw, 0.6rem) 0 0;
  padding: 0;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(203, 213, 225, 0.92);
  text-wrap: balance;
}

body.sr-site .sr-hero-masthead__live-deck {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.42rem 0.62rem;
  width: 100%;
  margin-top: 0.1rem;
  padding: clamp(0.62rem, 1.6vw, 0.78rem) clamp(0.72rem, 1.8vw, 0.92rem);
  border-radius: 0.85rem;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(4, 12, 24, 0.18) 50%, rgba(56, 189, 248, 0.06) 100%);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.08);
}

body.sr-site .sr-hero-masthead__live-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.85);
  animation: sr-live-dot 1.35s ease-in-out infinite;
  flex-shrink: 0;
}

body.sr-site .sr-hero-masthead__live-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #86efac;
}

body.sr-site .sr-hero-masthead__live-hz {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  line-height: 1;
  padding: 0.18rem 0.55rem;
  border-radius: 0.5rem;
  background: rgba(2, 8, 18, 0.28);
  border: 1px solid rgba(52, 211, 153, 0.24);
}

body.sr-site .sr-hero-masthead__hz {
  font-family: "Roboto Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: clamp(1.75rem, 5.8vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
  text-shadow: 0 0 22px rgba(52, 211, 153, 0.38);
}

body.sr-site.sr-live-streaming .sr-hero-masthead__hz {
  animation: sr-live-hz-breathe 2.8s ease-in-out infinite;
}

body.sr-site .sr-hero-masthead__hz-unit {
  font-size: clamp(0.85rem, 2.2vw, 1rem);
  font-weight: 700;
  color: rgba(186, 230, 253, 0.82);
}

body.sr-site .sr-hero-masthead__live-src {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.72);
}

body.sr-site .sr-hero-masthead__live-note {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(186, 230, 253, 0.58);
}

/* Tone kartı da saydam kalsın */
body.sr-site .sr-hero-pro__tone {
  background:
    linear-gradient(160deg, rgba(56, 189, 248, 0.1) 0%, rgba(6, 14, 26, 0.28) 46%, rgba(251, 191, 36, 0.06) 100%) !important;
  backdrop-filter: blur(10px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(125%) !important;
}

#world-solar-bg {
  transform: none !important;
}

#world-solar-bg canvas,
.wsb-gl-canvas {
  z-index: 1 !important;
  opacity: 1 !important;
}

body.sr-site .sr-hero-pro.sr-aether-hero {
  background: transparent !important;
  min-height: auto !important;
}

body.sr-site .sr-flow-section {
  opacity: 1 !important;
}
