/* ═══════════════════════════════════════════
   ANIMATIONS — Keyframes & Transitions
   ═══════════════════════════════════════════ */

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%) rotate(0deg); }
  50% { transform: translateX(100%) rotate(0deg); }
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(229, 57, 53, 0); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(229, 57, 53, 0.3); }
  50% { box-shadow: 0 0 24px rgba(229, 57, 53, 0.4), 0 0 48px rgba(229, 57, 53, 0.1); }
}

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

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Score flash — pulses green when a score updates */
@keyframes scoreFlash {
  0% { color: var(--accent); text-shadow: 0 0 12px rgba(133,199,66,0.6); transform: scale(1.15); }
  100% { color: inherit; text-shadow: none; transform: scale(1); }
}
.score-flash {
  animation: scoreFlash 0.8s ease-out;
}

/* Ticker score transition */
.ticker-score, .score-display {
  transition: color 0.3s, text-shadow 0.3s;
}

/* Staggered section reveal */
.section {
  animation: fadeInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
}
.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }

/* Staggered card reveal */
.video-card {
  animation: fadeInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
}
.video-card:nth-child(1) { animation-delay: 0.05s; }
.video-card:nth-child(2) { animation-delay: 0.1s; }
.video-card:nth-child(3) { animation-delay: 0.15s; }
.video-card:nth-child(4) { animation-delay: 0.2s; }

/* ── SKELETON LOADING PLACEHOLDERS ── */
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.15; }
}

.skeleton {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  animation: skeletonPulse 1.8s ease-in-out infinite;
}

.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.skeleton-thumb {
  aspect-ratio: 16/9;
  background: rgba(255, 255, 255, 0.04);
  animation: skeletonPulse 1.8s ease-in-out infinite;
}

.skeleton-card .skeleton-info {
  padding: 14px 16px;
}

.skeleton-line {
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  animation: skeletonPulse 1.8s ease-in-out infinite;
  margin-bottom: 8px;
}

.skeleton-line.w-75 { width: 75%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-title { height: 14px; width: 85%; }
.skeleton-line.w-meta { height: 10px; width: 60%; margin-bottom: 0; }

.skeleton-section-title {
  height: 24px;
  width: 180px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  animation: skeletonPulse 1.8s ease-in-out infinite;
}

/* Stagger skeleton card animations */
.skeleton-card:nth-child(1) .skeleton-thumb,
.skeleton-card:nth-child(1) .skeleton-line { animation-delay: 0s; }
.skeleton-card:nth-child(2) .skeleton-thumb,
.skeleton-card:nth-child(2) .skeleton-line { animation-delay: 0.15s; }
.skeleton-card:nth-child(3) .skeleton-thumb,
.skeleton-card:nth-child(3) .skeleton-line { animation-delay: 0.3s; }
.skeleton-card:nth-child(4) .skeleton-thumb,
.skeleton-card:nth-child(4) .skeleton-line { animation-delay: 0.45s; }

/* ── TOAST NOTIFICATIONS ── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--surface);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: rgba(133, 199, 66, 0.15);
  color: var(--accent);
}

.toast-info .toast-icon {
  background: rgba(58, 155, 255, 0.15);
  color: var(--blue);
}

.toast-icon svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast-message {
  font-size: 13px;
  font-weight: 500;
}


/* ═══════════════════════════════════════════
   PREMIUM CONTENT MODAL
   ═══════════════════════════════════════════ */

.premium-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.premium-overlay.show {
  opacity: 1;
}

.premium-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.premium-overlay.show .premium-modal {
  transform: translateY(0) scale(1);
}

.premium-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.premium-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.premium-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(133, 199, 66, 0.15), rgba(133, 199, 66, 0.05));
  border: 1px solid rgba(133, 199, 66, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.premium-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.premium-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.premium-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  text-align: left;
  padding: 0 8px;
}

.premium-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.premium-feature svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.premium-signup-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 16px rgba(133, 199, 66, 0.3);
  margin-bottom: 16px;
}

.premium-signup-btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(133, 199, 66, 0.5);
}

.premium-signup-btn:active {
  transform: translateY(0);
}

.premium-login {
  font-size: 13px;
  color: var(--text-muted);
}

.premium-login-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.premium-login-link:hover {
  text-decoration: underline;
}


/* ═══════════════════════════════════════════
   AUTH MODAL (Sign In / Sign Up)
   ═══════════════════════════════════════════ */

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.auth-overlay.show {
  opacity: 1;
}

.auth-modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-bright);
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.auth-overlay.show .auth-modal {
  transform: translateY(0) scale(1);
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s;
}

.auth-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* Tabs */
.auth-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.auth-tab.active {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(133, 199, 66, 0.3);
}

.auth-tab:not(.active):hover {
  color: var(--text-primary);
}

/* Form Fields */
.auth-field {
  margin-bottom: 16px;
}

.auth-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.2s ease;
  outline: none;
}

.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(133, 199, 66, 0.15);
}

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

/* Error Message */
.auth-error {
  background: rgba(229, 57, 53, 0.1);
  border: 1px solid rgba(229, 57, 53, 0.2);
  color: #ef5350;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Submit Button */
.auth-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: white;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 16px rgba(133, 199, 66, 0.3);
  margin-bottom: 16px;
}

.auth-submit-btn:hover {
  background: var(--accent-secondary);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(133, 199, 66, 0.4);
}

.auth-submit-btn:active {
  transform: translateY(0);
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Shake animation for errors */
.auth-submit-btn.shake {
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* Footer text */
.auth-footer-text {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.auth-footer-text a {
  color: var(--accent);
  text-decoration: none;
}

.auth-footer-text a:hover {
  text-decoration: underline;
}


/* ═══════════════════════════════════════════
   HEADER — Logged In State
   ═══════════════════════════════════════════ */

.btn-signin.logged-in {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}

.btn-signin.logged-in:hover {
  background: rgba(255, 255, 255, 0.06);
}

.header-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.header-username {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.header-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s;
}

/* User Dropdown */
.header-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 200;
}

.header-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 12px;
}

.dropdown-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.dropdown-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.dropdown-email {
  font-size: 11px;
  color: var(--text-muted);
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.dropdown-signout {
  color: #ef5350;
}

.dropdown-signout:hover {
  background: rgba(229, 57, 53, 0.08);
  color: #ef5350;
}


/* ═══════════════════════════════════════════
   SEARCH RESULTS
   ═══════════════════════════════════════════ */

#search-results-banner {
  background: linear-gradient(135deg, rgba(133,199,66,0.08), rgba(133,199,66,0.03));
  border: 1px solid rgba(133,199,66,0.2);
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 20px;
  animation: fadeInUp 0.3s ease;
}

.search-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.search-banner-inner strong {
  color: var(--accent);
}

.search-banner-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
}

.search-banner-clear {
  margin-left: auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.search-banner-clear:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
}

.video-card.search-match {
  box-shadow: 0 0 0 1px rgba(133,199,66,0.3);
}

.video-card.search-hidden {
  display: none !important;
}


/* ═══════════════════════════════════════════
   PAYMENT MODAL
   ═══════════════════════════════════════════ */

.payment-modal {
  max-width: 420px;
  text-align: center;
}

.payment-header {
  margin-bottom: 24px;
}

.payment-icon {
  margin-bottom: 16px;
}

.payment-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.payment-plan {
  background: linear-gradient(135deg, rgba(133,199,66,0.08), rgba(133,199,66,0.02));
  border: 1px solid rgba(133,199,66,0.25);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  margin-bottom: 20px;
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #111;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin: 12px 0 16px 0;
}

.plan-currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
}

.plan-amount {
  font-family: 'Bebas Neue', cursive;
  font-size: 56px;
  color: var(--text-primary);
  line-height: 1;
}

.plan-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-left: 4px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.plan-features li:last-child {
  border-bottom: none;
}

.payment-methods {
  margin-bottom: 20px;
}

.payment-methods-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.payment-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.pay-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.payment-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--accent);
  color: #111;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.payment-btn:hover {
  background: #96d44a;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(133,199,66,0.3);
}

.payment-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.payment-disclaimer {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.5;
}

.payment-disclaimer a {
  color: var(--accent);
  text-decoration: none;
}

.payment-disclaimer a:hover {
  text-decoration: underline;
}


/* ═══════════════════════════════════════════
   PREMIUM BADGE
   ═══════════════════════════════════════════ */

.premium-badge {
  background: linear-gradient(135deg, #85c742, #6db830);
  color: #111;
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  margin-left: 6px;
  vertical-align: middle;
}

.premium-badge.small {
  font-size: 9px;
  padding: 1px 6px;
}

.dropdown-plan-status {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.dropdown-plan-status.paid {
  color: var(--accent);
}

.dropdown-upgrade {
  color: var(--accent) !important;
  font-weight: 600;
}

.dropdown-upgrade svg {
  stroke: var(--accent) !important;
}

.dropdown-upgrade:hover {
  background: rgba(133,199,66,0.1) !important;
}


/* ═══════════════════════════════════════════
   WALLET STYLES
   ═══════════════════════════════════════════ */

/* Wallet Modal Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Amount Chips */
.amount-chip:hover {
  background: rgba(133, 199, 66, 0.2) !important;
  border-color: var(--accent) !important;
  transform: translateY(-2px);
}

.amount-chip.selected {
  background: var(--accent) !important;
  color: #111 !important;
  border-color: var(--accent) !important;
}

/* Payment Method Buttons */
.pay-method:not([disabled]):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(133, 199, 66, 0.2);
}

.wallet-pay:not([disabled]):hover {
  background: linear-gradient(135deg, #a0d865, #85c742) !important;
}

.direct-pay:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Transaction Item */
.transaction-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Wallet Balance Pulse Animation */
@keyframes balancePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.wallet-amount.updated {
  animation: balancePulse 0.5s ease;
  color: var(--accent);
}

/* Scrollbar for Transaction History */
.history-list::-webkit-scrollbar {
  width: 8px;
}

.history-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.history-list::-webkit-scrollbar-thumb {
  background: rgba(133, 199, 66, 0.3);
  border-radius: 4px;
}

.history-list::-webkit-scrollbar-thumb:hover {
  background: rgba(133, 199, 66, 0.5);
}

/* Profile Page Scrollbar */
.purchased-videos-list::-webkit-scrollbar {
  width: 8px;
}

.purchased-videos-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}

.purchased-videos-list::-webkit-scrollbar-thumb {
  background: rgba(133, 199, 66, 0.3);
  border-radius: 4px;
}

.purchased-videos-list::-webkit-scrollbar-thumb:hover {
  background: rgba(133, 199, 66, 0.5);
}

/* Profile Modal Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Video Player Styles */
.video-player-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.video-player-modal {
  opacity: 0;
}

.video-player-overlay.show .video-player-modal {
  opacity: 1;
}

.video-player-container {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 75vh;
}

/* Custom video controls enhancement */
#main-video-player::-webkit-media-controls-panel {
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

#main-video-player::-webkit-media-controls-play-button,
#main-video-player::-webkit-media-controls-timeline,
#main-video-player::-webkit-media-controls-current-time-display,
#main-video-player::-webkit-media-controls-time-remaining-display,
#main-video-player::-webkit-media-controls-mute-button,
#main-video-player::-webkit-media-controls-volume-slider,
#main-video-player::-webkit-media-controls-fullscreen-button {
  filter: brightness(1.2);
}

/* Responsive Video Player */
@media (max-width: 768px) {
  .video-player-overlay {
    padding: 20px 10px;
  }

  .video-player-modal {
    width: 95% !important;
  }

  .video-player-close {
    top: -40px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 20px !important;
  }

  .video-info-section {
    margin-top: 16px !important;
    padding: 16px !important;
  }

  .video-info-section > div {
    flex-direction: column !important;
  }

  .video-info-section h2 {
    font-size: 18px !important;
  }
}
