/* ============================================
   FLOW VIDEO PLAYER - FRESH DESIGN SYSTEM
   Theme: Solid Dark + Vibrant Pink/Purple
   Style: Clean, Modern, Professional, Compact
   ============================================ */

:root {
  --bg-primary: #08080d;
  --bg-secondary: #0d0d14;
  --bg-card: #111118;
  --bg-card-hover: #161620;
  --accent-pink: #ff2d92;
  --accent-purple: #8b5cf6;
  --accent-violet: #a855f7;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --text-primary: #e8e8f0;
  --text-secondary: #9090a8;
  --text-muted: #5a5a70;
  --border-color: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(139, 92, 246, 0.25);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 15px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Solid subtle background */
body::before {
  display: none !important;
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 70% 40% at 15% 30%, rgba(255, 45, 146, 0.035) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 85% 65%, rgba(139, 92, 246, 0.03) 0%, transparent 55%);
  pointer-events: none;
  z-index: -2;
}

body::after {
  display: none !important;
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 75% 20%, rgba(168, 85, 247, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse 45% 45% at 25% 80%, rgba(255, 45, 146, 0.015) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.fog-layer {
  display: none !important;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 25% 35%, rgba(255, 45, 146, 0.01) 0%, transparent 35%),
    radial-gradient(circle at 75% 70%, rgba(139, 92, 246, 0.01) 0%, transparent 35%);
}

.fog-orb {
  display: none !important;
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
}

.fog-orb-1 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(255, 45, 146, 0.08) 0%, transparent 70%);
  top: -120px; left: -80px;
}

.fog-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  top: 45%; right: -120px;
}

.fog-orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255, 45, 146, 0.05) 0%, transparent 70%);
  bottom: -80px; left: 35%;
}

.fog-orb-4 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
  top: 25%; left: 55%;
}

.noise-overlay {
  display: none !important;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0.01;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */
header {
  background: rgba(8, 8, 13, 0.92);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

header nav {
  margin-left: auto;
}

.header-get-app {
  margin-left: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 0px;
}

.logo a {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.3px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: var(--transition-fast);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
  transition: var(--transition-smooth);
  border-radius: 2px;
}

nav a:hover { color: var(--text-primary); }
nav a:hover::after { width: 100%; }

/* HEADER GET APP BUTTON */
.header-get-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 55%, var(--accent-purple) 100%);
  color: #ffffff !important;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgba(255, 45, 146, 0.22);
  transition: var(--transition-smooth);
}

.header-get-app:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 45, 146, 0.32);
}

.header-get-app::after { display: none !important; }

@media (max-width: 768px) {
  .header-get-app {
    padding: 9px 17px;
    font-size: 0.84rem;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 22px; height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.layout-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  margin: 28px auto;
  position: relative;
}

.side-ad {
  width: 150px;
  flex-shrink: 0;
  position: sticky;
  top: 90px;
  height: fit-content;
  background: var(--bg-card);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.center-column {
  flex: 1;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ad-banner { display: block; margin-left: auto; margin-right: auto; }
.ad-wrapper { width: 100%; display: flex; justify-content: center; }

/* ============================================
   PLAYER SECTION TITLE
   ============================================ */
.player-section-title {
  text-align: center;
  padding: 24px 28px;
  background: var(--bg-card);
  border-radius: 18px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.player-section-title::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-violet), var(--accent-purple), transparent);
  opacity: 0.7;
}

.player-section-title::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255, 45, 146, 0.025) 0%, transparent 50%);
  pointer-events: none;
}

.player-section-title h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-pink) 40%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.player-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.between-ad {
  display: flex;
  justify-content: center;
  margin: 6px 0;
}

.ad-desktop { display: block; }
.ad-mobile { display: none; }

/* ============================================
   SEARCH SECTION
   ============================================ */
.search-section {
  background: var(--bg-card);
  border-radius: 22px;
  padding: 28px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.search-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.025) 0%, transparent 60%);
  pointer-events: none;
}

.search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.search-bar input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.search-bar input:focus {
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.08);
}

.search-bar input::placeholder { color: var(--text-muted); }

.button-group { display: flex; gap: 8px; }

.paste-btn, .search-btn {
  padding: 14px 20px;
  border: none;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.paste-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.paste-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.search-btn {
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 50%, var(--accent-purple) 100%);
  color: white;
  box-shadow: 0 4px 18px rgba(255, 45, 146, 0.2);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 45, 146, 0.3);
}

.error-message {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  display: none;
  font-size: 0.85rem;
}

.loading {
  display: none;
  text-align: center;
  padding: 36px;
}

.loading-spinner {
  width: 42px; height: 42px;
  border: 3px solid rgba(139, 92, 246, 0.15);
  border-top-color: var(--accent-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 14px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading p { color: var(--text-secondary); font-size: 0.9rem; }


/* HERO PWA INSTALL CTA */
.hero-install-cta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.hero-install-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.hero-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #20c968 0%, #16a34a 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(32, 201, 104, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 6;
}

.hero-install-btn:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(32, 201, 104, 0.55);
}

.hero-install-btn::after { display: none !important; }

@media (max-width: 768px) {
  .hero-install-cta {
    flex-direction: column;
    gap: 8px;
  }

  .hero-install-text {
    font-size: 0.84rem;
    text-align: center;
  }

  .hero-install-btn {
    width: auto;
    padding: 12px 28px;
  }
}

/* ============================================
   RESULT SECTION
   ============================================ */
.result-section { margin-top: 20px; position: relative; z-index: 1; }

.result-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-list { display: flex; flex-direction: column; gap: 14px; }

.empty-state {
  text-align: center;
  padding: 50px 18px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3.2rem;
  margin-bottom: 16px;
  opacity: 0.25;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.empty-state h3 {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.empty-state p { font-size: 0.88rem; }

.video-item {
  background: rgba(255, 255, 255, 0.015);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.video-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), 0 6px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.video-item video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  display: block;
}

.video-info { padding: 20px; }

.video-info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.4;
}

.video-details {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.video-details span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.video-details i { color: var(--accent-violet); font-size: 0.82rem; }

.action-buttons { display: flex; gap: 10px; }

.btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-download {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  color: white;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.2);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.related-wrapper { margin-top: 28px; display: none; }

.related-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.grid-item {
  background: rgba(255, 255, 255, 0.015);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.grid-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 45, 146, 0.2);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.thumb-wrapper { position: relative; aspect-ratio: 16/9; overflow: hidden; }

.thumb-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.grid-item:hover .thumb-wrapper img { transform: scale(1.06); }

.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.grid-item:hover .play-overlay { opacity: 1; }

.play-overlay i {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-violet));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(255, 45, 146, 0.25);
}

.grid-item h4 {
  padding: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 14px 22px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 9999;
}

.notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.notification i { color: var(--accent-pink); font-size: 1.1rem; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { padding: 70px 0; position: relative; }

.about-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-pink) 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content { max-width: 920px; margin: 0 auto; }

.about-text { text-align: center; margin-bottom: 40px; }

.about-text p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.about-text strong { color: var(--text-primary); font-weight: 600; }

.about-text h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 40px 0 20px;
  font-weight: 600;
}

/* Stats */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet), var(--accent-purple));
  opacity: 0;
  transition: var(--transition-smooth);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255, 45, 146, 0.02) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card:hover::before { opacity: 1; }
.stat-card:hover::after { opacity: 1; }

.stat-number {
  font-size: 1.7rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.stat-label { font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; }

/* ============================================
   FAQ CONTAINER
   ============================================ */
.faq-container {
  max-width: 840px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.faq-item:hover { border-color: rgba(139, 92, 246, 0.15); }

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover { color: var(--accent-pink); }

.faq-toggle {
  width: 26px; height: 26px;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-violet);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--accent-violet);
  color: white;
}

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }

.faq-answer p,
.faq-answer ol,
.faq-answer ul {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-answer ol,
.faq-answer ul { padding-left: 44px; }

.faq-answer li { margin-bottom: 6px; }
.faq-answer strong { color: var(--text-primary); }

.faq-answer code {
  background: rgba(139, 92, 246, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-pink);
  font-size: 0.85rem;
}

.faq-answer table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.85rem;
}

.faq-answer th,
.faq-answer td {
  padding: 10px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.faq-answer th {
  background: rgba(139, 92, 246, 0.08);
  color: var(--text-primary);
  font-weight: 600;
}

.faq-answer td { color: var(--text-secondary); }

/* ============================================
   PLATFORM CARDS
   ============================================ */
/* .platform-availability {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
} */

.platform-availability {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-top: 28px;
}

.platform-card {
  flex: 0 1 300px;
  max-width: 320px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 34px 28px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.platform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet), var(--accent-purple));
  opacity: 0;
  transition: var(--transition-smooth);
}

.platform-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255, 45, 146, 0.03) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.platform-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), var(--shadow-glow);
}

.platform-card:hover::before { opacity: 1; }
.platform-card:hover::after { opacity: 1; }

.platform-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(255, 45, 146, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--accent-pink);
  border: 1px solid rgba(255, 45, 146, 0.15);
  transition: var(--transition-smooth);
}

.platform-card:hover .platform-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, rgba(255, 45, 146, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
  box-shadow: 0 0 16px rgba(255, 45, 146, 0.12);
}

.platform-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.platform-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 50%, var(--accent-purple) 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 18px rgba(255, 45, 146, 0.2);
  border: none;
  cursor: pointer;
  width: 100%;
}

.platform-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 45, 146, 0.3);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-title {
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 28px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.15);
  box-shadow: var(--shadow-glow), 0 10px 30px rgba(0, 0, 0, 0.25);
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
  line-height: 1.4;
}

.blog-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--accent-pink);
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.blog-card ul,
.blog-card ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.blog-card li {
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.55;
}

.blog-card strong { color: var(--text-primary); }

.blog-card code {
  background: rgba(139, 92, 246, 0.08);
  padding: 2px 5px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-pink);
  font-size: 0.85em;
}

.blog-card a {
  color: var(--accent-violet);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-card a:hover { color: var(--accent-pink); text-decoration: underline; }

.blog-card h3 a {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
}

.blog-card h3 a:hover { color: var(--accent-violet); text-decoration: none; }

/* ============================================
   REVIEWS / CONTACT SECTION
   ============================================ */
.contact-section { padding: 70px 0; position: relative; }

.contact-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-description {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.divider-line {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet));
  border-radius: 2px;
  margin: 0 auto 40px;
}

.reviews-inner {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 16px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-inner::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 300px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
  scroll-snap-align: start;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 45, 146, 0.15);
  box-shadow: var(--shadow-glow), 0 8px 25px rgba(0, 0, 0, 0.25);
}

.review-name { font-weight: 600; color: var(--text-primary); font-size: 1rem; margin-bottom: 3px; }
.review-country { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.review-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ============================================
   CONTACT SPLIT
   ============================================ */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.contact-form { position: relative; }

.contact-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet), var(--accent-purple));
  border-radius: 3px 3px 0 0;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.88rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-violet);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.06);
}

.form-group textarea { min-height: 110px; resize: vertical; }

.btn-send {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 50%, var(--accent-purple) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(255, 45, 146, 0.2);
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 45, 146, 0.3);
}

.contact-side {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-side h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.help-content { margin-bottom: 28px; }

.help-image img { max-width: 180px; border-radius: 14px; opacity: 0.9; }

.contact-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.social-btn.telegram {
  background: rgba(0, 136, 204, 0.08);
  color: #08c;
  border-color: rgba(0, 136, 204, 0.25);
}

.social-btn.telegram:hover {
  background: #08c;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 136, 204, 0.25);
}

.social-btn.instagram {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.08) 0%, rgba(88, 81, 219, 0.08) 100%);
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.25);
}

.social-btn.instagram:hover {
  background: linear-gradient(135deg, #e1306c 0%, #5851db 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(225, 48, 108, 0.25);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: rgba(8, 8, 13, 0.98);
  border-top: 1px solid var(--border-color);
  padding: 50px 0 24px;
  margin-top: 70px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-violet), var(--accent-pink), transparent);
  opacity: 0.4;
}

.footer-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 34px;
}

.footer-section h4 {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 26px; height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet));
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-links a::before {
  content: '›';
  color: var(--accent-violet);
  font-weight: bold;
  transition: var(--transition-fast);
}

.footer-links a:hover { color: var(--accent-pink); padding-left: 3px; }
.footer-links a:hover::before { color: var(--accent-pink); }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

.social-links a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(255, 45, 146, 0.2);
}

.footer-bottom {
  max-width: 1140px;
  margin: 34px auto 0;
  padding: 24px 20px 0;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.float-btn i { font-size: 1.1rem; }

.float-btn.telegram {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.9) 0%, rgba(0, 168, 232, 0.7) 100%);
  color: white;
  border-color: rgba(0, 136, 204, 0.4);
}

.float-btn.android {
  background: linear-gradient(135deg, rgba(164, 198, 57, 0.9) 0%, rgba(142, 172, 48, 0.7) 100%);
  color: white;
  border-color: rgba(164, 198, 57, 0.4);
}

.float-btn.playstore {
  display: none !important;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.btn-text { transition: var(--transition-smooth); }

/* ============================================
   MAINTENANCE SECTION
   ============================================ */
.maintenance-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  position: relative;
}

.maintenance-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 52px 42px;
  text-align: center;
  max-width: 540px;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow), 0 12px 40px rgba(0, 0, 0, 0.3);
}

.maintenance-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-violet), var(--accent-purple));
}

.maintenance-box::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255, 45, 146, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.maintenance-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: pulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.maintenance-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.maintenance-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.maintenance-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--accent-pink);
  font-weight: 500;
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
}

/* ============================================
   INSTALL BANNER
   ============================================ */
#installBanner {
  background: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-pink) 100%) !important;
  padding: 14px 22px !important;
  font-family: inherit !important;
}

#installBanner button { transition: var(--transition-fast) !important; }
#installBanner button:hover { transform: translateY(-2px); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (min-width: 1400px) {
  .side-ad { width: 320px; }
}

@media (max-width: 1024px) {
  .layout-wrapper { flex-direction: column; }
  .side-ad { display: none; }
  .center-column { width: 100%; max-width: 100%; }
  .stats-container { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  header .container { flex-wrap: wrap; }
  header nav { margin-left: auto; }
  .header-get-app { margin-left: auto; }

  nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
  }

  nav ul.active { display: flex; }
  nav li { width: 100%; }
  nav a { display: block; padding: 10px 0; }
  .menu-toggle { display: flex; }

  .player-section-title { padding: 18px; }
  .player-section-title h1 { font-size: 1.2rem; }
  .player-subtitle { font-size: 0.85rem; }
  .search-section { padding: 18px; }
  .search-bar { flex-direction: column; }
  .button-group { width: 100%; }
  .paste-btn, .search-btn { flex: 1; justify-content: center; }

  .about-section { padding: 50px 0; }
  .about-section h1 { font-size: 1.3rem; }
  .stats-container { grid-template-columns: 1fr; gap: 14px; }
  .stat-card { padding: 22px; }
  .platform-availability { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }

  .floating-buttons { bottom: 16px; right: 16px; }
  .float-btn { padding: 10px 14px; font-size: 0.8rem; }
  .btn-text { display: none; }
  .float-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }

  .ad-desktop { display: none; }
  .ad-mobile { display: block; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .contact-box { padding: 22px; }
  .fog-orb { filter: blur(40px); opacity: 0.15; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .video-grid { grid-template-columns: 1fr; }
  .review-card { flex: 0 0 260px; }
  .faq-question { font-size: 0.9rem; padding: 14px 18px; }
  .faq-answer p,
  .faq-answer ol,
  .faq-answer ul { padding: 0 18px 14px; font-size: 0.85rem; }
  .blog-card { padding: 22px; }
  .platform-card { padding: 28px 22px; }
  .contact-section h2 { font-size: 1.5rem; }
  .about-section h2 { font-size: 1.5rem; }
  .blog-title { font-size: 1.4rem; }
}

/* PERFORMANCE */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fog-orb,
  body::before,
  body::after { animation: none !important; }
}

.stat-card,
.platform-card,
.blog-card,
.review-card,
.video-item,
.grid-item {
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.reviews-inner { scroll-behavior: smooth; }

*:focus-visible {
  outline: 2px solid var(--accent-violet);
  outline-offset: 2px;
}

::selection {
  background: rgba(168, 85, 247, 0.2);
  color: var(--text-primary);
}

/* ============================================
   RESPONSIVE BANNER ROW
   ============================================ */
.responsive-banner-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 20px auto;
  flex-wrap: wrap;
}

.responsive-banner-row .banner {
  display: none;
  margin: 0 auto;
  position: relative;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.responsive-banner-row .banner * {
  font-size: 0;
  line-height: 0;
}

.responsive-banner-row .banner iframe {
  display: block !important;
  margin: 0 auto;
  border: none;
  max-width: 100%;
  font-size: initial;
  line-height: normal;
}

.responsive-banner-row .banner script { display: none !important; }
.responsive-banner-row .banner:not(:has(iframe)) { display: none !important; }

@media (min-width: 992px) {
  .responsive-banner-row .banner.desktop { display: block; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .responsive-banner-row .banner.tablet { display: block; }
}

@media (max-width: 767px) {
  .responsive-banner-row .banner.mobile { display: block; }
  .responsive-banner-row { flex-direction: column; gap: 10px; }
}

/* ============================================
   TELEGRAM PAGE SPECIFIC STYLES
   ============================================ */
.telegram-notice {
  background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
  color: white;
  padding: 14px 22px;
  border-radius: 14px;
  margin-bottom: 28px;
  margin-top: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 28px rgba(0, 136, 204, 0.2);
  position: relative;
  overflow: hidden;
  font-size: 0.92rem;
}

.telegram-notice::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: shimmer 3s infinite;
}

.telegram-notice i { font-size: 1.2rem; position: relative; z-index: 1; }
.telegram-notice span { position: relative; z-index: 1; }

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.telegram-hero {
  text-align: center;
  padding: 42px 28px;
  background: var(--bg-card);
  border-radius: 22px;
  border: 1px solid var(--border-color);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.telegram-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0088cc, #00a8e8, #0088cc);
  opacity: 0.8;
}

.telegram-hero::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0, 136, 204, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.telegram-hero h1 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text-primary) 0%, #0088cc 50%, #00a8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.telegram-hero p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.telegram-icon-large {
  font-size: 4rem;
  color: #0088cc;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 16px rgba(0, 136, 204, 0.25));
}

.download-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-download-main {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-download-main::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s;
}

.btn-download-main:hover::before { left: 100%; }

.btn-telegram {
  background: linear-gradient(135deg, #0088cc 0%, #00a8e8 100%);
  color: white;
  box-shadow: 0 4px 18px rgba(0, 136, 204, 0.2);
}

.btn-telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.3);
}

.btn-playstore {
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-violet) 100%);
  color: white;
  box-shadow: 0 4px 18px rgba(255, 45, 146, 0.2);
}

.btn-playstore:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 45, 146, 0.3);
}

.btn-apk {
  background: linear-gradient(135deg, #a4c639 0%, #8eac30 100%);
  color: white;
  box-shadow: 0 4px 18px rgba(164, 198, 57, 0.2);
}

.btn-apk:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(164, 198, 57, 0.3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0088cc, #00a8e8);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0, 136, 204, 0.025) 0%, transparent 50%);
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 136, 204, 0.2);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 136, 204, 0.06);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.08) 0%, rgba(0, 168, 232, 0.08) 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: #0088cc;
  border: 1px solid rgba(0, 136, 204, 0.15);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.12) 0%, rgba(0, 168, 232, 0.12) 100%);
  box-shadow: 0 0 16px rgba(0, 136, 204, 0.12);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.telegram-footer {
  text-align: center;
  padding: 42px 22px;
  margin-top: 56px;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.telegram-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, #0088cc, transparent);
  border-radius: 2px;
}

.telegram-footer p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 6px; }

.telegram-footer a {
  color: #0088cc;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
}

.telegram-footer a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #0088cc;
  transition: var(--transition-smooth);
}

.telegram-footer a:hover { color: #00a8e8; }
.telegram-footer a:hover::after { width: 100%; }

.telegram-footer p:last-child { margin-top: 14px; font-size: 0.85rem; color: var(--text-muted); }

/* TELEGRAM RESPONSIVE */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .telegram-hero h1 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
  .telegram-notice {
    flex-direction: column;
    text-align: center;
    padding: 18px;
    font-size: 0.88rem;
  }
  .telegram-hero { padding: 28px 18px; }
  .telegram-hero h1 { font-size: 1.3rem; }
  .telegram-hero p { font-size: 0.9rem; }
  .telegram-icon-large { font-size: 3rem; }
  .download-buttons { flex-direction: column; align-items: center; gap: 10px; }
  .btn-download-main {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    padding: 12px 22px;
  }
  .features-grid { grid-template-columns: 1fr; gap: 14px; margin: 28px 0; }
  .feature-card { padding: 22px 18px; }
  .telegram-footer { padding: 28px 18px; margin-top: 40px; }
}

@media (max-width: 480px) {
  .telegram-hero h1 { font-size: 1.1rem; }
  .telegram-icon-large { font-size: 2.5rem; }
  .btn-download-main { font-size: 0.85rem; }
}

.float-btn.telegram {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.9) 0%, rgba(0, 168, 232, 0.7) 100%);
  color: white;
  border-color: rgba(0, 136, 204, 0.4);
}

.float-btn.telegram:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 136, 204, 0.3);
}

/* ============================================
   SIMPLE CTA AFTER VIDEO PLAYER
   ============================================ */
.video-cta-simple { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }

.video-cta-btn {
  flex: 1;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-cta-btn i { font-size: 1.1rem; }

.video-cta-btn.playstore {
  background: linear-gradient(135deg, #34a853, #00c853);
  color: white;
  box-shadow: 0 5px 18px rgba(0, 200, 83, 0.3);
}

.video-cta-btn.playstore::after {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: rgba(255,255,255,0.12);
  transform: skewX(-25deg);
  transition: 0.6s;
}

.video-cta-btn.playstore:hover::after { left: 125%; }

.video-cta-btn.playstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 200, 83, 0.4);
}

.video-cta-btn.telegram {
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);
}

.video-cta-btn.telegram:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .video-cta-simple { flex-direction: column; }
  .video-cta-btn { width: 100%; }
}


/* TELEGRAM CTA - FINAL OVERRIDE */
.video-cta-btn.telegram {
  background: #0088cc;
  color: #ffffff !important;
  border-color: #0088cc;
  box-shadow: 0 5px 18px rgba(0, 136, 204, 0.28);
}

.video-cta-btn.telegram i,
.video-cta-btn.telegram span {
  color: #ffffff !important;
}

.video-cta-btn.telegram:hover {
  background: #0088cc;
  color: #ffffff !important;
  border-color: #0088cc;
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.38);
}

/* ============================================
   FULL SCREEN POPUP
   ============================================ */
.app-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.app-popup.active { opacity: 1; visibility: visible; }

.app-popup-box {
  position: relative;
  width: 100%;
  max-width: calc(100vh * 9/16 - 30px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.4s ease;
}

.app-popup.active .app-popup-box { transform: scale(1); }

.app-popup-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.app-popup-close:hover { background: #ff2d92; transform: rotate(90deg); }

.app-popup-img-wrap {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 30px);
  aspect-ratio: 9/16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,0.55);
}

.app-popup-img { width: 100%; height: 100%; object-fit: cover; }

.app-popup-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-align: center;
}

.app-popup-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.title-blur { position: relative; display: inline-block; padding: 3px 7px; }

.title-blur::before {
  content: "";
  position: absolute;
  inset: -7px -10px;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(16px);
  border-radius: 50px;
  z-index: -1;
}

.app-popup-text {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
}

.app-popup-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.app-popup-tag {
  font-size: 0.75rem;
  color: #fff;
  background: rgba(255,255,255,0.08);
  padding: 7px 14px;
  border-radius: 18px;
}

.app-popup-tag i { color: #00e676; margin-right: 5px; }

.app-popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00c853, #00e676);
  color: #000;
  border-radius: 22px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 7px 22px rgba(0, 200, 83, 0.3);
  transition: 0.3s;
  letter-spacing: 0.5px;
}

.app-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 200, 83, 0.45);
}

@media (max-width: 768px) {
  .app-popup-overlay { padding: 22px 18px; }
  .app-popup-title { font-size: 1.15rem; }
  .app-popup-text { font-size: 0.85rem; }
  .app-popup-btn { padding: 12px 24px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .app-popup-overlay { padding: 18px 14px; }
  .app-popup-title { font-size: 1rem; }
  .app-popup-text { font-size: 0.8rem; }
  .app-popup-btn { padding: 11px 22px; font-size: 0.85rem; width: 100%; }
}

/* ============================================
   LOADING SCREEN
   ============================================ */
#loadingScreen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #08080d;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity .4s ease, visibility .4s ease;
}

.loading-content { text-align: center; padding: 18px; }

.loading-logo {
  width: 80px; height: 80px;
  margin-bottom: 18px;
  border-radius: 18px;
}

.loading-content h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
}

.loading-content p {
  margin: 10px 0 22px;
  color: #a0a0b8;
  font-size: 14px;
}

.loader {
  width: 42px; height: 42px;
  border: 4px solid rgba(255,255,255,.12);
  border-top-color: #a855f7;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: auto;
}

.loading-hide { opacity: 0; visibility: hidden; }

.retry-btn {
  margin-top: 14px;
  padding: 9px 22px;
  background: #a855f7;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.retry-btn:hover { background: #9333ea; }

/* ============================================
   DESKTOP TYPOGRAPHY SCALE
   Desktop only: +15% text size.
   Mobile styles remain unchanged.
   ============================================ */
@media (min-width: 769px) {
  .logo a { font-size: calc(1.35rem * 1.15); }
  nav a { font-size: calc(0.88rem * 1.15); }

  .player-section-title h1 { font-size: calc(1.5rem * 1.15); }
  .player-subtitle { font-size: calc(0.9rem * 1.15); }

  .search-bar input { font-size: calc(0.95rem * 1.15); }
  .paste-btn, .search-btn { font-size: calc(0.88rem * 1.15); }
  .error-message { font-size: calc(0.85rem * 1.15); }
  .loading p { font-size: calc(0.9rem * 1.15); }

  .result-section h2 { font-size: calc(1.1rem * 1.15); }
  .empty-state h3 { font-size: calc(1.1rem * 1.15); }
  .empty-state p { font-size: calc(0.88rem * 1.15); }

  .video-info h3 { font-size: calc(1rem * 1.15); }
  .video-details span { font-size: calc(0.82rem * 1.15); }
  .btn { font-size: calc(0.88rem * 1.15); }
  .related-title { font-size: calc(1.1rem * 1.15); }
  .grid-item h4 { font-size: calc(0.82rem * 1.15); }

  .about-section h2 { font-size: calc(1.9rem * 1.15); }
  .about-text p { font-size: calc(0.98rem * 1.15); }
  .about-text h3 { font-size: calc(1.3rem * 1.15); }
  .stat-number { font-size: calc(1.7rem * 1.15); }
  .stat-label { font-size: calc(0.82rem * 1.15); }

  .faq-question { font-size: calc(0.95rem * 1.15); }
  .faq-answer p,
  .faq-answer ol,
  .faq-answer ul { font-size: calc(0.9rem * 1.15); }
  .faq-answer code { font-size: calc(0.85rem * 1.15); }
  .faq-answer table { font-size: calc(0.85rem * 1.15); }

  .platform-card h3 { font-size: calc(1.1rem * 1.15); }
  .platform-card p { font-size: calc(0.88rem * 1.15); }
  .platform-btn { font-size: calc(0.88rem * 1.15); }

  .blog-title { font-size: calc(1.7rem * 1.15); }
  .blog-subtitle { font-size: calc(0.95rem * 1.15); }
  .blog-card h3 { font-size: calc(1.1rem * 1.15); }
  .blog-card h4 { font-size: calc(1rem * 1.15); }
  .blog-card p { font-size: calc(0.88rem * 1.15); }
  .blog-card code { font-size: calc(0.85em * 1.15); }

  .contact-section h2 { font-size: calc(1.9rem * 1.15); }
  .about-description { font-size: calc(0.95rem * 1.15); }
  .review-name { font-size: calc(1rem * 1.15); }
  .review-country { font-size: calc(0.8rem * 1.15); }
  .review-stars { font-size: calc(1rem * 1.15); }
  .review-text { font-size: calc(0.88rem * 1.15); }

  .form-group label { font-size: calc(0.88rem * 1.15); }
  .form-group input,
  .form-group textarea { font-size: calc(0.95rem * 1.15); }
  .btn-send { font-size: calc(0.95rem * 1.15); }
  .contact-side h3 { font-size: calc(1.3rem * 1.15); }
  .social-btn { font-size: calc(0.9rem * 1.15); }

  .footer-section h4 { font-size: calc(1rem * 1.15); }
  .footer-links a { font-size: calc(0.85rem * 1.15); }
  .footer-bottom { font-size: calc(0.85rem * 1.15); }
  .float-btn { font-size: calc(0.85rem * 1.15); }

  .maintenance-title { font-size: calc(1.5rem * 1.15); }
  .maintenance-text { font-size: calc(0.92rem * 1.15); }
  .maintenance-footer { font-size: calc(0.9rem * 1.15); }

  .header-get-app { font-size: calc(0.88rem * 1.15); }
  .hero-install-text { font-size: calc(0.9rem * 1.15); }
  .hero-install-btn { font-size: calc(0.88rem * 1.15); }
  .video-cta-btn { font-size: calc(0.88rem * 1.15); }

  .telegram-notice { font-size: calc(0.92rem * 1.15); }
  .telegram-hero h1 { font-size: calc(1.9rem * 1.15); }
  .telegram-hero p { font-size: calc(0.95rem * 1.15); }
  .btn-download-main { font-size: calc(0.92rem * 1.15); }
  .feature-card h3 { font-size: calc(1rem * 1.15); }
  .feature-card p { font-size: calc(0.85rem * 1.15); }
  .telegram-footer p { font-size: calc(0.9rem * 1.15); }
  .app-popup-title { font-size: calc(1.35rem * 1.15); }
  .app-popup-text { font-size: calc(0.88rem * 1.15); }
  .app-popup-tag { font-size: calc(0.75rem * 1.15); }
  .app-popup-btn { font-size: calc(0.95rem * 1.15); }
}