/* ============================================================
   GÜLEÇ FM — Ana Sayfa v4 "PROFESSIONAL"
   Temiz hiyerarşi, tutarlı kart sistemi, refined spacing,
   modern glass + aurora, mobil-first profesyonel görünüm
   ============================================================ */

:root{
  --gfm-radius-sm: 12px;
  --gfm-radius: 18px;
  --gfm-radius-lg: 24px;
  --gfm-shadow: 0 20px 50px rgba(0,0,0,.45);
  --gfm-shadow-soft: 0 12px 32px rgba(0,0,0,.28);
  --gfm-border: rgba(148,163,184,.12);
  --gfm-border-strong: rgba(34,211,238,.22);
  --gfm-teal: #00d4a8;
  --gfm-cyan: #22d3ee;
  --gfm-ink: #060a14;
  --gfm-surface: rgba(15,23,42,.88);
}

/* ---------- Genel sayfa ritmi ---------- */
.section{
  padding: 56px 0 !important;
}
.section-alt{
  background: linear-gradient(180deg, rgba(10,17,34,.6) 0%, rgba(6,10,20,.9) 100%) !important;
}
.section-head{
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px !important;
}
.section-head .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 2.2px;
  color: #5eead4 !important;
  background: rgba(0,212,168,.08);
  border: 1px solid rgba(0,212,168,.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2{
  font-size: clamp(26px, 4.2vw, 38px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.6px;
  background: linear-gradient(120deg, #f8fafc 25%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 10px !important;
}
.section-head .page-lead{
  color: #94a3b8 !important;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.section-footer{
  margin-top: 24px;
  text-align: center;
}
.section-more{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gfm-cyan) !important;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  padding: 8px 4px;
  transition: color .18s ease, transform .18s ease;
}
.section-more:hover{
  color: #5eead4 !important;
  transform: translateX(3px);
}

/* ---------- Auth top banner ---------- */
.auth-top-banner{
  background: linear-gradient(90deg, rgba(6,18,28,.92), rgba(9,24,35,.78)) !important;
  border-bottom: 1px solid var(--gfm-border);
  backdrop-filter: blur(10px);
}
.auth-top-inner{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 0;
}
.auth-top-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-sm{
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700;
  min-height: 36px !important;
}
.btn-block{
  display: flex !important;
  width: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: none !important;
}
.btn-sohbet-blink.btn-block{
  margin-top: 10px;
}

/* ---------- Hero ---------- */
.portal-hero.hero-v3{
  padding-top: 28px !important;
  padding-bottom: 48px !important;
}
.hero-intro{
  margin-bottom: 26px !important;
}
.hero-stats .hstat{
  min-width: 96px;
  padding: 14px 18px;
  border-radius: 16px;
  transition: transform .2s ease, border-color .2s ease;
}
.hero-stats .hstat:hover{
  transform: translateY(-2px);
  border-color: rgba(34,211,238,.28);
}

/* Grid */
.portal-hero-grid{
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 22px;
  align-items: stretch;
}

/* News slider refinements */
.hero-v3 .news-slider{
  min-height: 420px;
  border-radius: var(--gfm-radius-lg) !important;
}
.hero-v3 .news-slide-body{
  padding: 32px 30px 28px !important;
}

/* Live card */
.hero-v3 .live-card{
  border-radius: var(--gfm-radius-lg) !important;
  padding: 20px !important;
}
.now-art img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.now-time{
  font-size: 12px !important;
  color: var(--gfm-cyan) !important;
  margin-top: 4px !important;
  font-variant-numeric: tabular-nums;
}
.live-hint{
  font-size: 12.5px;
  color: #64748b;
  margin: 12px 0 14px;
  text-align: center;
}

/* Online panel */
.hero-v3 .online-panel{
  border-radius: var(--gfm-radius) !important;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--gfm-border);
  background: linear-gradient(160deg, rgba(16,33,48,.95), rgba(11,23,34,.98));
  box-shadow: var(--gfm-shadow-soft);
}
.hero-v3 .online-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gfm-border);
}
.hero-v3 .online-join{
  display: block;
  text-align: center;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 13.5px;
  color: #03211b !important;
  background: linear-gradient(135deg, #00d4a8, #22d3ee);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-v3 .online-join:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,212,168,.4);
}

/* ---------- Quick nav ---------- */
.portal-quick{
  padding: 8px 0 28px !important;
}
.portal-quick .quick-nav{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px 12px !important;
  background: linear-gradient(165deg, rgba(15,23,42,.7), rgba(2,6,23,.85));
  border: 1px solid var(--gfm-border);
  border-radius: 999px;
  box-shadow: var(--gfm-shadow-soft);
  backdrop-filter: blur(12px);
}
.portal-quick .quick-nav a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #e2e8f0 !important;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all .18s ease;
}
.portal-quick .quick-nav a:hover,
.portal-quick .quick-nav a.qn-sohbet:hover{
  background: rgba(34,211,238,.12);
  border-color: rgba(34,211,238,.28);
  color: #5eead4 !important;
  transform: translateY(-1px);
}
.portal-quick .quick-nav a.qn-sohbet{
  background: linear-gradient(120deg, rgba(238,99,153,.18), rgba(166,96,219,.18));
  border-color: rgba(238,99,153,.3);
}

/* ---------- Auth shell ---------- */
.auth-shell{
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(165deg, rgba(15,23,42,.95), rgba(2,6,23,.98));
  border: 1px solid var(--gfm-border-strong);
  border-radius: var(--gfm-radius-lg);
  padding: 8px;
  box-shadow: var(--gfm-shadow), 0 0 40px rgba(0,212,168,.06);
  overflow: hidden;
}
.auth-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  background: rgba(0,0,0,.25);
  border-radius: 14px;
  margin-bottom: 4px;
}
.auth-tab{
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 8px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
}
.auth-tab:hover{ color: #e2e8f0; }
.auth-tab.on{
  background: linear-gradient(135deg, rgba(0,212,168,.2), rgba(34,211,238,.15));
  color: #5eead4 !important;
  box-shadow: 0 4px 14px rgba(0,212,168,.15);
}
.auth-pane{
  display: none;
  padding: 18px 16px 20px;
}
.auth-pane.on{ display: block; }
.auth-form label{
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 6px;
  margin-top: 12px;
}
.auth-form label:first-of-type{ margin-top: 0; }
.auth-form input{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--gfm-border);
  background: rgba(2,6,23,.7);
  color: #f1f5f9;
  padding: 0 14px;
  font-size: 14.5px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.auth-form input:focus{
  outline: none;
  border-color: rgba(34,211,238,.45);
  box-shadow: 0 0 0 3px rgba(34,211,238,.12);
}
.auth-form .btn{
  margin-top: 16px;
  width: 100%;
  height: 46px;
  font-weight: 800;
}
.auth-alert{
  max-width: 480px;
  margin: 0 auto 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
}
.auth-alert.err{
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5;
}
.auth-alert.ok{
  background: rgba(0,212,168,.1);
  border: 1px solid rgba(0,212,168,.28);
  color: #5eead4;
}

/* ---------- Program cards ---------- */
.program-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.program-card{
  background: linear-gradient(165deg, rgba(15,23,42,.9), rgba(2,6,23,.95));
  border: 1px solid var(--gfm-border);
  border-radius: var(--gfm-radius);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  box-shadow: var(--gfm-shadow-soft);
}
.program-card:hover{
  transform: translateY(-4px);
  border-color: rgba(0,212,168,.35);
  box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 24px rgba(0,212,168,.08);
}
.program-card .art{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0f172a;
}
.program-card .art img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.program-card:hover .art img{ transform: scale(1.06); }
.program-card .art-fallback{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 36px;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
}
.program-card .body{
  padding: 12px 14px 14px;
}
.program-card .body h3{
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  margin: 0 0 8px !important;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prog-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.prog-dj, .prog-time{
  display: inline-block;
  font-size: 11px !important;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0,212,168,.1);
  color: #5eead4 !important;
  border: 1px solid rgba(0,212,168,.2);
}
.prog-time{
  background: rgba(34,211,238,.08);
  color: #7dd3fc !important;
  border-color: rgba(34,211,238,.2);
}

/* ---------- Magazin cards ---------- */
.mag-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px){
  .mag-grid{ grid-template-columns: 1fr 1fr; }
}
.mag-card{
  display: flex;
  gap: 0;
  background: linear-gradient(145deg, rgba(15,23,42,.92), rgba(2,6,23,.96));
  border: 1px solid var(--gfm-border);
  border-radius: var(--gfm-radius);
  overflow: hidden;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--gfm-shadow-soft);
}
.mag-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,110,155,.32);
  box-shadow: 0 16px 36px rgba(0,0,0,.35);
}
.mag-art{
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: rgba(255,255,255,.15);
  background: linear-gradient(160deg, #1e1b4b, #0f172a);
  letter-spacing: -1px;
}
.mag-body{
  flex: 1;
  padding: 14px 16px;
  min-width: 0;
}
.mag-body small{
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 4px;
}
.mag-body h3{
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  margin: 0 0 6px !important;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mag-body p{
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 8px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mag-cta{
  font-size: 12.5px;
  font-weight: 800;
  color: #ff9bbb !important;
}

/* ---------- Home duo (schedule + request) ---------- */
.home-duo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.home-duo .section-head{
  text-align: left;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none;
}
.sched-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sched-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(145deg, rgba(15,23,42,.85), rgba(2,6,23,.9));
  border: 1px solid var(--gfm-border);
  border-radius: 14px;
  transition: border-color .18s ease, background .18s ease;
}
.sched-item.now{
  border-color: rgba(0,212,168,.4);
  background: linear-gradient(145deg, rgba(0,212,168,.08), rgba(2,6,23,.92));
  box-shadow: 0 0 24px rgba(0,212,168,.08);
}
.sched-time{
  flex: 0 0 auto;
  min-width: 88px;
  font-size: 12.5px;
  font-weight: 800;
  color: #7dd3fc;
  font-variant-numeric: tabular-nums;
  padding: 6px 10px;
  background: rgba(34,211,238,.08);
  border-radius: 10px;
  text-align: center;
}
.sched-item.now .sched-time{
  background: rgba(0,212,168,.15);
  color: #5eead4;
}
.badge-now{
  display: none;
  margin-left: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .5px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #ef4444;
  color: #fff;
  vertical-align: middle;
}
.sched-item.now .badge-now{ display: inline-block; }
.sched-item h3{
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #f1f5f9 !important;
  margin: 0 0 2px !important;
}
.sched-item p{
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}

/* Request form */
.request-box{
  background: linear-gradient(165deg, rgba(15,23,42,.92), rgba(2,6,23,.96));
  border: 1px solid var(--gfm-border);
  border-radius: var(--gfm-radius);
  padding: 20px;
  box-shadow: var(--gfm-shadow-soft);
}
.req-form{
  display: grid;
  gap: 10px;
}
.req-form input{
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--gfm-border);
  background: rgba(2,6,23,.7);
  color: #f1f5f9;
  padding: 0 14px;
  font-size: 14.5px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.req-form input:focus{
  outline: none;
  border-color: rgba(34,211,238,.45);
  box-shadow: 0 0 0 3px rgba(34,211,238,.12);
}
.req-form input::placeholder{ color: #64748b; }
.req-msg{
  font-size: 13px;
  color: #94a3b8;
  min-height: 18px;
}

/* Primary button polish */
.btn-primary,
a.btn-primary{
  background: linear-gradient(120deg, #00d4a8, #22d3ee) !important;
  color: #03211b !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 22px rgba(0,212,168,.25) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.btn-primary:hover,
a.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,212,168,.4) !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .portal-hero-grid{
    grid-template-columns: 1fr !important;
  }
  .home-duo{
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-v3 .news-slider{ min-height: 320px; }
}

@media (max-width: 640px){
  .section{ padding: 40px 0 !important; }
  .section-head{ margin-bottom: 22px !important; }
  .section-head h2{ font-size: 24px !important; }
  .hero-intro{
    flex-direction: column;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .hero-stats{ width: 100%; justify-content: space-between; }
  .hero-stats .hstat{ flex: 1; min-width: 0; padding: 10px 12px; }
  .hstat b{ font-size: 18px !important; }
  .portal-quick .quick-nav{
    border-radius: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .portal-quick .quick-nav::-webkit-scrollbar{ display: none; }
  .portal-quick .quick-nav a{
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .program-grid{
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .program-card .body{ padding: 10px 11px 12px; }
  .program-card .body h3{ font-size: 13px !important; }
  .auth-shell{ border-radius: 18px; }
  .auth-tabs{ gap: 2px; }
  .auth-tab{ font-size: 12px; padding: 9px 6px; }
  .sched-time{ min-width: 0; font-size: 11.5px; padding: 5px 8px; }
  .request-box{ padding: 16px; }
  .hero-v3 .news-slider{ min-height: 280px; border-radius: 18px !important; }
  .hero-v3 .live-card, .hero-v3 .online-panel{ border-radius: 18px !important; }
}

@media (max-width: 400px){
  .program-grid{ gap: 8px !important; }
  .hero-stats .hstat{ padding: 8px 8px; }
  .badge-now{ display: none !important; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
