/* ────────────────────────────────────────
     DEV BY LEXO
  ─────────────────────────────────────────── */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 32px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.logo-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 28px;
}

.globe {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%,
    #1e1b4b 0deg, #3f1d6b 60deg, #6d28d9 120deg,
    #a855f7 180deg, #8b5cf6 240deg, #5b21b6 300deg, #1e1b4b 360deg);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(139,92,246,0.5), 0 0 80px rgba(236,72,153,0.2);
  animation: spinHue 12s linear infinite;
}

.globe::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 35px 22px at 35% 45%, rgba(168,85,247,0.6) 0%, transparent 100%),
    radial-gradient(ellipse 24px 34px at 65% 35%, rgba(139,92,246,0.5) 0%, transparent 100%),
    radial-gradient(ellipse 18px 12px at 55% 65%, rgba(99,102,241,0.4) 0%, transparent 100%);
}

.globe::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.globe-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1%;
  z-index: 2;
  border-radius: 50%;
}

.orbit {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.4);
  animation: orbitSpin 6s linear infinite;
  pointer-events: none;
}

.orbit::before {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  top: -3.5px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--accent);
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-title {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 5px;
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 60%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.home-section {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px;
  box-sizing: border-box;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 6px;
}

.kick-embed-wrap {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #07070f;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.kick-status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  background: rgba(10,10,20,0.95);
  border-bottom: 1px solid var(--border);
}

.kick-status-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  flex-shrink: 0;
}

.kick-status-badge.offline {
  background: rgba(80,80,80,0.25);
  color: #888;
  border: 1px solid rgba(120,120,120,0.3);
}

.kick-status-badge.live {
  background: rgba(168,85,247,0.15);
  color: #d8b4fe;
  border: 1px solid rgba(168,85,247,0.4);
  animation: kickLivePulse 1.8s ease-in-out infinite;
}

@keyframes kickLivePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,85,247,0.4); }
  50%       { box-shadow: 0 0 0 5px rgba(168,85,247,0); }
}

.kick-status-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  color: var(--text);
  letter-spacing: 0.5px;
  flex: 1;
}

.kick-goto {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
  flex-shrink: 0;
}

.kick-goto:hover { color: #d8b4fe; }

.kick-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.kick-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.kick-chat-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(168,85,247,0.07);
  border-top: 1px solid rgba(168,85,247,0.15);
  color: #d8b4fe;
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.kick-chat-btn:hover { background: rgba(168,85,247,0.12); }

/* ═══════════════════════════════════════════
   INSTAGRAM 9:16 DİKEY KARTLAR
   YouTube Playlist Benzeri Görünüm
   ═══════════════════════════════════════════ */

/* Instagram Container - Yatay Scroll */
.ig-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: #6f00ff #1a1a1a;
}

.ig-scroll-wrap::-webkit-scrollbar {
  height: 4px;
}

.ig-scroll-wrap::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.ig-scroll-wrap::-webkit-scrollbar-thumb {
  background: #5c1f6e;
  border-radius: 2px;
}

.ig-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: max-content;
  padding: 4px 2px 8px;
}

.ig-card-vertical {
  display: flex;
  flex-direction: column;
  width: 180px;
  flex-shrink: 0;
}

.ig-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease;
}

.ig-card-link:hover {
  transform: translateY(-4px);
}

/* 9:16 Thumbnail */
.ig-vertical-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
}

.ig-vertical-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ig-card-link:hover .ig-vertical-thumb {
  transform: scale(1.06);
}

.ig-vertical-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 2;
}

.ig-card-link:hover .ig-vertical-play-icon {
  opacity: 1;
}

.ig-vertical-play-icon svg {
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
}

.ig-vertical-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s;
}

.ig-card-link:hover .ig-vertical-overlay {
  opacity: 1;
}

.ig-vertical-info {
  margin-top: 8px;
  padding: 0 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ig-vertical-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #e8e8e8;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.ig-vertical-link {
  font-size: 11px;
  color: #666;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}

.ig-card-link:hover .ig-vertical-link {
  color: #ec4899;
}

.ig-card-vertical.ig-loading {
  pointer-events: none;
}

.ig-vertical-skeleton-thumb {
  width: 100%;
  aspect-ratio: 9/16;
  border-radius: 8px;
  background: linear-gradient(90deg, #1c1c1c 25%, #2a2a2a 50%, #1c1c1c 75%);
  background-size: 200% 100%;
  animation: ig-shimmer 1.4s infinite;
}

.ig-vertical-skeleton-line {
  margin-top: 8px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(90deg, #1c1c1c 25%, #2a2a2a 50%, #1c1c1c 75%);
  background-size: 200% 100%;
  animation: ig-shimmer 1.4s infinite;
}

.ig-vertical-skeleton-line.short {
  width: 65%;
  margin-top: 6px;
}

@keyframes ig-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.ig-error {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  padding: 32px 16px;
  line-height: 1.7;
}

.ig-error a {
  color: var(--accent, #ec4899);
  text-decoration: underline;
}

@media (max-width: 680px) {
  .ig-card-vertical { width: 160px; }
  .ig-vertical-title { font-size: 12px; }
}

@media (max-width: 480px) {
  .ig-card-vertical { width: 145px; }
  .ig-vertical-title { font-size: 11px; }
  .ig-vertical-link { font-size: 10px; }
}

@media (max-width: 360px) {
  .ig-card-vertical { width: 130px; }
}

.social-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.social-card-sm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 10px 16px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}

.social-card-sm:hover { transform: translateY(-4px); }

.social-card-sm.kick:hover { border-color: #a855f7; box-shadow: 0 8px 28px rgba(168,85,247,0.15); }
.social-card-sm.ig:hover   { border-color: #ec4899; box-shadow: 0 8px 28px rgba(236,72,153,0.15); }
.social-card-sm.yt:hover   { border-color: #ff0000; box-shadow: 0 8px 28px rgba(255,0,0,0.12); }
.social-card-sm.tt:hover   { border-color: #69c9d0; box-shadow: 0 8px 28px rgba(105,201,208,0.12); }
.social-card-sm.dc:hover   { border-color: #6366f1; box-shadow: 0 8px 28px rgba(99,102,241,0.15); }

.sc-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.sc-icon img {
    width: 18px;
    height: 18px;
}

.social-card-sm.kick .sc-icon { background: rgba(168,85,247,0.1); }
.social-card-sm.ig   .sc-icon { background: rgba(236,72,153,0.1); }
.social-card-sm.yt   .sc-icon { background: rgba(255,0,0,0.08); }
.social-card-sm.tt   .sc-icon { background: rgba(105,201,208,0.08); }
.social-card-sm.dc   .sc-icon { background: rgba(99,102,241,0.1); }

.sc-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
}

.sc-handle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-align: center;
}

@media (max-width: 860px) {
  .social-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .hero { padding: 36px 16px 24px; }
  .logo-wrap { width: 86px; height: 86px; margin-bottom: 20px; }
  .globe { width: 86px; height: 86px; }
  .hero-title { letter-spacing: 3px; }

  .home-section { padding: 28px 16px; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { font-size: 1.2rem; letter-spacing: 1.5px; }

  .kick-status-bar { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .kick-goto { display: none; }
  .kick-chat-btn { font-size: 0.68rem; letter-spacing: 1.5px; padding: 10px; }

  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .social-grid-5 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .social-card-sm { padding: 14px 8px 12px; }
  .sc-icon { width: 36px; height: 36px; }
  .sc-name { font-size: 0.75rem; }
  .sc-handle { font-size: 0.55rem; }

  .ig-fallback-banner { flex-direction: column; text-align: center; padding: 20px 16px; }
}

@media (max-width: 480px) {
  .hero { padding: 28px 14px 20px; }
  .logo-wrap { width: 72px; height: 72px; margin-bottom: 16px; }
  .globe { width: 72px; height: 72px; }
  .orbit { inset: -8px; }
  .hero-title { letter-spacing: 2px; margin-bottom: 6px; }

  .home-section { padding: 22px 14px; }

  .kick-status-badge { font-size: 0.6rem; padding: 2px 8px; }
  .kick-status-text  { font-size: 0.72rem; }

  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 7px; }

  .social-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  .yt-scroll-wrap { padding-bottom: 8px; }
}

@media (max-width: 360px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .social-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .kick-status-bar { padding: 8px 10px; }
}

@media (max-width: 860px) {
  .navbar {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .nav-right {
    justify-self: end;
  }
}