/*
 * ═══════════════════════════════════════════════════════
 * Project:   ViewBoost Pro
 * Author:    Mr Arslan CEO
 * YouTube:   http://youtube.com/@themrdigitalceo
 * Codester:  https://www.codester.com/mrdigitalceo
 * Design:    Inter Font · Indigo Primary · Dark SaaS UI
 * ═══════════════════════════════════════════════════════
 */

/* ── CSS Variables ─────────────────────────────────── */
:root {
  /* Brand */
  --primary:       #4f46e5;
  --primary-light: #6366f1;
  --primary-dark:  #3730a3;
  --primary-glow:  rgba(79, 70, 229, 0.15);

  /* Semantic */
  --success:  #10b981;
  --warning:  #f59e0b;
  --danger:   #ef4444;
  --info:     #3b82f6;

  /* Background */
  --bg:        #f5f6fa;
  --bg2:       #eef0f7;
  --surface:   #ffffff;
  --surface2:  #f9fafc;

  /* Text */
  --text:      #111827;
  --text-2:    #374151;
  --text-3:    #6b7280;
  --text-4:    #9ca3af;

  /* Border */
  --border:    #e5e7eb;
  --border-2:  #d1d5db;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,.15);

  /* Radii */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;

  /* Layout */
  --header-h: 60px;
  --bottom-nav-h: 68px;
}

/* ── Dark Mode ─────────────────────────────────────── */
[data-theme="dark"] {
  --bg:       #0f1117;
  --bg2:      #161b27;
  --surface:  #1a2035;
  --surface2: #212840;

  --text:   #f1f5f9;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --text-4: #64748b;

  --border:   #2d3748;
  --border-2: #3d4f6a;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  font-size: 14px;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }

/* Icon helpers */
.icon-xs { width: 14px; height: 14px; vertical-align: middle; }
.icon-sm { width: 16px; height: 16px; vertical-align: middle; }
.icon-md { width: 20px; height: 20px; vertical-align: middle; }

/* ══════════════════════════════════════════════════════
   SPLASH SCREEN
   ══════════════════════════════════════════════════════ */
.splash-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #818cf8 100%);
  display: flex; align-items: center; justify-content: center;
}
.splash-content { text-align: center; color: #fff; }
.splash-logo {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-3); margin-bottom: var(--sp-3);
}
.splash-icon-wrap {
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.splash-title {
  font-size: 32px; font-weight: 800; letter-spacing: -0.5px;
}
.splash-title span { opacity: .7; }
.splash-sub {
  font-size: 14px; opacity: .8; margin-bottom: var(--sp-8);
  font-weight: 400;
}
.splash-loader {
  width: 160px; height: 3px; background: rgba(255,255,255,.3);
  border-radius: var(--r-full); overflow: hidden; margin: 0 auto;
}
.splash-bar {
  height: 100%; background: #fff; border-radius: var(--r-full);
  animation: splash-progress 1s ease-in-out forwards;
}
@keyframes splash-progress {
  from { width: 0; }
  to   { width: 100%; }
}

/* ══════════════════════════════════════════════════════
   OFFLINE BANNER
   ══════════════════════════════════════════════════════ */
.offline-banner {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: #fef3c7; color: #92400e;
  padding: var(--sp-2) var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 13px; font-weight: 500; z-index: 999;
  border-bottom: 1px solid #fde68a;
}

/* ══════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════ */
.app-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-xs);
  transition: background .3s ease, border-color .3s ease;
}
.header-inner {
  max-width: 100%;
  height: 100%;
  padding: 0 var(--sp-4);
  display: flex; align-items: center; justify-content: space-between;
}
.header-left, .header-right { display: flex; align-items: center; gap: var(--sp-2); }

/* Logo */
.logo-brand {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 18px; font-weight: 700; color: var(--text);
  letter-spacing: -0.3px;
}
.logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--r-sm); display: flex; align-items: center;
  justify-content: center; color: #fff;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.logo-icon svg { width: 16px; height: 16px; }
.logo-brand strong { color: var(--primary); }

/* Icon Button */
.icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: transparent; color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--bg); color: var(--text); }
.icon-btn svg { width: 18px; height: 18px; }

/* Coins pill */
.coins-pill {
  display: flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; padding: 5px 12px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 600;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.coins-pill svg { width: 13px; height: 13px; }

/* ══════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════ */
.sidebar {
  position: fixed;
  top: var(--header-h); left: 0;
  width: 260px; height: calc(100vh - var(--header-h));
  background: var(--surface);
  border-right: 1px solid var(--border);
  overflow-y: auto; z-index: 900;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  padding-bottom: var(--bottom-nav-h);
}
.sidebar.active { transform: translateX(0); }
.sidebar-overlay {
  position: fixed; inset: 0; z-index: 899;
  background: rgba(0,0,0,.4); display: none;
  backdrop-filter: blur(2px);
}
.sidebar-overlay.active { display: block; }

/* Sidebar Profile */
.sidebar-profile {
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
  display: flex; align-items: center; gap: var(--sp-3);
}
.sidebar-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--primary-light);
  object-fit: cover; background: var(--bg2);
}
.sidebar-username { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.sidebar-points {
  font-size: 12px; color: var(--primary);
  display: flex; align-items: center; gap: 3px; font-weight: 500;
}

/* Sidebar Nav */
.sidebar-nav { padding: var(--sp-2) var(--sp-3); }
.sidebar-link {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 10px 12px; border-radius: var(--r-md);
  color: var(--text-3); font-size: 14px; font-weight: 500;
  transition: all .2s; margin-bottom: 2px;
}
.sidebar-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-link:hover { background: var(--bg); color: var(--text); }
.sidebar-link.active {
  background: var(--primary-glow);
  color: var(--primary); font-weight: 600;
}
.sidebar-divider { height: 1px; background: var(--border); margin: var(--sp-2) 0; }
.sidebar-section-label {
  padding: var(--sp-2) var(--sp-5);
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--text-4);
}
.social-icons {
  padding: var(--sp-2) var(--sp-4) var(--sp-4);
  display: flex; gap: var(--sp-2); flex-wrap: wrap;
}
.social-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: var(--bg); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }
.social-btn svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════════════════════ */
.main-content {
  margin-top: var(--header-h);
  margin-bottom: var(--bottom-nav-h);
  min-height: calc(100vh - var(--header-h) - var(--bottom-nav-h));
  background: var(--bg);
  transition: background .3s ease;
}
.page { display: none; padding: var(--sp-4) var(--sp-4) var(--sp-6); }
.page.active { display: block; animation: pageIn .25s ease; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════
   HOME PAGE
   ══════════════════════════════════════════════════════ */

/* Stats Bar */
.stats-bar {
  background: var(--surface);
  border-radius: var(--r-lg); padding: var(--sp-4);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-4);
  margin-bottom: var(--sp-4); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.stat-pill { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 700; }
.stat-pill svg { color: var(--primary); }
.stat-label { font-size: 12px; font-weight: 400; color: var(--text-3); }
.stat-divider { width: 1px; height: 24px; background: var(--border); }

/* Quick Actions */
.quick-actions {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3); margin-bottom: var(--sp-5);
}
.qa-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-2);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  color: var(--text-2); font-size: 11px; font-weight: 500;
  box-shadow: var(--shadow-xs);
  transition: all .2s; cursor: pointer;
}
.qa-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.qa-btn:active { transform: translateY(0); }
.qa-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.qa-icon svg { width: 20px; height: 20px; color: #fff; }
.qa-icon--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.qa-icon--blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.qa-icon--green  { background: linear-gradient(135deg, #10b981, #059669); }
.qa-icon--orange { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* Section Header */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-3);
}
.section-title { font-size: 18px; font-weight: 700; }
.section-badge {
  font-size: 11px; font-weight: 600;
  background: #fef3c7; color: #92400e;
  padding: 3px 10px; border-radius: var(--r-full);
}

/* ══════════════════════════════════════════════════════
   VIDEO CARDS
   ══════════════════════════════════════════════════════ */
.video-list {
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
}
.video-item {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow-xs); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.video-item:active { transform: translateY(0); }

.video-thumbnail {
  position: relative; width: 100%; padding-bottom: 56.25%;
  background: var(--bg2); overflow: hidden;
}
.video-thumbnail img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .3s ease;
}
.video-item:hover .video-thumbnail img { transform: scale(1.04); }

/* Duration badge */
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,.8); color: #fff;
  font-size: 11px; font-weight: 600; padding: 2px 7px;
  border-radius: 4px; letter-spacing: 0.3px;
}
/* Points badge on thumbnail */
.video-points-badge {
  position: absolute; top: 8px; left: 8px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: var(--r-full);
  display: flex; align-items: center; gap: 3px;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.video-points-badge svg { width: 10px; height: 10px; }

/* Watch overlay */
.video-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.2); opacity: 0; transition: opacity .2s;
}
.video-play-overlay svg { width: 48px; height: 48px; color: #fff; }
.video-item:hover .video-play-overlay { opacity: 1; }

.video-info { padding: var(--sp-3) var(--sp-4); }
.video-title {
  font-size: 14px; font-weight: 600; color: var(--text);
  margin-bottom: var(--sp-2); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.video-meta {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 4px;
}
.video-points {
  color: var(--primary); font-weight: 600; font-size: 12px;
  display: flex; align-items: center; gap: 3px;
}
.video-points svg { width: 12px; height: 12px; }
.video-views {
  color: var(--text-4); font-size: 12px;
  display: flex; align-items: center; gap: 3px;
}
.video-views svg { width: 12px; height: 12px; }

/* Watch Button */
.video-watch-btn {
  display: block; width: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; border: none; padding: var(--sp-2) var(--sp-4);
  font-size: 13px; font-weight: 600; text-align: center;
  cursor: pointer; transition: opacity .2s;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.video-watch-btn svg { width: 14px; height: 14px; }
.video-watch-btn:hover { opacity: .9; }

/* ══════════════════════════════════════════════════════
   WATCH PAGE
   ══════════════════════════════════════════════════════ */
.watch-container { background: var(--bg); }
.youtube-player-container {
  position: relative; padding-bottom: 56.25%; height: 0;
  overflow: hidden; background: #000; width: 100%;
}
#youtube-player {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

.watch-timer-container {
  background: var(--surface); margin: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg); padding: var(--sp-4);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.timer-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-3);
}
.timer-label {
  display: flex; align-items: center; gap: var(--sp-2);
  font-weight: 600; font-size: 14px; color: var(--text-2);
}
.timer-countdown {
  font-size: 22px; font-weight: 800; color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.timer-progress {
  height: 6px; background: var(--bg2); border-radius: var(--r-full);
  overflow: hidden; margin-bottom: var(--sp-3);
}
.timer-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: var(--r-full); transition: width .3s ease;
}
.timer-hint {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: 12px; color: var(--text-4);
}
.timer-hint svg { width: 13px; height: 13px; flex-shrink: 0; }

.watch-info-card {
  background: var(--surface); margin: 0 var(--sp-4) var(--sp-4);
  border-radius: var(--r-lg); padding: var(--sp-4);
  border: 1px solid var(--border);
}
.watch-title { font-size: 15px; font-weight: 600; margin-bottom: var(--sp-2); }
.watch-points-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--primary-glow); color: var(--primary);
  font-size: 13px; font-weight: 600; padding: 4px 12px;
  border-radius: var(--r-full);
}

/* ══════════════════════════════════════════════════════
   PAGE HEADERS
   ══════════════════════════════════════════════════════ */
.page-header { margin-bottom: var(--sp-5); }
.page-title { font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.page-sub { font-size: 13px; color: var(--text-3); margin-top: 3px; }

.back-bar { margin-bottom: var(--sp-3); }
.back-btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2); font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--r-md);
  transition: all .2s; cursor: pointer;
}
.back-btn:hover { background: var(--bg2); }
.back-btn svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════ */
.card {
  background: var(--surface); border-radius: var(--r-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  overflow: hidden; margin-bottom: var(--sp-4);
}
.card-header-label {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  font-weight: 600; font-size: 14px; color: var(--text-2);
  display: flex; align-items: center; gap: var(--sp-2);
  background: var(--surface2);
}
.card-header-label svg { color: var(--primary); }
.card-body { padding: var(--sp-5); }

/* Info card */
.info-card {
  background: #eff6ff; border: 1px solid #bfdbfe;
  border-radius: var(--r-lg); padding: var(--sp-4);
  display: flex; gap: var(--sp-3); margin-top: var(--sp-2);
}
[data-theme="dark"] .info-card { background: #1e3a5f; border-color: #1d4ed8; }
.info-card-icon { color: var(--info); flex-shrink: 0; margin-top: 2px; }
.info-card-title { font-weight: 600; font-size: 13px; margin-bottom: 3px; }
.info-card-text { font-size: 12px; color: var(--text-3); line-height: 1.5; }

/* ══════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════ */
.form-group { margin-bottom: var(--sp-4); }
.form-label {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  margin-bottom: var(--sp-2);
}
.form-label svg { color: var(--primary); }
.form-optional { font-weight: 400; color: var(--text-4); margin-left: 2px; }
.form-control {
  width: 100%; padding: 10px 14px;
  background: var(--surface); border: 1.5px solid var(--border-2);
  border-radius: var(--r-md); color: var(--text);
  font-size: 14px; transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }
.form-hint {
  font-size: 12px; color: var(--text-4); margin-top: 6px;
  line-height: 1.4;
}
.cost-highlight { color: var(--primary); font-weight: 700; }

/* ══════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2); padding: 11px 20px;
  border-radius: var(--r-md); font-size: 14px; font-weight: 600;
  border: none; cursor: pointer; transition: all .2s;
  user-select: none;
}
.btn svg { width: 16px; height: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; box-shadow: 0 2px 10px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px var(--primary-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--border-2);
  color: var(--text-2);
}
.btn-outline:hover { background: var(--bg2); }
.btn-danger-outline {
  border-color: #fecaca; color: var(--danger);
  margin-top: var(--sp-2);
}
.btn-danger-outline:hover { background: #fef2f2; }
[data-theme="dark"] .btn-danger-outline:hover { background: #450a0a; }

/* ══════════════════════════════════════════════════════
   COIN PACKAGES
   ══════════════════════════════════════════════════════ */
.coin-packages { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
.coin-package {
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--r-xl); padding: var(--sp-6) var(--sp-5);
  text-align: center; cursor: pointer;
  transition: all .25s; position: relative; overflow: hidden;
}
.coin-package::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, transparent, transparent);
  transition: background .3s;
}
.coin-package:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.coin-package:hover::before {
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}
.coin-package.popular {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--surface), #f5f3ff);
  box-shadow: 0 4px 20px var(--primary-glow);
}
[data-theme="dark"] .coin-package.popular { background: linear-gradient(135deg, var(--surface), #1e1b4b); }
.coin-package.popular::before {
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
}

/* Popular badge */
.popular-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: var(--r-full);
  margin-bottom: var(--sp-3); text-transform: uppercase; letter-spacing: 0.5px;
}
.popular-badge svg { width: 10px; height: 10px; }

.package-name { font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: var(--sp-2); }
.package-coins {
  font-size: 42px; font-weight: 800; color: var(--primary);
  letter-spacing: -1px; line-height: 1; margin-bottom: var(--sp-1);
}
.package-coins-label { font-size: 12px; color: var(--text-4); margin-bottom: var(--sp-3); }
.package-bonus {
  display: inline-block; background: #d1fae5; color: #065f46;
  font-size: 12px; font-weight: 600; padding: 3px 10px;
  border-radius: var(--r-full); margin-bottom: var(--sp-3);
}
[data-theme="dark"] .package-bonus { background: #064e3b; color: #6ee7b7; }
.package-price { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: var(--sp-4); }
.package-btn {
  width: 100%; padding: 11px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; border: none; border-radius: var(--r-md);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .2s; display: flex; align-items: center;
  justify-content: center; gap: var(--sp-2); font-family: inherit;
}
.package-btn:hover { opacity: .9; transform: translateY(-1px); }
.package-btn svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════════════
   PAYMENT STEPS
   ══════════════════════════════════════════════════════ */
.steps-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: var(--sp-5); padding: 0 var(--sp-4);
}
.step { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg2); border: 2px solid var(--border-2);
  font-size: 13px; font-weight: 700; color: var(--text-4);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
}
.step--active .step-num { background: var(--primary); border-color: var(--primary); color: #fff; }
.step--done .step-num { background: var(--success); border-color: var(--success); color: #fff; }
.step-label { font-size: 10px; font-weight: 600; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.5px; }
.step--active .step-label { color: var(--primary); }
.step-line { flex: 1; height: 2px; background: var(--border); margin: 0 var(--sp-2) 14px; min-width: 20px; }

/* Payment rows */
.payment-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-3) 0; border-bottom: 1px solid var(--border);
}
.payment-row:last-child { border-bottom: none; }
.payment-row--total { background: var(--bg2); margin: 0 calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)); padding: var(--sp-4) var(--sp-5); }
.payment-key { font-size: 13px; color: var(--text-3); font-weight: 500; }
.payment-val { font-size: 14px; font-weight: 700; }
.payment-val--accent { color: var(--primary); }
.payment-val--big { font-size: 20px; color: var(--primary); }

/* ══════════════════════════════════════════════════════
   WALLET
   ══════════════════════════════════════════════════════ */
.wallet-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #4f46e5, #6366f1, #818cf8);
  border-radius: var(--r-xl); padding: var(--sp-8) var(--sp-6);
  text-align: center; color: #fff; margin-bottom: var(--sp-5);
  box-shadow: 0 8px 32px rgba(79,70,229,.4);
}
.wallet-hero-label { font-size: 13px; opacity: .8; font-weight: 500; margin-bottom: var(--sp-2); }
.wallet-hero-amount { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.wallet-hero-amount span:first-child {
  font-size: 52px; font-weight: 800; letter-spacing: -2px; line-height: 1;
}
.wallet-unit { font-size: 20px; font-weight: 600; opacity: .8; }
.wallet-hero-sub { font-size: 13px; opacity: .7; margin-top: var(--sp-2); }

/* Decorative circles */
.wallet-circles { position: absolute; inset: 0; pointer-events: none; }
.wc {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
}
.wc1 { width: 180px; height: 180px; top: -60px; right: -40px; }
.wc2 { width: 120px; height: 120px; bottom: -30px; left: -20px; }

/* ══════════════════════════════════════════════════════
   LISTS (Transactions / Withdrawals)
   ══════════════════════════════════════════════════════ */
.list-container { overflow: hidden; }
.transaction-item {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: var(--sp-3); transition: background .15s;
}
.transaction-item:last-child { border-bottom: none; }
.transaction-item:hover { background: var(--surface2); }

.transaction-info { flex: 1; min-width: 0; }
.transaction-type {
  font-weight: 700; font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 3px;
}
.transaction-type.earn, .transaction-type.admin_add, .transaction-type.purchase { color: var(--success); }
.transaction-type.spend, .transaction-type.withdrawal { color: var(--danger); }
.transaction-desc { font-size: 13px; color: var(--text-3); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.transaction-date { font-size: 11px; color: var(--text-4); }

.transaction-amount { text-align: right; flex-shrink: 0; }
.amount { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.amount.earn, .amount.admin_add, .amount.purchase { color: var(--success); }
.amount.spend, .amount.withdrawal { color: var(--danger); }
.balance { font-size: 11px; color: var(--text-4); }

/* ══════════════════════════════════════════════════════
   PROFILE
   ══════════════════════════════════════════════════════ */
.profile-hero {
  text-align: center; padding: var(--sp-8) var(--sp-4) var(--sp-5);
  background: var(--surface); border-radius: var(--r-xl);
  border: 1px solid var(--border); margin-bottom: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.profile-avatar-wrap { position: relative; display: inline-block; margin-bottom: var(--sp-3); }
.profile-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--surface);
  box-shadow: 0 0 0 3px var(--primary), 0 4px 16px var(--primary-glow);
  position: relative; z-index: 1; background: var(--bg2);
}
.profile-avatar-ring {
  position: absolute; inset: -6px; border-radius: 50%;
  background: conic-gradient(var(--primary) 0%, var(--primary-light) 50%, transparent 50%);
  animation: ring-spin 2s linear infinite; z-index: 0;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
.profile-name { font-size: 20px; font-weight: 700; margin-bottom: 3px; }
.profile-email { font-size: 13px; color: var(--text-4); margin-bottom: var(--sp-2); }
.premium-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: var(--r-full);
  box-shadow: 0 2px 8px rgba(245,158,11,.3);
}
.premium-badge svg { width: 12px; height: 12px; }

/* Stats Grid */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3); margin-bottom: var(--sp-4);
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--sp-4) var(--sp-3);
  text-align: center; box-shadow: var(--shadow-xs);
  transition: transform .2s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card-icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-2);
}
.stat-card-icon svg { width: 18px; height: 18px; color: #fff; }
.stat-icon--blue   { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.stat-icon--green  { background: linear-gradient(135deg, #34d399, #10b981); }
.stat-icon--purple { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.stat-card-value { font-size: 22px; font-weight: 800; margin-bottom: 2px; letter-spacing: -0.5px; }
.stat-card-label { font-size: 11px; color: var(--text-4); font-weight: 500; }

/* ══════════════════════════════════════════════════════
   STATUS BADGES
   ══════════════════════════════════════════════════════ */
.status-badge {
  padding: 3px 10px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; display: inline-flex; align-items: center;
}
.status-pending  { background: #fef9c3; color: #854d0e; }
.status-approved, .status-completed { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }
[data-theme="dark"] .status-pending  { background: #422006; color: #fde68a; }
[data-theme="dark"] .status-approved { background: #064e3b; color: #6ee7b7; }
[data-theme="dark"] .status-rejected { background: #450a0a; color: #fca5a5; }

/* ══════════════════════════════════════════════════════
   LOGIN SCREEN
   ══════════════════════════════════════════════════════ */
#login-screen {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); overflow: hidden;
}
.login-bg { position: absolute; inset: 0; overflow: hidden; }
.login-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .15;
}
.login-blob--1 {
  width: 400px; height: 400px; background: var(--primary);
  top: -100px; left: -100px; animation: blob-float 6s ease-in-out infinite;
}
.login-blob--2 {
  width: 300px; height: 300px; background: var(--primary-light);
  bottom: -100px; right: -50px; animation: blob-float 8s ease-in-out infinite reverse;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%       { transform: translate(20px, 20px) scale(1.05); }
}

.login-container {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px; padding: var(--sp-4);
}
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--shadow-xl);
}
.login-logo {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.login-logo-icon { flex-shrink: 0; }
.login-brand {
  font-size: 22px; font-weight: 800; color: var(--text);
  display: block; letter-spacing: -0.3px;
}
.login-brand strong { color: var(--primary); }
.login-tagline { font-size: 12px; color: var(--text-4); font-weight: 400; }
.login-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: var(--sp-2); }
.login-desc { color: var(--text-3); font-size: 14px; margin-bottom: var(--sp-6); }

.btn-google {
  width: 100%; padding: 13px 20px;
  background: var(--surface); border: 1.5px solid var(--border-2);
  border-radius: var(--r-md); font-size: 15px; font-weight: 600;
  color: var(--text); display: flex; align-items: center;
  justify-content: center; gap: var(--sp-3); cursor: pointer;
  transition: all .2s; font-family: inherit; margin-bottom: var(--sp-6);
}
.btn-google:hover { background: var(--bg); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.google-icon { flex-shrink: 0; }

.login-features { display: flex; flex-direction: column; gap: var(--sp-3); }
.login-feature {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: 13px; color: var(--text-3); font-weight: 500;
}
.feature-icon { color: var(--primary); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════
   BOTTOM NAVIGATION
   ══════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bottom-nav-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  z-index: 1000; padding: 0 var(--sp-2);
  box-shadow: 0 -4px 20px rgba(0,0,0,.07);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; color: var(--text-4); text-decoration: none;
  font-size: 10px; font-weight: 500; padding: var(--sp-2);
  border-radius: var(--r-md); transition: all .2s;
  position: relative;
}
.nav-item svg { width: 20px; height: 20px; transition: all .2s; }
.nav-item.active { color: var(--primary); }
.nav-item.active svg { color: var(--primary); }

/* FAB center button */
.nav-fab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px; color: var(--text-4); font-size: 10px; font-weight: 500;
  cursor: pointer; padding-top: 0;
}
.fab-inner {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px var(--primary-glow);
  margin-top: -20px; transition: all .2s;
}
.fab-inner svg { width: 22px; height: 22px; color: #fff; }
.nav-fab.active .fab-inner { transform: scale(1.08); }

/* ══════════════════════════════════════════════════════
   LOADING / EMPTY STATES
   ══════════════════════════════════════════════════════ */
.loading-state {
  text-align: center; padding: var(--sp-12) var(--sp-4);
  color: var(--text-4);
}
.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  animation: spin .8s linear infinite; margin: 0 auto var(--sp-3);
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state {
  text-align: center; padding: var(--sp-12) var(--sp-4); color: var(--text-4);
}
.empty-state-icon {
  width: 60px; height: 60px; border-radius: var(--r-xl);
  background: var(--bg2); margin: 0 auto var(--sp-4);
  display: flex; align-items: center; justify-content: center;
}
.empty-state-icon svg { width: 28px; height: 28px; }
.empty-state p { font-size: 15px; font-weight: 500; color: var(--text-3); }
.empty-state span { font-size: 13px; color: var(--text-4); display: block; margin-top: 4px; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .video-list { grid-template-columns: repeat(2, 1fr); }
  .coin-packages { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .video-list { grid-template-columns: repeat(3, 1fr); }
  .coin-packages { grid-template-columns: repeat(3, 1fr); }
  .page { max-width: 100%; margin-left: 0; margin-right: 0; padding: 24px; }
  .sidebar {
    transform: translateX(0) !important;
    position: fixed;
    top: var(--header-h);
    left: 0;
    height: calc(100vh - var(--header-h));
    width: 260px;
  }
  .main-content { margin-left: 260px; }
  .sidebar-overlay { display: none !important; }
  /* Hide bottom nav on desktop */
  .bottom-nav { display: none !important; }
  /* Adjust page bottom padding since no bottom nav */
  .page { padding-bottom: 24px !important; }
}

/* ══════════════════════════════════════════════════════
   SCROLLBAR
   ══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-4); }

/* ══════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mb-4 { margin-bottom: var(--sp-4); }
.mt-4 { margin-top: var(--sp-4); }
.hidden { display: none !important; }


/* ══════════════════════════════════════════════════════
   ENHANCED RESPONSIVE DESIGN - 100% MOBILE FIRST
   ══════════════════════════════════════════════════════ */

/* Mobile devices (320px - 640px) */
@media (max-width: 640px) {
  :root {
    --header-h: 56px;
    --bottom-nav-h: 64px;
  }

  body {
    font-size: 13px;
  }

  .page {
    padding-bottom: calc(var(--bottom-nav-h) + 16px);
  }

  .video-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .coin-packages {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th, .data-table td {
    padding: 8px 4px;
  }

  .btn-action {
    padding: 6px 10px;
    font-size: 11px;
  }

  .admin-toolbar {
    flex-direction: column;
    gap: 8px;
  }

  .search-wrap {
    width: 100%;
    max-width: none;
  }

  .filter-wrap {
    width: 100%;
    flex-direction: column;
  }

  .form-control-sm {
    width: 100%;
  }

  .modal-dialog {
    width: 95%;
    max-width: 100%;
  }

  .sidebar {
    width: 100%;
    max-width: 280px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .video-item {
    flex-direction: column;
  }

  .video-thumbnail {
    width: 100%;
    height: 180px;
  }

  .video-info {
    padding: 12px;
  }

  .video-title {
    font-size: 14px;
    line-height: 1.3;
  }

  .video-meta {
    font-size: 12px;
  }

  .video-watch-btn {
    width: 100%;
    margin-top: 8px;
  }

  .header {
    padding: 0 12px;
  }

  .header-title {
    font-size: 18px;
  }

  .header-right {
    gap: 8px;
  }

  .profile-card {
    padding: 16px;
  }

  .profile-avatar {
    width: 64px;
    height: 64px;
  }

  .profile-info h2 {
    font-size: 18px;
  }

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

  .stat-card {
    padding: 12px;
  }

  .stat-value {
    font-size: 20px;
  }

  .stat-label {
    font-size: 12px;
  }

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

  .form-label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 14px;
  }

  .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
  }

  .card {
    padding: 12px;
    margin-bottom: 12px;
  }

  .card-header {
    font-size: 14px;
    padding: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .alert-box {
    padding: 12px;
    font-size: 13px;
    margin-bottom: 12px;
  }

  .modal-content {
    border-radius: 12px;
  }

  .modal-header {
    padding: 16px;
  }

  .modal-body {
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
  }

  .modal-footer {
    padding: 12px 16px;
    gap: 8px;
  }
}

/* Tablets and small desktops (641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .video-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .coin-packages {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .page {
    max-width: 100%;
    padding: 16px;
  }

  .admin-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .search-wrap {
    max-width: 300px;
  }

  .table-wrap {
    overflow-x: auto;
  }

  .data-table {
    font-size: 13px;
  }

  .data-table th, .data-table td {
    padding: 10px 8px;
  }

  .btn-action {
    padding: 8px 12px;
    font-size: 12px;
  }

  .modal-dialog {
    width: 90%;
    max-width: 600px;
  }

  .sidebar {
    width: 240px;
  }

  .main-content {
    margin-left: 240px;
  }
}

/* Large desktops (1025px and above) */
@media (min-width: 1025px) {
  .video-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .coin-packages {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .page {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 24px;
  }

  .admin-toolbar {
    gap: 16px;
  }

  .search-wrap {
    max-width: 400px;
  }

  .table-wrap {
    overflow-x: visible;
  }

  .data-table {
    font-size: 14px;
  }

  .data-table th, .data-table td {
    padding: 12px 12px;
  }

  .btn-action {
    padding: 8px 14px;
    font-size: 13px;
  }

  .modal-dialog {
    width: 600px;
  }

  .sidebar {
    position: fixed !important;
    top: var(--header-h);
    left: 0;
    width: 260px;
    height: calc(100vh - var(--header-h));
    transform: translateX(0) !important;
    z-index: 900;
  }

  .main-content {
    margin-left: 260px;
  }

  .sidebar-overlay {
    display: none !important;
  }
}

/* Extra large desktops (1440px and above) */
@media (min-width: 1440px) {
  .page {
    max-width: 100%;
  }

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

  .coin-packages {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .header {
    height: 48px;
  }

  .bottom-nav {
    height: 48px;
  }

  .page {
    padding-bottom: calc(48px + 16px);
  }

  .video-thumbnail {
    height: 120px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .btn-action,
  .nav-item,
  .card {
    min-height: 44px;
    min-width: 44px;
  }

  button {
    -webkit-tap-highlight-color: transparent;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}

/* Print styles */
@media print {
  .bottom-nav,
  .sidebar,
  .header-right,
  .btn,
  .nav-item {
    display: none !important;
  }

  .page {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .main-content {
    margin-left: 0;
  }

  body {
    background: white;
    color: black;
  }
}


/* ═══════════════════════════════════════════════════════
   DESKTOP SPECIFIC IMPROVEMENTS
   ═══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* Header - hide hamburger on desktop */
  #sidebar-toggle {
    display: none !important;
  }
  
  /* Proper desktop header styling */
  .app-header {
    padding: 0 24px;
  }
  
  .header-inner {
    max-width: 100%;
    padding: 0;
  }
  
  /* Main content proper padding */
  .main-content {
    margin-left: 260px;
    margin-bottom: 0;
  }
  
  /* Video list better on desktop */
  .video-card {
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
  
  /* Watch page - better layout */
  .watch-container {
    max-width: 800px;
  }
  
  /* Profile page - better layout */
  .profile-page-inner {
    max-width: 700px;
  }
  
  /* Wallet page - better layout */
  .wallet-inner {
    max-width: 600px;
  }
  
  /* Better form widths on desktop */
  .auth-form {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Ultra-wide screens */
@media (min-width: 1440px) {
  .main-content {
    margin-left: 260px;
  }
  .page {
    max-width: 1100px;
    margin: 0 auto;
  }
  .video-list {
    grid-template-columns: repeat(4, 1fr);
  }
}
