/* ======================================================================
   FIGHTS NETWORK — 2025 MODERN REDESIGN
   Glass Morphism | Contemporary Video Site Aesthetic
   ====================================================================== */

:root {
  /* Core Colors */
  --bg: #0a0e17;
  --bg-2: #12161f;
  --bg-3: #1a1f2e;
  --text: #f0f2f5;
  --text-muted: #a0a8b8;
  --text-dark: #6b7280;
  
  /* Accent Colors */
  --accent: #ff6b35;
  --accent-hover: #ff8555;
  --accent-light: rgba(255, 107, 53, 0.1);
  --accent-glow: rgba(255, 107, 53, 0.3);
  
  /* Glass Morphism */
  --glass-bg: rgba(26, 31, 46, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glass-blur: blur(12px);
  
  /* Borders & Shadows */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.6);
  
  /* 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: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ======================================================================
   RESET & BASE
   ====================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: 
    radial-gradient(ellipse at top, rgba(255, 107, 53, 0.08), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.05), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: white;
}

/* ======================================================================
   LAYOUT
   ====================================================================== */

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.center-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

main {
  flex: 1;
  width: 100%;
}

/* ======================================================================
   HEADER - Modern Sticky Nav
   ====================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.header .center-wrap {
  padding: var(--space-md);
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.logo-box a {
  display: block;
  transition: transform var(--transition-base);
}

.logo-box a:hover {
  transform: scale(1.02);
}

.logo-box img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 4px 12px var(--accent-glow));
  transition: filter var(--transition-base);
}

.logo-box a:hover img {
  filter: drop-shadow(0 6px 16px rgba(255, 107, 53, 0.5));
}

/* ======================================================================
   NAVIGATION - Modern Pills Style
   ====================================================================== */

.top-nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--accent-light);
  transform: translate(-50%, -50%);
  transition: width var(--transition-base), height var(--transition-base);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-btn:hover::before {
  width: 200%;
  height: 200%;
}

.nav-btn i {
  position: relative;
  z-index: 1;
  font-size: 16px;
}

.nav-btn span {
  position: relative;
  z-index: 1;
}

.nav-btn.discord {
  background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
  border-color: transparent;
  color: white;
}

.nav-btn.discord:hover {
  background: linear-gradient(135deg, #6875F5 0%, #8299E0 100%);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.4);
}

.nav-btn.danger {
  color: #ff6b6b;
}

.nav-btn.danger:hover {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.3);
}

.nav-spacer {
  flex: 1;
  min-width: var(--space-md);
}

/* Profile Avatar in Nav */
.nav-profile {
  background: var(--glass-bg);
  border: 2px solid var(--accent);
  padding: 6px 14px 6px 6px;
}

.nav-profile:hover {
  border-color: var(--accent-hover);
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  transition: all var(--transition-fast);
}

.nav-profile:hover .nav-avatar {
  transform: scale(1.1);
  border-color: var(--accent-hover);
}

.nav-username {
  font-weight: 600;
  color: var(--text);
}

/* ======================================================================
   CARDS - Modern Glass Morphism
   ====================================================================== */

.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-base);
  margin-bottom: var(--space-lg);
}

.card:hover:not(.no-hover) {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

/* ======================================================================
   VIDEO GRID - Modern 2025 Layout
   ====================================================================== */

.feed-card {
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 100%;
  padding: 0;
}

.feed-card h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.feed-card h2::before {
  content: '';
  width: 4px;
  height: 32px;
  background: linear-gradient(180deg, var(--accent), transparent);
  border-radius: var(--radius-sm);
}

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

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

@media (min-width: 1100px) and (max-width: 1399px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 500px) and (max-width: 767px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 499px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* ======================================================================
   VIDEO CARDS - YouTube/Netflix Inspired
   ====================================================================== */

.video-card {
  background: var(--bg-3);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.video-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-hover);
}

.card-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}

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

.video-card:hover .card-thumb {
  transform: scale(1.08);
}

/* Duration Badge */
.duration-badge {
  position: absolute;
  bottom: var(--space-sm);
  right: var(--space-sm);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  font-family: 'SF Mono', 'Monaco', monospace;
  z-index: 2;
}

/* Status Badge */
.status-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.status-approved {
  background: rgba(16, 185, 129, 0.9);
  color: white;
}

.status-pending {
  background: rgba(245, 158, 11, 0.9);
  color: white;
}

.status-rejected {
  background: rgba(239, 68, 68, 0.9);
  color: white;
}

/* Video Card Info */
.video-card-info {
  padding: var(--space-md);
}

.video-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  hyphens: auto;
}

.video-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.video-meta a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-meta a:hover {
  color: var(--accent);
}

/* ======================================================================
   CHIPS & BADGES - Modern Pills
   ====================================================================== */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.chip.ok {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.chip.bad {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.chip.warn {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

.chip.muted {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text-muted);
}

/* ======================================================================
   BUTTONS - Modern Gradient Style
   ====================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  border: none;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #ff9575 100%);
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
  transform: translateY(-3px);
}

.btn.full {
  width: 100%;
}

/* ======================================================================
   FORMS - Modern Input Design
   ====================================================================== */

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-dark);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* ======================================================================
   PROFILE - Modern Layout
   ====================================================================== */

.profile-header-card {
  background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(26, 31, 46, 0.5) 100%);
}

.profile-header {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.profile-picture-large {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: 0 0 32px var(--accent-glow);
  transition: all var(--transition-base);
}

.profile-picture-large:hover {
  transform: scale(1.05);
  box-shadow: 0 0 48px rgba(255, 107, 53, 0.5);
}

.profile-username {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.profile-stats {
  display: flex;
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.profile-bio {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  line-height: 1.7;
}

/* ======================================================================
   VIDEO PAGE - Theater Mode Style
   ====================================================================== */

video {
  width: 100%;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: var(--shadow-xl);
}

/* ======================================================================
   FOOTER - Minimal Modern
   ====================================================================== */

footer {
  margin-top: auto;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
}

/* ======================================================================
   UTILITIES
   ====================================================================== */

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

.center {
  text-align: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-lg) 0;
}

/* ======================================================================
   RESPONSIVE - Mobile First
   ====================================================================== */

@media (max-width: 768px) {
  .header .logo-box img {
    height: 50px;
  }
  
  .nav-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .nav-username {
    display: none;
  }
  
  .nav-spacer {
    flex-basis: 100%;
    height: 0;
  }
  
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .profile-picture-large {
    width: 120px;
    height: 120px;
  }
  
  .profile-username {
    font-size: 28px;
  }
  
  .profile-stats {
    justify-content: center;
  }
  
  .feed-card h2 {
    font-size: 24px;
  }
}

@media (max-width: 500px) {
  :root {
    --space-lg: 16px;
    --space-xl: 24px;
  }
  
  .card {
    padding: var(--space-md);
    border-radius: var(--radius-md);
  }
  
  .grid {
    gap: var(--space-md);
  }
}

/* ======================================================================
   ANIMATIONS - Smooth & Modern
   ====================================================================== */

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

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.fade-in {
  animation: fadeIn var(--transition-slow) ease-out;
}

/* ======================================================================
   LOADING STATES
   ====================================================================== */

.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ======================================================================
   SCROLLBAR - Custom Modern Style
   ====================================================================== */

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-2);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ======================================================================
   ACCESSIBILITY
   ====================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ======================================================================
   DARK MODE ENHANCEMENTS
   ====================================================================== */

@media (prefers-color-scheme: dark) {
  /* Already dark by default */
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* =================================================================
   COMPREHENSIVE BUG FIX CSS - v2.2.3
   Add to END of style.css or replace entire file
   ================================================================= */

/* ====================
   VIDEO PLAYER FIX - Portrait Videos
   ==================== */
.video-player-wrapper {
  position: relative;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.video-player-wrapper video {
  width: 100%;
  max-height: 80vh; /* KEY FIX: Prevents full-screen portrait videos */
  height: auto;
  display: block;
  background: #000;
  object-fit: contain; /* KEY FIX: Maintains aspect ratio, adds black bars */
}

.player-card {
  padding: 0 !important;
  overflow: hidden;
  background: #000 !important;
}

/* Responsive video scaling */
@media (max-width: 768px) {
  .video-player-wrapper video {
    max-height: 70vh;
  }
}

@media (max-width: 480px) {
  .video-player-wrapper video {
    max-height: 60vh;
  }
}

/* ====================
   PAGINATION FIX
   ==================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 40px 0 20px;
  padding: 20px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.pagination-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-btn i {
  font-size: 14px;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  backdrop-filter: blur(10px);
}

.pagination-info .current-page {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

.pagination-info .page-separator {
  color: var(--muted);
  font-weight: 400;
  opacity: 0.5;
}

.pagination-info .total-pages {
  color: var(--muted);
  font-weight: 500;
}

/* Mobile pagination */
@media (max-width: 600px) {
  .pagination {
    gap: 12px;
    padding: 16px;
  }
  
  .pagination-btn {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  /* Hide text on mobile, show only icons */
  .pagination-btn {
    font-size: 0;
  }
  
  .pagination-btn i {
    font-size: 16px;
    margin: 0 !important;
  }
  
  .pagination-info {
    padding: 10px 16px;
    font-size: 15px;
  }
}

/* ====================
   TURNSTILE CAPTCHA FIX
   ==================== */
.turnstile-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  padding: 20px 0;
}

.cf-turnstile {
  transform-origin: center;
  display: block;
}

/* Ensure Turnstile is visible */
.turnstile-wrapper iframe {
  display: block !important;
  visibility: visible !important;
}

/* ====================
   AUTH FORM FIXES
   ==================== */

/* Form group spacing */
.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form .form-group:last-of-type {
  margin-bottom: 24px;
}

/* Labels */
.auth-form label,
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.auth-form label i,
.form-group label i {
  opacity: 0.7;
  font-size: 13px;
}

/* Input fields - CRITICAL OVERRIDES */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100% !important;
  padding: 14px 16px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: var(--text) !important;
  font-size: 15px !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}

/* Input focus state */
.auth-form input:focus,
.form-group input:focus {
  outline: none !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
}

/* Placeholder */
.auth-form input::placeholder,
.form-group input::placeholder {
  color: var(--muted) !important;
  opacity: 0.5 !important;
}

/* Form hints */
.form-hint,
small.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.8;
}

/* Form actions */
.auth-form .form-actions,
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  margin-top: -8px;
}

/* Links */
.link-muted {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.link-muted:hover {
  color: var(--accent);
}

.link-accent {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.link-accent:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ====================
   ALERT MESSAGES FIX
   ==================== */
.alert {
  padding: 14px 16px !important;
  border-radius: 12px !important;
  margin-bottom: 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  backdrop-filter: blur(10px) !important;
}

.alert i {
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #fca5a5 !important;
}

.alert-success {
  background: rgba(74, 222, 128, 0.15) !important;
  border: 1px solid rgba(74, 222, 128, 0.3) !important;
  color: #86efac !important;
}

.alert-warning {
  background: rgba(251, 191, 36, 0.15) !important;
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
  color: #fcd34d !important;
}

.alert a {
  color: inherit !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

/* ====================
   BUTTON FIXES
   ==================== */
.btn.btn-primary {
  background: var(--accent) !important;
  color: white !important;
  border: none !important;
  padding: 14px 24px !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.btn.btn-primary:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.btn.full {
  width: 100% !important;
}

/* ====================
   UTILITY FIXES
   ==================== */

/* Muted text */
.muted,
.text-muted,
p.muted {
  color: var(--muted) !important;
  opacity: 0.8;
}

/* No hover on cards */
.card.no-hover {
  cursor: default;
}

.card.no-hover:hover {
  transform: none !important;
}

/* ====================
   RESPONSIVE FIXES
   ==================== */
@media (max-width: 500px) {
  .auth-card {
    padding: var(--space-xl) var(--space-lg) !important;
  }
  
  .auth-header h1 {
    font-size: 28px !important;
  }
  
  .auth-form input[type="text"],
  .auth-form input[type="email"],
  .auth-form input[type="password"] {
    padding: 12px 14px !important;
    font-size: 14px !important;
  }
}

/* ====================
   END OF FIXES
   ==================== */
/* =================================================================
   BEAUTIFUL AUTH PAGES STYLING - Add to style.css
   Modern 2025 Design for Login/Register/Forgot/Reset
   ================================================================= */

/* Auth Container */
.card[style*="max-width:520px"],
.card[style*="max-width:420px"] {
    background: rgba(26, 31, 46, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 48px !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6) !important;
    margin: 60px auto !important;
}

/* Auth Titles */
.card h2 {
    font-size: 32px !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    background: linear-gradient(135deg, #f0f2f5 0%, #ff6b35 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center !important;
}

.admin-title {
    text-align: center !important;
}

/* Form Stack */
.stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

/* Labels */
.stack label,
.card label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #f0f2f5 !important;
    margin-bottom: 8px !important;
}

/* Input Fields */
.stack input[type="text"],
.stack input[type="email"],
.stack input[type="password"],
.card input.input,
.input {
    width: 100% !important;
    padding: 14px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #f0f2f5 !important;
    font-size: 15px !important;
    font-family: inherit !important;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.stack input:focus,
.card input.input:focus,
.input:focus {
    outline: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
}

.stack input::placeholder,
.card input.input::placeholder,
.input::placeholder {
    color: #a0a8b8 !important;
    opacity: 0.5 !important;
}

/* Input with Icon */
.input-with-icon {
    position: relative !important;
    width: 100% !important;
}

.input-with-icon input {
    padding-right: 48px !important;
}

.eye-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #a0a8b8 !important;
    cursor: pointer !important;
    padding: 8px !important;
    font-size: 18px !important;
    border-radius: 8px !important;
    transition: all 150ms !important;
}

.eye-btn:hover {
    color: #f0f2f5 !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Password Strength */
.pw-wrap {
    margin-top: 8px !important;
}

.pw-track {
    height: 4px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
}

.pw-bar {
    height: 100% !important;
    width: 0% !important;
    background: #ff3b3b !important;
    transition: all 250ms !important;
    border-radius: 4px !important;
}

.pw-wrap small {
    font-size: 13px !important;
    color: #a0a8b8 !important;
}

/* Chips / Alerts */
.chip {
    padding: 14px 16px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    display: block !important;
}

.chip.bad {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
}

.chip.ok {
    background: rgba(74, 222, 128, 0.15) !important;
    border: 1px solid rgba(74, 222, 128, 0.3) !important;
    color: #86efac !important;
}

.chip a {
    color: #fff !important;
    text-decoration: underline !important;
}

/* Buttons */
.btn.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%) !important;
    color: white !important;
    border: none !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 250ms !important;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3) !important;
}

.btn.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

.btn.full {
    width: 100% !important;
}

/* Turnstile */
#ts-mount,
.cf-turnstile {
    display: flex !important;
    justify-content: center !important;
    min-height: 72px !important;
}

/* Links */
.card p.center a,
.card a {
    color: #ff6b35 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 150ms !important;
}

.card p.center a:hover,
.card a:hover {
    color: #ff8555 !important;
}

.card p.center {
    text-align: center !important;
    color: #a0a8b8 !important;
    font-size: 14px !important;
    margin: 20px 0 0 0 !important;
}

/* Small text / hints */
small.muted {
    color: #a0a8b8 !important;
    font-size: 13px !important;
}

/* Responsive */
@media (max-width: 500px) {
    .card[style*="max-width"] {
        padding: 32px 24px !important;
        margin: 30px auto !important;
    }
    
    .card h2 {
        font-size: 28px !important;
    }
    
    .stack input,
    .input {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
}

/* Dev link styling */
.chip[style*="background:#ffb300"] {
    background: rgba(251, 191, 36, 0.2) !important;
    border: 1px solid rgba(251, 191, 36, 0.4) !important;
    color: #fcd34d !important;
    word-break: break-all !important;
}
/* =================================================================
   BEAUTIFUL ADMIN PAGES STYLING
   Modern 2025 Design for Admin Dashboard
   ================================================================= */

/* Admin Container */
.admin-container,
body > div[style*="max-width"] {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
}

/* Admin Title */
.admin-title,
h1:first-of-type {
    font-size: 36px !important;
    font-weight: 800 !important;
    margin: 0 0 32px 0 !important;
    background: linear-gradient(135deg, #f0f2f5 0%, #ff6b35 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-align: center !important;
}

/* Admin Tabs */
.admin-tabs {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 32px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.admin-tabs a {
    padding: 12px 24px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: var(--text-muted) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 150ms !important;
}

.admin-tabs a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--text) !important;
}

.admin-tabs a.active {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%) !important;
    border-color: transparent !important;
    color: white !important;
}

/* Filter Buttons */
.filter-btns,
div[style*="display:flex"][style*="gap:8px"] {
    display: flex !important;
    gap: 12px !important;
    margin: 24px 0 !important;
    flex-wrap: wrap !important;
}

.filter-btns button,
button.btn-filter {
    padding: 10px 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 150ms !important;
}

.filter-btns button:hover,
button.btn-filter:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--text) !important;
}

.filter-btns button.active,
button.btn-filter.active {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%) !important;
    border-color: transparent !important;
    color: white !important;
}

/* Filter Text */
.filter-text {
    color: #ff6b35 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin: 16px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Admin Table */
.admin-table {
    width: 100% !important;
    background: rgba(26, 31, 46, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6) !important;
}

.admin-table table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.admin-table th {
    padding: 16px 20px !important;
    text-align: left !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--text) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.admin-table td {
    padding: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: var(--text) !important;
    font-size: 14px !important;
}

.admin-table tbody tr {
    transition: background 150ms !important;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

.admin-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Table Links */
.admin-table a {
    color: #ff6b35 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 150ms !important;
}

.admin-table a:hover {
    color: #ff8555 !important;
    text-decoration: underline !important;
}

/* Status Badges */
.status-badge {
    display: inline-block !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.status-approved,
.status-verified,
.status-active {
    background: rgba(74, 222, 128, 0.15) !important;
    border: 1px solid rgba(74, 222, 128, 0.3) !important;
    color: #86efac !important;
}

.status-pending,
.status-unverified {
    background: rgba(251, 191, 36, 0.15) !important;
    border: 1px solid rgba(251, 191, 36, 0.3) !important;
    color: #fcd34d !important;
}

.status-rejected,
.status-banned {
    background: rgba(239, 68, 68, 0.15) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
}

/* Action Buttons */
.action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    color: var(--text) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 150ms !important;
    margin: 2px !important;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px) !important;
}

.action-btn.approve {
    background: rgba(74, 222, 128, 0.15) !important;
    border-color: rgba(74, 222, 128, 0.3) !important;
    color: #86efac !important;
}

.action-btn.approve:hover {
    background: rgba(74, 222, 128, 0.25) !important;
}

.action-btn.reject {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
}

.action-btn.reject:hover {
    background: rgba(239, 68, 68, 0.25) !important;
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #fca5a5 !important;
}

.action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.25) !important;
}

.action-btn.download {
    background: rgba(59, 130, 246, 0.15) !important;
    border-color: rgba(59, 130, 246, 0.3) !important;
    color: #93c5fd !important;
}

.action-btn.download:hover {
    background: rgba(59, 130, 246, 0.25) !important;
}

.action-btn.view {
    background: rgba(255, 107, 53, 0.15) !important;
    border-color: rgba(255, 107, 53, 0.3) !important;
    color: #ff6b35 !important;
}

.action-btn.view:hover {
    background: rgba(255, 107, 53, 0.25) !important;
}

/* Search Box */
.search-box {
    margin: 24px 0 !important;
}

.search-box input[type="text"],
.search-box input[type="search"] {
    width: 100% !important;
    max-width: 600px !important;
    padding: 14px 20px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: var(--text) !important;
    font-size: 15px !important;
    font-family: inherit !important;
    transition: all 150ms !important;
}

.search-box input:focus {
    outline: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1) !important;
}

.search-box button {
    padding: 14px 24px !important;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8555 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 150ms !important;
    margin-left: 12px !important;
}

.search-box button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

/* Video Stats */
.video-stats {
    display: flex !important;
    gap: 4px !important;
    font-size: 12px !important;
    color: var(--text-muted) !important;
}

.video-stats span {
    white-space: nowrap !important;
}

/* ID Column */
td:first-child,
th:first-child {
    color: var(--text-muted) !important;
    font-family: 'Courier New', monospace !important;
}

/* Date Column */
.date-cell {
    color: var(--text-muted) !important;
    font-size: 13px !important;
}

/* Empty State */
.empty-state {
    text-align: center !important;
    padding: 80px 20px !important;
    color: var(--text-muted) !important;
}

.empty-state i {
    font-size: 48px !important;
    opacity: 0.3 !important;
    margin-bottom: 16px !important;
}

.empty-state p {
    font-size: 16px !important;
    margin: 0 !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .admin-table {
        overflow-x: auto !important;
    }
    
    .admin-table table {
        min-width: 1000px !important;
    }
}

@media (max-width: 768px) {
    .admin-container {
        padding: 24px 16px !important;
    }
    
    .admin-title {
        font-size: 28px !important;
    }
    
    .admin-tabs {
        justify-content: flex-start !important;
    }
    
    .filter-btns {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
    }
    
    .search-box input {
        max-width: 100% !important;
    }
    
    .search-box button {
        margin-left: 0 !important;
        margin-top: 12px !important;
        width: 100% !important;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-table tbody tr {
    animation: fadeIn 300ms ease-out !important;
    animation-fill-mode: both !important;
}

.admin-table tbody tr:nth-child(1) { animation-delay: 0ms !important; }
.admin-table tbody tr:nth-child(2) { animation-delay: 50ms !important; }
.admin-table tbody tr:nth-child(3) { animation-delay: 100ms !important; }
.admin-table tbody tr:nth-child(4) { animation-delay: 150ms !important; }
.admin-table tbody tr:nth-child(5) { animation-delay: 200ms !important; }

/* Icon Styling */
.fa-solid,
.fa-regular {
    margin-right: 4px !important;
}
