/* 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(--lime);
  border-radius: 5px;
  background: var(--lime);
  color: #151710;
  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 #d6f36a26;
  background: #e0ff7a;
}

.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: #79cadd;
  stroke-width: 1;
}

.hero-globe-grid {
  fill: none;
  stroke: #d7e5b7;
  stroke-width: 0.9;
  stroke-opacity: 0.19;
}

.hero-globe-land {
  fill: #b4d6c5;
  fill-opacity: 0.64;
  stroke: #e1f3eb;
  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: #eafaff;
  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: #f0f0e8;
  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: #f0f0e8;
  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(--lime);
  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(--lime);
  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: #777d69;
  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: #f4ffd5;
  stroke: var(--lime);
  stroke-width: 3;
  filter: drop-shadow(0 0 9px #d6f36a);
}

.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 #d6f36a66);
  stroke-opacity: 0.96;
}

.hero-globe.country-filter-active:not(.has-marker) .hero-globe-rim {
  filter: drop-shadow(0 0 12px #d6f36a99);
}

@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: #4c5540;
  background: transparent;
  color: #aab395;
  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: #20261a;
  color: var(--lime);
  box-shadow: none;
  opacity: 1;
}

.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;
}
.hero-station-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #566347;
  border-radius: 8px;
  background: linear-gradient(145deg, #293224, #121610);
  color: var(--lime);
  font: 18px var(--serif);
}
.hero-station-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-location-station {
  min-width: 0;
  overflow: hidden;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: normal;
}
.hero-location-country {
  display: block;
  padding-left: 0;
  color: #c6cbbd;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  white-space: normal;
}

