/* Gupi SEO Pages — Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0F1014;
  --card: #1A1D24;
  --surface: #242830;
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --accent: #00D4FF;
  --text: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.6);
  --text-muted: rgba(255,255,255,0.35);
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  font-family: 'Poppins', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-light); text-decoration: none; }
a:hover { color: var(--accent); }

/* === NAVBAR === */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,16,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-brand img { height: 32px; border-radius: 8px; }
.navbar-links { display: flex; gap: 24px; align-items: center; }
.navbar-links a {
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--text); }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 600; font-size: 13px;
  border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(139,92,246,0.3);
}
.btn-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 30px rgba(139,92,246,0.5);
  color: #fff;
}

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 600px; margin: 0 auto; padding: 0 20px; }

/* === VIDEO PAGE === */
.video-page { padding: 24px 0 60px; }
.video-layout {
  display: grid;
  grid-template-columns: minmax(300px, 500px) 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .video-layout { grid-template-columns: 1fr; gap: 24px; }
}
.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.video-player-wrap video {
  width: 100%; height: 100%; object-fit: cover;
}
.video-info { padding-top: 8px; }
.video-title {
  font-size: 18px; font-weight: 600;
  margin-bottom: 12px; line-height: 1.4;
}
.video-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.video-meta-item {
  display: flex; align-items: center; gap: 6px;
  color: var(--text-secondary); font-size: 14px;
}
.video-meta-item svg { width: 18px; height: 18px; fill: var(--text-secondary); }

/* User row */
.user-row {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.user-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.user-info { flex: 1; }
.user-name { font-weight: 600; font-size: 15px; }
.user-username { color: var(--text-secondary); font-size: 13px; }
.user-verified {
  display: inline-flex; align-items: center;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 6px;
  border-radius: 4px; margin-left: 6px; vertical-align: middle;
}

/* Tags */
.video-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag-chip {
  display: inline-block;
  padding: 4px 14px; border-radius: 50px;
  background: var(--surface); color: var(--accent);
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(0,212,255,0.15);
  transition: background 0.2s;
}
.tag-chip:hover { background: rgba(0,212,255,0.1); color: var(--accent); }

/* Sound */
.sound-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--card); margin-bottom: 20px;
}
.sound-icon {
  width: 40px; height: 40px; border-radius: 8px; object-fit: cover;
}
.sound-title { font-size: 14px; font-weight: 500; }
.sound-artist { font-size: 12px; color: var(--text-secondary); }

/* Comments */
.comments-section { margin-top: 20px; }
.comments-title {
  font-size: 16px; font-weight: 600;
  margin-bottom: 16px; color: var(--text-secondary);
}
.comment-item {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.comment-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0;
}
.comment-body { flex: 1; }
.comment-user { font-weight: 600; font-size: 13px; }
.comment-text { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
.comment-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* === PROFILE PAGE === */
.profile-header {
  text-align: center; padding: 40px 20px;
  background: linear-gradient(180deg, rgba(139,92,246,0.15) 0%, transparent 100%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.profile-avatar {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 0 30px rgba(139,92,246,0.3);
  margin-bottom: 16px;
}
.profile-name { font-size: 22px; font-weight: 700; }
.profile-username { color: var(--text-secondary); font-size: 14px; margin-bottom: 8px; }
.profile-bio { color: var(--text-secondary); font-size: 14px; max-width: 400px; margin: 0 auto 20px; }
.profile-stats {
  display: flex; justify-content: center; gap: 32px;
  padding: 16px 0;
}
.stat-item { text-align: center; }
.stat-value { font-size: 20px; font-weight: 700; }
.stat-label { font-size: 12px; color: var(--text-secondary); }

/* === VIDEO GRID === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 20px 0;
}
@media (min-width: 768px) {
  .video-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}
@media (min-width: 1200px) {
  .video-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
}
.video-thumb {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.video-thumb:hover img { transform: scale(1.05); }
.video-thumb-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex; align-items: center; gap: 6px;
}
.video-thumb-views {
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}
.video-thumb-views svg { width: 14px; height: 14px; fill: #fff; }

/* === TAG / SOUND PAGE HEADER === */
.page-header {
  padding: 40px 0;
  text-align: center;
  background: linear-gradient(180deg, rgba(139,92,246,0.1) 0%, transparent 100%);
}
.page-header h1 {
  font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header p { color: var(--text-secondary); font-size: 16px; margin-top: 8px; }

/* === HOME === */
.hero {
  text-align: center; padding: 60px 20px;
  background: radial-gradient(ellipse at center top, rgba(139,92,246,0.2) 0%, transparent 60%);
}
.hero h1 {
  font-size: 42px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
@media (max-width: 600px) { .hero h1 { font-size: 28px; } }
.hero p { font-size: 18px; color: var(--text-secondary); max-width: 500px; margin: 0 auto 24px; }
.section-title {
  font-size: 20px; font-weight: 700;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* === CTA DOWNLOAD === */
.cta-section {
  text-align: center; padding: 40px 20px;
  margin: 32px 0;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.cta-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 20px; }
.store-badges { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.store-badge {
  height: 48px; border-radius: 8px;
  transition: transform 0.2s;
}
.store-badge:hover { transform: scale(1.05); }

/* === FOOTER === */
.footer {
  padding: 32px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); font-size: 13px; }
.footer-links a:hover { color: var(--text); }

/* === 404 === */
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-page h1 {
  font-size: 72px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.error-page p { color: var(--text-secondary); font-size: 18px; margin: 12px 0 24px; }

/* === UTILITIES === */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
