/* Compact hero with a data-linked, country-level globe marker. */
.hero-section {
  min-height: 0;
  padding: 22px 0;
}

.hero-copy {
  width: 66%;
  max-width: 720px;
  padding: 0;
}

.hero-copy .eyebrow {
  margin: 0 0 10px;
}

.hero-copy h1 {
  margin: 0 0 9px;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: -2.1px;
}

.hero-description {
  max-width: 520px;
  margin: 0 0 14px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--accent-border);
  border-radius: 5px;
  background: var(--lime);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.hero-play-button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 24px color-mix(in srgb, var(--accent) 15%, transparent);
  background: var(--accent);
}

.hero-play-button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.hero-play-button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.hero-play-icon {
  font-size: 12px;
}

.hero-location {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 0;
  display: flex;
  width: 230px;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-globe {
  width: 190px;
  height: 190px;
  flex: none;
  filter: drop-shadow(0 12px 26px #0007);
}

.hero-globe svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-globe-ocean {
  fill: url(#hero-globe-ocean);
  stroke: var(--text-soft);
  stroke-width: 1;
}

.hero-globe-grid {
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 0.9;
  stroke-opacity: 0.19;
}

.hero-globe-land {
  fill: var(--accent-text);
  fill-opacity: 0.64;
  stroke: var(--text);
  stroke-width: 0.85;
  stroke-opacity: 0.5;
}

.hero-globe-rim {
  fill: none;
  stroke: url(#hero-globe-atmosphere);
  stroke-opacity: 0.8;
  stroke-width: 1.4;
}

.hero-globe-surface {
  fill: url(#hero-globe-sheen);
  opacity: 0.48;
  pointer-events: none;
}

.hero-globe-clouds {
  fill: none;
  stroke: var(--text);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-opacity: 0.13;
  pointer-events: none;
}

.hero-globe-night {
  fill: url(#hero-globe-night);
  pointer-events: none;
}

.hero-globe-glint {
  fill: none;
  stroke: var(--text);
  stroke-linecap: round;
  stroke-opacity: 0.42;
  stroke-width: 1.2;
}

#hero-globe-pulse,
#hero-globe-marker {
  display: none;
}

.hero-globe.has-marker #hero-globe-marker {
  display: block;
}

.hero-globe.country-filter-active.has-marker #hero-globe-pulse {
  display: block;
}

.hero-globe-pulse {
  fill: var(--lime);
  opacity: 0.52;
  transform-box: fill-box;
  transform-origin: center;
  animation: globe-pulse 1.8s ease-out infinite;
}

.hero-globe-country-halo,
.hero-globe-pulse,
.hero-globe-marker {
  display: none;
}
.hero-globe-marker {
  fill: var(--lime);
  stroke: var(--text);
  stroke-width: 2;
}

.hero-location-copy {
  display: grid;
  width: 100%;
  max-width: 230px;
  gap: 4px;
  padding: 0 8px;
  text-align: center;
}

.hero-location-label {
  color: var(--accent-text);
  font: 8px var(--mono);
  letter-spacing: 1.1px;
}

.hero-location-station {
  overflow: hidden;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-location-country {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes globe-pulse {
  0% { opacity: 0.58; transform: scale(0.65); }
  100% { opacity: 0; transform: scale(1.8); }
}

@media (max-width: 1050px) {
  .hero-copy {
    width: 70%;
    max-width: 640px;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 4.6vw, 47px);
  }

  .hero-location {
    right: -14px;
    width: 205px;
    opacity: 0.86;
  }

  .hero-globe {
    width: 166px;
    height: 166px;
  }
}

@media (max-width: 760px) {
  .hero-section {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 22px 0 18px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .hero-copy .eyebrow {
    margin-bottom: 8px;
  }

  .hero-copy h1 {
    margin-bottom: 9px;
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.04;
    letter-spacing: -1.6px;
  }

  .hero-description {
    max-width: 38ch;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-play-button {
    width: 100%;
    min-height: 46px;
  }

  .hero-location {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 11px;
    opacity: 1;
    transform: none;
  }

  .hero-globe {
    width: 68px;
    height: 68px;
    filter: none;
  }

  .hero-location-copy {
    width: auto;
    max-width: min(230px, calc(100% - 80px));
    gap: 3px;
    padding: 0;
    text-align: left;
  }

  .hero-location-label {
    font-size: 7px;
  }

  .hero-location-station {
    font-size: 11px;
  }

  .hero-location-country {
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .hero-globe {
    width: 60px;
    height: 60px;
  }

  .hero-location-copy {
    max-width: calc(100% - 72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-play-button {
    transition: none;
  }

  .hero-play-button:not(:disabled):hover {
    transform: none;
  }

  .hero-globe-pulse {
    animation: none;
  }
}


/* Interactive globe: larger silhouette, stronger continent contrast and clear button affordance. */
.hero-section {
  min-height: 280px;
}

.hero-location {
  width: 250px;
}

.hero-globe {
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.hero-globe:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

.hero-globe:not(:disabled):hover {
  transform: scale(1.025);
}

.hero-globe:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.hero-globe[aria-pressed="true"] .hero-globe-rim {
  stroke: var(--lime);
  stroke-opacity: 0.88;
  stroke-width: 1.7;
}

.hero-globe-land {
  fill-opacity: 0.68;
  stroke-width: 0.9;
  stroke-opacity: 0.56;
}

.hero-globe-grid {
  stroke-opacity: 0.14;
}

.hero-location-copy {
  align-self: flex-start;
  max-width: 250px;
  margin-top: 12px;
  padding: 0;
  pointer-events: none;
  text-align: left;
}

.hero-location-copy-content {
  display: grid;
  gap: 4px;
}

.hero-globe-details {
  display: grid;
  gap: 3px;
  margin-top: 2px;
}

.hero-location-hint {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.15px;
}

@media (max-width: 1050px) {
  .hero-location {
    width: 210px;
  }

  .hero-globe {
    width: 190px;
    height: 190px;
  }

  .hero-location-copy {
    max-width: 210px;
  }
}

@media (max-width: 760px) {
  .hero-section {
    min-height: 0;
  }

  .hero-location {
    width: 100%;
  }

  .hero-globe {
    width: 116px;
    height: 116px;
  }

  .hero-location-copy {
    max-width: min(260px, calc(100% - 128px));
  }

  .hero-location-hint {
    font-size: 7.5px;
  }

  .hero-globe:not(:disabled):hover {
    transform: none;
  }
}

@media (max-width: 390px) {
  .hero-globe {
    width: 106px;
    height: 106px;
  }

  .hero-location-copy {
    max-width: calc(100% - 118px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-globe {
    transition: none;
  }

  .hero-globe:not(:disabled):hover {
    transform: none;
  }
}


/* Filter-active country highlight: the halo marks an approximate country center, not a border. */
#hero-globe-country-halo {
  display: none;
  fill: url(#hero-globe-country-glow);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.hero-globe.country-filter-active.has-marker #hero-globe-country-halo {
  display: block;
  animation: country-glow-pulse 2.2s ease-in-out infinite;
}

.hero-globe.country-filter-active.has-marker .hero-globe-marker {
  fill: var(--accent-text);
  stroke: var(--lime);
  stroke-width: 3;
  filter: drop-shadow(0 0 9px var(--accent));
}

.hero-globe.country-filter-active.has-marker .hero-globe-pulse {
  opacity: 0.8;
  animation-duration: 1.35s;
}

.hero-globe[aria-pressed="true"] .hero-globe-rim {
  filter: drop-shadow(0 0 9px color-mix(in srgb, var(--accent) 40%, transparent));
  stroke-opacity: 0.96;
}

.hero-globe.country-filter-active:not(.has-marker) .hero-globe-rim {
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 60%, transparent));
}

@keyframes country-glow-pulse {
  0%, 100% { opacity: 0.28; transform: scale(0.78); }
  50% { opacity: 0.78; transform: scale(1.22); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-globe.country-filter-active.has-marker #hero-globe-country-halo {
    animation: none;
    opacity: 0.66;
    transform: none;
  }
}


/* Touch input: keep native button semantics, remove delayed tap flash and provide a quick press cue. */
.hero-globe {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

@media (hover: none) and (pointer: coarse) {
  .hero-globe {
    -webkit-touch-callout: none;
  }

  .hero-globe:not(:disabled):active {
    transform: scale(0.965);
    transition-duration: 80ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-globe:not(:disabled):active {
    transform: none;
  }
}

/* Final desktop layout: permanent station copy on the left, full globe on the right. */
@media (min-width: 761px) {
  .hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    column-gap: 28px;
    min-height: 280px;
  }

  .hero-copy {
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .hero-location {
    position: static;
    width: 280px;
    min-width: 280px;
    align-items: center;
    transform: none;
    opacity: 1;
  }

  .hero-location-copy {
    width: 100%;
    max-width: none;
    margin-top: 14px;
    padding: 0 4px;
    text-align: left;
  }

  .hero-globe-details {
    max-width: 31rem;
  }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .hero-section {
    grid-template-columns: minmax(0, 1fr) 220px;
    column-gap: 18px;
  }

  .hero-location {
    width: 220px;
    min-width: 220px;
  }

  .hero-globe {
    width: 190px;
    height: 190px;
  }
}

/* Popüler radyo kontrolünü hero içindeki ikincil, daha sakin bir konuma al. */
.hero-location-copy .hero-play-button-secondary {
  align-self: flex-start;
  min-height: 30px;
  margin-top: 8px;
  padding: 0 10px;
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 500;
  opacity: .78;
}
.hero-location-copy .hero-play-button-secondary:hover,
.hero-location-copy .hero-play-button-secondary:focus-visible {
  background: var(--surface-2);
  color: var(--accent-text);
  box-shadow: none;
  opacity: 1;
}

.hero-copy > .hero-play-actions {
  margin-top: 18px;
}

.hero-station-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.hero-station-details {
  display: grid;
  min-width: 0;
  gap: 3px;
  align-content: center;
  flex: 1 1 auto;
}
.hero-station-summary > .hero-favorite-button {
  display: grid;
  width: 44px;
  height: 44px;
  pointer-events: auto;
  flex: 0 0 44px;
  place-items: center;
  margin-left: 2px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
  font: 23px/1 var(--sans);
  transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s;
}
.hero-station-summary > .hero-favorite-button:hover,
.hero-station-summary > .hero-favorite-button:focus-visible,
.hero-station-summary > .hero-favorite-button.is-favorite {
  border-color: var(--accent-border);
  background: var(--surface-2);
  color: var(--accent-text);
}
.hero-station-summary > .hero-favorite-button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.hero-station-summary > .hero-favorite-button:active {
  transform: scale(0.94);
}
.hero-station-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  color: var(--accent-text);
  font: 18px var(--serif);
}
.hero-station-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-location-station {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-location-station > span {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-location-station.is-marquee > span {
  width: max-content;
  max-width: none;
  padding-right: 36px;
  text-overflow: clip;
  animation: station-name-marquee 8s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .hero-location-station.is-marquee > span {
    max-width: 100%;
    animation: none;
    text-overflow: ellipsis;
  }
}
.hero-location-country {
  display: block;
  padding-left: 0;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
}

/* Mobilde küreyi istasyon bilgisinin önüne al; bilgi ve sonraki radyo düğmesi kürenin altında kalsın. */
@media (max-width: 760px) {
  .hero-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy > .eyebrow { grid-row: 1; }
  .hero-copy > h1 { grid-row: 2; }
  .hero-copy > .hero-description { grid-row: 3; }

  .hero-location {
    grid-row: 4;
    justify-self: center;
    margin-top: 4px;
  }

  .hero-location-copy {
    grid-row: 5;
    width: 100%;
    max-width: none;
    margin-top: 10px;
    padding: 0;
    text-align: left;
  }

  .hero-copy > .hero-play-actions {
    grid-row: 6;
    width: 100%;
    margin-top: 14px;
    justify-content: flex-start;
  }
}


.hero-player-state{display:block;color: var(--accent-text);font:8px var(--mono);letter-spacing:.55px;text-transform:uppercase;white-space:nowrap}
.hero-song-viewport{display:block;min-width:0;max-width:100%;overflow:hidden;position:relative}
.hero-song-title{display:block;max-width:100%;overflow:hidden;color: var(--text-soft);font:9px var(--mono);letter-spacing:.15px;text-overflow:ellipsis;white-space:nowrap}
.hero-song-title.is-marquee{width:max-content;max-width:none;overflow:visible;text-overflow:clip;animation:hero-song-marquee 8s ease-in-out infinite alternate}
@keyframes hero-song-marquee{0%,16%{transform:translateX(0)}84%,100%{transform:translateX(calc(-1 * var(--marquee-distance)))}}
@media(max-width:760px){.hero-song-title{font-size:8px}.hero-player-state{font-size:7px}}
@media(prefers-reduced-motion:reduce){.hero-song-title.is-marquee{width:100%;max-width:100%;animation:none;overflow:hidden;text-overflow:ellipsis}}

@media (max-width: 760px) {
  .hero-location {
    row-gap: 7px;
  }
  #hero-location-copy {
    margin-top: 30px;
  }
}

.hero-play-button:hover {
  color: var(--accent-ink) !important;
}
