:root {
  --bg-dark: #090a0f;
  --bg-card: #0d0f14;
  --border-color: #1a1c23;
  --text-main: #ffffff;
  --text-muted: #8b8e98;
  --input-bg: #08090d;
  --accent-color: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

input, textarea {
  font-family: inherit;
}

button {
  font-family: inherit;
}
.wb-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 0;
  background-color: #04060f; /* Deepest space blue */
  pointer-events: none;
}

.wb-stars {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.8), rgba(0,0,0,0)),
    radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.6), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 90px 40px, rgba(200, 220, 255, 0.9), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 160px 120px, rgba(255, 255, 255, 0.7), rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: driftStars 120s linear infinite;
  opacity: 0.8;
}

@keyframes driftStars {
  from { background-position: 0 0; }
  to { background-position: -1000px 500px; }
}

.wb-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  mix-blend-mode: screen;
  animation: moveAurora 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.wb-aurora-1 {
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.35) 0%, rgba(0,0,0,0) 70%);
  top: -20%; left: -10%;
  animation-duration: 25s;
}

.wb-aurora-2 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, rgba(0,0,0,0) 70%);
  bottom: -10%; right: -20%;
  animation-duration: 30s;
  animation-delay: -5s;
}

.wb-aurora-3 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(0,0,0,0) 70%);
  top: 30%; right: 10%;
  animation-duration: 35s;
  animation-delay: -10s;
}

@keyframes moveAurora {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 6vh) scale(1.1); }
  100% { transform: translate(-8vw, -6vh) scale(0.9); }
}

/* Futuristic Target Rings */
.wb-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotateX(65deg) rotateZ(15deg);
  width: 100vw; height: 100vw;
  max-width: 1400px; max-height: 1400px;
  pointer-events: none;
  opacity: 0.15;
}

.wb-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  transform: translate(-50%, -50%);
}

.wb-ring-inner {
  width: 50%; height: 50%;
  border-left-color: #3b82f6;
  border-right-color: #9333ea;
  animation: spinRing 25s linear infinite;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.wb-ring-middle {
  width: 75%; height: 75%;
  border-top-color: #10b981;
  border-bottom-color: #3b82f6;
  animation: spinRing 35s linear infinite reverse;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.wb-ring-outer {
  width: 100%; height: 100%;
  border-left-color: #9333ea;
  border-bottom-color: #10b981;
  animation: spinRing 45s linear infinite;
  border-style: dashed;
}

/* Premium Welcome Screen Overrides */
.premium-hero {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 2rem;
  max-width: 800px;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) ease-out forwards;
}

.premium-status-pill {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #10b981 !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
  margin-bottom: 2rem !important;
}
.premium-status-pill .pulse-dot {
  background-color: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
}

.main-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.title-pretext {
  font-weight: 400;
  font-size: 3rem;
  color: #a0a4b8;
  letter-spacing: -0.5px;
}

.aesthetic-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.2em;
  filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.3));
}

.premium-subtitle {
  color: #c8d4ee;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.premium-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-btn:hover {
  transform: translateY(-4px);
}

.premium-btn .btn-text {
  background: linear-gradient(135deg, #1e253c 0%, #0d1223 100%);
  color: white;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  border-radius: 14px 0 0 14px;
  z-index: 2;
}

.premium-btn .btn-icon-wrapper {
  background: linear-gradient(135deg, #3b82f6 0%, #9333ea 100%);
  color: white;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 14px 14px 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: none;
  z-index: 2;
}

.btn-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.5), rgba(147, 51, 234, 0.5));
  filter: blur(15px);
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.premium-btn:hover .btn-glow {
  opacity: 0.7;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
  padding-top: 1rem;
}

.social-icon-wrapper {
  color: #667799;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-wrapper:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.cp-bg-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  background-color: #030614; /* Match deep dark blue */
}

/* 3D Perspective Grid */
.cp-grid-wrapper {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  perspective: 600px;
  z-index: 1;
}

.cp-grid {
  position: absolute;
  width: 200%;
  height: 200%;
  bottom: -50%;
  left: -50%;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(75deg);
  transform-origin: center center;
  animation: gridMove 15s linear infinite;
  box-shadow: inset 0 0 100px 50px #030614; /* Fade edges smoothly */
  opacity: 0.8;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 50px; }
}

/* Floating Syntax Elements */
.cp-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2;
}

.cp-particle {
  position: absolute;
  bottom: -15%;
  color: #60a5fa; /* Soft neon blue */
  font-family: 'Fira Code', 'Courier New', monospace;
  font-weight: 700;
  animation-name: floatUpAndSpin;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  text-shadow: 0 0 15px rgba(96, 165, 250, 0.6);
  pointer-events: none;
  filter: blur(0.5px);
}

@keyframes floatUpAndSpin {
  0% {
    transform: translateY(0) rotate(-10deg) scale(0.9);
    opacity: 0;
  }
  10% {
    opacity: var(--particle-opacity, 0.4);
  }
  90% {
    opacity: var(--particle-opacity, 0.4);
  }
  100% {
    transform: translateY(-115vh) rotate(20deg) scale(1.1);
    opacity: 0;
  }
}
/* Hub Layout */
.hub-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0rem 4rem 4rem;
  z-index: 10;
}

.hub-hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  width: 100%;
}

.hub-card {
  position: relative;
  background: rgba(12, 18, 38, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  cursor: pointer;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
  z-index: 0;
  pointer-events: none;
}

.hub-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(15, 22, 45, 0.55);
}

.intl-card:hover { border-color: rgba(96, 165, 250, 0.4); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(96, 165, 250, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.natl-card:hover { border-color: rgba(244, 114, 182, 0.4); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(244, 114, 182, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.prob-card:hover { border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
.rank-card:hover { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15); }

.hub-card-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.hub-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

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

/* Colors by theme */
.intl-card .hub-icon-wrapper { color: #60a5fa; }
.natl-card .hub-icon-wrapper { color: #f472b6; }
.prob-card .hub-icon-wrapper { color: #10b981; }
.rank-card .hub-icon-wrapper { color: #f59e0b; }

.intl-card:hover .hub-icon-wrapper { border-color: rgba(96, 165, 250, 0.3); box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3); }
.natl-card:hover .hub-icon-wrapper { border-color: rgba(244, 114, 182, 0.3); box-shadow: 0 10px 30px rgba(244, 114, 182, 0.3); }
.prob-card:hover .hub-icon-wrapper { border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3); }
.rank-card:hover .hub-icon-wrapper { border-color: rgba(245, 158, 11, 0.3); box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3); }

.hub-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.hub-card p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  flex: 1;
}

.hub-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-action-text {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.intl-card .hub-action-text { color: #60a5fa; }
.natl-card .hub-action-text { color: #f472b6; }
.prob-card .hub-action-text { color: #10b981; }
.rank-card .hub-action-text { color: #f59e0b; }

.hub-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hub-card:hover .hub-arrow {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateX(4px) translateY(-4px);
}

@media (max-width: 900px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
}
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.logo-icon {
  width: 24px;
  height: 24px;
}

.nav-links-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 0.5rem 1.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.header-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s;
}

.header-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header-btn .sparkle {
  width: 14px;
  height: 14px;
}

/* Main Content */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  margin-top: -2rem;
}

.signup-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.signup-pill-icon {
  width: 12px;
  height: 12px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.hero-title .italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: #a1a3af;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

/* ================================= */
/* Premium Authentication Portal     */
/* ================================= */

.auth-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: #030614; /* Deep elite dark blue */
}

/* Pure CSS Animated Orbs Background */
.live-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.live-bg::before, .live-bg::after {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: floatOrb 20s infinite ease-in-out alternate;
}

.live-bg::before {
  background: radial-gradient(circle, rgba(14,165,233,0.5) 0%, rgba(3,6,20,0) 70%);
  top: -10%;
  left: -10%;
  animation-delay: -5s;
}

.live-bg::after {
  background: radial-gradient(circle, rgba(99,102,241,0.5) 0%, rgba(3,6,20,0) 70%);
  bottom: -20%;
  right: -10%;
  animation-duration: 25s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 10%) scale(1.1); }
  100% { transform: translate(-5%, 5%) scale(0.9); }
}

.auth-header {
  position: relative;
  z-index: 10;
  padding: 2rem 4rem;
  display: flex;
  justify-content: center;
}

.auth-main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 2rem;
}

.auth-hero {
  text-align: center;
  max-width: 600px;
}

/* Glassmorphism Form container */
.glass-panel {
  width: 100%;
  max-width: 440px;
  background: rgba(11, 14, 23, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) ease-out forwards;
}

@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}
.form-row .input-group { flex: 1; margin: 0; }

.input-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8899bb;
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: block;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: #667799;
  transition: color 0.3s ease;
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.9rem 1rem 0.9rem 2.75rem; /* Space for icon */
  color: #e0eaff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s ease;
}

.input-wrapper input::placeholder {
  color: #4a5a7a;
}

.input-wrapper input:focus {
  background: rgba(0, 0, 0, 0.5);
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15), inset 0 1px 2px rgba(0,0,0,0.5);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: #60a5fa;
}

.glowing-btn {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glowing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #4f92f9 0%, #2f6deb 100%);
}

.glowing-btn:active {
  transform: translateY(1px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.auth-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.text-muted {
  color: #8899bb;
}

.text-link {
  background: none;
  border: none;
  padding: 0;
  color: #60a5fa;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: #93c5fd;
  text-decoration: underline;
}

/* Subtle background gradient at the bottom */
.bg-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 50%;
  background: radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* ================================= */
/* Welcome Screen Styles             */
/* ================================= */
.dashboard-bg {
  background-color: #06070b;
}

.star-field {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  z-index: 0;
  pointer-events: none;
}

.welcome-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 0 2rem;
}

.logo-box {
  width: 72px;
  height: 72px;
  background: linear-gradient(180deg, #161822 0%, #0c0d12 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 20px 40px -10px rgba(0, 110, 255, 0.15), 0 0 25px rgba(255, 255, 255, 0.02);
  position: relative;
}

.logo-box::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: radial-gradient(circle, rgba(120, 160, 255, 0.5) 0%, transparent 100%);
}

.logo-icon-large {
  width: 32px;
  height: 32px;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #d1d5e0;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #4a90e2;
  border-radius: 50%;
  box-shadow: 0 0 8px #4a90e2;
}

.welcome-title {
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  position: relative;
}

.welcome-title .italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  color: #b0b4c4;
}

.welcome-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.view-competitions-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #08090f;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  margin-bottom: 3rem;
}

.view-competitions-btn:hover {
  background: #11131c;
  border-color: rgba(255, 255, 255, 0.2);
}

.view-competitions-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%);
  box-shadow: 0 -3px 12px 1px rgba(255, 255, 255, 0.4);
}

.arrow-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-icon {
  width: 20px;
  height: 20px;
  color: #666a7a;
  transition: color 0.2s;
}

.social-icon:hover {
  color: white;
}

.separator {
  width: 1px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.1);
}

.reconnecting-footer {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 11, 16, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 0.75rem 2rem 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.spinner-icon {
  width: 20px;
  height: 20px;
  color: #a0a4b8;
  animation: spin 2s linear infinite;
}

.reconnecting-footer p {
  color: #8b8e98;
  font-size: 0.9rem;
}

.reconnecting-footer strong {
  color: white;
  font-weight: 500;
}

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

/* ================================= */
/* Competitions Screen Styles        */
/* ================================= */

.competitions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  width: 100%;
  z-index: 10;
  position: relative;
}

.logo-text {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}

.logo-accent {
  color: #4dfaae; /* Optional subtle accent if needed, otherwise matches standard text */
}

/* User wants colors matched to previous screens, but I'll make the glow silver/blue instead of green */
.glow-icon {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.comps-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.comps-nav a {
  color: #a0a4b8;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.comps-nav a:hover, .comps-nav a.active {
  color: white;
}

.profile-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-icon {
  width: 20px;
  height: 20px;
  color: #a0a4b8;
}

.comps-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  padding: 2rem 4rem;
  width: 100%;
}

.comps-hero {
  text-align: center;
  margin-bottom: 4rem;
  margin-top: 2rem;
}

.comps-subtitle {
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.comps-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.comps-desc {
  font-size: 1.1rem;
  color: #b0b4c4;
}

.comps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
}

.comp-card {
  background: rgba(13, 15, 20, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
  transition: transform 0.2s ease, border-color 0.2s;
}

.comp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.comp-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.comp-card-icon {
  width: 36px;
  height: 36px;
  color: #ffffff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.comp-card-header h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
  color: white;
}

.comp-card p {
  color: #8b8e98;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  flex: 1;
}

.comp-card-btn {
  width: 100%;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.875rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.comp-card-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ================================= */
/* International Competitions Styles */
/* ================================= */

.intl-bg {
  background-color: #0d0f14;
}

.intl-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 1;
  padding: 2rem 4rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.intl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  width: 100%;
  z-index: 10;
  position: relative;
  border-bottom: 1px solid rgba(77, 250, 174, 0.1);
}

.center-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.back-btn {
  background: transparent;
  color: #8b8e98;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
  padding: 0;
}

.back-btn:hover {
  color: #fff;
}

.header-placeholder {
  width: 60px;
}

.intl-title {
  font-size: 2.5rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-align: left;
  width: 100%;
}

.intl-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 0;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #a0a4b8;
  font-size: 0.95rem;
}

.filter-icon {
  width: 18px;
  height: 18px;
}

.filter-dropdowns {
  display: flex;
  gap: 1rem;
}

.dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(77, 250, 174, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.dropdown:hover {
  background: rgba(77, 250, 174, 0.05);
  border-color: rgba(77, 250, 174, 0.4);
}

.dropdown-icon {
  width: 14px;
  height: 14px;
  color: #4dfaae;
}

.comp-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comp-list-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: #666a7a;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0.5rem;
}

.comp-row {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgba(13, 15, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.comp-row:hover {
  background: rgba(18, 22, 30, 0.8);
  border-color: rgba(77, 250, 174, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(77, 250, 174, 0.05);
  transform: translateY(-2px);
}

.col-platform { flex: 1.5; display: flex; align-items: center; gap: 0.75rem; }
.col-event { flex: 3; display: flex; flex-direction: column; gap: 0.25rem; }
.col-start { flex: 1.5; display: flex; align-items: center; gap: 0.5rem; color: #b0b4c4; font-size: 0.9rem; }
.col-duration { flex: 1; display: flex; align-items: center; gap: 0.5rem; color: #b0b4c4; font-size: 0.9rem; }
.col-countdown { flex: 1.5; display: flex; align-items: center; gap: 0.5rem; color: #b0b4c4; font-size: 0.9rem; font-family: monospace; }
.col-action { flex: 1; display: flex; justify-content: flex-end; }

.plat-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.plat-icon { width: 16px; height: 16px; }

.plat-name { color: #8b8e98; font-size: 0.85rem; font-weight: 500; }

.comp-name { color: #ffffff; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.2px; }

.comp-status { font-size: 0.75rem; font-weight: 500; }

.status-upcoming { color: #4a90e2; }
.status-ongoing { color: #4dfaae; }
.status-finished { color: #666a7a; }
.status-starts { color: #f5a623; }

.cell-icon { width: 14px; height: 14px; color: #666a7a; }

.countdown-text { color: #4dfaae; }

.join-btn {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(77, 250, 174, 0.4);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.join-btn:hover {
  background: rgba(77, 250, 174, 0.1);
  border-color: rgba(77, 250, 174, 0.8);
  box-shadow: 0 0 10px rgba(77, 250, 174, 0.2);
}

.text-blue-400 { color: #60a5fa; }
.text-green-400 { color: #4ade80; }
.text-indigo-400 { color: #818cf8; }
.text-purple-400 { color: #c084fc; }
.text-red-400 { color: #f87171; }
.text-orange-400 { color: #fb923c; }
.text-yellow-500 { color: #eab308; }

/* ================================= */
/* Profile & Auth Additional Styles  */
/* ================================= */

.profile-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
  transition: background 0.2s;
  position: relative;
}

.profile-wrapper:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profile-username {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 500;
}

.profile-circle-text {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7eaaff, #4dfaae);
  color: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 0 10px rgba(126, 170, 255, 0.3);
}

.profile-circle-img {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #7eaaff;
  box-shadow: 0 0 10px rgba(126, 170, 255, 0.3);
}

.error-alert {
  background-color: rgba(255, 60, 60, 0.1);
  border: 1px solid rgba(255, 60, 60, 0.3);
  color: #ff6b6b;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
}

.profile-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  background: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  min-width: 200px;
}

.dropdown-large-img {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid #7eaaff;
  margin-bottom: 1rem;
}

.dropdown-large-text {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7eaaff, #4dfaae);
  color: #0b1220;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(126, 170, 255, 0.3);
}

.dropdown-change-btn {
  background: #38bdf8;
  color: #0b1220;
  border: 1px solid transparent;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.dropdown-change-btn:hover {
  background: #0ea5e9;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

 
 