/* =====================
   RADIO ZEMRA — style.css
   ===================== */

:root {
  --red: #C8102E;
  --red-dark: #9e0c23;
  --red-light: #fff0f2;
  --black: #0f0f0f;
  --gray-100: #f7f7f5;
  --gray-200: #ebebeb;
  --gray-400: #999;
  --gray-600: #555;
  --white: #ffffff;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  padding-top: 70px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── BUTTONS ── */
.btn-red {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red); color: white;
  padding: 9px 20px; border-radius: 30px;
  font-size: 14px; font-weight: 500; font-family: var(--font-body);
  border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--black);
  padding: 9px 20px; border-radius: 30px;
  font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--gray-200); cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--gray-400); transform: translateY(-1px); }

.btn-hero-red {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--red);
  padding: 14px 28px; border-radius: 30px;
  font-size: 16px; font-weight: 600; font-family: var(--font-display);
  border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-hero-red:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.btn-hero-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  padding: 13px 28px; border-radius: 30px;
  font-size: 16px; font-weight: 500;
  border: 2px solid rgba(255,255,255,0.5); cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.btn-hero-ghost:hover { border-color: white; transform: translateY(-2px); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: white; border-bottom: 1px solid var(--gray-200);
  height: 70px;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  height: 70px; display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; }
.nav-logo-icon { width: 36px; height: 36px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; }
.nav-logo-text strong { color: var(--red); }
.nav-links { display: flex; gap: 0; flex: 1; justify-content: center; }
.nav-link { padding: 8px 16px; font-size: 14px; color: var(--gray-600); border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--black); background: var(--gray-100); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-burger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--black); }
.nav-mobile { display: none; flex-direction: column; background: white; border-top: 1px solid var(--gray-200); padding: 1rem 1.5rem; gap: 4px; }
.nav-mobile.open { display: flex; }
.nav-mobile-link { padding: 10px 12px; font-size: 15px; border-radius: 8px; color: var(--black); }
.nav-mobile-link:hover { background: var(--gray-100); }
.nav-mobile-link--red { color: var(--red); font-weight: 500; }

/* ── HERO ── */
.hero {
  background: var(--red);
  padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-wave {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.18); color: white;
  padding: 6px 16px; border-radius: 30px; font-size: 13px; font-weight: 500;
  margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.3);
}
.live-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(1.3)} }

.hero-title {
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800; color: white; line-height: 1.1; margin-bottom: 1.2rem;
}
.hero-title em { font-style: normal; color: rgba(255,255,255,0.75); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 540px; margin-bottom: 2rem; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; align-items: center; gap: 1.5rem; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: white; }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.7); }
.hero-stat-div { width: 1px; height: 32px; background: rgba(255,255,255,0.25); }

/* ── PLAYER BAR ── */
.player-bar {
  background: var(--black); color: white;
  padding: 0.75rem 0; position: sticky; top: 70px; z-index: 90;
}
.player-bar-inner { display: flex; align-items: center; gap: 1rem; }
.player-info { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.player-avatar { width: 40px; height: 40px; background: var(--red); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.player-name { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-genre { font-size: 11px; color: rgba(255,255,255,0.55); }
.player-controls { display: flex; align-items: center; gap: 12px; }
.player-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--red); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; transition: background 0.2s; }
.player-btn:hover { background: var(--red-dark); }
.player-vol { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.6); }
.player-vol input { width: 80px; accent-color: var(--red); }
.player-status { font-size: 11px; color: rgba(255,255,255,0.45); white-space: nowrap; }

/* ── SECTIONS ── */
.section { padding: 4rem 0; }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--black); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.75rem; }
.section-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.section-link { font-size: 14px; color: var(--red); display: flex; align-items: center; gap: 4px; }
.section-link:hover { text-decoration: underline; }

/* ── RADIO GRID ── */
.radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.radio-card {
  background: white; border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.1rem; cursor: pointer; transition: border-color 0.2s, transform 0.2s;
  display: flex; flex-direction: column; gap: 10px;
}
.radio-card:hover { border-color: var(--red); transform: translateY(-2px); box-shadow: var(--shadow); }
.radio-card.playing { border-color: var(--red); background: var(--red-light); }
.radio-card-top { display: flex; align-items: center; gap: 12px; }
.radio-card-avatar { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.radio-card-name { font-size: 15px; font-weight: 600; font-family: var(--font-display); color: var(--black); }
.radio-card-genre { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.radio-card-bottom { display: flex; align-items: center; justify-content: space-between; }
.radio-card-stars { display: flex; gap: 2px; }
.radio-star { font-size: 14px; color: #ddd; cursor: pointer; border: none; background: none; padding: 0; transition: color 0.15s; }
.radio-star.on { color: #f5a623; }
.radio-card-play { width: 34px; height: 34px; border-radius: 50%; background: var(--red); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: white; font-size: 15px; transition: background 0.2s; }
.radio-card-play:hover { background: var(--red-dark); }
.radio-card-listeners { font-size: 11px; color: var(--gray-400); }

/* ── CATEGORIES ── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-card {
  border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; font-family: var(--font-display);
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.cat-card i { font-size: 28px; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-pop  { background: #fff0f2; color: var(--red); }
.cat-folk { background: #f0f9f0; color: #2E7D32; }
.cat-news { background: #e8f4fd; color: #1565C0; }
.cat-dance{ background: #f3e8fd; color: #6A1B9A; }
.cat-rock { background: #fff8e1; color: #E65100; }
.cat-kids { background: #e8faf0; color: #00695C; }

/* ── APP PROMO ── */
.app-promo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding: 3rem 0; }
.app-badge { display: inline-block; background: var(--red); color: white; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 1rem; letter-spacing: 0.5px; }
.app-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 1rem; }
.app-sub { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1.75rem; }
.app-store-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.app-store-btn {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px; padding: 12px 20px; color: white; cursor: pointer;
  transition: background 0.2s;
}
.app-store-btn i { font-size: 26px; }
.app-store-btn small { display: block; font-size: 11px; color: rgba(255,255,255,0.6); }
.app-store-btn strong { display: block; font-size: 15px; font-weight: 600; }
.app-store-btn--coming { opacity: 0.75; }
.app-store-btn:hover { background: rgba(255,255,255,0.18); }

/* Phone mock */
.app-promo-phone { display: flex; justify-content: center; }
.phone-mock { width: 220px; background: #1a1a1a; border-radius: 36px; padding: 14px; border: 6px solid #333; }
.phone-screen { background: white; border-radius: 24px; overflow: hidden; }
.phone-header { background: var(--red); color: white; text-align: center; padding: 12px; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.phone-player { padding: 16px; text-align: center; border-bottom: 1px solid var(--gray-200); }
.phone-avatar { width: 56px; height: 56px; background: var(--red-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--red); font-size: 26px; }
.phone-track { font-size: 13px; font-weight: 600; color: var(--black); }
.phone-genre { font-size: 11px; color: var(--gray-400); margin-top: 2px; }
.phone-play { width: 36px; height: 36px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; margin: 10px auto 0; font-size: 16px; }
.phone-list { padding: 8px 0; }
.phone-item { padding: 8px 14px; font-size: 12px; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.phone-item:last-child { border: none; }

/* ── FOOTER ── */
.footer { background: #0a0a0a; color: rgba(255,255,255,0.7); padding: 3rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand p { font-size: 14px; margin-top: 10px; color: rgba(255,255,255,0.5); }
.footer-brand .nav-logo-text { color: white; }
.footer-links h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.footer-links a { display: flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 8px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1rem 0; font-size: 13px; color: rgba(255,255,255,0.3); }

/* ── LOGIN / REGISTER PAGES ── */
.auth-page { min-height: calc(100vh - 70px); display: flex; align-items: center; justify-content: center; background: var(--gray-100); padding: 2rem; }
.auth-card { background: white; border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 2.5rem; width: 100%; max-width: 420px; }
.auth-logo { text-align: center; margin-bottom: 1.75rem; }
.auth-logo .nav-logo-icon { margin: 0 auto 10px; width: 52px; height: 52px; font-size: 26px; }
.auth-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 4px; }
.auth-sub { text-align: center; font-size: 14px; color: var(--gray-400); margin-bottom: 1.75rem; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 13px; font-weight: 500; color: var(--gray-600); margin-bottom: 5px; }
.auth-field input { width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid var(--gray-200); font-size: 14px; font-family: var(--font-body); color: var(--black); background: white; transition: border-color 0.2s; }
.auth-field input:focus { outline: none; border-color: var(--red); }
.auth-submit { width: 100%; padding: 13px; background: var(--red); color: white; border: none; border-radius: 30px; font-size: 15px; font-weight: 600; font-family: var(--font-display); cursor: pointer; margin-top: 6px; transition: background 0.2s; }
.auth-submit:hover { background: var(--red-dark); }
.auth-divider { text-align: center; font-size: 13px; color: var(--gray-400); margin: 1rem 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--gray-200); }
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }
.auth-switch { text-align: center; font-size: 14px; color: var(--gray-600); margin-top: 1.25rem; }
.auth-switch a { color: var(--red); font-weight: 500; }
.auth-msg { text-align: center; font-size: 13px; margin-top: 10px; min-height: 18px; }
.auth-msg.error { color: var(--red); }
.auth-msg.success { color: #2E7D32; }

/* ── RADIOT PAGE ── */
.page-hero { background: var(--gray-100); padding: 2.5rem 0; border-bottom: 1px solid var(--gray-200); }
.page-hero h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
.page-hero p { color: var(--gray-600); margin-top: 6px; }
.filters { background: white; border-bottom: 1px solid var(--gray-200); padding: 1rem 0; position: sticky; top: 114px; z-index: 80; }
.filters-inner { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filters-inner input { flex: 1; min-width: 200px; padding: 9px 14px; border: 1px solid var(--gray-200); border-radius: 30px; font-size: 14px; font-family: var(--font-body); }
.filters-inner input:focus { outline: none; border-color: var(--red); }
.filter-tag { padding: 7px 16px; border-radius: 30px; font-size: 13px; cursor: pointer; border: 1px solid var(--gray-200); background: white; color: var(--gray-600); transition: all 0.2s; }
.filter-tag.on { background: var(--red); color: white; border-color: var(--red); }
.filter-tag:hover:not(.on) { border-color: var(--gray-400); }
.country-select { padding: 9px 14px; border: 1px solid var(--gray-200); border-radius: 30px; font-size: 13px; font-family: var(--font-body); color: var(--black); background: white; cursor: pointer; }
.country-select:focus { outline: none; border-color: var(--red); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .hero-title { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 1rem; }
  .app-promo { grid-template-columns: 1fr; }
  .app-promo-phone { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .player-vol { display: none; }
  .player-status { display: none; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
