@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&family=DynaPuff:wght@700;900&family=Cinzel:wght@700;900&family=Orbitron:wght@800;900&display=swap');

/* ==========================================================================
   VERSION 2.0 BASE STYLESHEET
   Slightly lighter background and smaller grid box dimensions.
   ========================================================================== */

:root {
  --background: #08080a; /* Middle ground between #050505 and #0e0e11 */
  --foreground: #ffffff;
  --accent: #5e17eb;
  --accent-glow: rgba(94, 23, 235, 0.4);
}

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

html {
  overflow-y: scroll;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Grid & Stars */
@keyframes panGrid {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; } /* Updated to match new grid size */
}

.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px; /* Box size set to 50px */
  z-index: -2;
  pointer-events: none;
  animation: panGrid 15s linear infinite;
  transform: translateZ(0);
}

.star-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  transform: translateZ(0);
}

.star-wrapper {
  position: absolute;
}

@keyframes shoot {
  0% { transform: translateX(0); opacity: 0; }
  10% { opacity: 0.25; } /* Reduced opacity (less noticeable) */
  80% { opacity: 0.25; }
  100% { transform: translateX(120vw); opacity: 0; }
}

.shooting-star {
  position: absolute;
  width: 120px;
  height: 1.5px; /* Thinner star line */
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 100%);
  border-radius: 999px;
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.4)); /* Reduced glow shadow */
  opacity: 0;
  animation-name: shoot;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  backface-visibility: hidden;
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: -0.5px;
  right: 0;
  width: 2.5px; /* Smaller head */
  height: 2.5px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255,255,255,0.6), 0 0 8px var(--accent); /* Reduced glow */
}

/* Star Delays */
.star-1 { top: -10%; left: 10%; transform: rotate(35deg); }
.star-1 .shooting-star { animation-duration: 4s; animation-delay: 0s; width: 100px; }
.star-2 { top: -10%; left: 40%; transform: rotate(35deg); }
.star-2 .shooting-star { animation-duration: 5s; animation-delay: 1.2s; width: 150px; }
.star-3 { top: 20%; left: -10%; transform: rotate(35deg); }
.star-3 .shooting-star { animation-duration: 3.5s; animation-delay: 2.5s; width: 80px; }
.star-4 { top: 50%; left: -10%; transform: rotate(35deg); }
.star-4 .shooting-star { animation-duration: 6s; animation-delay: 0.8s; width: 200px; }
.star-5 { top: -10%; left: 70%; transform: rotate(35deg); }
.star-5 .shooting-star { animation-duration: 4.5s; animation-delay: 3s; width: 120px; }
.star-6 { top: 80%; left: -10%; transform: rotate(35deg); }
.star-6 .shooting-star { animation-duration: 5.5s; animation-delay: 1.8s; width: 90px; }
.star-7 { top: -10%; left: 90%; transform: rotate(35deg); }
.star-7 .shooting-star { animation-duration: 4.8s; animation-delay: 4.1s; width: 160px; }
.star-8 { top: 10%; left: -20%; transform: rotate(35deg); }
.star-8 .shooting-star { animation-duration: 4.2s; animation-delay: 0.5s; width: 140px; }
.star-9 { top: -10%; left: 25%; transform: rotate(35deg); }
.star-9 .shooting-star { animation-duration: 5.8s; animation-delay: 2.1s; width: 110px; }
.star-10 { top: 60%; left: -10%; transform: rotate(35deg); }
.star-10 .shooting-star { animation-duration: 3.9s; animation-delay: 1.5s; width: 180px; }
.star-11 { top: -10%; left: 55%; transform: rotate(35deg); }
.star-11 .shooting-star { animation-duration: 6.5s; animation-delay: 0.2s; width: 90px; }
.star-12 { top: 30%; left: -10%; transform: rotate(35deg); }
.star-12 .shooting-star { animation-duration: 4.6s; animation-delay: 3.5s; width: 130px; }
.star-13 { top: -10%; left: 85%; transform: rotate(35deg); }
.star-13 .shooting-star { animation-duration: 5.2s; animation-delay: 1.9s; width: 100px; }
.star-14 { top: 75%; left: -10%; transform: rotate(35deg); }
.star-14 .shooting-star { animation-duration: 4.1s; animation-delay: 2.8s; width: 170px; }
.star-15 { top: -10%; left: 100%; transform: rotate(35deg); }
.star-15 .shooting-star { animation-duration: 6.2s; animation-delay: 0.9s; width: 120px; }

/* ==========================================================================
   HEADER V2 STYLE RULES
   ========================================================================== */

/* Header Layout */
.header-v2 {
  position: sticky;
  top: 2rem;
  z-index: 100;
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 1.6rem;
  height: 74px;
  background: rgba(10, 10, 12, 0.45);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transform: translateZ(0); /* Fix GPU compositing jitter on DOM mutation */
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px; /* Floating pill look */
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Logo */
.header-logo-v2 {
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header-logo-v2:hover {
  transform: scale(1.06);
}

.logo-img-v2 {
  height: 46px; /* Larger logo image */
  width: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.4));
}

/* Navigation Tabs (Reiter) */
.nav-tabs-v2 {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 50px;
  padding: 4px;
  gap: 4px;
}

.nav-tab-item-v2 {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem; /* Slightly larger text */
  padding: 10px 22px; /* Increased padding */
  border-radius: 50px;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  outline: none;
  transform: translateZ(0); /* Fix subpixel rendering jitter on click */
}

.nav-tab-item-v2 svg {
  width: 18px; /* Larger SVG icons */
  height: 18px;
}

/* Colorized Nav Tabs (Permanent Text & Icon Colors) */
.nav-tab-item-v2.tab-spiel {
  color: #a78bfa;
}
.nav-tab-item-v2.tab-spiel svg {
  color: #c084fc;
}
.nav-tab-item-v2.tab-spiel:hover, .nav-tab-item-v2.tab-spiel.active {
  color: #ffffff;
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
}

.nav-tab-item-v2.tab-leaderboard {
  color: #ffd700;
}
.nav-tab-item-v2.tab-leaderboard svg {
  color: #fde047;
}
.nav-tab-item-v2.tab-leaderboard:hover, .nav-tab-item-v2.tab-leaderboard.active {
  color: #ffffff;
  background: rgba(234, 179, 8, 0.15);
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.1);
}

.nav-tab-item-v2.tab-events {
  color: #34d399;
}
.nav-tab-item-v2.tab-events svg {
  color: #6ee7b7;
}
.nav-tab-item-v2.tab-events:hover, .nav-tab-item-v2.tab-events.active {
  color: #ffffff;
  background: rgba(16, 185, 129, 0.15);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

/* Profile / Session */
.header-profile-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Admin Panel Button */
.admin-panel-btn-v2 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.admin-panel-btn-v2:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.profile-display-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
}

.profile-display-v2:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.profile-avatar-v2 {
  width: 34px; /* Larger avatar */
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.profile-name-v2 {
  font-weight: 700;
  font-size: 0.92rem; /* Larger font */
  letter-spacing: 0.5px;
}

/* Login Button */
.login-btn-v2 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px; /* Increased padding */
  border-radius: 50px;
  background: linear-gradient(135deg, #9146ff 0%, #772ce8 100%);
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem; /* Larger font */
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(145, 70, 255, 0.35);
}

.login-btn-v2 svg {
  width: 18px; /* Force twitch icon to be 18px */
  height: 18px;
}

.login-btn-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(145, 70, 255, 0.5), 0 0 15px rgba(145, 70, 255, 0.3);
}

/* =============================================
   MOBILE RESPONSIVENESS
   ============================================= */
@media (max-width: 768px) {
  .header-v2 {
    width: 95%;
    padding: 0 0.8rem;
    height: 52px;
    top: 1rem;
    margin: 1rem auto 0;
  }
  
  .logo-img-v2 {
    height: 32px;
  }

  .nav-tab-item-v2 {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .nav-tab-item-v2 span {
    display: none; /* Hide text on small screens, keep icons */
  }

  .nav-tab-item-v2 svg {
    width: 18px;
    height: 18px;
  }

  .profile-name-v2 {
    display: none; /* Hide name on small screens, keep avatar */
  }

  .profile-display-v2 {
    padding: 4px;
  }

  .login-btn-v2 span {
    display: none; /* Hide login text, keep twitch icon */
  }
  
  .login-btn-v2 {
    padding: 8px;
  }
}

/* ==========================================================================
   LOGIN PAGE V2 STYLES
   ========================================================================= */

.login-overlay-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.login-card-v2 {
  width: 100%;
  max-width: 420px;
  background: rgba(10, 10, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 3rem 2.5rem 2.5rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(145, 70, 255, 0.04);
  text-align: center;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.login-logo-container-v2 {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.login-logo-img-v2 {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 140, 0, 0.4));
}

.login-title-v2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(to bottom, #ffffff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.2rem;
}

.login-subtitle-v2 {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 2rem;
}

.login-divider-v2 {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 2.5rem;
}

/* Remember Row */
.remember-row-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  transition: all 0.3s ease;
}

.remember-row-v2:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.remember-label-v2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.remember-label-title-v2 {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.remember-label-sub-v2 {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Slide Toggle */
.toggle-wrapper-v2 {
  position: relative;
  flex-shrink: 0;
}

.toggle-input-v2 {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track-v2 {
  display: block;
  width: 50px;
  height: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.toggle-track-v2::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.toggle-input-v2:checked + .toggle-track-v2 {
  background: var(--accent);
  border-color: rgba(94, 23, 235, 0.4);
  box-shadow: 0 0 15px var(--accent-glow);
}

.toggle-input-v2:checked + .toggle-track-v2::after {
  transform: translateX(22px);
  background: #ffffff;
}

/* Twitch Login Button (Confidential Style) */
.twitch-btn-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #9146ff 0%, #772ce8 100%);
  color: #ffffff;
  border: none;
  border-radius: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 25px rgba(145, 70, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.twitch-btn-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.twitch-btn-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(145, 70, 255, 0.45);
}

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

.login-privacy-v2 {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* ==========================================================================
   DASHBOARD & GAME MODES SYSTEM V2.0
   ========================================================================== */

.dashboard-container {
  max-width: 1200px;
  width: 90%;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 5rem;
}

/* Hero Section */
.dashboard-hero {
  text-align: center;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(to bottom, #ffffff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* Dashboard Sections */
.dashboard-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.dashboard-section.multiplayer {
  animation-delay: 0.4s;
}

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

.dashboard-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.dashboard-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
}

.section-badge-v2 {
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

/* Game Cards Grid */
.game-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.game-grid-v2.single-card {
  grid-template-columns: 1fr;
  max-width: 400px;
}

/* Game Card */
.game-card-v2 {
  position: relative;
  background: rgba(10, 10, 15, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  padding: 1.8rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: #ffffff;
  overflow: hidden;
  cursor: pointer;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.game-card-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, var(--card-accent), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.game-card-v2:hover {
  transform: translateY(-6px);
  border-color: var(--card-accent);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(var(--card-accent-rgb), 0.15);
}

.game-card-v2:hover::before {
  opacity: 0.12;
}

/* Game Themes */
.game-card-v2.theme-rank {
  --card-accent: #a78bfa;
  --card-accent-rgb: 167, 139, 250;
}

.game-card-v2.theme-sound {
  --card-accent: #06b6d4;
  --card-accent-rgb: 6, 182, 212;
}

.game-card-v2.theme-agent {
  --card-accent: #34d399;
  --card-accent-rgb: 52, 211, 153;
}

.game-card-v2.theme-crossword {
  --card-accent: #a855f7;
  --card-accent-rgb: 168, 85, 247;
}

.game-card-v2.theme-wordle {
  --card-accent: #f43f5e;
  --card-accent-rgb: 244, 63, 94;
}

.game-card-v2.theme-ability {
  --card-accent: #38bdf8;
  --card-accent-rgb: 56, 189, 248;
}

.game-card-v2.theme-online {
  --card-accent: #ffd700;
  --card-accent-rgb: 255, 215, 0;
  background: rgba(10, 10, 15, 0.45);
}

.game-card-v2.theme-daily {
  --card-accent: #f59e0b;
  --card-accent-rgb: 245, 158, 11;
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.2);
}

.game-card-v2.theme-daily.completed {
  filter: grayscale(0.8);
  opacity: 0.7;
  cursor: default;
}

.game-card-v2.theme-daily.completed:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(245, 158, 11, 0.2);
}

.daily-streak-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.5);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 900;
  font-size: 1.1rem;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 5;
}

.brawl-streak-flame {
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 5px rgba(255, 100, 0, 0.8));
}

.flame-main {
  transform-origin: 12px 21px;
  animation: brawlFlickerMain 0.15s infinite alternate ease-in-out;
}

.flame-back {
  transform-origin: 12px 17px;
  animation: brawlFlickerBack 0.2s infinite alternate ease-in-out;
}

.flame-core {
  transform-origin: 12px 20px;
  animation: brawlFlickerCore 0.12s infinite alternate ease-in-out;
}

@keyframes brawlFlickerMain {
  0% { transform: scaleY(0.95) scaleX(1.02) skewX(-3deg); }
  100% { transform: scaleY(1.05) scaleX(0.98) skewX(3deg); }
}

@keyframes brawlFlickerBack {
  0% { transform: scaleY(0.9) skewX(5deg); opacity: 0.8; }
  100% { transform: scaleY(1.15) skewX(-5deg); opacity: 1; }
}

@keyframes brawlFlickerCore {
  0% { transform: scaleY(0.9) scaleX(1.05); }
  100% { transform: scaleY(1.1) scaleX(0.95); }
}

.daily-countdown {
  font-family: monospace;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* ==========================================================================
   DAILY HERO BANNER (INDEX PAGE)
   ========================================================================== */

.daily-hero-container {
  max-width: 900px;
  width: 90%;
  margin: 5vh auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.daily-hero-card {
  position: relative;
  width: 100%;
  background: rgba(10, 10, 15, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

.daily-hero-bg {
  position: absolute;
  top: -100%;
  left: -50%;
  width: 200%;
  height: 300%;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.1), transparent 40%),
              radial-gradient(circle at bottom right, rgba(239, 68, 68, 0.1), transparent 40%),
              radial-gradient(circle at top left, rgba(168, 85, 247, 0.08), transparent 40%);
  z-index: 0;
  animation: rotateGlow 15s linear infinite;
  pointer-events: none;
}

@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.daily-banner-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.daily-banner-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.daily-banner-right {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.daily-hero-streak {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 900;
  font-size: 1.4rem;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.daily-hero-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.daily-hero-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, #fcd34d, #f59e0b, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px rgba(245, 158, 11, 0.2);
}

.daily-hero-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.daily-hero-action {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.daily-hero-action.play {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.daily-hero-action.locked {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.daily-hero-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.15);
}

.daily-hero-card:hover .daily-hero-icon {
  transform: scale(1.1) rotate(5deg);
}

.daily-hero-card:hover .daily-hero-action.play {
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
}

/* Completed state */
.daily-hero-card.completed {
  filter: grayscale(0.8);
  opacity: 0.8;
  cursor: default;
}

.daily-hero-card.completed:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.daily-hero-card.completed:hover .daily-hero-icon {
  transform: none;
}

@media (max-width: 768px) {
  .daily-hero-card {
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    text-align: center;
  }
  .daily-banner-left {
    flex-direction: column;
    text-align: center;
  }
  .daily-banner-text {
    text-align: center;
  }
  .daily-banner-right {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Elements inside Card */
.game-icon-wrapper-v2 {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 1rem;
  color: var(--card-accent);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.game-card-v2:hover .game-icon-wrapper-v2 {
  transform: scale(1.08);
  background: rgba(var(--card-accent-rgb), 0.08);
  border-color: rgba(var(--card-accent-rgb), 0.25);
  box-shadow: 0 0 15px rgba(var(--card-accent-rgb), 0.2);
}

.game-title-v2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
  background: linear-gradient(to bottom, #ffffff 60%, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
}

.game-desc-v2 {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
  max-width: 240px;
  z-index: 1;
}

.game-action-v2 {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 1;
}

.game-card-v2:hover .game-action-v2 {
  background: var(--card-accent);
  border-color: var(--card-accent);
  color: #000000;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(var(--card-accent-rgb), 0.35);
}

/* Horizontal Layout Modifier for Game Cards */
.game-card-v2.horizontal-card-v2 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  grid-template-areas: 
    "icon title action"
    "icon desc action";
  align-items: center;
  text-align: left;
  padding: 1.5rem 2rem;
  gap: 0.2rem 1.5rem;
  max-width: 100%;
}

.game-card-v2.horizontal-card-v2 .game-icon-wrapper-v2 {
  grid-area: icon;
  margin-bottom: 0;
  width: 60px;
  height: 60px;
}

.game-card-v2.horizontal-card-v2 .game-title-v2 {
  grid-area: title;
  margin-bottom: 0;
  align-self: end;
  font-size: 1.4rem;
}

.game-card-v2.horizontal-card-v2 .game-desc-v2 {
  grid-area: desc;
  margin-bottom: 0;
  max-width: 100%;
  align-self: start;
}
/* ==========================================================================
   INDEX HERO SECTION (News Slider & Sidebar)
   ========================================================================== */
.index-hero-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  transition: opacity 0.5s ease;
}

/* --- News Slider --- */
.news-slider-container {
  position: relative;
  background: rgba(15, 15, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  height: 140px; /* Half as deep as 280px */
  width: 100%;
}

.news-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem;
  z-index: 1;
}

.news-slide.active {
  opacity: 1;
  z-index: 5;
}

.news-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  z-index: -1;
}

.news-slide-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.6) blur(2px);
  transform: scale(1.05);
  transition: transform 5s ease;
}

.news-slide.active .news-slide-bg {
  transform: scale(1);
}

.news-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  width: max-content;
}

.news-badge.update { background: rgba(94, 23, 235, 0.2); color: #a78bfa; border: 1px solid rgba(94, 23, 235, 0.4); }
.news-badge.event { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }
.news-badge.feature { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.4); }

.news-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.news-desc {
  display: none; /* Hide description on short banner */
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- Hero Sidebar (Bottom Row) --- */
.hero-sidebar {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 1.5rem;
}

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

/* Socials Grid */
.social-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (min-width: 951px) {
  .social-links-grid {
    grid-template-columns: 1fr;
  }
  .social-btn {
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .social-btn svg {
    margin-right: 8px;
  }
}

.social-btn {
  background: rgba(20, 20, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

.social-btn span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.social-btn:hover {
  transform: translateY(-5px);
}

.social-btn.discord:hover { background: rgba(88, 101, 242, 0.1); border-color: #5865F2; }
.social-btn.discord:hover svg { color: #5865F2; }
.social-btn.discord:hover span { color: #fff; }

.social-btn.twitch:hover { background: rgba(145, 70, 255, 0.1); border-color: #9146FF; }
.social-btn.twitch:hover svg { color: #9146FF; }
.social-btn.twitch:hover span { color: #fff; }

.social-btn.twitter:hover { background: rgba(29, 155, 240, 0.1); border-color: #1d9bf0; }
.social-btn.twitter:hover svg { color: #1d9bf0; }
.social-btn.twitter:hover span { color: #fff; }

/* Active Lobbies Wide Layout */
.active-lobbies-widget {
  background: transparent; /* Changed from glass to match screenshot */
  border: none;
  border-radius: 0;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.widget-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-pulse {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

.widget-empty {
  text-align: center;
  padding: 2rem 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  font-weight: 500;
}

.wide-lobby-card {
  background: rgba(15, 15, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

.wide-lobby-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wl-left {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 250px;
}

.wl-avatar-wrap {
  position: relative;
}

.wl-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.wl-status-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: #4ade80;
  border: 2px solid #0f0f14;
  border-radius: 50%;
}

.wl-host-info {
  display: flex;
  flex-direction: column;
}

.wl-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.wl-subtitle {
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
  margin-top: 2px;
}

.wl-center {
  display: flex;
  gap: 0.8rem;
  flex-grow: 1;
  justify-content: center;
}

.wl-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wl-badge svg {
  color: rgba(255, 255, 255, 0.5);
}

.wl-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: flex-end;
  width: 250px;
}

.wl-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.wl-code-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wl-code {
  font-size: 1.4rem;
  font-weight: 900;
  color: #4ade80;
  letter-spacing: 2px;
  font-family: 'Orbitron', sans-serif;
}

.wl-code-info .wl-subtitle {
  text-align: right;
  margin-top: -2px;
}

.wl-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  transition: all 0.3s;
}

.wide-lobby-card:hover .wl-play-btn {
  background: rgba(74, 222, 128, 0.15);
  transform: scale(1.05);
}

@media (max-width: 950px) {
  .wide-lobby-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .wl-left, .wl-right { width: 100%; justify-content: flex-start; }
  .wl-right { justify-content: space-between; flex-direction: row-reverse; }
  .wl-divider { display: none; }
  .wl-center { flex-wrap: wrap; justify-content: flex-start; }
}
.game-card-v2.horizontal-card-v2 .game-action-v2 {
  grid-area: action;
  margin-top: 0;
  width: auto;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
}

@media (max-width: 768px) {
  .game-card-v2.horizontal-card-v2 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas: 
      "icon"
      "title"
      "desc"
      "action";
    text-align: center;
    justify-items: center;
    gap: 0.8rem;
  }
}

/* Specific styling for the large Online Card */
.game-card-v2.theme-online .game-desc-v2 {
  max-width: 220px;
}

/* Responsive Adaptation */
@media (max-width: 992px) {
  .game-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dashboard-container {
    margin: 2rem auto;
    gap: 2rem;
  }
  .dashboard-title {
    font-size: 2.2rem;
  }
  .game-grid-v2, .game-grid-v2.single-card {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .game-card-v2 {
    padding: 2rem 1.3rem;
  }
}

/* ==========================================================================
   NAVIGATION & UI SYSTEM UPDATES (EINSENDEN, ACTIVE STATES, BACK BUTTON)
   ========================================================================== */

/* Einsenden Tab */
.nav-tab-item-v2.tab-einsenden {
  color: #06b6d4;
}
.nav-tab-item-v2.tab-einsenden svg {
  color: #22d3ee;
}
.nav-tab-item-v2.tab-einsenden:hover {
  color: #ffffff;
  background: rgba(6, 182, 212, 0.15);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

/* Active State for Tabs */
.nav-tab-item-v2.active.tab-spiel {
  background: rgba(139, 92, 246, 0.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.2) !important;
}

.nav-tab-item-v2.active.tab-leaderboard {
  background: rgba(234, 179, 8, 0.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(234, 179, 8, 0.3) !important;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.2) !important;
}

.nav-tab-item-v2.active.tab-events {
  background: rgba(16, 185, 129, 0.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.2) !important;
}

.nav-tab-item-v2.active.tab-einsenden {
  background: rgba(6, 182, 212, 0.18) !important;
  color: #ffffff !important;
  border: 1px solid rgba(6, 182, 212, 0.3) !important;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2) !important;
}

/* Back Link Button */
.back-link-v2 {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50px;
}

.back-link-v2:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-4px);
}

/* ==========================================================================
   PROFILE V2.0 COMPONENT STYLING
   ========================================================================== */

/* Profile Header Card */
.profile-card-v2 {
  background: rgba(10, 10, 15, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 30px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.profile-avatar-container-v2 {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar-large-v2 {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: 0 0 25px rgba(94, 23, 235, 0.3);
  display: block;
}

.profile-rank-badge-v2 {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: #08080a;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.profile-rank-badge-v2 img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.profile-details-v2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.profile-title-v2 {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.profile-meta-row-v2 {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

.profile-meta-item-v2 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-badge-v2 {
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.badge-admin {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.2);
}

.badge-verifier {
  color: #34d399;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.badge-streamer {
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-user {
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logout-btn-v2:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

/* Profile Segmented Tabs */
.profile-tabs-container-v2 {
  display: flex;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 6px;
  gap: 6px;
  margin-bottom: 2rem;
  width: max-content;
}

.profile-tab-btn-v2 {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-tab-btn-v2:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.profile-tab-btn-v2.active {
  background: rgba(94, 23, 235, 0.15);
  border: 1px solid rgba(94, 23, 235, 0.25);
  color: #c084fc;
}

.profile-tab-btn-v2 svg {
  width: 16px;
  height: 16px;
}

/* Tab Panels */
.profile-tab-panel-v2 {
  display: none;
}

.profile-tab-panel-v2.active {
  display: block;
  animation: tabFadeIn 0.5s ease forwards;
}

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

/* Glass Inner Cards */
.profile-inner-card-v2 {
  background: rgba(10, 10, 15, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.profile-inner-title-v2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-inner-subtitle-v2 {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
}

/* Form Settings Input */
.profile-input-group-v2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.profile-label-v2 {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
}

.profile-input-desc-v2 {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.4;
}

.profile-riot-row-v2 {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  max-width: 750px;
  margin-top: 0.5rem;
}

.profile-input-v2 {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 18px;
  border-radius: 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.profile-input-v2:focus {
  border-color: var(--accent);
  background: rgba(94, 23, 235, 0.04);
  box-shadow: 0 0 10px rgba(94, 23, 235, 0.15);
}

.profile-select-v2 {
  cursor: pointer;
}

.profile-select-v2 option {
  background: #08080a;
  color: #fff;
}

.profile-save-btn-v2 {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(94, 23, 235, 0.3);
}

.profile-save-btn-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 23, 235, 0.45);
}

.profile-status-message-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.status-success-v2 {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.status-error-v2 {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.15);
  color: #f87171;
}

/* Name Effects Selection Grid */
.effects-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
  justify-content: center;
}

.effect-option-wrapper-v2 {
  position: relative;
}

.effect-radio-input-v2 {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.effect-card-v2 {
  background: rgba(255, 255, 255, 0.02);
  border: 2px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 86px;
  text-align: center;
}

.effect-card-v2:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.effect-radio-input-v2:checked + .effect-card-v2 {
  background: rgba(94, 23, 235, 0.12) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 20px rgba(94, 23, 235, 0.35) !important;
}

.effect-card-v2.locked-v2 {
  opacity: 0.35;
  cursor: not-allowed;
}

.effect-card-v2.locked-v2:hover {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.04);
}

/* Tooltips for Effects */
.effect-info-trigger-v2 {
  position: absolute;
  top: 6px;
  right: 6px;
  color: rgba(255, 255, 255, 0.2);
  cursor: help;
  transition: color 0.2s;
  z-index: 10;
}

.effect-info-trigger-v2:hover {
  color: rgba(255, 255, 255, 0.5);
}

.effect-tooltip-v2 {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  width: 220px;
  background: rgba(10, 10, 15, 0.98);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 10px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 100;
  line-height: 1.4;
}

.effect-tooltip-v2::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--accent) transparent transparent transparent;
}

.effect-info-trigger-v2:hover + .effect-tooltip-v2 {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Live Preview Box */
.effect-live-preview-box-v2 {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 1.2rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.effect-preview-label-v2 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.35);
}

.effect-preview-display-v2 {
  font-size: 1.4rem;
  font-weight: 900;
  padding: 6px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  min-width: 140px;
  text-align: center;
}

/* Submissions Table */
.submissions-table-wrapper-v2 {
  background: #08080a;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
}

.submissions-table-v2 {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.submissions-table-v2 th {
  background: rgba(255, 255, 255, 0.01);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1.2rem 1.5rem;
}

.submissions-table-v2 td {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  vertical-align: middle;
}

.submissions-table-v2 tr:hover {
  background: rgba(255, 255, 255, 0.005);
}

.submissions-link-v2 {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.submissions-link-v2:hover {
  color: #a78bfa;
}

.submissions-rank-col-v2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.submissions-rank-img-v2 {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.submissions-rank-name-v2 {
  font-weight: 700;
}

.submissions-badge-v2 {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  display: inline-block;
}

.submissions-badge-approved {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.submissions-badge-pending {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.submissions-badge-rejected {
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.15);
  color: #f87171;
}

.submissions-delete-btn-v2 {
  background: transparent;
  border: none;
  color: rgba(239, 68, 68, 0.6);
  cursor: pointer;
  transition: all 0.2s;
  padding: 4px;
}

.submissions-delete-btn-v2:hover {
  color: #ef4444;
  transform: scale(1.1);
}

.submissions-empty-state-v2 {
  padding: 4rem 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.submissions-empty-state-v2 svg {
  width: 42px;
  height: 42px;
  opacity: 0.3;
}

.submissions-empty-upload-btn-v2 {
  margin-top: 0.5rem;
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 10px;
  transition: all 0.3s;
}

.submissions-empty-upload-btn-v2:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(94, 23, 235, 0.35);
}

/* Edit Tracker Small Button */
.edit-tracker-btn-v2 {
  background: transparent;
  border: none;
  color: var(--accent);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
}

.edit-tracker-btn-v2:hover {
  opacity: 1;
}

/* ==========================================================================
   PREMIUM NAME EFFECTS ANIMATION & VISUAL DEFINITIONS
   ========================================================================== */

/* Rainbow Flow Effect (Smooth) */
@keyframes rainbowFlowV2 {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.rgb-name, .name-radiant, .name-rainbow {
  background: linear-gradient(90deg, #ff007f, #7f00ff, #00f0ff, #00ff7f, #ffeb3b, #ff007f) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: rainbowFlowV2 3s linear infinite !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 4px rgba(127, 0, 255, 0.2)) !important;
}

/* Booster Chromatic Nitro */
@keyframes boosterNitroV2 {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes boosterGlowV2 {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(244, 127, 255, 0.4)); }
  50% { filter: drop-shadow(0 0 10px rgba(244, 127, 255, 0.8)); }
}

.name-booster {
  background: linear-gradient(90deg, #f47fff, #c07cff, #ffffff, #c07cff, #f47fff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: boosterNitroV2 3s linear infinite;
  font-weight: 900;
  display: inline-block;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(244, 127, 255, 0.6);
}

@keyframes creator-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.name-follower { 
  color: #bf94ff !important; 
  text-shadow: 0 0 10px rgba(169, 112, 255, 0.6) !important;
  font-weight: 800 !important;
  background: linear-gradient(90deg, #bf94ff, #fff, #bf94ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: creator-shimmer 3s linear infinite;
  display: inline-block;
}

/* Gold Metallic Shine */
@keyframes goldShineV2 {
  0% { background-position: -150% 0; }
  100% { background-position: 150% 0; }
}

.name-gold {
  background: linear-gradient(90deg, #d4af37 0%, #fff 25%, #f3e5ab 50%, #d4af37 75%, #fff 100%) !important;
  background-size: 150% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShineV2 2.5s linear infinite !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4)) !important;
}

/* Ice-Cyan Platinum */
.name-platinum {
  background: linear-gradient(135deg, #00f0ff 0%, #ffffff 50%, #00f0ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 800 !important;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.35)) !important;
}

/* Bronze Metallic */
.name-bronze {
  color: #cd7f32 !important;
  text-shadow: 0 0 5px rgba(205, 127, 50, 0.4) !important;
  font-weight: 700 !important;
}

/* Silver Chrome */
.name-silver {
  color: #c0c0c0 !important;
  text-shadow: 0 0 6px rgba(192, 192, 192, 0.4) !important;
  font-weight: 700 !important;
}

/* Diamond Flowing Shimmer */
@keyframes flowAnimationV2 {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.name-diamond {
  background: linear-gradient(135deg, #e0c3fc 0%, #b48cff 40%, #e0c3fc 60%, #8ec5fc 100%) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: flowAnimationV2 4s ease infinite !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 5px rgba(180, 140, 255, 0.3)) !important;
}

/* Emerald Ascendant Aura */
.name-ascendant {
  color: #1de840 !important;
  text-shadow: 0 0 8px rgba(29, 232, 64, 0.5) !important;
  font-weight: 800 !important;
}

/* Crimson Fire Immortal */
@keyframes immortalPulseV2 {
  0% { text-shadow: 0 0 5px rgba(255, 70, 85, 0.4), 0 0 10px rgba(255, 70, 85, 0.2); }
  100% { text-shadow: 0 0 10px rgba(255, 70, 85, 0.8), 0 0 25px rgba(255, 70, 85, 0.5); }
}

.name-immortal {
  color: #ff4655 !important;
  animation: immortalPulseV2 1.5s ease-in-out infinite alternate !important;
  font-weight: 900 !important;
}

/* Creator Shimmer */
.name-creator {
  background: linear-gradient(90deg, #00f0ff, #ffffff, #00f0ff) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShineV2 2s linear infinite !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.3)) !important;
}

/* Cyber Matrix Glitch */
@keyframes glitchAnimationV2 {
  0%, 100% { text-shadow: 1.5px 0 0 #ff007f, -1.5px 0 0 #00f0ff; }
  50% { text-shadow: -1.5px -1.5px 0 #ff007f, 1.5px 1.5px 0 #00f0ff; }
}

.name-admin {
  background: linear-gradient(90deg, #ff00c1, #00fff9, #ff00c1) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShineV2 2.5s linear infinite, glitchAnimationV2 0.8s steps(2) infinite !important;
  font-weight: 900 !important;
}

/* GODMODE: Shake & Glitch Rainbow */
@keyframes godmodeShakeV2 {
  0%, 100% { transform: skew(0deg) scale(1) translate(0, 0); }
  15% { transform: skew(-3deg) scale(1.02) translate(-1px, 1px); }
  35% { transform: skew(3deg) scale(0.98) translate(1px, -1px); }
  55% { transform: skew(-2deg) scale(1.01) translate(-0.5px, -0.5px); }
}

.name-godmode {
  background: linear-gradient(90deg, #ff0055, #a020f0, #00ffff, #00ff00, #ffff00, #ff0055) !important;
  background-size: 300% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 950 !important;
  animation: goldShineV2 1s linear infinite, godmodeShakeV2 0.3s ease-in-out infinite !important;
  filter: drop-shadow(0 0 8px rgba(255, 0, 85, 0.6)) !important;
  font-family: monospace !important;
  letter-spacing: 0.5px;
}

/* Inferno (Orange Flicker) */
@keyframes infernoFlickerV2 {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 4px rgba(255, 69, 0, 0.4)); }
  50% { filter: brightness(1.25) drop-shadow(0 0 10px rgba(255, 69, 0, 0.7)); }
}

.name-inferno {
  background: linear-gradient(90deg, #ff4500, #ff8c00, #ff4500) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShineV2 2s linear infinite, infernoFlickerV2 0.5s ease-in-out infinite !important;
  font-weight: 900 !important;
}

/* Ghost Floating Mist */
@keyframes ghostFloatV2 {
  0%, 100% { transform: translateY(0); filter: opacity(0.8); }
  50% { transform: translateY(-4px); filter: opacity(1) drop-shadow(0 0 8px rgba(224, 247, 255, 0.7)); }
}

.name-ghost {
  color: #e0f7ff !important;
  font-weight: 600 !important;
  font-style: italic !important;
  letter-spacing: 1px;
  animation: ghostFloatV2 3s ease-in-out infinite !important;
  display: inline-block;
}

/* Sniper Precision Steel */
.name-sniper {
  background: linear-gradient(90deg, #94a3b8, #ffffff, #94a3b8) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShineV2 3s linear infinite !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 4px rgba(148, 163, 184, 0.4)) !important;
}

/* Terminal Green Hacker */
.name-hacker {
  color: #00ff41 !important;
  font-family: monospace !important;
  font-weight: 800 !important;
  text-shadow: 0 0 5px rgba(0, 255, 65, 0.5) !important;
}

/* Crystal Shimmer */
.name-crystal {
  background: linear-gradient(135deg, #ffffff, #7dd3fc, #ffffff) !important;
  background-size: 200% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShineV2 2.5s linear infinite !important;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 6px rgba(125, 211, 252, 0.4)) !important;
}

/* Cronix Ruby Plasma (Upgraded) */
@keyframes cronix-pulse {
  0% { filter: drop-shadow(0 0 4px rgba(255, 34, 34, 0.4)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 12px rgba(255, 50, 50, 0.8)); transform: scale(1.02); }
  100% { filter: drop-shadow(0 0 4px rgba(255, 34, 34, 0.4)); transform: scale(1); }
}
@keyframes cronix-shimmer-v2 {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.name-cronix {
  color: transparent !important;
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 900 !important;
  background: linear-gradient(90deg, #550000 0%, #ff1111 20%, #ff8888 50%, #ff1111 80%, #550000 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: cronix-shimmer-v2 4s linear infinite, cronix-pulse 3s ease-in-out infinite;
  display: inline-block;
  width: max-content !important;
  margin: 0 auto;
  letter-spacing: 1px;
  position: relative;
}
.name-cronix::after {
  content: '♦';
  position: absolute;
  top: -8px;
  right: -14px;
  font-size: 0.7rem;
  color: #ff2222;
  -webkit-text-fill-color: #ff2222;
  text-shadow: 0 0 8px #ff2222;
  animation: cronix-pulse 3s ease-in-out infinite;
  pointer-events: none;
}

/* Family Heartbeat */
@keyframes heartFloatV2 {
  0% { transform: translateY(0) scale(0.9); }
  100% { transform: translateY(-2px) scale(1.1); }
}

.name-family {
  color: #ffb3c6 !important;
  font-weight: 800 !important;
  text-shadow: 0 0 6px rgba(255, 179, 198, 0.5) !important;
}

/* Cloudy (Bubble) */
@keyframes sky-drift {
  0% { background-position: 0% 0%; }
  100% { background-position: -200% 0%; }
}

@keyframes cloud-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

.name-cloudy {
  font-family: 'DynaPuff', cursive, sans-serif !important;
  background: 
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 12%),
    radial-gradient(circle at 45% 65%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 15%),
    radial-gradient(circle at 75% 35%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 18%),
    radial-gradient(circle at 115% 55%, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 14%),
    radial-gradient(circle at 145% 25%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 16%),
    radial-gradient(circle at 175% 75%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 12%),
    linear-gradient(to right, #0284c7 0%, #38bdf8 30%, #e0f2fe 50%, #38bdf8 70%, #0284c7 100%);
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-fill-color: transparent !important;
  font-weight: 900 !important;
  animation: sky-drift 14s linear infinite, cloud-float 4s ease-in-out infinite alternate;
  display: inline-block;
  letter-spacing: 0.5px;
  position: relative;
  vertical-align: middle;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.35);
}

@keyframes family-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes prism-twinkle {
  0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.2; }
  50% { transform: scale(1.1) rotate(90deg); opacity: 1; }
}

.name-prism {
  font-family: 'Cinzel', serif !important;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 30%, #bae6fd 50%, #fbcfe8 70%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-fill-color: transparent !important;
  font-weight: 850 !important;
  animation: family-shimmer 2.5s linear infinite;
  display: inline-block;
  width: max-content !important;
  margin: 0 auto;
  letter-spacing: 0.5px;
  position: relative;
  vertical-align: middle;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.4), 0 0 10px rgba(186, 230, 253, 0.3);
}

.name-prism::before {
  content: '✦';
  position: absolute;
  top: -6px;
  left: -14px;
  font-size: 0.65rem;
  color: #bae6fd;
  -webkit-text-fill-color: #bae6fd !important;
  text-shadow: 0 0 8px #bae6fd;
  animation: prism-twinkle 1.8s ease-in-out infinite;
  pointer-events: none;
}

.name-prism::after {
  content: '✦';
  position: absolute;
  bottom: -6px;
  right: -14px;
  font-size: 0.55rem;
  color: #fbcfe8;
  -webkit-text-fill-color: #fbcfe8 !important;
  text-shadow: 0 0 8px #fbcfe8;
  animation: prism-twinkle 2.3s ease-in-out infinite alternate;
  pointer-events: none;
}

.name-quantum {
  color: #a78bfa !important;
  text-shadow: 0 0 8px rgba(139, 92, 246, 0.6) !important;
  font-weight: 800 !important;
}

/* ================== NEW EFFECTS ================== */

@keyframes hologram-glitch {
  0% { transform: skew(0deg); filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5)); }
  5% { transform: skew(-15deg); filter: drop-shadow(-2px 0 2px #0ff) drop-shadow(2px 0 2px #f0f); }
  10% { transform: skew(15deg); filter: drop-shadow(-2px 0 2px #0ff) drop-shadow(2px 0 2px #f0f); }
  15% { transform: skew(0deg); filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5)); }
  100% { transform: skew(0deg); filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5)); }
}
@keyframes hologram-scanline {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}
.name-hologram {
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 800 !important;
  color: #00f0ff !important;
  background: repeating-linear-gradient(0deg, rgba(0, 240, 255, 0.1) 0px, rgba(0, 240, 255, 0.1) 2px, rgba(255, 255, 255, 0.6) 3px, rgba(0, 240, 255, 0.1) 4px);
  background-size: 100% 8px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hologram-scanline 3s linear infinite, hologram-glitch 4s infinite alternate;
  display: inline-block;
  opacity: 0.9;
}

/* 6 God / Drake OVO Aesthetic */
@keyframes drake-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes drake-float {
  0% { transform: translateY(0) scale(1); text-shadow: 0 0 6px rgba(252, 246, 186, 0.3); }
  50% { transform: translateY(-2px) scale(1.02); text-shadow: 0 0 14px rgba(252, 246, 186, 0.7); }
  100% { transform: translateY(0) scale(1); text-shadow: 0 0 6px rgba(252, 246, 186, 0.3); }
}

@keyframes drake-owl-fly {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); filter: drop-shadow(0 0 6px rgba(252, 246, 186, 0.3)); }
  25% { transform: translate(4px, -6px) rotate(15deg) scale(1.2); filter: drop-shadow(0 0 10px rgba(252, 246, 186, 0.8)); }
  50% { transform: translate(0, -10px) rotate(0deg) scale(1); filter: drop-shadow(0 0 6px rgba(252, 246, 186, 0.3)); }
  75% { transform: translate(-4px, -6px) rotate(-15deg) scale(1.2); filter: drop-shadow(0 0 10px rgba(252, 246, 186, 0.8)); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); filter: drop-shadow(0 0 6px rgba(252, 246, 186, 0.3)); }
}

.name-drake {
  color: transparent !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 900 !important;
  
  /* Rich Liquid Gold Gradient */
  background: linear-gradient(
    90deg, 
    #a67c00 0%, 
    #bf953f 20%, 
    #fcf6ba 40%, 
    #b38728 60%, 
    #fbf5b7 80%, 
    #a67c00 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  animation: drake-shimmer 4.5s linear infinite, drake-float 3.5s ease-in-out infinite;
  display: inline-block;
  width: max-content !important;
  margin: 0 auto;
  letter-spacing: 1px;
  position: relative;
  text-transform: uppercase;
}

.name-drake::before {
  content: '⁶';
  position: absolute;
  top: -8px;
  left: -14px;
  font-size: 0.85rem;
  color: #fcf6ba;
  -webkit-text-fill-color: #fcf6ba;
  text-shadow: 0 0 8px rgba(252, 246, 186, 0.8);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  pointer-events: none;
  animation: drake-float 3.5s ease-in-out infinite alternate-reverse;
}

.name-drake::after {
  content: '🦉';
  position: absolute;
  bottom: -4px;
  right: -24px;
  font-size: 0.95rem;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important; 
  pointer-events: none;
  animation: drake-owl-fly 4.5s ease-in-out infinite;
}

/* Don Toliver (Premium Psychedelic Vibe) */
@keyframes don-liquid {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes don-float {
  0% { transform: translateY(0) scale(1); text-shadow: 0 0 6px rgba(168, 85, 247, 0.4); }
  50% { transform: translateY(-3px) scale(1.02); text-shadow: 0 0 14px rgba(236, 72, 153, 0.8); }
  100% { transform: translateY(0) scale(1); text-shadow: 0 0 6px rgba(168, 85, 247, 0.4); }
}

@keyframes don-spin {
  0% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 4px rgba(236, 72, 153, 0.5)); }
  50% { transform: rotate(15deg) scale(1.15); filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.9)); }
  100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 4px rgba(236, 72, 153, 0.5)); }
}

.name-dontoliver {
  font-family: 'DynaPuff', cursive !important;
  font-weight: 700 !important;
  color: transparent !important;
  
  /* Trippy Liquid Purple, Pink & Teal Gradient */
  background: linear-gradient(
    -45deg, 
    #581c87 0%, 
    #c026d3 25%, 
    #f472b6 50%, 
    #2dd4bf 75%, 
    #3b0764 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  animation: don-liquid 5s ease infinite, don-float 3.5s ease-in-out infinite;
  display: inline-block;
  width: max-content !important;
  margin: 0 auto;
  letter-spacing: 1.5px;
  position: relative;
  text-transform: none; /* DynaPuff looks better in mixed case */
  transform-style: flat; /* Reset the 3D context from previous version */
}

.name-dontoliver::before {
  content: '🌵';
  position: absolute;
  top: -8px;
  left: -20px;
  font-size: 0.85rem;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important; 
  animation: don-spin 4s ease-in-out infinite alternate-reverse;
  pointer-events: none;
}

.name-dontoliver::after {
  content: '🏍️';
  position: absolute;
  bottom: -4px;
  right: -24px;
  font-size: 0.90rem;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important; 
  animation: don-spin 4s ease-in-out infinite;
  pointer-events: none;
}

/* 21 Savage */
@keyframes savage-pulse {
  0% { text-shadow: 0 0 2px rgba(139, 0, 0, 0.5); transform: scale(1); }
  50% { text-shadow: 0 0 10px rgba(255, 0, 0, 0.9); transform: scale(1.02); }
  100% { text-shadow: 0 0 2px rgba(139, 0, 0, 0.5); transform: scale(1); }
}

.name-21savage {
  font-family: 'Cinzel', serif !important;
  font-weight: 900 !important;
  color: transparent !important;
  background: linear-gradient(to bottom, #ff3333 0%, #aa0000 50%, #440000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: savage-pulse 2s ease-in-out infinite;
  display: inline-block;
  width: max-content !important;
  margin: 0 auto;
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
}

.name-21savage::before {
  content: '🗡️'; position: absolute; top: -6px; left: -22px; font-size: 0.9rem;
  color: #fff !important; -webkit-text-fill-color: #fff !important; pointer-events: none;
}
.name-21savage::after {
  content: '🩸'; position: absolute; bottom: -2px; right: -22px; font-size: 0.85rem;
  color: #fff !important; -webkit-text-fill-color: #fff !important; pointer-events: none;
  animation: savage-pulse 1.5s ease-in-out infinite;
}

/* Yeat */
@keyframes yeat-glitch {
  0% { transform: skew(0deg); text-shadow: 0 0 5px #39ff14; }
  10% { transform: skew(-5deg) translateX(-1px); text-shadow: -2px 0 0 #ff00ff, 2px 0 0 #00ffff; }
  20% { transform: skew(5deg) translateX(1px); text-shadow: 0 0 5px #39ff14; }
  30% { transform: skew(0deg); }
  100% { transform: skew(0deg); text-shadow: 0 0 5px #39ff14; }
}

@keyframes yeat-pulse {
  0% { transform: scale(1) rotate(-10deg); }
  100% { transform: scale(1.15) rotate(10deg); }
}

.name-yeat {
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 900 !important;
  color: transparent !important;
  background: linear-gradient(90deg, #ccff00 0%, #39ff14 50%, #00ffcc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: yeat-glitch 3.5s infinite;
  display: inline-block;
  width: max-content !important;
  margin: 0 auto;
  letter-spacing: 1px;
  position: relative;
  text-transform: uppercase;
}
.name-yeat::before {
  content: '🚜'; position: absolute; top: -6px; left: -26px; font-size: 0.9rem;
  color: #fff !important; -webkit-text-fill-color: #fff !important; pointer-events: none;
}
.name-yeat::after {
  content: '🔔'; position: absolute; bottom: -4px; right: -24px; font-size: 0.9rem;
  color: #fff !important; -webkit-text-fill-color: #fff !important; pointer-events: none;
  animation: yeat-pulse 0.3s infinite alternate; 
}

/* Drake - Iceman (Chromatic Ice) */
@keyframes iceman-shiver-slow {
  0% { 
    text-shadow: -2px 0px 0px #e0f7fa, 2px 0px 0px #0077b6; 
    filter: drop-shadow(0 0 4px rgba(0, 180, 216, 0.3)); 
  }
  50% { 
    text-shadow: -4px 0px 0px #e0f7fa, 4px 0px 0px #0077b6; 
    filter: drop-shadow(0 0 10px rgba(0, 180, 216, 0.6)); 
  }
  100% { 
    text-shadow: -2px 0px 0px #e0f7fa, 2px 0px 0px #0077b6; 
    filter: drop-shadow(0 0 4px rgba(0, 180, 216, 0.3)); 
  }
}

.name-iceman {
  font-family: 'Outfit', sans-serif !important;
  font-weight: 900 !important;
  
  /* Solid white text */
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  
  /* Reset background-clip stuff from previous versions */
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  
  /* Thin icy outline */
  -webkit-text-stroke: 1px #80deea;
  
  /* Extremely slow and subtle chromatic shiver animation */
  animation: iceman-shiver-slow 8s ease-in-out infinite;
  
  display: inline-block;
  width: max-content !important;
  margin: 0 auto;
  letter-spacing: 3px;
  position: relative;
  text-transform: uppercase;
}

.name-iceman::before, .name-iceman::after {
  display: none;
}

/* Mobile Responsiveness for Profile */
@media (max-width: 900px) {
  .profile-card-v2 {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  .profile-details-v2 {
    text-align: center;
    align-items: center;
  }
  .profile-meta-row-v2 {
    justify-content: center;
  }
  .profile-tabs-container-v2 {
    width: 100%;
    overflow-x: auto;
  }
  .profile-tab-btn-v2 {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}
@media (max-width: 768px) {
  .profile-inner-card-v2 {
    padding: 1.5rem 1rem;
  }
  .submissions-table-v2 th, .submissions-table-v2 td {
    padding: 1rem 0.6rem;
    font-size: 0.8rem;
  }
  .submissions-link-v2 {
    max-width: 120px;
  }
  .submissions-rank-name-v2 {
    display: none;
  }
  .profile-riot-row-v2 {
    flex-direction: column;
    align-items: stretch;
  }
  .profile-save-btn-v2 {
    width: 100%;
  }
}




/* ==========================================================================
   ADMIN PANEL V2 STYLES
   ========================================================================== */

.admin-header-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.admin-title-v2 {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
}

.admin-table-wrapper-v2 {
  background: rgba(10, 10, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.5rem;
  overflow-x: auto;
}

.admin-table-v2 {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table-v2 th {
  padding: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table-v2 td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table-v2 tr:last-child td {
  border-bottom: none;
}

.admin-user-cell-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-user-avatar-v2 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.admin-user-name-v2 {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.admin-user-riot-v2 {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Role Select */
.admin-role-select-v2 {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.admin-role-select-v2:focus {
  border-color: var(--accent);
}

/* Role Badges */
.admin-role-badge-v2 {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-admin {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-staff {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-streamer {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.badge-user {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

/* Live Toast for saving */
.admin-toast-v2 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #10b981;
  color: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.admin-toast-v2.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   LEADERBOARD V2 STYLES
   ========================================================================== */

.leaderboard-container-v2 {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 1rem 0;
}

/* PODIUM */
.podium-container-v2 {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.5rem;
  margin-top: 2rem;
  min-height: 250px;
}

.podium-spot-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.podium-spot-v2:hover {
  transform: translateY(-10px);
}

.empty-spot-v2 {
  opacity: 0.3;
  width: 120px;
}

/* Specific Ranks */
.podium-spot-v2.rank-1 {
  order: 2;
  z-index: 3;
  transform: translateY(-30px);
}
.podium-spot-v2.rank-1:hover {
  transform: translateY(-40px);
}

.podium-spot-v2.rank-2 {
  order: 1;
  z-index: 2;
}

.podium-spot-v2.rank-3 {
  order: 3;
  z-index: 1;
}

/* Avatar Wrappers */
.podium-avatar-wrapper-v2 {
  position: relative;
  margin-bottom: 1.5rem;
}

.podium-avatar-v2 {
  border-radius: 50%;
  object-fit: cover;
  background: var(--background);
}

/* Rank 1 Styling */
@keyframes pulse-gold-v2 {
  0% { 
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4), 0 0 40px rgba(251, 191, 36, 0.2); 
    border-color: #fbbf24;
  }
  50% { 
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.8), 0 0 80px rgba(251, 191, 36, 0.4); 
    border-color: #fffbeb;
  }
  100% { 
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4), 0 0 40px rgba(251, 191, 36, 0.2); 
    border-color: #fbbf24;
  }
}

.rank-1 .podium-avatar-v2 {
  width: 125px;
  height: 125px;
  border: 4px solid #fbbf24;
  animation: pulse-gold-v2 2s infinite ease-in-out;
}
.podium-crown-v2 {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%) rotate(5deg);
  font-size: 3.5rem;
  filter: drop-shadow(0 0 15px rgba(251, 191, 36, 1)) drop-shadow(0 0 30px rgba(251, 191, 36, 0.8));
  z-index: 4;
}
.rank-1 .podium-rank-badge-v2 {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.5);
}

/* Rank 2 Styling */
.rank-2 .podium-avatar-v2 {
  width: 90px;
  height: 90px;
  border: 3px solid #cbd5e1;
  box-shadow: 0 0 20px rgba(203, 213, 225, 0.2);
}
.rank-2 .podium-rank-badge-v2 {
  background: linear-gradient(135deg, #94a3b8, #cbd5e1);
  color: #000;
  box-shadow: 0 4px 10px rgba(148, 163, 184, 0.5);
}

/* Rank 3 Styling */
.rank-3 .podium-avatar-v2 {
  width: 80px;
  height: 80px;
  border: 3px solid #b45309;
  box-shadow: 0 0 15px rgba(180, 83, 9, 0.2);
}
.rank-3 .podium-rank-badge-v2 {
  background: linear-gradient(135deg, #92400e, #b45309);
  color: #fff;
  box-shadow: 0 4px 10px rgba(146, 64, 14, 0.5);
}

.podium-rank-badge-v2 {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  border: 2px solid var(--background);
}

/* Podium Info */
.podium-info-v2 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.podium-name-v2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.rank-1 .podium-name-v2 {
  font-size: 1.3rem;
}

.podium-elo-v2 {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

.podium-role-v2 {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 50px;
  margin-top: 4px;
}


/* LIST RANKING (Rank 4+) */
.leaderboard-list-wrapper-v2 {
  background: rgba(10, 10, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.leaderboard-table-v2 {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-row-v2 {
  transition: background 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.leaderboard-row-v2:hover {
  background: rgba(255, 255, 255, 0.02);
}

.leaderboard-row-v2:last-child {
  border-bottom: none;
}

.lb-rank-col-v2 {
  padding: 1.2rem;
  width: 80px;
  text-align: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.3);
}

.lb-user-col-v2 {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lb-avatar-v2 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.lb-user-details-v2 {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lb-name-v2 {
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

.lb-role-badge-v2 {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  width: max-content;
}

.role-admin {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.role-staff {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.role-streamer {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
}

.role-season1 {
  background: linear-gradient(135deg, #111 0%, #2a1f00 50%, #111 100%);
  background-size: 200% 200%;
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #ffe699;
  position: relative;
  overflow: hidden;
  font-weight: 900;
  letter-spacing: 1px;
  animation: s1-bg-shift 8s ease infinite, s1-pulse-glow 4s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.role-season1::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 235, 130, 0.25),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine-s1-sweep 6s ease-in-out infinite;
}

@keyframes s1-bg-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes s1-pulse-glow {
  0% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.2); border-color: rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.7); border-color: rgba(255, 215, 0, 0.8); }
  100% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.2); border-color: rgba(212, 175, 55, 0.4); }
}

@keyframes shine-s1-sweep {
  0% { left: -100%; }
  40% { left: 200%; }
  100% { left: 200%; }
}

.lb-elo-col-v2 {
  padding: 1.2rem;
  text-align: right;
  font-weight: 800;
  color: var(--accent);
  font-size: 1rem;
}

/* Responsive Podium */
@media (max-width: 600px) {
  .podium-container-v2 {
    gap: 0.5rem;
  }
  .rank-1 .podium-avatar-v2 { width: 80px; height: 80px; }
  .rank-2 .podium-avatar-v2 { width: 65px; height: 65px; }
  .rank-3 .podium-avatar-v2 { width: 60px; height: 60px; }
  .rank-1 .podium-name-v2 { font-size: 1.1rem; }
  .podium-name-v2 { font-size: 0.9rem; }
}


/* Sparkle Effects for Rank 1 */
.sparkles-container-v2 {
  position: absolute;
  top: -40px; right: -40px; bottom: -40px; left: -40px;
  pointer-events: none;
  z-index: 5;
}

.sparkle-v2 {
  position: absolute;
  color: #fbbf24;
  font-size: 1.4rem;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 1));
}

@keyframes sparkle-float-1 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-60px, -80px) scale(1.5) rotate(-30deg); opacity: 0; }
}
@keyframes sparkle-float-2 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(70px, -60px) scale(1.2) rotate(45deg); opacity: 0; }
}
@keyframes sparkle-float-3 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50px, 60px) scale(1.3) rotate(20deg); opacity: 0; }
}
@keyframes sparkle-float-4 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(80px, 50px) scale(1.6) rotate(-15deg); opacity: 0; }
}
@keyframes sparkle-float-5 {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(10px, -110px) scale(1.8) rotate(10deg); opacity: 0; }
}

.sparkle-v2.s1 { animation: sparkle-float-1 2.5s infinite ease-out; top: 40%; left: 40%; }
.sparkle-v2.s2 { animation: sparkle-float-2 2.1s infinite ease-out 0.4s; top: 50%; left: 50%; }
.sparkle-v2.s3 { animation: sparkle-float-3 2.8s infinite ease-out 0.8s; top: 60%; left: 40%; }
.sparkle-v2.s4 { animation: sparkle-float-4 2.3s infinite ease-out 1.2s; top: 60%; left: 60%; }
.sparkle-v2.s5 { animation: sparkle-float-5 2.6s infinite ease-out 0.6s; top: 30%; left: 50%; }

/* Gold Title for Leaderboard */
.dashboard-title.title-gold {
  background: linear-gradient(to bottom, #fbbf24, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.4));
}

/* Submission Badges Extensions */
.submissions-badge-pending {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.submissions-badge-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Custom Rank Selector V2 */
.rank-selector-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rank-item-v2 {
  position: relative;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rank-item-v2:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

.rank-icon-v2 {
  pointer-events: none;
}

.rank-subtiers-v2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 15, 20, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 6px;
  margin-top: 5px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.rank-item-v2:hover .rank-subtiers-v2 {
  display: flex;
}

.subtier-btn-v2 {
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.15s ease;
  pointer-events: auto;
}

.subtier-btn-v2:hover {
  background: rgba(139, 92, 246, 0.15);
  color: #fff;
}

.subtier-btn-v2.selected-rank {
  background: rgba(139, 92, 246, 0.25) !important;
  border-color: #8b5cf6 !important;
  color: #fff;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4) !important;
}

/* Fix for hover gap */
.rank-subtiers-v2::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

/* Drag and Drop Upload V2 */
.drag-drop-zone-v2 {
  width: 100%;
  padding: 40px 20px;
  background: rgba(0,0,0,0.5);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.drag-drop-zone-v2.highlight {
}

/* Drag and Drop Upload V2 */
.drag-drop-zone-v2 {
  width: 100%;
  padding: 40px 20px;
  background: rgba(0,0,0,0.5);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.drag-drop-zone-v2.highlight {
  border-color: #a855f7;
  background: rgba(168, 85, 247, 0.1);
  transform: scale(1.02);
}

.drag-drop-zone-v2:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

/* Cyberpunk Glitch */
@keyframes cyberpunk-glitch {
  0% { text-shadow: 2px 0 0 #f0f, -2px 0 0 #0ff; transform: skew(0deg); }
  5% { text-shadow: -2px 0 0 #f0f, 2px 0 0 #0ff; transform: skew(-5deg); }
  10% { text-shadow: 2px 0 0 #f0f, -2px 0 0 #0ff; transform: skew(5deg); }
  15% { text-shadow: -2px 0 0 #f0f, 2px 0 0 #0ff; transform: skew(0deg); }
  100% { text-shadow: 2px 0 0 #f0f, -2px 0 0 #0ff; transform: skew(0deg); }
}
.name-cyberpunk {
  font-family: 'Orbitron', sans-serif !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: cyberpunk-glitch 3s infinite;
  position: relative;
  display: inline-block;
}

/* Inferno Fire */
@keyframes inferno-flicker {
  0% { background-position: 0% 0%; text-shadow: 0 -2px 4px rgba(255, 69, 0, 0.4); }
  50% { background-position: 100% 100%; text-shadow: 0 -4px 8px rgba(255, 69, 0, 0.8), 0 -8px 12px rgba(255, 0, 0, 0.6); }
  100% { background-position: 0% 0%; text-shadow: 0 -2px 4px rgba(255, 69, 0, 0.4); }
}
.name-fire {
  font-family: 'DynaPuff', cursive, sans-serif !important;
  background: linear-gradient(0deg, #ffcc00 0%, #ff6600 40%, #cc0000 70%, #660000 100%);
  background-size: 100% 200%;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-fill-color: transparent !important;
  font-weight: 900 !important;
  animation: inferno-flicker 1.5s infinite alternate;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Deep Ocean */
@keyframes ocean-wave {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.name-ocean {
  font-family: 'Outfit', sans-serif !important;
  background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 50%, #00d2ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-fill-color: transparent !important;
  font-weight: 900 !important;
  animation: ocean-wave 3s linear infinite;
  display: inline-block;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

/* OG Champion Title */
@keyframes og-champion-shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}


.role-og_champion {
  background: linear-gradient(
    90deg, 
    #b48608 0%, 
    #facc15 20%, 
    #ffffff 40%, 
    #facc15 60%, 
    #b48608 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-fill-color: transparent !important;
  font-weight: 900 !important;
  font-family: 'Outfit', sans-serif !important;
  animation: og-champion-shine 3.5s linear infinite;
  display: inline-block;
  letter-spacing: 0.5px;
  position: relative;
}

.role-og_champion::after {
  content: '✨';
  position: absolute;
  top: -6px;
  right: -14px;
  font-size: 0.85rem;
  -webkit-text-fill-color: #facc15;
}

/* Hacker Title */
@keyframes hacker-glitch {
  0% { transform: translate(0) }
  20% { transform: translate(-2px, 1px) }
  40% { transform: translate(-1px, -1px) }
  60% { transform: translate(2px, 1px) }
  80% { transform: translate(1px, -1px) }
  100% { transform: translate(0) }
}

.role-hacker {
  font-family: 'Orbitron', monospace !important;
  color: #10b981 !important;
  text-transform: uppercase;
  font-weight: 900 !important;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 5px rgba(16, 185, 129, 0.5), 0 0 10px rgba(16, 185, 129, 0.3);
  animation: hacker-glitch 2s infinite;
}
