/* ============================================================
   GÜLEÇ FM — FlatRadyo Portal tarzı görünüm
   Mevcut player (rg-player-wrap) KORUNUR — sadece site UI
   ============================================================ */

:root {
  --bg: #070a12;
  --bg2: #0b1020;
  --surface: #111827;
  --surface2: #151d2e;
  --surface3: #1a2438;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(139,92,246,.28);
  --text: #eef2ff;
  --muted: #94a3b8;
  --primary: #22d3a6;
  --primary-2: #2ee6b8;
  --primary-dim: rgba(34,211,166,.14);
  --primary-glow: rgba(34,211,166,.4);
  --accent: #f43f8c;
  --accent-2: #a855f7;
  --gold: #fbbf24;
  --purple: #8b5cf6;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(0,0,0,.55);
  --grad-hero:
    radial-gradient(ellipse 70% 55% at 15% -10%, rgba(168,85,247,.22), transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 10%, rgba(244,63,140,.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(34,211,166,.08), transparent 50%),
    var(--bg);
}

body {
  background: var(--bg);
  background-image: var(--grad-hero);
  background-attachment: fixed;
}

/* ----- Üst bar (sticky, cam) ----- */
.topbar {
  background: rgba(8,10,20,.78) !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
  border-bottom: 1px solid rgba(139,92,246,.15) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.brand span b { color: #c4b5fd; }
.brand span { background: linear-gradient(90deg,#e9d5ff,#a5f3fc); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.menu a {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  transition: .2s !important;
}
.menu a:hover,
.menu a.active {
  color: #fff !important;
  background: rgba(139,92,246,.18) !important;
  box-shadow: 0 0 0 1px rgba(139,92,246,.35);
}

/* Flat tarzı pembe SOHBET CTA menüde */
.menu a[href*="sohbet"],
.menu a.nav-sohbet-cta {
  background: linear-gradient(135deg,#f43f8c,#a855f7) !important;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(244,63,140,.45) !important;
  padding: 9px 16px !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
}
.menu a[href*="sohbet"]:hover,
.menu a.nav-sohbet-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ----- Hero ----- */
.hero {
  padding: 48px 0 36px !important;
  background: transparent !important;
}
.hero-grid {
  display: grid !important;
  grid-template-columns: 1.15fr .85fr !important;
  gap: 28px !important;
  align-items: stretch !important;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr !important; }
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34,211,166,.12);
  border: 1px solid rgba(34,211,166,.35);
  color: #5eead4 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -.03em !important;
  margin: 14px 0 12px !important;
}
.hero h1 em {
  font-style: normal !important;
  background: linear-gradient(90deg,#f472b6,#a78bfa,#22d3a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero > .container > div > p,
.hero-grid > div > p {
  color: var(--muted) !important;
  font-size: 15.5px !important;
  max-width: 520px;
}
.hero-actions { gap: 12px !important; margin-top: 22px !important; flex-wrap: wrap; }

/* Pembe sohbet butonu — Flat CTA */
.btn-sohbet-blink,
a.btn-sohbet-blink {
  background: linear-gradient(135deg,#f43f8c 0%,#d946ef 50%,#a855f7 100%) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 14px 26px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: 0 10px 30px rgba(244,63,140,.4) !important;
  animation: gfmCtaPulse 2.4s ease-in-out infinite;
}
@keyframes gfmCtaPulse {
  0%,100% { box-shadow: 0 10px 30px rgba(244,63,140,.35); }
  50% { box-shadow: 0 12px 36px rgba(168,85,247,.55); }
}
.btn-ghost,
a.btn.btn-ghost {
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.04) !important;
  color: #e2e8f0 !important;
  padding: 13px 22px !important;
  font-weight: 700 !important;
}
.btn-ghost:hover { border-color: rgba(139,92,246,.5) !important; background: rgba(139,92,246,.12) !important; }

/* Sağ canlı kart — Flat player card hissi */
.player-card,
#nowCard {
  background: linear-gradient(165deg, rgba(20,28,48,.95), rgba(12,16,28,.98)) !important;
  border: 1px solid rgba(139,92,246,.28) !important;
  border-radius: 22px !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06) !important;
  padding: 22px !important;
  position: relative;
  overflow: hidden;
}
.player-card::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(168,85,247,.25), transparent 70%);
  pointer-events: none;
}
.player-card .eyebrow {
  color: #86efac !important;
  font-size: 11px !important;
}
.player-card h3 {
  font-size: 18px !important;
  font-weight: 800 !important;
}
.player-card .btn,
#nowCard a.btn,
#nowCard .btn {
  background: linear-gradient(135deg,#22d3a6,#14b8a6) !important;
  color: #042f2e !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  border: 0 !important;
  box-shadow: 0 8px 24px rgba(34,211,166,.35) !important;
  width: 100%;
  justify-content: center;
  padding: 14px 18px !important;
  margin-top: 14px;
}

/* ----- Bölümler ----- */
.section {
  padding: 52px 0 !important;
}
.section-head .eyebrow {
  color: #c4b5fd !important;
  font-weight: 800 !important;
  letter-spacing: .1em;
  font-size: 11px !important;
}
.section-head h2 {
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
}

/* Program kartları */
.prog-grid .prog-card,
.prog-card {
  background: linear-gradient(160deg, rgba(22,30,48,.95), rgba(12,16,26,.98)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  transition: transform .2s, border-color .2s, box-shadow .2s !important;
}
.prog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,.4) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(139,92,246,.2);
}
.prog-card .body h3 { font-weight: 800 !important; }
.prog-card .badge,
.prog-card span[class*="time"],
.prog-card .time-pill {
  background: rgba(34,211,166,.15) !important;
  color: #5eead4 !important;
  border: 1px solid rgba(34,211,166,.3) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}

/* Magazin / haber kartları — Flat haber kartı */
.mag-grid .mag-card,
.mag-card {
  background: linear-gradient(165deg, #141c2e, #0e1422) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  transition: .2s !important;
}
.mag-card:hover {
  border-color: rgba(244,63,140,.35) !important;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
}
.mag-card .mag-art {
  background: linear-gradient(135deg, rgba(168,85,247,.25), rgba(244,63,140,.15)) !important;
  font-weight: 900 !important;
  color: #e9d5ff !important;
}
.mag-card b { color: #f472b6 !important; }

/* Yayın akışı satırları */
.sched-item {
  background: rgba(17,24,39,.85) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
}
.sched-item:hover { border-color: rgba(34,211,166,.3) !important; }
.sched-time { color: #5eead4 !important; font-weight: 800 !important; }

/* VIP tarzı kutu (isteğe bağlı blok) */
.gfm-vip-card {
  background: linear-gradient(145deg, #1a1408, #2a1f0a 40%, #1a1206);
  border: 1px solid rgba(251,191,36,.35);
  border-radius: 22px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 0 40px rgba(251,191,36,.12), inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
  overflow: hidden;
}
.gfm-vip-card::before {
  content: '👑';
  font-size: 42px;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(251,191,36,.6));
}
.gfm-vip-card h3 {
  font-size: 20px;
  font-weight: 900;
  color: #fde68a;
  margin-bottom: 8px;
}
.gfm-vip-card p { color: #d6c28a; font-size: 14px; margin-bottom: 16px; }
.gfm-vip-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#fbbf24,#f59e0b);
  color: #1c1200 !important;
  font-weight: 900;
  padding: 12px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(251,191,36,.35);
}

/* Footer */
.footer {
  background: #05080f !important;
  border-top: 1px solid rgba(139,92,246,.15) !important;
}
.footer a:hover { color: #c4b5fd !important; }

/* Mobil menü */
.mobile-menu {
  background: rgba(10,14,24,.96) !important;
  border: 1px solid rgba(139,92,246,.2) !important;
  border-radius: 16px !important;
}
.mobile-menu a[href*="sohbet"] {
  background: linear-gradient(135deg,#f43f8c,#a855f7) !important;
  color: #fff !important;
  border-radius: 12px !important;
  text-align: center;
  font-weight: 800 !important;
}

/* Buton genel */
.btn.btn-primary,
a.btn-primary {
  background: linear-gradient(135deg,#22d3a6,#14b8a6) !important;
  color: #042f2e !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  border: 0 !important;
}

/* Kart yüzeyleri genel */
.admin-card, .card, .panel-card {
  border-radius: var(--radius) !important;
  border-color: var(--border) !important;
}

/* ========== PLAYER — yapı aynı, hafif portal uyumu (işlev değişmez) ========== */
.rg-player-wrap {
  background: linear-gradient(90deg, #0a0e18 0%, #10182a 50%, #0a0e18 100%) !important;
  border-bottom: 1px solid rgba(139,92,246,.2) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.rg-live { color: #5eead4 !important; }
.rg-dot {
  background: #f43f8c !important;
  box-shadow: 0 0 8px #f43f8c !important;
}
.rg-play {
  background: linear-gradient(135deg,#22d3a6,#14b8a6) !important;
  color: #042f2e !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 16px rgba(34,211,166,.4) !important;
}
.rg-title { letter-spacing: .06em; color: #c4b5fd !important; font-weight: 800 !important; }
.rg-track { color: #e2e8f0 !important; }

/* Haber rozeti benzeri */
.mag-card small::before {
  content: 'HABER · ';
  color: #f472b6;
  font-weight: 800;
}


/* ========== Haber slider + online panel ========== */
.portal-hero { padding: 28px 0 12px; }
.portal-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .portal-hero-grid { grid-template-columns: 1fr; }
}

.news-slider {
  position: relative;
  min-height: 340px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(139,92,246,.25);
  box-shadow: 0 24px 50px rgba(0,0,0,.4);
  background: #0b1020;
}
.news-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.news-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.news-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.45) saturate(1.1);
  transform: scale(1.04);
}
.news-slide.is-active .news-slide-bg { animation: newsZoom 7s ease forwards; }
@keyframes newsZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}
.news-slide-body {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 28px 52px;
  background: linear-gradient(180deg, transparent 20%, rgba(5,8,16,.88) 70%, rgba(5,8,16,.96));
}
.news-badge {
  align-self: flex-start;
  background: linear-gradient(135deg,#f43f8c,#a855f7);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.news-slide-body h2 {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -.02em;
  max-width: 90%;
}
.news-slide-body p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
  max-width: 85%;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta { color: #94a3b8; font-size: 12px; margin-bottom: 14px; }
.news-cta {
  align-self: flex-start;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: .2s;
}
.news-cta:hover { background: linear-gradient(135deg,#f43f8c,#a855f7); border-color: transparent; }

.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.news-prev { left: 12px; }
.news-next { right: 12px; }
.news-nav:hover { background: rgba(168,85,247,.55); border-color: transparent; }

.news-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.news-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  padding: 0;
}
.news-dots button.on {
  background: #f472b6;
  box-shadow: 0 0 10px rgba(244,114,182,.7);
  width: 18px;
  border-radius: 6px;
}

.portal-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
}
.portal-side .player-card { flex: 0 0 auto; }

.online-panel {
  flex: 1 1 auto;
  background: linear-gradient(165deg, rgba(20,28,48,.95), rgba(10,14,24,.98));
  border: 1px solid rgba(34,211,166,.2);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 180px;
  max-height: 280px;
}
.online-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.online-head strong { font-size: 14px; font-weight: 800; }
.online-head span {
  font-size: 11px;
  font-weight: 700;
  color: #5eead4;
  background: rgba(34,211,166,.12);
  border: 1px solid rgba(34,211,166,.3);
  padding: 3px 8px;
  border-radius: 999px;
}
.online-list {
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
}
.online-empty { color: #94a3b8; font-size: 13px; padding: 12px 4px; text-align: center; }
.online-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}
.online-row img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(34,211,166,.4);
}
.online-row b { display: block; font-size: 13px; font-weight: 700; }
.online-row small { color: #94a3b8; font-size: 10px; }
.online-row .on-dot {
  margin-left: auto;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22d3a6;
  box-shadow: 0 0 8px #22d3a6;
}
.online-join {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(244,63,140,.12);
  border: 1px solid rgba(244,63,140,.3);
  color: #fda4d0 !important;
  font-weight: 800;
  font-size: 13px;
}
.online-join:hover { background: rgba(244,63,140,.22); }

/* Hızlı menü — sohbet menüsü ile aynı yapı */
.portal-quick { padding: 8px 0 20px !important; }
.quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.quick-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(17,24,39,.9);
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 700;
  font-size: 13px;
  color: #e2e8f0 !important;
  transition: .2s;
}
.quick-nav a:hover {
  border-color: rgba(139,92,246,.45);
  background: rgba(139,92,246,.12);
  transform: translateY(-2px);
}
.quick-nav a.qn-sohbet {
  background: linear-gradient(135deg,#f43f8c,#a855f7);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(244,63,140,.35);
}
.quick-nav a span { font-size: 16px; }

/* Eski hero gizle (kalıntı olursa) */
.hero { display: none !important; }
.gfm-vip-card { display: none !important; }


/* ========== Tek portal giriş formu ========== */
.auth-shell{
  max-width:520px;
  margin:0 auto;
  background:linear-gradient(165deg,rgba(18,24,40,.98),rgba(10,14,22,.99));
  border:1px solid rgba(139,92,246,.3);
  border-radius:20px;
  padding:18px 18px 22px;
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}
.auth-tabs{
  display:flex; flex-wrap:wrap; gap:6px; margin-bottom:16px;
}
.auth-tab{
  flex:1 1 auto;
  min-width:100px;
  padding:10px 8px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  color:#94a3b8;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
}
.auth-tab.on{
  background:linear-gradient(135deg,rgba(168,85,247,.35),rgba(244,63,140,.25));
  color:#fff;
  border-color:rgba(168,85,247,.5);
}
.auth-pane{ display:none; }
.auth-pane.on{ display:block; }
.auth-form label{
  display:block; font-size:12px; font-weight:700; color:#94a3b8; margin:10px 0 4px;
}
.auth-form input, .auth-form select{
  width:100%; height:42px; border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:#0b1020; color:#fff; padding:0 12px; font-size:14px;
}
.auth-form input:focus, .auth-form select:focus{
  outline:0; border-color:rgba(168,85,247,.55);
  box-shadow:0 0 0 2px rgba(168,85,247,.15);
}
.auth-submit{ width:100%; margin-top:16px; height:46px; border-radius:14px !important; font-size:15px !important; }
.auth-hint{ color:#94a3b8; font-size:12px; margin-top:8px; }
.auth-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
@media(max-width:560px){ .auth-grid2{ grid-template-columns:1fr; } }
.auth-alert{
  max-width:520px; margin:0 auto 14px; padding:12px 14px; border-radius:12px; font-weight:700; font-size:13px;
}
.auth-alert.err{ background:rgba(244,63,94,.15); border:1px solid rgba(244,63,94,.4); color:#fda4af; }
.auth-alert.ok{ background:rgba(34,211,166,.12); border:1px solid rgba(34,211,166,.35); color:#5eead4; }

.auth-top-banner{background:rgba(139,92,246,.1);border-bottom:1px solid rgba(139,92,246,.25);margin-bottom:4px}

