* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #080707;
  color: #f3f4f6;
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #110e0c;
  border-bottom: 1px solid #2a1a10;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.15);
  flex-wrap: wrap;
  gap: 15px;
}

.brand h1 {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ff6600;
  text-shadow: 0 0 12px rgba(255, 102, 0, 0.6), 0 0 25px rgba(255, 102, 0, 0.3);
  text-transform: uppercase;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a130e;
  border: 1px solid #3d2210;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #6b7280;
}

.dot.live {
  background-color: #ff6600;
  box-shadow: 0 0 12px #ff6600, 0 0 20px #ff6600;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 4px solid #ff6600;
  padding-left: 10px;
  text-shadow: 0 0 8px rgba(255, 102, 0, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 10px;
}

.stat-card {
  background: #110e0c;
  border: 1px solid #2a1a10;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: #ff6600;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.25);
}

.stat-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  background: rgba(255, 102, 0, 0.12);
  color: #ff6600;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.stat-details {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.85rem;
  color: #a3958c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.stream-layout {
  display: flex;
  gap: 20px;
  width: 100%;
}

.stream-section {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-container {
  flex: 1;
  min-width: 320px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ÖZEL TASARIM NEON CHAT PANELİ */
.custom-chat-box {
  height: 520px;
  background-color: #110e0c;
  border: 1px solid #2a1a10;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.chat-header {
  padding: 12px 16px;
  background: #17120e;
  border-bottom: 1px solid #2a1a10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #ff6600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(255, 102, 0, 0.4);
}

.chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #2a1a10;
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #ff6600;
}

.chat-msg {
  background: rgba(23, 18, 14, 0.7);
  border: 1px solid #241810;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  animation: msgFadeIn 0.25s ease-out forwards;
}

.chat-user-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-right: 2px;
  white-space: nowrap;
}

.chat-text {
  color: #e5e7eb;
  display: inline;
  line-height: 1.5;
}

.chat-emoji {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  display: inline-block;
  margin: 0 2px 2px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.18));
}

@keyframes msgFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-username {
  font-weight: 700;
  color: #ff6600;
}

.chat-text {
  color: #e5e7eb;
}

.chat-emoji {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  display: inline-block;
  margin: 0 2px 2px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 102, 0, 0.2));
}

.chat-footer-btn {
  padding: 10px 14px;
  background: #17120e;
  border-top: 1px solid #2a1a10;
  text-align: center;
}

.chat-kick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 102, 0, 0.12);
  border: 1px solid rgba(255, 102, 0, 0.3);
  color: #ff6600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.chat-kick-link:hover {
  background: #ff6600;
  color: #000;
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.5);
}

.recent-followers-panel {
  background: #110e0c;
  border: 1px solid #2a1a10;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.followers-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ff6600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(255, 102, 0, 0.4);
}

.followers-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.follower-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #17120e;
  border: 1px solid #2a1a10;
  padding: 8px 12px;
  border-radius: 8px;
  animation: slideIn 0.3s ease-out forwards;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.follower-card:hover {
  border-color: #ff6600;
  transform: translateX(2px);
}

.follower-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.follower-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ff6600;
  object-fit: cover;
}

.follower-avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.15);
  color: #ff6600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 1px solid #ff6600;
}

.follower-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.follower-time {
  font-size: 0.7rem;
  color: #a3958c;
  font-weight: 600;
}

.follower-empty {
  font-size: 0.78rem;
  color: #8a776c;
  text-align: center;
  padding: 8px 0;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.right-sidebar {
  flex: 1;
  min-width: 300px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-card-panel {
  background: #110e0c;
  border: 1px solid #2a1a10;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.social-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.social-panel-header .header-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 102, 0, 0.15);
  color: #ff6600;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.3);
}

.social-panel-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #17120e;
  border: 1px solid #2a1a10;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
}

.social-item:hover {
  background: #241912;
  border-color: #ff6600;
  transform: translateX(3px);
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.2);
}

.social-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  background: #221711;
}

.social-icon-box.discord { background: #1a172e; color: #5865f2; }
.social-icon-box.tiktok { background: #13272b; color: #25f4ee; }
.social-icon-box.youtube { background: #2d1010; color: #ff3333; }
.social-icon-box.mail { background: #281a10; color: #ff8833; }

.social-info {
  display: flex;
  flex-direction: column;
}

.social-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f3f4f6;
}

.social-handle {
  font-size: 0.78rem;
  color: #9c8b80;
  margin-top: 1px;
}

.social-arrow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #221711;
  color: #8a776c;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.social-item:hover .social-arrow {
  background: #ff6600;
  color: #000;
  box-shadow: 0 0 10px #ff6600;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #17120e;
  border: 1px solid #2a1a10;
  padding: 10px 14px;
  border-radius: 14px;
  transition: border-color 0.2s ease;
}

.spec-item:hover {
  border-color: #ff6600;
}

.spec-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 102, 0, 0.12);
  color: #ff6600;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

.spec-info {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: #9c8b80;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a1a10;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.stream-info-card {
  background-color: #110e0c;
  border: 1px solid #2a1a10;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.stream-title-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stream-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.viewer-count {
  color: #a3958c;
  font-size: 0.9rem;
}

.sponsor-bar {
  width: 100%;
  height: 68px;
  background: linear-gradient(135deg, #17110d 0%, #24160e 100%);
  border: 1px solid #3d2210;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  /* reserve space on the left so the absolute sponsor tag doesn't overlap content */
  padding-left: 140px;
}

.sponsor-label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 900;
  color: #ffffff !important;
  background: linear-gradient(90deg, #ff8a33 0%, #ff6600 100%) !important;
  border: 1px solid rgba(255, 102, 0, 0.5) !important;
  padding: 8px 14px;
  border-radius: 8px;
  letter-spacing: 0.08em;
  z-index: 12;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(255, 102, 0, 0.15);
}

/* Ensure the sponsor-label's inner text can't be wrapped or forced into an icon box */
.sponsor-label * {
  color: inherit !important;
  font-weight: inherit !important;
  white-space: nowrap !important;
}

/* slider occupies remaining space */
.sponsor-track {
  flex: 1 1 auto;
  height: 100%;
  position: relative;
}

/* slides are stacked but we keep clicks only on visible slide */
.sponsor-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  opacity: 0;
  transition: opacity 0.45s ease-in-out, transform 0.45s ease-in-out;
  text-decoration: none;
  color: inherit;
  flex-wrap: nowrap;
  overflow: hidden;
  pointer-events: none; /* disable hidden slides */
}

.sponsor-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* enable only active slide */
}

.sponsor-body {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0; /* allow titles to ellipsize */
}

/* icon box */
.sponsor-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ff6600;
  background: rgba(255,102,0,0.06);
  flex-shrink: 0;
}

.sponsor-lines {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.sponsor-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sponsor-note {
  font-size: 0.78rem;
  color: #ff9955;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.95;
}

.sponsor-action {
  background: #ff6600;
  color: #000;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  z-index: 2;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 16px;
}

/* make anchors behave like blocks for accessibility */
.sponsor-item > .sponsor-action,
.sponsor-item .sponsor-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* small screens */
@media (max-width: 680px) {
  .sponsor-bar { padding-left: 110px; }
  .sponsor-icon { width: 40px; height: 40px; }
  .sponsor-action { padding: 8px 14px; font-size: 0.86rem; }
}

@media (max-width: 480px) {
  .sponsor-bar { padding-left: 96px; height: 64px; }
  .sponsor-name { max-width: 180px; }
  .sponsor-note { display: none; }
  .sponsor-action { padding: 7px 12px; font-size: 0.82rem; }
}

.sponsor-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 102, 0, 0.2);
  color: #ff6600;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 102, 0, 0.3);
}

.sponsor-lines {
  display: flex;
  flex-direction: column;
}

.sponsor-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.sponsor-note {
  font-size: 0.78rem;
  color: #ff9955;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.9;
}

.sponsor-action {
  background: #ff6600;
  color: #000;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  z-index: 2;
  white-space: nowrap;
}

/* Sponsor badge styling: normalize any sponsor label classes to match site theme */
.sponsor,
.sponsor-badge,
.sponsor-tag,
.sponsor-label,
.sponsor-btn,
.sponsorBox,
.sponser {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #ff8a33 0%, #ff6600 100%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.18);
  white-space: nowrap;
  min-width: 0;
}

/* Ensure inner text doesn't wrap or overflow */
.sponsor span,
.sponsor-badge span,
.sponsor-tag span,
.sponsor-label span {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

/* Small icon inside sponsor */
.sponsor .icon,
.sponsor-badge .icon,
.sponsor-tag .icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(0,0,0,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.85rem;
}

/* Responsive tweak */
@media (max-width: 480px) {
  .sponsor,
  .sponsor-badge,
  .sponsor-tag {
    font-size: 0.76rem;
    padding: 5px 8px;
  }
}


.sponsor-item {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.8);
}

.sponsor-item:hover .sponsor-action {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.8);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.video-card {
  background-color: #110e0c;
  border: 1px solid #2a1a10;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-decoration: none;
  display: block;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: #ff6600;
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.25);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-color: #000;
  background-size: cover;
  background-position: center;
}

.duration-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 102, 0, 0.5);
}

.video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 0, 0, 0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.views-tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 6px;
  border-radius: 4px;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.video-card:hover .play-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.play-icon {
  width: 50px;
  height: 50px;
  background-color: #ff6600;
  color: #000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  padding-left: 3px;
  box-shadow: 0 0 15px #ff6600;
  transition: transform 0.3s ease;
}

.play-icon.yt {
  background-color: #ff0000;
  color: #fff;
  box-shadow: 0 0 15px #ff0000;
}

.video-card:hover .play-icon {
  transform: scale(1.15);
}

.video-card-info {
  padding: 15px;
}

.video-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: #110e0c;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ff6600;
  box-shadow: 0 10px 40px rgba(255, 102, 0, 0.3);
}

.modal-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a1a10;
}

.modal-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ff6600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-btn {
  background: none;
  border: none;
  color: #a3958c;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #ff6600;
}

.modal-video-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.modal-video-box iframe,
.modal-video-box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}

@media (max-width: 1200px) {
  .stream-layout {
    flex-direction: column;
  }
  .chat-container, .right-sidebar {
    max-width: 100%;
    width: 100%;
  }
  .custom-chat-box {
    height: 450px;
  }
}

/* ==========================================================================
   Üretim sürümü eklemeleri
   Not: Satır içi <style> blokları ve style="" öznitelikleri buraya taşındı.
   Böylece Content-Security-Policy 'unsafe-inline' olmadan çalışabiliyor.
   ========================================================================== */

/* Klavye kullanıcıları için içeriğe atlama bağlantısı */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  padding: 10px 16px;
  background: #ff6600;
  color: #100c09;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* Görünür odak halkası - klavye ile gezinme için */
a:focus-visible,
button:focus-visible,
.video-card:focus-visible {
  outline: 2px solid #ff6600;
  outline-offset: 3px;
}

/* Bölüm başlıklarındaki ikon renkleri (eski satır içi style'ların yerine) */
.icon-orange { color: #ff6600; }
.icon-red { color: #ff0000; }

/* Modal açıkken arka planın kaymasını engelle */
body.modal-open {
  overflow: hidden;
}

/* Video kartları artık <button>; tarayıcı varsayılanlarını sıfırlıyoruz */
.video-card {
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}

.grid-placeholder {
  color: #a3958c;
  padding: 10px;
  margin: 0;
}

/* Video modalı görünürlüğü artık sınıf ile yönetiliyor */
.modal { display: none; }
.modal.active { display: flex; }

/* Kurulum görseli modalı */
.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.image-modal.active { display: flex; }

.image-modal .modal-content {
  width: min(1100px, 95%);
  max-height: 90vh;
  overflow: auto;
}

.image-modal .modal-image-box {
  text-align: center;
  background: #000;
}

.image-modal img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.setup-action {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.2s ease;
}

.setup-action:hover {
  background: #ff7f1f;
}

/* Atatürk imzası - dosya mevcutsa JS tarafından görünür kılınır */
.atam-image {
  height: 72px;
  max-width: 100%;
  display: block;
  margin-top: 10px;
}

.atam-image[hidden] { display: none; }

.site-footer {
  margin-top: auto;
  padding: 24px 30px;
  text-align: center;
  color: #6d5e55;
  font-size: 0.85rem;
  border-top: 1px solid #2a1a10;
  background: #0d0b09;
}

.site-footer p { margin: 0; }

@media (max-width: 480px) {
  .atam-image { height: 56px; }
}

/* Hareketi azaltma tercihine saygı */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Geçmiş yayın kartlarındaki tarih / kategori satırı */
.video-card-meta {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #8a776c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Geçmiş yayının oynatma bağlantısı çözümlenirken gösterilir */
.modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3958c;
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================================================
   Sponsor bandı - dar ekran düzeltmesi
   Sorun: 375 px genişlikte bant yalnızca 285 px; mutlak konumlu "SPONSOR"
   etiketi bunun 96 px'ini alıyor, ikon ve buton da pay alınca sponsor
   başlığına 16 px kalıyordu ve yazı görünmez oluyordu.
   Çözüm: dar ekranda etiket ve ikon gizlenir, tüm alan metne bırakılır.
   Başlık zaten "Sponsorluk & Reklam" yazdığı için bilgi kaybı olmuyor.
   ========================================================================== */
@media (max-width: 620px) {
  .sponsor-bar {
    padding-left: 14px;
  }

  .sponsor-label {
    display: none;
  }

  .sponsor-icon {
    display: none;
  }

  .sponsor-item {
    padding: 0 14px;
    gap: 10px;
  }

  .sponsor-name {
    max-width: none;
    font-size: 0.9rem;
  }

  .sponsor-action {
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Son Takip Edenler paneli
   Veri Kick'in channel.followed webhook'undan canlı olarak gelir.
   ========================================================================== */
.followers-panel {
  background-color: #110e0c;
  border: 1px solid #2a1a10;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 14px;
}

.followers-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #17120e;
  border-bottom: 1px solid #2a1a10;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ff6600;
}

.followers-list {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 6px;
}

.follower-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #17120e;
  border: 1px solid #241710;
  transition: border-color 0.2s ease;
}

.follower-row:hover {
  border-color: #ff6600;
}

/* Yeni gelen takipçi kısa bir vurguyla belirir */
.follower-row.is-new {
  animation: followerPop 1.6s ease-out;
}

@keyframes followerPop {
  0% { border-color: #ff6600; box-shadow: 0 0 14px rgba(255, 102, 0, 0.45); }
  100% { border-color: #241710; box-shadow: none; }
}

.follower-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #241710;
  border: 1px solid #3d2314;
}

.follower-avatar-fallback {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #241710;
  border: 1px solid #3d2314;
  color: #8a776c;
  font-size: 0.8rem;
}

.follower-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #e5e7eb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1 1 auto;
  min-width: 0;
}

.follower-time {
  font-size: 0.75rem;
  color: #8a776c;
  flex-shrink: 0;
}

.followers-empty {
  color: #8a776c;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 10px;
  margin: 0;
  text-align: center;
}
