/* =============================================================
   Ulaq Digital — Premium Dark Mode Video Portfolio
   Design System & Main Styles
   ============================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  /* Colors */
  --bg-primary:       #080808;
  --bg-secondary:     #0d0d0d;
  --bg-card:          #111111;
  --bg-card-hover:    #161616;
  --bg-glass:         rgba(255, 255, 255, 0.03);
  --bg-glass-hover:   rgba(255, 255, 255, 0.06);

  /* Accent — Ulaq Blue */
  --accent:           #4169E1;
  --accent-bright:    #5580ff;
  --accent-dim:       #2a4db5;
  --accent-glow:      rgba(65, 105, 225, 0.35);
  --accent-glow-sm:   rgba(65, 105, 225, 0.15);

  /* Text */
  --text-primary:     #f0f0f0;
  --text-secondary:   #888888;
  --text-muted:       #444444;

  /* Borders */
  --border:           rgba(255, 255, 255, 0.06);
  --border-hover:     rgba(255, 255, 255, 0.12);
  --border-accent:    rgba(65, 105, 225, 0.4);

  /* Category Colors */
  --cat-egitim:       #4169E1;
  --cat-tanitim:      #7c3aed;
  --cat-eglence:      #e11d48;
  --cat-urun:         #059669;

  /* Spacing */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;
  --space-4xl:  96px;

  /* Border Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-full: 9999px;

  /* Typography */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.6);
  --shadow-glow:  0 0 30px var(--accent-glow);
  --shadow-glow-sm: 0 0 12px var(--accent-glow-sm);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Grid */
  --grid-max:   1280px;
  --grid-gap:   20px;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Subtle Grid Background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Radial glow on top-right */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(65,105,225,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Layout Container ── */
.container {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: background var(--transition-base), backdrop-filter var(--transition-base), border-color var(--transition-base);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-wrap img {
  max-height: 75px;
  width: auto;
  object-fit: contain;
  background-color: transparent;
  box-shadow: none;
  transition: opacity var(--transition-base);
}

.logo-wrap:hover img {
  opacity: 0.85;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 10px 22px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px var(--accent-glow);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cta-btn:hover {
  background: var(--accent-bright);
  box-shadow: 0 6px 30px var(--accent-glow), 0 0 0 1px var(--accent-bright);
  transform: translateY(-1px);
}

.cta-btn:hover::before { opacity: 1; }
.cta-btn:active { transform: translateY(0); }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  animation: fadeInDown 0.8s ease both;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: pulse 2s ease infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent-bright) 0%, #8ba4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================================
   FILTER SECTION
   ============================================= */
.filter-section {
  padding: var(--space-xl) 0 var(--space-2xl);
  position: relative;
  z-index: 1;
}

.filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-pill {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.filter-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: inherit;
}

.filter-pill span {
  position: relative;
  z-index: 1;
}

.filter-pill:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.filter-pill.active::before { opacity: 0; }

.filter-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.filter-count strong {
  color: var(--text-secondary);
}

/* =============================================
   VIDEO GRID
   ============================================= */
.portfolio-section {
  padding-bottom: var(--space-4xl);
  position: relative;
  z-index: 1;
}

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

/* ── Video Card ── */
.video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  aspect-ratio: 9 / 16;
  /* Performance optimization */
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
  will-change: transform;
}

.video-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover), var(--shadow-glow-sm);
}

/* ── Thumbnail ── */
.card-thumbnail {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.video-card.playing .card-thumbnail img {
  opacity: 0;
  transform: scale(1.03);
}

/* ── Video Element (injected on hover) ── */
.card-video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.card-video.visible {
  opacity: 1;
}

/* ── Gradient Overlays ── */
.card-gradient-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
  z-index: 5;
  pointer-events: none;
}

.card-gradient-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.3), transparent);
  z-index: 5;
  pointer-events: none;
}

/* ── Category Badge ── */
.card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition-fast);
}

.card-category[data-cat="egitim"]  { background: rgba(65,105,225,0.4);  color: #93b4ff; }
.card-category[data-cat="tanitim"] { background: rgba(124,58,237,0.4); color: #c4b5fd; }
.card-category[data-cat="eglence"] { background: rgba(225,29,72,0.4);  color: #fda4af; }
.card-category[data-cat="urun"]    { background: rgba(5,150,105,0.4);  color: #6ee7b7; }

/* ── Duration Badge ── */
.card-duration {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

/* ── Play Button ── */
.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.video-card.playing .play-overlay {
  opacity: 0;
}

.play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.play-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
  margin-left: 3px;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.video-card:hover .play-btn {
  background: var(--accent);
  border-color: var(--accent-bright);
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: scale(1.1);
}

/* ── Card Info Bottom ── */
.card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: var(--space-md);
  transform: translateY(4px);
  transition: transform var(--transition-base);
}

.video-card:hover .card-info {
  transform: translateY(0);
}

.card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}

.card-meta .dot-sep {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

/* ── Skeleton Loading ── */
.card-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.03) 25%,
    rgba(255,255,255,0.07) 50%,
    rgba(255,255,255,0.03) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease infinite;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.video-card.loading .card-skeleton { opacity: 1; }

/* =============================================
   LOAD MORE
   ============================================= */
.load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 1;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.load-more-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.load-more-btn:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow-sm);
  transform: translateY(-2px);
}

.load-more-btn:hover::before { opacity: 0.06; }

.load-more-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.load-more-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  transition: transform var(--transition-base);
}

.load-more-btn:hover svg {
  transform: translateY(2px);
}

.load-more-progress {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.load-more-progress span {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Progress bar */
.progress-bar-wrap {
  width: 180px;
  height: 2px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent-bright));
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

/* =============================================
   VIDEO MODAL (Lightbox)
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px) saturate(100%);
  -webkit-backdrop-filter: blur(20px) saturate(100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 0 1px var(--border);
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-slow);
}

.modal-overlay.open .modal-container {
  transform: scale(1) translateY(0);
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.1);
}

.modal-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.modal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  z-index: 10;
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.modal-category {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.footer-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  background-color: transparent;
  box-shadow: none;
  opacity: 0.55;
}

.footer-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-text a {
  color: var(--accent-bright);
  transition: color var(--transition-fast);
}

.footer-text a:hover { color: var(--text-primary); }

.footer-socials {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-accent);
  color: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-sm);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-4xl) var(--space-lg);
  text-align: center;
  grid-column: 1 / -1;
}

.empty-state.visible {
  display: flex;
}

.empty-icon {
  width: 72px;
  height: 72px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.empty-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.empty-state p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 100px;   /* scroll-top butonunun üstünde, sağ tarafta */
  right: var(--space-xl);
  left: auto;
  z-index: 500;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  animation: wa-pulse 2.5s ease infinite;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  flex-shrink: 0;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
}

.wa-float-tooltip {
  position: absolute;
  right: 62px;     /* tooltip solda görünsün */
  left: auto;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f0f0;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--transition-base);
}

.wa-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  70%  { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* Scroll to top - sag alt */
.scroll-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 500;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition-base);
  pointer-events: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  box-shadow: 0 8px 30px var(--accent-glow);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

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

@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.video-card.animate-in {
  animation: cardIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  :root { --grid-gap: 14px; }

  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    background: rgba(8,8,8,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(-100%);
    transition: transform var(--transition-slow);
    z-index: 999;
    font-size: 1.25rem;
  }

  .site-nav.open { transform: translateX(0); }

  .nav-link { font-size: 1.25rem; }

  .nav-toggle { display: flex; }

  .hero { padding: 110px 0 60px; }

  .hero-stats { gap: var(--space-2xl); }

  .stat-number { font-size: 1.5rem; }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-inner { flex-direction: column; align-items: flex-start; }

  .footer-inner { display: flex; flex-direction: column; text-align: center; }

  .footer-socials { justify-content: center; }
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-title { font-size: 2rem; }

  .hero-stats { gap: var(--space-xl); }
}

@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
