/* ====================================================================
   RADYO MODA — ANDROID UYGULAMASI TANITIM MODALI (V1 COMPONENT)
   Tasarım Referansı: Radyo Ekin Giriş Açılır Penceresi
   Tipografi: Anton (Başlık), Manrope (Metin & Butonlar)
   Palet: Koyu Kömür (#0d0d12), Kırmızı (#8f0d22, #c41535), Krem (#f6f1e7), Beyaz (#ffffff)
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Manrope:wght@400;500;600;700;800&display=swap');

.rm-promo-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(6, 6, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.rm-promo-modal-backdrop.rm-promo-visible {
  opacity: 1;
  visibility: visible;
}

.rm-promo-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(165deg, #16161d 0%, #0e0e13 100%);
  border: 2px solid #8f0d22;
  border-radius: 20px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(246, 241, 231, 0.12),
    0 0 35px rgba(196, 21, 53, 0.28);
  padding: 32px 28px 24px;
  box-sizing: border-box;
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  overflow: hidden;
}

.rm-promo-modal-backdrop.rm-promo-visible .rm-promo-card {
  transform: scale(1) translateY(0);
}

/* Kapatma ('×') Butonu */
.rm-promo-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 231, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f6f1e7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  z-index: 10;
}

.rm-promo-close-btn:hover,
.rm-promo-close-btn:focus-visible {
  background: #c41535;
  border-color: #c41535;
  color: #ffffff;
  transform: scale(1.08);
  outline: none;
}

/* Rozet / Üst Bilgi */
.rm-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 50px;
  background: #8f0d22;
  border: 1px solid rgba(246, 241, 231, 0.25);
  color: #f6f1e7;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.rm-promo-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f6f1e7;
  animation: rmPulseDot 1.8s infinite;
}

@keyframes rmPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Başlık — Anton Font */
.rm-promo-title {
  font-family: 'Anton', impact, sans-serif;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Açıklama — Manrope Font */
.rm-promo-desc {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(246, 241, 231, 0.85);
  margin: 0 auto 20px;
  max-width: 320px;
}

/* Telefon Maketi / Görsel Alanı */
.rm-promo-phone-mockup {
  width: 160px;
  height: 200px;
  margin: 0 auto 22px;
  background: radial-gradient(circle at center, rgba(143, 13, 34, 0.45) 0%, #0d0d12 75%);
  border: 3px solid #262633;
  border-radius: 26px;
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  box-sizing: border-box;
}

/* Telefon Üst Çentik / Hoparlör */
.rm-promo-phone-notch {
  position: absolute;
  top: 8px;
  width: 42px;
  height: 4px;
  background: #333344;
  border-radius: 4px;
}

/* Telefon İçindeki Radyo Moda Logosu */
.rm-promo-phone-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.rm-promo-card:hover .rm-promo-phone-logo {
  transform: scale(1.05);
}

/* Telefon İçindeki Frekans */
.rm-promo-phone-freq {
  font-family: 'Anton', impact, sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: #f6f1e7;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Ekolayzır Çubukları */
.rm-promo-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}

.rm-promo-eq-bar {
  width: 3px;
  border-radius: 2px;
  background: #c41535;
}

.rm-promo-eq-bar:nth-child(1) { height: 8px; animation: rmEqAnim 1s infinite alternate ease-in-out; }
.rm-promo-eq-bar:nth-child(2) { height: 14px; animation: rmEqAnim 1.2s infinite alternate-reverse ease-in-out; background: #f6f1e7; }
.rm-promo-eq-bar:nth-child(3) { height: 16px; animation: rmEqAnim 0.9s infinite alternate ease-in-out; }
.rm-promo-eq-bar:nth-child(4) { height: 11px; animation: rmEqAnim 1.1s infinite alternate-reverse ease-in-out; background: #f6f1e7; }
.rm-promo-eq-bar:nth-child(5) { height: 6px; animation: rmEqAnim 0.8s infinite alternate ease-in-out; }

@keyframes rmEqAnim {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

/* Google Play Butonu */
.rm-promo-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #000000;
  border: 1.5px solid #f6f1e7;
  border-radius: 12px;
  padding: 12px 20px;
  box-sizing: border-box;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.25s ease;
  cursor: pointer;
}

.rm-promo-play-btn:hover,
.rm-promo-play-btn:focus-visible {
  background: #c41535;
  border-color: #c41535;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 21, 53, 0.45);
  outline: none;
}

.rm-promo-play-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.rm-promo-play-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.rm-promo-play-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.rm-promo-play-main {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #ffffff;
  line-height: 1.25;
  margin-top: 2px;
}

/* "Siteye Devam Et" İkincil Buton */
.rm-promo-dismiss-btn {
  background: none;
  border: none;
  color: rgba(246, 241, 231, 0.68);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 16px;
  margin-top: 10px;
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.rm-promo-dismiss-btn:hover,
.rm-promo-dismiss-btn:focus-visible {
  color: #ffffff;
  outline: none;
}

/* Mobil Uyumluluk (390px ve altı) */
@media (max-width: 480px) {
  .rm-promo-card {
    padding: 24px 18px 20px;
    border-radius: 16px;
  }
  .rm-promo-title {
    font-size: 26px;
  }
  .rm-promo-desc {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .rm-promo-phone-mockup {
    width: 140px;
    height: 175px;
    margin-bottom: 18px;
  }
  .rm-promo-phone-logo {
    width: 60px;
    height: 60px;
  }
  .rm-promo-play-btn {
    padding: 10px 16px;
  }
  .rm-promo-play-main {
    font-size: 15px;
  }
}
