/* ============================================================
   TASARIM 2 - Studio Console
   Admin hariç ziyaretçi tarafı için farklı model
   ============================================================ */

:root {
  --clr-bg: #111316;
  --clr-bg2: #181b20;
  --clr-surface: rgba(255,255,255,0.06);
  --clr-border: rgba(255,255,255,0.12);
  --clr-primary: #ff375f;
  --clr-primary2: #ffb000;
  --clr-accent: #00c2a8;
  --clr-accent2: #4f8cff;
  --grad-primary: linear-gradient(135deg, #ff375f, #ffb000);
  --grad-accent: linear-gradient(135deg, #00c2a8, #4f8cff);
  --grad-hero: radial-gradient(circle at 12% 12%, rgba(255,55,95,0.24), transparent 30%),
               radial-gradient(circle at 86% 28%, rgba(0,194,168,0.18), transparent 34%),
               linear-gradient(135deg, #101114 0%, #191d24 58%, #111316 100%);
  --clr-text: #eef1f6;
  --clr-text-muted: #9da7b8;
  --clr-white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.22);
  --shadow-md: 0 24px 70px rgba(0,0,0,0.34);
  --shadow-glow: 0 0 34px rgba(255,55,95,0.24);
  --shadow-glow2: 0 0 34px rgba(0,194,168,0.2);
}

body {
  background: #111316;
  padding-bottom: 86px;
}

body::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

.container {
  max-width: 1240px;
}

.top-bar {
  display: none;
}

.site-header {
  top: 18px;
  left: 18px;
  right: 18px;
  width: auto;
  height: 72px;
  background: rgba(17,19,22,0.86);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled {
  background: rgba(17,19,22,0.94);
  box-shadow: var(--shadow-md);
}

.site-header .container {
  height: 100%;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: var(--grad-primary);
}

.logo-name {
  color: #fff;
}

.logo-slogan,
.main-nav a {
  color: var(--clr-text-muted);
}

.main-nav a {
  border-radius: 8px;
  padding: 10px 12px;
}

.main-nav a i {
  display: none;
}

.main-nav a:hover,
.main-nav a.aktif {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.radio-player {
  position: fixed;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  transform: none;
  background: rgba(17,19,22,0.9);
  border: 1px solid rgba(255,255,255,0.16);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0;
  box-shadow: var(--shadow-md);
}

.radio-player .container {
  max-width: 1240px;
  padding: 0 24px;
}

.player-inner {
  height: 72px;
}

.player-request-btn {
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.play-btn {
  border-radius: 10px;
}

.d2-home {
  overflow: hidden;
}

.d2-hero {
  min-height: 100vh;
  padding: 150px 0 90px;
  background: var(--grad-hero);
  position: relative;
}

.d2-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

.d2-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  align-items: center;
}

.d2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--clr-text-muted);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.d2-kicker i {
  color: #21e68a;
  font-size: 0.62rem;
  filter: drop-shadow(0 0 8px rgba(33,230,138,0.9));
}

.d2-hero-copy h1 {
  margin: 24px 0 14px;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.d2-hero-copy p {
  max-width: 580px;
  color: #c8cfda;
  font-size: 1.25rem;
}

.d2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.d2-play-cta,
.d2-link-cta,
.d2-small-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 900;
  transition: var(--trans);
}

.d2-play-cta {
  padding: 16px 22px;
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.d2-link-cta {
  padding: 15px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
}

.d2-play-cta:hover,
.d2-link-cta:hover {
  transform: translateY(-2px);
}

.d2-studio-panel {
  position: relative;
  padding: 24px;
  min-height: 470px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.045)),
    #151820;
  box-shadow: var(--shadow-md);
}

.d2-studio-panel::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 13px;
  pointer-events: none;
}

.d2-panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.d2-panel-top span,
.d2-now-grid small {
  display: block;
  color: var(--clr-text-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.d2-panel-top strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.d2-small-play {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: var(--shadow-glow2);
}

.d2-meter {
  position: relative;
  z-index: 1;
  height: 150px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: end;
  margin: 54px 0 34px;
}

.d2-meter span {
  min-height: 28px;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, #21e68a, #00c2a8 42%, #ffb000 76%, #ff375f);
  box-shadow: 0 0 24px rgba(0,194,168,0.24);
  animation: d2-meter 1.1s ease-in-out infinite alternate;
  transform-origin: bottom;
  transition: height 0.08s linear, opacity 0.08s linear;
}

.d2-meter span:nth-child(1) { height: 38%; animation-delay: 0s; }
.d2-meter span:nth-child(2) { height: 64%; animation-delay: 0.1s; }
.d2-meter span:nth-child(3) { height: 46%; animation-delay: 0.2s; }
.d2-meter span:nth-child(4) { height: 94%; animation-delay: 0.05s; }
.d2-meter span:nth-child(5) { height: 72%; animation-delay: 0.22s; }
.d2-meter span:nth-child(6) { height: 52%; animation-delay: 0.14s; }
.d2-meter span:nth-child(7) { height: 86%; animation-delay: 0.28s; }

.d2-audio-live .d2-meter span {
  animation: none;
}

.d2-now-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.d2-now-grid div {
  padding: 16px;
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.09);
}

.d2-now-grid strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.6rem;
}

.d2-live-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,55,95,0.12);
  color: #fff;
}

.d2-live-strip b {
  margin-left: auto;
  color: #ffcf5c;
}

.d2-board,
.d2-request-section {
  padding: 86px 0;
  background: #111316;
}

.d2-board-grid,
.d2-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.d2-card {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  box-shadow: var(--shadow-sm);
}

.d2-section-title span,
.d2-request-copy > span {
  color: var(--clr-accent);
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.d2-section-title h2,
.d2-request-copy h2 {
  margin-top: 6px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.d2-timeline {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d2-time-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
}

.d2-time-row.is-live {
  background: rgba(255,55,95,0.12);
  border-color: rgba(255,55,95,0.32);
}

.d2-time-row time {
  color: #ffcf5c;
  font-family: var(--font-head);
  font-weight: 900;
}

.d2-time-row strong,
.d2-host strong,
.d2-last-requests h3 {
  display: block;
  color: #fff;
}

.d2-time-row span,
.d2-host span,
.d2-request-copy p {
  color: var(--clr-text-muted);
}

.d2-time-row em {
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.d2-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}

.d2-host-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.d2-host {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
}

.d2-host img,
.d2-host-avatar {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.d2-host-avatar {
  display: grid;
  place-items: center;
  background: var(--grad-accent);
  color: #fff;
}

.d2-request-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent),
    #151820;
}

.d2-request-copy {
  padding: 16px 0;
}

.d2-request-copy p {
  max-width: 620px;
  margin-top: 14px;
  font-size: 1rem;
}

.d2-last-requests {
  margin-top: 34px;
}

.d2-last-requests h3 {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: 1.15rem;
}

.d2-form-card {
  padding: 0 !important;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    rgba(13,15,18,0.92) !important;
  background-size: 32px 32px, 32px 32px, auto !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 0 !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.34) !important;
}

.d2-form-heading {
  padding: 28px 28px 4px;
}

.d2-form-heading span {
  display: block;
  color: #ff375f;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.d2-form-heading h2 {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.1;
  margin: 0 0 10px;
}

.d2-form-heading p {
  color: #aeb7c7;
  font-size: 0.9rem;
  margin: 0;
}

.d2-form-card .istek-form-shell {
  padding: 26px 28px 28px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.d2-form-card .istek-form-wrap {
  max-width: 100%;
}

.d2-form-card .istek-form-shell .form-row {
  gap: 16px;
}

.d2-form-card .istek-form-shell .form-group {
  margin-bottom: 22px;
}

.d2-form-card .istek-form-shell .form-group label {
  margin-bottom: 10px;
  color: #aeb7c7 !important;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.d2-form-card .istek-form-shell .form-group label span[style*="muted"] {
  color: #8d96aa !important;
  letter-spacing: 2px;
}

.d2-form-card .istek-form-shell .form-control {
  min-height: 50px !important;
  padding: 14px 18px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 7px !important;
  color: #f4f7fb !important;
  font-size: 0.95rem !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.d2-form-card .istek-form-shell .form-control:focus {
  background: rgba(255,255,255,0.09) !important;
  border-color: rgba(255,55,95,0.55) !important;
  box-shadow: 0 0 0 4px rgba(255,55,95,0.12) !important;
}

.d2-form-card .istek-form-shell .form-control::placeholder {
  color: #777f92 !important;
}

.d2-form-card .istek-form-shell textarea.form-control {
  min-height: 110px;
}

.d2-form-card .istek-form-shell .btn.btn-primary {
  min-height: 58px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ff375f, #ff5b45 48%, #ffb000) !important;
  box-shadow: none !important;
}

.d2-form-card .istek-form-shell .btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(255,55,95,0.24) !important;
}

.istek-item {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.1);
}

.istek-sarki {
  color: #fff;
}

.istek-kimden {
  color: #ffcf5c;
}

.d2-empty {
  padding: 18px;
  border-radius: 12px;
  color: var(--clr-text-muted);
  background: rgba(255,255,255,0.06);
}

.site-footer {
  background: #0c0d10;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.page-banner {
  padding-top: 150px;
  background: var(--grad-hero);
}

.page-banner::before {
  display: none;
}

@keyframes d2-meter {
  from { transform: scaleY(0.72); opacity: 0.7; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 1024px) {
  .d2-hero-layout,
  .d2-board-grid,
  .d2-request-grid {
    grid-template-columns: 1fr;
  }

  .d2-studio-panel {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
  }

  .d2-hero {
    padding: 110px 0 64px;
  }

  .d2-now-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .d2-time-row {
    grid-template-columns: 62px 1fr;
  }

  .d2-time-row em {
    grid-column: 1 / -1;
    width: max-content;
  }

  .radio-player {
    bottom: 0;
    width: 100%;
  }

  .radio-player .container {
    padding: 0 10px;
  }

  .player-inner {
    height: 66px;
  }

  .d2-form-card .istek-form-shell {
    padding: 20px;
  }
}
