/* ----------------------
   Reset & base
   ----------------------*/
:root{
  --bg:#02030a;
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --accent: #7dd3fc; /* cyan-ish */
  --accent-2: #c084fc; /* purple */
  --card-radius: 16px;
  --max-width: 1100px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
*{box-sizing:border-box}
html,body{height:100%;margin:0;background:radial-gradient(ellipse at 20% 10%, #071129 0%, transparent 20%), radial-gradient(ellipse at 100% 80%, #081123 0%, transparent 15%), var(--bg);color: #e6eef7;font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:inherit}
img{max-width:100%;display:block}

/* ----------------------
   Parallax layers (full-bleed)
   ----------------------*/
.parallax-wrap{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.layer{position:absolute;left:50%;transform:translateX(-50%);will-change:transform,opacity}

.layer--stars{top:-10vh;width:160%;height:160%;background-image:radial-gradient(white 0.6px, transparent 1px);background-size:6px 6px;opacity:0.12;filter:blur(1px)}
.layer--nebula{top:10vh;width:130%;height:130%;background:linear-gradient(120deg, rgba(120,60,200,0.12), rgba(50,150,200,0.06));mix-blend-mode:screen;filter:blur(40px) saturate(120%);opacity:0.9}
.layer--glow{top:30vh;width:80%;height:80%;background:radial-gradient(circle at 10% 20%, rgba(255,200,120,0.05), transparent 18%), radial-gradient(circle at 90% 80%, rgba(120,80,255,0.04), transparent 20%);filter:blur(80px)}

/* ----------------------
   Navigation / header
   ----------------------*/
header{position:fixed;top:18px;left:50%;transform:translateX(-50%);width:calc(100% - 48px);max-width:var(--max-width);z-index:30;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;gap:12px;align-items:center}
.logo{width:52px;height:52px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:grid;place-items:center;font-weight:700;color:#021122;box-shadow:0 6px 18px rgba(0,0,0,0.6)}
nav{display:flex;gap:12px;align-items:center}
.nav-link{backdrop-filter: blur(6px);background:var(--glass-bg);border:1px solid var(--glass-border);padding:8px 12px;border-radius:12px;text-decoration:none;font-weight:600;font-size:0.95rem}
.cta{background:linear-gradient(90deg,var(--accent),var(--accent-2));padding:10px 16px;border-radius:12px;color:#021122;font-weight:700;box-shadow:0 6px 20px rgba(125,211,252,0.12)}

/* Hamburger (mobile) */
.hamburger{display:none;background:var(--glass-bg);border:1px solid var(--glass-border);padding:8px;border-radius:10px}

/* ----------------------
   Main hero / scrollytelling container
   ----------------------*/
main{position:relative;z-index:10}
section{min-height:100vh;padding:140px 18px 80px;display:grid;place-items:center}
.container{width:100%;max-width:var(--max-width);margin:0 auto;padding:12px}

.glass-card{width:100%;backdrop-filter:blur(10px) saturate(120%);background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));border:1px solid var(--glass-border);border-radius:var(--card-radius);padding:28px;box-shadow:0 10px 40px rgba(2,8,23,0.6)}

.hero{display:grid;grid-template-columns:1fr 460px;gap:36px;align-items:center}
.hero h1{font-size:clamp(2rem,4vw,3.2rem);margin:0 0 8px}
.hero p{opacity:0.85;line-height:1.55}

.planet-preview{height:360px;border-radius:12px;overflow:hidden;display:grid;place-items:center;position:relative}
.planet-img{width:100%;height:100%;object-fit:cover}
.orbit-glow{position:absolute;inset:0;background:radial-gradient(circle at 30% 40%, rgba(125,211,252,0.08), transparent 25%);mix-blend-mode:screen}

/* ----------------------
   Celestial sections
   ----------------------*/
.scene{display:grid;grid-template-columns:1fr 460px;gap:28px;align-items:center}
.scene .copy h2{margin:0;font-size:1.6rem}
.rounds{margin-top:14px;display:flex;flex-direction:column;gap:8px}
.round-pill{display:inline-flex;gap:8px;padding:8px 12px;border-radius:999px;align-items:center;background:linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border:1px solid rgba(255,255,255,0.03);font-weight:600}

/* timeline look for order */
.order-number{font-size:0.8rem;padding:6px 10px;border-radius:10px;background:rgba(255,255,255,0.02);border:1px solid rgba(255,255,255,0.03)}

/* ----------------------
   Registration / payment
   ----------------------*/
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
label{display:block;font-size:0.85rem;opacity:0.9;margin-bottom:6px}
input,select,textarea{width:100%;padding:10px;border-radius:10px;border:1px solid rgba(255,255,255,0.06);background:rgba(2,8,23,0.4);color:inherit}
.pay-btn{margin-top:10px;background:linear-gradient(90deg,var(--accent),var(--accent-2));padding:12px;border-radius:12px;border:0;font-weight:800;cursor:pointer}

/* ----------------------
   Past winners
   ----------------------*/
.winners-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.winner{padding:12px;border-radius:12px;background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border:1px solid rgba(255,255,255,0.03)}


/* ========================================
   PRIZES SECTION STYLES
   ======================================== */

.prizes-section {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.05), rgba(192, 132, 252, 0.05));
  position: relative;
  overflow: hidden;
}

.prizes-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(125, 211, 252, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(192, 132, 252, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.prizes-content {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Main Prize Pool Card */
.prize-pool-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 255, 255, 0.08));
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.prize-pool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 215, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.prize-pool-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.prize-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #021122;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.prize-amount {
  text-align: left;
}

.currency {
  font-size: 1.5rem;
  color: #ffd700;
  font-weight: 700;
}

.amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffd700;
  line-height: 1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.label {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
}

.prize-pool-description h3 {
  color: #ffd700;
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.prize-pool-description p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Prize Distribution Grid */
.prize-distribution {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.prize-tier {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.prize-tier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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: 20px 20px;
  pointer-events: none;
}

.prize-tier > * {
  position: relative;
  z-index: 2;
}

.prize-tier:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tier-badge {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tier-content h4 {
  color: var(--accent);
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.tier-prize {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tier-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.9rem;
}

/* First Tier Special Styling */
.first-tier {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.first-tier .tier-prize {
  font-size: 1.8rem;
  color: #ffd700;
}

/* Second Tier Special Styling */
.second-tier {
  border-color: rgba(192, 192, 192, 0.4);
  box-shadow: 0 0 30px rgba(192, 192, 192, 0.1);
}

.second-tier .tier-prize {
  color: #c0c0c0;
}

/* Third Tier Special Styling */
.third-tier {
  border-color: rgba(205, 127, 50, 0.4);
  box-shadow: 0 0 30px rgba(205, 127, 50, 0.1);
}

.third-tier .tier-prize {
  color: #cd7f32;
}

/* Referral Prize Card */
.referral-prize-card {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.15));
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.referral-prize-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 25px 25px;
  pointer-events: none;
}

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

.referral-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.referral-header h3 {
  color: #3b82f6;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.referral-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.referral-prize {
  text-align: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.referral-prize .currency {
  font-size: 1.2rem;
  color: #3b82f6;
}

.referral-prize .amount {
  font-size: 2.5rem;
  color: #3b82f6;
}

.referral-prize .label {
  color: rgba(255, 255, 255, 0.8);
}

.referral-details h4 {
  color: #3b82f6;
  font-size: 1.3rem;
  margin: 0 0 1rem 0;
}

.referral-details p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.referral-conditions {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.condition-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  border-left: 3px solid #3b82f6;
}

.condition-item i {
  color: #3b82f6;
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.condition-item span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}

.referral-cta {
  text-align: center;
}

.referral-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.referral-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.referral-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 1rem 0 0 0;
}

/* Merchandise Section */
.merchandise-section {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.merchandise-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.merchandise-header i {
  font-size: 2rem;
  color: #22c55e;
}

.merchandise-header h3 {
  color: #22c55e;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.merchandise-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.5rem 0;
  font-size: 1.1rem;
}

.merchandise-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.merchandise-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.merchandise-item i {
  color: #22c55e;
  font-size: 1.2rem;
}

.merchandise-item span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Call to Action */
.prizes-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(20px);
}

.prizes-cta h3 {
  color: var(--accent);
  font-size: 2rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.prizes-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  box-shadow: 0 4px 15px rgba(125, 211, 252, 0.3);
}

.cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(125, 211, 252, 0.4);
}

.cta-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .prize-pool-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .prize-amount {
    text-align: center;
  }
  
  .amount {
    font-size: 3rem;
  }
  
  .prize-distribution {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .referral-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .referral-prize {
    order: -1;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .prize-pool-card,
  .referral-prize-card {
    padding: 1.5rem;
  }
  
  .amount {
    font-size: 2.5rem;
  }
  
  .prize-distribution {
    grid-template-columns: 1fr;
  }
  
  .merchandise-items {
    grid-template-columns: 1fr;
  }
}


/* Footer */
footer{padding:36px 18px;color:#bcd6f6;opacity:0.9}

/* ========================================
   NEW LANDING PAGE STYLES - MOBILE FIRST
   ======================================== */

/* Interactive Canvas */
.interactive-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Main Header - Override any global CSS */
body .main-header,
html .main-header,
.main-header,
header.main-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  background: rgba(2, 3, 10, 0.9) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  z-index: 9999 !important;
  padding: 1rem 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  margin: 0 !important;
  transform: none !important;
}

/* Override the global header rule specifically */
header.main-header {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

/* Ensure header container is properly positioned */
.main-header * {
  box-sizing: border-box !important;
}

/* Override any global CSS that might affect header positioning */
body,
html {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

/* Reset any conflicting header styles */
header:not(.main-header) {
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
}

/* Ensure header is not affected by any global transforms or positioning */
.main-header * {
  transform: none !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
}

/* Fix header positioning specifically */
.main-header {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
}

.nav-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  min-height: 60px !important;
  gap: 1rem !important;
  overflow: visible !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
}

.brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-size: clamp(1rem, 4vw, 1.25rem) !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  flex-shrink: 0 !important;
  min-width: 0 !important;
  overflow: visible !important;
  white-space: nowrap !important;
  max-width: 100% !important;
  order: 1 !important;
}

.brand i {
  font-size: 1.5rem !important;
}

.nav-menu {
  display: none !important;
  gap: 2rem !important;
  align-items: center !important;
  flex: 1 !important;
  justify-content: center !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(2, 3, 10, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  z-index: 999 !important;
  flex-direction: column !important;
  padding: 1rem !important;
  order: 2 !important;
}

.nav-menu.active {
  display: flex !important;
}

.nav-link {
  color: #e6eef7 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
}

.nav-link:hover {
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.nav-link.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #021122 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.mobile-menu-toggle {
  display: block !important;
  background: none !important;
  border: none !important;
  color: #e6eef7 !important;
  font-size: 1.25rem !important;
  cursor: pointer !important;
  padding: 0.5rem !important;
  border-radius: 6px !important;
  transition: background-color 0.3s ease !important;
  flex-shrink: 0 !important;
  z-index: 1001 !important;
  order: 3 !important;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  padding: 6rem 1rem 2rem 1rem !important;
  position: relative !important;
  z-index: 10 !important;
  margin-top: 80px !important;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
}

.title-line {
  display: block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 4vw, 1.25rem);
  color: #bcd6f6;
  margin: 0 0 2rem 0;
  line-height: 1.6;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  min-width: 200px;
  justify-content: center;
}

.hero-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  box-shadow: 0 8px 25px rgba(125, 211, 252, 0.3);
}

.hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(125, 211, 252, 0.4);
}

.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e6eef7;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 300px;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #021122;
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  top: 50%;
  right: 20%;
  animation-delay: 2s;
}

.element-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #bcd6f6;
  font-size: 0.9rem;
}

.scroll-arrow {
  width: 2px;
  height: 20px;
  background: var(--accent);
  border-radius: 1px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.5); }
}

/* Sections */
.section {
  padding: 4rem 1rem;
  position: relative;
  z-index: 10;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #e6eef7;
}

.section-header p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: #bcd6f6;
  margin: 0;
}

/* About Section */
.about-section {
  background: rgba(255, 255, 255, 0.02);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #021122;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #e6eef7;
}

.feature-card p {
  color: #bcd6f6;
  line-height: 1.6;
  margin: 0;
}

/* Rounds Section */
.rounds-section {
  background: rgba(255, 255, 255, 0.02);
}

.rounds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Rules Section */
.rules-section {
  background: rgba(255, 255, 255, 0.02);
}

.rules-content {
  max-width: 900px;
  margin: 0 auto;
}

.rules-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.rules-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #e6eef7;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}

.rules-card h3:not(:first-child) {
  margin-top: 2.5rem;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.rules-list li {
  color: #bcd6f6;
  line-height: 1.7;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.rules-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.fee-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 1.5rem;
}

.fee-list li {
  color: #bcd6f6;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.fee-list li::before {
  content: "○";
  color: var(--accent-2);
  position: absolute;
  left: 0;
  top: 0;
}

.rules-cta {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(125, 211, 252, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(125, 211, 252, 0.4);
}

.round-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.round-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.round-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #021122;
}

.round-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #e6eef7;
}

.round-card p {
  color: #bcd6f6;
  line-height: 1.6;
  margin: 0;
}

/* Team Photos Styles */


.team-member-photo {
  border-radius: 12px;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}


.team-member-photo:hover {
  transform: scale(1.1);
  border-color: var(--accent);
}





/* Winners Section */
.winners-section {
  background: rgba(2, 3, 10, 0.8);
}

.winners-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.competition-overview {
  text-align: center;
}

.overview-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.overview-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #e6eef7;
}

.overview-card p {
  color: #bcd6f6;
  margin: 0 0 1.5rem 0;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

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

.stat-label {
  font-size: 0.9rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.winners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.winner-card {
  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

/* Add subtle grid pattern overlay */
.winner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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: 20px 20px;
  pointer-events: none;
  z-index: 1;
}

/* Ensure content is above the grid pattern */
.winner-card > * {
  position: relative;
  z-index: 2;
}


.winner-card:hover {
  transform: translateY(-5px);
}

.winner-card.first-place {
  border-color: #ffd700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.winner-card.second-place {
  border-color: #c0c0c0;
  box-shadow: 0 0 30px rgba(192, 192, 192, 0.2);
}

.winner-card.third-place {
  border-color: #cd7f32;
  box-shadow: 0 0 30px rgba(205, 127, 50, 0.2);
}

.winner-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #021122;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
}

.winner-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.winner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.fallback-icon {
  font-size: 3rem;
  color: #021122;
}

.winner-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #e6eef7;
}

.winner-members {
  color: #bcd6f6;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
}

.winner-score {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  display: inline-block;
}

.special-mention {
  text-align: center;
}

.mention-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mention-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #021122;
  flex-shrink: 0;
}

.mention-content {
  text-align: left;
}

.mention-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #e6eef7;
}

.mention-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--accent);
}

.mention-members {
  color: #bcd6f6;
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.mention-details {
  color: #94a3b8;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Events Section */
.events-section {
  background: rgba(2, 3, 10, 0.8);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

.event-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(125, 211, 252, 0.2);
}

.event-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: #021122;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.event-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #e6eef7;
}

.event-description {
  color: #bcd6f6;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #bcd6f6;
  font-size: 0.9rem;
}

.event-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.event-btn:hover {
  transform: translateY(-2px);
}

/* Registration Section */
.register-section {
  background: rgba(255, 255, 255, 0.02);
}

.register-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.register-info h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  color: #e6eef7;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: #bcd6f6;
  font-size: 1.1rem;
}

.benefits-list i {
  color: var(--accent);
  font-size: 1.25rem;
}

.registration-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #e6eef7;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #e6eef7;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none !important;
  border-color: var(--accent) !important;
}

.form-group small {
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  margin-top: 0.25rem !important;
  display: block !important;
  line-height: 1.4 !important;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
}

/* Registration Result Display */
.registration-result {
  margin-top: 1.5rem;
}

.registration-result > div {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.registration-result > div:first-child {
  margin-bottom: 0;
}

/* Footer */
.main-footer {
  background: rgba(2, 3, 10, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 1rem 1rem;
  text-align: center;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-brand i {
  font-size: 1.75rem;
}

.footer-content p {
  color: #bcd6f6;
  margin: 0 0 1.5rem 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #bcd6f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.footer-bottom p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET & DESKTOP
   ======================================== */

@media (min-width: 768px) {
  .nav-menu {
    display: flex !important;
    position: static !important;
    background: none !important;
    backdrop-filter: none !important;
    border-top: none !important;
    box-shadow: none !important;
    flex-direction: row !important;
    padding: 0 !important;
    order: 2 !important;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .brand {
    order: 1 !important;
  }
  
  .rounds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .winners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-visual {
    flex: 1;
    max-width: 500px;
  }
  
  .hero-actions {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .register-content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  
  .rules-card {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .rounds-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .winners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Mobile Responsive Rules */
@media (max-width: 768px) {
  .rules-card {
    padding: 1.5rem;
    margin: 0 1rem;
  }
  
  .rules-card h3 {
    font-size: 1.25rem;
  }
  
  .rules-list li {
    padding-left: 1.25rem;
    font-size: 0.95rem;
  }
  
  .fee-list li {
    padding-left: 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .rules-card {
    padding: 1rem;
    margin: 0 0.5rem;
  }
  
  .rules-card h3 {
    font-size: 1.1rem;
  }
  
  .rules-list li {
    padding-left: 1rem;
    font-size: 0.9rem;
  }
  
  .fee-list li {
    padding-left: 1rem;
    font-size: 0.85rem;
  }
}

/* ========================================
   DASHBOARD STYLES
   ======================================== */

.dashboard-container {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.dashboard-sidebar {
  background: var(--glass-bg);
  border-right: 1px solid var(--glass-border);
  padding: 20px;
}

.dashboard-content {
  padding: 20px;
}

/* Modern Dashboard Styles */
.dashboard-body {
  background: var(--bg);
  color: #e6eef7;
  font-family: var(--font-sans);
  margin: 0;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  z-index: 1000;
  transition: transform 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}

.sidebar-header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sidebar-header .logo i {
  font-size: 24px;
  color: var(--accent);
}

.sidebar-header .logo span {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 14px;
  opacity: 0.7;
  font-weight: 500;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-item {
  margin: 4px 0;
}

.nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  margin: 0 8px;
  transition: all 0.2s ease;
}

.nav-item a:hover {
  background: rgba(255,255,255,0.05);
}

.nav-item.active a {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.15), rgba(192, 132, 252, 0.15));
  border: 1px solid rgba(125, 211, 252, 0.3);
  color: var(--accent);
}

.nav-item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
}

.logout-btn {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: rgba(255, 59, 48, 0.2);
  border-color: rgba(255, 59, 48, 0.5);
}

/* Main Content */
.main-content {
  margin-left: 280px;
  min-height: 100vh;
  background: var(--bg);
}

.top-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--glass-border) !important;
  padding: 15px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  min-height: 70px !important;
  width: 100% !important; /* Full width on mobile */
  box-sizing: border-box !important;
  left: 0 !important; /* Reset left position on mobile */
  overflow: visible !important;
  margin: 0 !important;
  transform: none !important;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
  overflow: visible;
}

#page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  overflow: visible; /* Changed from hidden to visible */
  text-overflow: clip; /* Changed from ellipsis to clip */
  max-width: 100%;
  flex: 1;
  text-align: left;
  display: block !important; /* Force display */
  visibility: visible !important;
  opacity: 1 !important;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-shrink: 0;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--glass-border);
  min-height: 48px;
  min-width: 0;
  flex-shrink: 0;
  white-space: nowrap;
  position: relative; /* Ensure proper positioning */
  z-index: 10; /* Higher than background */
}

.user-menu:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

.user-avatar {
  display: flex;
  align-items: center;
}

.user-avatar i {
  font-size: 32px;
  color: var(--accent);
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-info span {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}

.user-info small {
  opacity: 0.7;
  font-size: 12px;
  line-height: 1.2;
}

/* Content Container */
.content-container {
  padding: 32px;
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

/* Overview Grid */
.overview-grid {
  display: grid;
  gap: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 8px 32px rgba(125, 211, 252, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(192, 132, 252, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent);
}

.stat-content h3 {
  margin: 0 0 4px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2; /* Ensure proper line height */
  padding: 0; /* Remove any padding that might cause cut-off */
  overflow: visible; /* Ensure text is fully visible */
}

.stat-content p {
  margin: 0;
  opacity: 0.7;
  font-size: 14px;
  line-height: 1.4;
}

/* Quick Actions */
.quick-actions {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
}

.quick-actions h2 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.action-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3);
}

.action-btn.secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: inherit;
}

.action-btn.secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(125, 211, 252, 0.3);
}

/* Recent Activity */
.recent-activity {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
}

.recent-activity h2 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 600;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(192, 132, 252, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.activity-content p {
  margin: 0 0 4px 0;
  font-weight: 500;
}

.activity-content small {
  opacity: 0.6;
  font-size: 12px;
}

/* Profile Grid */
.profile-grid {
  display: grid;
  gap: 24px;
}

.profile-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
}

.profile-card.main {
  grid-column: 1 / -1;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.profile-avatar i {
  font-size: 64px;
  color: var(--accent);
}

.profile-info h3 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 600;
}

.profile-info p {
  margin: 0 0 8px 0;
  opacity: 0.7;
  font-size: 14px;
}

.profile-status {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(52, 199, 89, 0.2);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #34c759;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item label {
  font-size: 12px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-item span {
  font-size: 16px;
  font-weight: 500;
}

.security-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.security-btn {
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: inherit;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.security-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(125, 211, 252, 0.3);
}

/* Buttons */
.primary-btn, .secondary-btn, .edit-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  text-decoration: none;
}

.btn {
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  text-decoration: none;
  min-height: 40px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: inherit;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

.btn-danger {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}

.btn-danger:hover {
  background: rgba(255, 59, 48, 0.2);
  border-color: rgba(255, 59, 48, 0.5);
  transform: translateY(-2px);
}

/* Registration Cards */
.registration-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  overflow: visible; /* Ensure buttons are not cut off */
  position: relative; /* For proper button positioning */
}

.registration-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 8px 32px rgba(125, 211, 252, 0.1);
}

.registration-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  overflow: visible;
}

.registration-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  overflow: visible;
}

.registration-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0; /* Prevent status from shrinking */
}

.registration-status.pending {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.registration-status.confirmed {
  background: rgba(52, 199, 89, 0.2);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #34c759;
}

.registration-status.rejected {
  background: rgba(255, 59, 48, 0.2);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}

.registration-details {
  margin-bottom: 20px;
  overflow: visible;
}

.registration-details p {
  margin: 0 0 8px 0;
  font-size: 14px;
  overflow: visible;
}

.registration-details strong {
  color: var(--accent);
}

.registration-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.registration-actions .btn {
  flex: 1;
  min-width: 100px;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.registration-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  border: none;
}

.registration-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3);
}

.registration-actions .btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: inherit;
}

.registration-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

.registration-actions .btn-danger {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}

.registration-actions .btn-danger:hover {
  background: rgba(255, 59, 48, 0.2);
  border-color: rgba(255, 59, 48, 0.5);
  transform: translateY(-2px);
}

/* Events Grid */
.events-grid {
  display: grid;
  gap: 20px;
}

.event-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: inherit;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.2), rgba(192, 132, 252, 0.2));
  border-color: rgba(125, 211, 252, 0.3);
  color: var(--accent);
}

/* Invitee Codes */
.invitee-codes-container {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
}

.codes-grid {
  display: grid;
  gap: 20px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 16px;
}

.empty-state h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
}

.empty-state p {
  margin: 0 0 24px 0;
  opacity: 0.7;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Referrals */
.referral-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.8;
}

.stat-item strong {
  color: var(--accent);
  font-size: 16px;
}

.referrals-container {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
}

.referrals-list {
  display: grid;
  gap: 16px;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 0;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  padding: 24px 24px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.close-modal {
  background: none;
  border: none;
  color: inherit;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.close-modal:hover {
  background: rgba(255,255,255,0.1);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}

.form-group small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.6;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    margin-left: 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .content-container {
    padding: 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .profile-details {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .modal-content {
    width: 95%;
    margin: 20px;
  }
}

/* Hidden class */
.hidden {
  display: none !important;
}

/* Test page styles */
.test-item {
  padding: 12px;
  margin: 8px 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.test-item strong {
  color: var(--accent);
}

/* Admin Section Styles */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.admin-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.admin-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.admin-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-border);
}

.admin-card-header i {
  font-size: 24px;
  color: var(--accent);
}

.admin-card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.admin-card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Admin Actions and Export Buttons */
.admin-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.export-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.export-btn:hover {
  background: linear-gradient(135deg, #059669, #047857);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.admin-toolbar {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-box input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  background: var(--glass-bg);
  color: var(--text-primary);
}

.search-box i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.filter-options {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-options select {
  padding: 8px 12px;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 14px;
}

/* Participants Grid */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.participant-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.participant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.admin-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.2);
  color: var(--accent);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.admin-btn:hover {
  background: rgba(125, 211, 252, 0.15);
  border-color: rgba(125, 211, 252, 0.3);
  transform: translateY(-1px);
}

.admin-btn i {
  font-size: 16px;
}

/* Admin-only navigation items */
.admin-only {
  display: none;
}

.admin-only.show {
  display: block;
}

/* Beautiful Login Page Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.animated-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Animated Stars */
.stars-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

.star-1 { width: 2px; height: 2px; top: 10%; left: 20%; animation-delay: 0s; }
.star-2 { width: 3px; height: 3px; top: 15%; left: 80%; animation-delay: 0.5s; }
.star-3 { width: 1px; height: 1px; top: 25%; left: 40%; animation-delay: 1s; }
.star-4 { width: 2px; height: 2px; top: 35%; left: 70%; animation-delay: 1.5s; }
.star-5 { width: 3px; height: 3px; top: 45%; left: 10%; animation-delay: 2s; }
.star-6 { width: 1px; height: 1px; top: 55%; left: 90%; animation-delay: 2.5s; }
.star-7 { width: 2px; height: 2px; top: 65%; left: 30%; animation-delay: 0.3s; }
.star-8 { width: 3px; height: 3px; top: 75%; left: 60%; animation-delay: 0.8s; }
.star-9 { width: 1px; height: 1px; top: 85%; left: 15%; animation-delay: 1.3s; }
.star-10 { width: 2px; height: 2px; top: 95%; left: 85%; animation-delay: 1.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* SVG Container */
.svg-container {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.rocket-svg {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 120px;
  height: 120px;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 20px rgba(125, 211, 252, 0.5));
}

.robot-svg {
  position: absolute;
  bottom: 15%;
  left: 10%;
  width: 100px;
  height: 100px;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 15px rgba(160, 233, 168, 0.5));
}

/* SVG Animations */
@keyframes rocketBounce {
  0%, 100% { transform: translateY(0) scale(1.1) rotate(5deg); }
  50% { transform: translateY(-20px) scale(1.2) rotate(10deg); }
}

@keyframes robotWave {
  0%, 100% { transform: scale(1.1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(-5deg); }
  75% { transform: scale(1.1) rotate(5deg); }
}

/* Login Content */
.login-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 10;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 28px;
  font-weight: 700;
}

.login-header .logo i {
  color: var(--accent);
  font-size: 32px;
}

.login-header .logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-header h1 {
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

.login-header p {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Form Styling */
.login-form {
  margin-bottom: 24px;
}

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

.input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}



.login-form input {
  width: 100% !important;
  padding: 16px 16px 16px 52px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: var(--text-primary) !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  text-indent: 0 !important;
  line-height: 1.5 !important;
}

/* Password toggle button */
.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  z-index: 2;
}

.password-toggle:hover {
  background: rgba(125, 211, 252, 0.1);
  color: var(--accent-2);
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.95);
}

/* Adjust password input padding to accommodate toggle button */
.login-form input[type="password"] {
  padding-right: 60px !important;
}

.login-form input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
  text-indent: 0;
}

/* Additional icon positioning fixes */
.input-wrapper .input-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2 !important;
  color: var(--accent) !important;
  font-size: 18px !important;
  pointer-events: none !important;
}

/* Override any global input styles for login form */
#login-form input,
.login-form input,
.login-content input {
  padding: 16px 16px 16px 52px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: var(--text-primary) !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
  text-indent: 0 !important;
  line-height: 1.5 !important;
}

/* Ensure password input has correct right padding */
#login-form input[type="password"],
.login-form input[type="password"],
.login-content input[type="password"] {
  padding-right: 60px !important;
}



/* Force override of any conflicting styles */
.login-content .input-wrapper input {
  all: unset !important;
  width: 100% !important;
  padding: 16px 16px 16px 52px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  color: var(--text-primary) !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
  text-indent: 0 !important;
  line-height: 1.5 !important;
  font-family: inherit !important;
}

.login-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1);
}

.login-form input:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Login Button */
.login-btn {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(125, 211, 252, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(125, 211, 252, 0.4);
}

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

.login-btn i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.login-btn:hover i {
  transform: translateX(5px);
}

/* Form Links */
.form-links {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  font-size: 14px;
}

.form-links a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.form-links a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

/* Login Footer */
.login-footer {
  text-align: center;
  margin: 24px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

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

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

/* Login Result */
.login-result {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-content {
    margin: 20px;
    padding: 32px 24px;
  }
  
  .rocket-svg {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 5%;
  }
  
  .robot-svg {
    width: 70px;
    height: 70px;
    bottom: 10%;
    left: 5%;
  }
  
  .login-header h1 {
    font-size: 28px;
  }
  
  .form-links {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .login-content {
    padding: 24px 20px;
  }
  
  .rocket-svg, .robot-svg {
    display: none;
  }
}

/* Admin Modal Styles */
.admin-modal {
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
}

.admin-content {
  padding: 20px 0;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  padding: 8px 16px 8px 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  width: 250px;
}

.search-box i {
  position: absolute;
  left: 12px;
  color: var(--accent);
  font-size: 16px;
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.02);
  border-radius: 12px;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.admin-table th {
  background: rgba(125, 211, 252, 0.1);
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.admin-table td {
  color: var(--text-primary);
  font-size: 14px;
}

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

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

/* Form Rows for Admin Forms */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

/* Admin Table Containers */
.events-table-container,
.participants-table-container,
.registrations-table-container {
  max-height: 600px;
  overflow-y: auto;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

/* Host Dashboard Styles */
.host-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.host-stats .stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.host-stats .stat-card h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.8;
}

.host-stats .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.host-events {
  margin-top: 30px;
}

.host-events h4 {
  margin: 0 0 20px 0;
  font-size: 18px;
  color: var(--text-primary);
}

.host-events-list {
  display: grid;
  gap: 16px;
}

/* Analytics Styles */
.analytics-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.analytics-stats .stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.analytics-stats .stat-card h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.8;
}

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

.analytics-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.chart-container {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
}

.chart-container h4 {
  margin: 0 0 20px 0;
  font-size: 16px;
  color: var(--text-primary);
}

.chart-container canvas {
  width: 100%;
  height: 200px;
}

/* Backup & Restore Styles */
.backup-section,
.restore-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.backup-section h4,
.restore-section h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
  color: var(--text-primary);
}

.backup-section p,
.restore-section p {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.8;
}

/* Slots Container */
.slots-container {
  max-height: 400px;
  overflow-y: auto;
}

.slots-list {
  display: grid;
  gap: 16px;
}

.slot-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slot-info h5 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: var(--text-primary);
}

.slot-info p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.8;
}

.slot-actions {
  display: flex;
  gap: 8px;
}

/* Checkbox Styles */
.admin-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

/* Action Buttons in Tables */
.action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 2px;
}

.edit-btn {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

.edit-btn:hover {
  background: rgba(59, 130, 246, 0.2);
}

.delete-btn {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.delete-btn:hover {
  background: rgba(239, 68, 68, 0.2);
}

.view-btn {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.view-btn:hover {
  background: rgba(34, 197, 94, 0.2);
}

/* Status Badges */
.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.status-draft {
  background: rgba(156, 163, 175, 0.1);
  color: #9ca3af;
}

.status-upcoming {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.status-ongoing {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.status-completed {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

/* Responsive Admin Tables */
@media (max-width: 1024px) {
  .admin-table {
    font-size: 12px;
  }
  
  .admin-table th,
  .admin-table td {
    padding: 8px 12px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .analytics-charts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-toolbar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .search-box input {
    width: 100%;
  }
  
  .admin-table {
    display: block;
    overflow-x: auto;
  }
  
  .host-stats,
  .analytics-stats {
    grid-template-columns: 1fr;
  }
}

/* Image Upload Styles */
.image-upload-container {
  position: relative;
  width: 100%;
}

.image-upload-container input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.image-preview {
  border: 2px dashed var(--glass-border);
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  transition: all 0.3s ease;
  cursor: pointer;
}

.image-preview:hover {
  border-color: var(--accent);
  background: rgba(125, 211, 252, 0.05);
}

.image-preview i {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.7;
}

.image-preview p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.image-preview.has-image {
  padding: 20px;
  border-style: solid;
}

.image-preview.has-image img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.image-preview.has-image i,
.image-preview.has-image p {
  display: none;
}

/* Upcoming Events Grid */
.upcoming-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.event-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.event-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.event-category {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(125, 211, 252, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.event-details {
  margin-bottom: 20px;
}

.event-detail {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.event-detail i {
  width: 16px;
  margin-right: 8px;
  color: var(--accent);
}

.event-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.8;
}

.event-actions {
  display: flex;
  gap: 12px;
}

.event-actions .btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.event-actions .btn-primary {
  background: var(--accent);
  color: white;
}

.event-actions .btn-primary:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
}

.event-actions .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.event-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

.event-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.event-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.event-status.upcoming {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.event-status.ongoing {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.event-status.completed {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.event-status.draft {
  background: rgba(156, 163, 175, 0.1);
  color: #9ca3af;
}

/* Registration Status */
.registration-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.registration-status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.registration-status.approved {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.registration-status.rejected {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Responsive Events Grid */
@media (max-width: 768px) {
  .upcoming-events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .event-card {
    padding: 20px;
  }
  
  .event-title {
    font-size: 18px;
  }
  
  .event-actions {
    flex-direction: column;
  }
}

/* Invitee Code Cards */
.invitee-code-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.invitee-code-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.code-header h4 {
  margin: 0;
  font-size: 18px;
  color: var(--text-primary);
}

.code-text {
  background: rgba(125, 211, 252, 0.1);
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  font-size: 14px;
}

.code-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.code-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.code-stats span {
  background: rgba(255,255,255,0.05);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.code-actions {
  display: flex;
  gap: 12px;
}

.code-actions .btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

/* Registration Cards */
.registration-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  overflow: visible; /* Ensure buttons are not cut off */
  position: relative; /* For proper button positioning */
}

.registration-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 8px 32px rgba(125, 211, 252, 0.1);
}

.registration-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  overflow: visible;
}

.registration-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  overflow: visible;
}

.registration-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0; /* Prevent status from shrinking */
}

.registration-status.pending {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.registration-status.confirmed {
  background: rgba(52, 199, 89, 0.2);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #34c759;
}

.registration-status.rejected {
  background: rgba(255, 59, 48, 0.2);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}

.registration-details {
  margin-bottom: 20px;
  overflow: visible;
}

.registration-details p {
  margin: 0 0 8px 0;
  font-size: 14px;
  overflow: visible;
}

.registration-details strong {
  color: var(--accent);
}

.registration-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.registration-actions .btn {
  flex: 1;
  min-width: 100px;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.registration-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  border: none;
}

.registration-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3);
}

.registration-actions .btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: inherit;
}

.registration-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

.registration-actions .btn-danger {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}

.registration-actions .btn-danger:hover {
  background: rgba(255, 59, 48, 0.2);
  border-color: rgba(255, 59, 48, 0.5);
  transform: translateY(-2px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-state h3 {
  margin: 0 0 16px 0;
  font-size: 24px;
  color: var(--text-primary);
}

.empty-state p {
  margin: 0;
  font-size: 16px;
  opacity: 0.8;
}

/* Hidden Class */
.hidden {
  display: none !important;
}

/* Event Registration Modal Styles */
#event-registration-modal .modal-content {
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

#event-registration-modal .form-group {
  margin-bottom: 20px;
}

#event-registration-modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}

#event-registration-modal .team-member-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

#event-registration-modal .team-member-item .form-row {
  margin-bottom: 0;
}

#event-registration-modal .btn-sm {
  padding: 8px 12px;
  font-size: 12px;
  min-width: auto;
}

#team-members-section {
  background: rgba(125, 211, 252, 0.05);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

#team-members-list {
  margin-bottom: 15px;
}

/* Form validation styles */
#event-registration-modal input:invalid,
#event-registration-modal select:invalid {
  border-color: #ef4444;
}

#event-registration-modal input:valid,
#event-registration-modal select:valid {
  border-color: #10b981;
}

/* Success and error message styles */
.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #event-registration-modal .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  #event-registration-modal .modal-content {
    max-width: 95vw;
    margin: 20px;
  }
}

/* Admin Notifications Styles */
.notifications-list {
  max-height: 400px;
  overflow-y: auto;
}

.notification-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.notification-item.unread {
  border-left: 4px solid var(--accent);
  background: rgba(125, 211, 252, 0.05);
}

.notification-item.read {
  opacity: 0.7;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.notification-type {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.notification-time {
  font-size: 12px;
  color: var(--text-secondary);
}

.notification-content h5 {
  margin: 0 0 8px 0;
  color: var(--text-primary);
  font-size: 14px;
}

.notification-content p {
  margin: 0 0 15px 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.notification-actions {
  display: flex;
  gap: 10px;
}

.notification-actions .btn-sm {
  padding: 6px 12px;
  font-size: 11px;
  min-width: auto;
}

/* Event Registrations Table Styles */
.registrations-table-container {
  max-height: 500px;
  overflow-y: auto;
}

#registrations-table {
  width: 100%;
  border-collapse: collapse;
}

#registrations-table th,
#registrations-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

#registrations-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--text-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

#registrations-table td {
  color: var(--text-secondary);
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.status-pending {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.status-approved {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

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

.status-badge.status-cancelled {
  background: rgba(107, 114, 128, 0.2);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Action Buttons for Registrations */
.action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
  transition: all 0.2s ease;
}

.action-btn.view-btn {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.action-btn.view-btn:hover {
  background: rgba(59, 130, 246, 0.3);
}

.action-btn.approve-btn {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.action-btn.approve-btn:hover {
  background: rgba(34, 197, 94, 0.3);
}

.action-btn.reject-btn {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

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

/* Empty State Styles */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h4 {
  margin: 0 0 10px 0;
  color: var(--text-primary);
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

/* Edit Event Modal Specific Styles */
#edit-event-modal {
  z-index: 2001; /* Higher than other modals */
}

#edit-event-modal .modal-content {
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
}

#edit-event-modal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

#edit-event-modal .form-group {
  margin-bottom: 20px;
}

#edit-event-modal .form-group.full-width {
  grid-column: 1 / -1;
}

#edit-event-modal .form-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  padding: 20px 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 20px;
}

/* Ensure modal is visible */
.modal.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Modal backdrop */
.modal.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: -1;
}

/* User Registration Cards Styles */
.registration-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  overflow: visible; /* Ensure buttons are not cut off */
  position: relative; /* For proper button positioning */
}

.registration-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 8px 32px rgba(125, 211, 252, 0.1);
}

.registration-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  overflow: visible;
}

.registration-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  overflow: visible;
}

.registration-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0; /* Prevent status from shrinking */
}

.registration-status.pending {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.registration-status.confirmed {
  background: rgba(52, 199, 89, 0.2);
  border: 1px solid rgba(52, 199, 89, 0.3);
  color: #34c759;
}

.registration-status.rejected {
  background: rgba(255, 59, 48, 0.2);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}

.registration-details {
  margin-bottom: 20px;
  overflow: visible;
}

.registration-details p {
  margin: 0 0 8px 0;
  font-size: 14px;
  overflow: visible;
}

.registration-details strong {
  color: var(--accent);
}

.registration-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.registration-actions .btn {
  flex: 1;
  min-width: 100px;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.registration-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  border: none;
}

.registration-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3);
}

.registration-actions .btn-secondary {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: inherit;
}

.registration-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

.registration-actions .btn-danger {
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: #ff3b30;
}

.registration-actions .btn-danger:hover {
  background: rgba(255, 59, 48, 0.2);
  border-color: rgba(255, 59, 48, 0.5);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .registration-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .registration-details {
    grid-template-columns: 1fr;
  }
}

/* User Info Display in Admin Table */
.user-info {
  line-height: 1.4;
}

.user-info strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.user-info small {
  color: var(--text-secondary);
  font-size: 11px;
  opacity: 0.8;
  display: block;
  margin-bottom: 1px;
}

/* Admin Table Responsive */
@media (max-width: 1200px) {
  #registrations-table th:nth-child(3),
  #registrations-table td:nth-child(3) {
    min-width: 200px;
  }
}

/* Invitee Code Modal */
.code-name-options {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.code-name-options input {
  flex: 1;
}

.code-name-options button {
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 14px;
}

.full-code-options {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.full-code-options input {
  flex: 1;
}

.full-code-options button {
  white-space: nowrap;
  padding: 8px 12px;
  font-size: 14px;
}

.danger-btn {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.danger-btn:hover {
  background: linear-gradient(135deg, #ff5252, #d32f2f);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 82, 82, 0.3);
}

/* Referrals Display */
.referrals-container {
  margin-top: 20px;
}

.referrals-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.referrals-list .profile-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.referrals-list .profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.referral-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--glass-border);
}

.referral-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.referral-status {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.referral-status.active {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.referral-status.inactive {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
}

.referral-details {
  display: grid;
  gap: 12px;
}

.referral-details .detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.referral-details .detail-item label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.referral-details .detail-item span {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.no-referrals-message {
  text-align: center;
  padding: 40px 20px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--glass-border);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

.mobile-menu-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.close-mobile-menu {
  background: none;
  border: none;
  color: inherit;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.close-mobile-menu:hover {
  background: rgba(255,255,255,0.1);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: inherit;
  text-decoration: none;
  border-radius: 0;
  margin: 0;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-nav-link:hover {
  background: rgba(255,255,255,0.05);
}

.mobile-nav-link i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.mobile-menu-footer {
  padding: 20px;
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
}

/* Mobile Debug Panel */
.mobile-debug-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  z-index: 1000;
  display: none;
}

.mobile-debug-panel.visible {
  display: block;
}

.debug-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.debug-header button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.debug-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.debug-content span {
  color: var(--accent);
  font-weight: 500;
}

/* Mobile Responsiveness Fixes */
@media (max-width: 768px) {
  /* Dashboard specific mobile fixes */
  .dashboard-container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    transform: translateX(-100%); /* Slide out instead of hiding */
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  
  .sidebar.mobile-visible {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0; /* No left margin on mobile */
    padding: 10px;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .top-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    min-height: 70px !important;
    width: 100% !important; /* Full width on mobile */
    box-sizing: border-box !important;
    left: 0 !important; /* Reset left position on mobile */
    overflow: visible !important;
    margin: 0 !important;
    transform: none !important;
  }

  .header-left {
    gap: 12px;
    min-width: 0; /* Allow shrinking */
    flex: 1; /* Take available space */
  }

  .header-right {
    gap: 12px;
    flex-shrink: 0; /* Prevent shrinking */
  }

  #page-title {
    font-size: 20px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
    word-break: break-word;
    text-align: center;
    flex: 1;
    margin: 0 10px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Ensure user menu doesn't get cut off on mobile */
  .user-menu {
    max-width: 150px; /* Limit width on mobile */
    overflow: hidden;
    flex-shrink: 0;
  }

  .user-info {
    overflow: visible;
  }

  .user-info span,
  .user-info small {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  /* Fix overlapping issues */
  .dashboard-section {
    margin-bottom: 20px;
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .section-header {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .section-header h2 {
    text-align: center;
    width: 100%;
  }

  /* Ensure hamburger is visible and styled */
  .hamburger {
    display: block !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border: 2px solid var(--accent);
    padding: 10px;
    border-radius: 10px;
    color: #021122;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
    z-index: 1001;
  }
  
  .hamburger:hover {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 211, 252, 0.4);
  }

  .hamburger:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(125, 211, 252, 0.3);
  }

  /* Mobile Back Button */
  .mobile-back-btn {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-right: 10px;
  }

  .mobile-back-btn.visible {
    display: block;
  }

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

  /* Mobile Options Button (Three Dots) */
  .mobile-options-btn {
    display: block;
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-right: 10px;
  }

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

  /* Hide user menu on mobile, show options button instead */
  .user-menu {
    display: none;
  }

  .mobile-options-btn {
    display: block;
  }

  /* Fix header layout on mobile */
  .top-header {
    padding: 15px 20px;
    min-height: 70px;
    overflow: hidden; /* Prevent text overflow */
  }

  .header-left {
    gap: 12px;
    min-width: 0; /* Allow shrinking */
    flex: 1; /* Take available space */
  }

  .header-right {
    gap: 12px;
    flex-shrink: 0; /* Prevent shrinking */
  }

  #page-title {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  /* Ensure user menu doesn't get cut off on mobile */
  .user-menu {
    max-width: 150px; /* Limit width on mobile */
    overflow: hidden;
  }

  .user-info {
    overflow: hidden;
  }

  .user-info span,
  .user-info small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Fix overlapping issues */
  .dashboard-section {
    margin-bottom: 20px;
    padding: 15px;
  }

  .section-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .admin-actions {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .admin-actions button {
    width: 100%;
  }

  /* Fix table responsiveness */
  .admin-table-container {
    overflow-x: auto;
  }

  .admin-table {
    min-width: 800px;
    font-size: 12px;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px 6px;
  }

  /* Fix form responsiveness */
  .form-row {
    flex-direction: column;
  }

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

  /* Fix modal responsiveness */
  .modal-content {
    width: 95%;
    max-width: none;
    margin: 20px auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Fix button responsiveness */
  .btn {
    padding: 12px 20px; /* Touch-friendly size */
    font-size: 16px; /* Readable text */
    min-height: 44px; /* iOS recommended touch target */
    min-width: 44px; /* iOS recommended touch target */
  }

  /* Ensure all interactive elements are touch-friendly */
  button, a, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }

  /* Larger touch targets for mobile */
  .action-btn {
    padding: 15px 20px;
    font-size: 16px;
  }

  .cta {
    padding: 15px 25px;
    font-size: 18px;
  }

  /* Fix stats grid on mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-content h3 {
    font-size: 28px;
  }

  /* Fix quick actions on mobile */
  .action-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }

  /* Fix landing page mobile issues */
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .glass-card {
    padding: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav-link {
    font-size: 16px;
    padding: 12px 16px;
  }

  /* Landing page specific mobile fixes */
  .container {
    padding: 15px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .logo {
    font-size: 2rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .planet-preview {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .current-event-banner {
    padding: 15px;
  }

  .event-title {
    font-size: 1.2rem;
  }

  .event-details {
    font-size: 0.9rem;
  }

  .winners-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .dashboard-section {
    padding: 10px;
  }

  .admin-table {
    min-width: 600px;
    font-size: 11px;
  }

  .modal-content {
    width: 98%;
    margin: 10px auto;
  }

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

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .glass-card {
    padding: 15px;
  }
}

/* Primary and Secondary Button Styles */
.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #021122;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  text-decoration: none;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3);
}

.secondary-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: inherit;
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  text-decoration: none;
}

.secondary-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--accent);
}

.edit-btn {
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.3);
  color: var(--accent);
  padding: 12px 20px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  text-decoration: none;
}

.edit-btn:hover {
  background: rgba(125, 211, 252, 0.2);
  border-color: rgba(125, 211, 252, 0.5);
}

/* Registrations Grid */
.registrations-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.6);
}

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

.empty-state h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
}

.empty-state p {
  margin: 0 0 24px 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Fix quick actions on mobile */
.action-buttons {
  flex-direction: column;
  gap: 12px;
}

.action-btn {
  width: 100%;
  justify-content: center;
}

/* Fix registration cards on mobile */
.registrations-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.registration-card {
  padding: 16px;
}

.registration-actions {
  flex-direction: column;
  gap: 8px;
}

.registration-actions .btn {
  width: 100%;
  min-width: auto;
  justify-content: center;
  padding: 12px 16px;
  font-size: 16px; /* Larger text for mobile */
}

/* Ensure buttons are visible on mobile */
.btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure registration action buttons are always visible */
.registration-actions {
  display: flex !important;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 10px;
  border-radius: 8px;
}

.registration-actions .btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 1;
  min-width: 100px;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  align-items: center;
  gap: 8px;
  border: none;
  color: white;
  font-weight: 600;
}

.registration-actions .btn-secondary {
  background: linear-gradient(135deg, #64748b, #475569);
}

.registration-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.registration-actions .btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.registration-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Force button visibility */
.btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Debug styles to ensure buttons are visible */
.registration-actions {
  border: 2px solid red !important; /* Debug border */
  background: rgba(255, 0, 0, 0.1) !important; /* Debug background */
}

.registration-actions .btn {
  border: 2px solid blue !important; /* Debug border */
  background: rgba(0, 0, 255, 0.1) !important; /* Debug background */
}

/* Mobile header text fix */
@media (max-width: 768px) {
  .top-header {
    padding: 15px 20px;
    min-height: 70px;
    overflow: visible; /* Allow content to be visible */
  }

  .header-left {
    gap: 12px;
    min-width: 0;
    flex: 1;
    overflow: visible;
  }

  .header-right {
    gap: 12px;
    flex-shrink: 0;
    overflow: visible;
  }

  #page-title {
    font-size: 20px;
    white-space: normal; /* Allow text to wrap on mobile */
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
    word-break: break-word; /* Break long words */
  }

  /* Ensure user menu doesn't get cut off on mobile */
  .user-menu {
    max-width: 150px;
    overflow: visible;
  }

  .user-info {
    overflow: visible;
  }

  .user-info span,
  .user-info small {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
  overflow: visible;
}

.hamburger {
  display: none; /* Hidden by default on desktop */
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 2px solid var(--accent);
  padding: 10px;
  border-radius: 10px;
  color: #021122; /* Dark text for contrast */
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
}

.hamburger:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(125, 211, 252, 0.4);
}

.hamburger:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(125, 211, 252, 0.3);
}

/* Refresh Button Styles */
.refresh-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

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

.refresh-btn i {
    font-size: 16px;
    animation: spin 1s linear infinite;
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 2px solid var(--accent);
  color: #021122;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.theme-toggle-btn:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(125, 211, 252, 0.4);
}

.theme-toggle-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(125, 211, 252, 0.3);
}

/* Light Theme Variables */
:root[data-theme="light"] {
  --bg: #f8fafc;
  --glass-bg: rgba(0, 0, 0, 0.08);
  --glass-border: rgba(0, 0, 0, 0.15);
  --text-primary: #0f172a;
  --text-secondary: #475569;
}

/* Dark Theme Variables (default) */
:root[data-theme="dark"] {
  --bg: #02030a;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-primary: #e6eef7;
  --text-secondary: #bcd6f6;
}

/* System Theme Detection - Commented out, implement later if needed */
/*
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] {
    --bg: #f8fafc;
    --glass-bg: rgba(0, 0, 0, 0.06);
    --glass-border: rgba(0, 0, 0, 0.12);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
  }
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
    --bg: #02030a;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-primary: #e6eef7;
    --text-secondary: #bcd6f6;
  }
}
*/

/* Modal Styles - Matching UI Theme */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: none;
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { 
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0;
    }
    to { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header i {
    font-size: 18px;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
    color: var(--text-primary);
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Detail Sections in Modal */
.detail-section {
    margin-bottom: 25px;
}

.detail-section h4 {
    color: var(--accent);
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item label {
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 120px;
}

.detail-item span {
    color: var(--text-primary);
    text-align: right;
    flex: 1;
}

/* Status Badge */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
}

.status-badge.approved {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.status-badge.rejected {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.status-badge.confirmed {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

/* Admin Notes */
.admin-notes {
    background: var(--glass-bg);
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    font-style: italic;
    color: var(--text-secondary);
}

/* Form Styles in Modal */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--glass-bg);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

/* Button Styles in Modal */
.modal .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
}

/* Profile and Admin Button Styles */
.profile-btn,
.admin-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.profile-btn:hover,
.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.profile-btn:active,
.admin-btn:active {
    transform: translateY(0);
}

.profile-btn.secondary,
.admin-btn.secondary {
    background: linear-gradient(135deg, #64748b, #475569);
}

.profile-btn.danger,
.admin-btn.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.profile-btn.success,
.admin-btn.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.modal .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
}

.modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(125, 211, 252, 0.3);
}

.modal .btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.modal .btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

.modal .btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.modal .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* Mobile Responsiveness for Modals */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-item label {
        min-width: auto;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .modal .btn {
        width: 100%;
    }
}

/* Admin Table Mobile Responsiveness */
@media (max-width: 768px) {
    /* Ensure the main admin section doesn't scroll horizontally */
    .admin-section {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Only the table container scrolls horizontally */
    .registrations-table-container,
    .participants-table-container {
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        margin: 0; /* Remove negative margins */
        padding: 0; /* Remove extra padding */
        width: 100%;
        max-width: 100vw;
    }
    
    .admin-table {
        font-size: 12px;
        width: 100%;
        min-width: 800px; /* Ensure minimum width for all columns */
        margin: 0;
        border-collapse: collapse;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 8px 6px;
        min-width: 80px;
        white-space: nowrap;
        overflow: visible; /* Show N/A values */
        text-overflow: clip; /* Don't truncate text */
    }
    
    .admin-table th:first-child,
    .admin-table td:first-child {
        min-width: 100px; /* Team Name */
    }
    
    .admin-table th:nth-child(2),
    .admin-table td:nth-child(2) {
        min-width: 80px; /* Leader */
    }
    
    .admin-table th:nth-child(3),
    .admin-table td:nth-child(3) {
        min-width: 60px; /* Age */
    }
    
    .admin-table th:nth-child(4),
    .admin-table td:nth-child(4) {
        min-width: 100px; /* Institute */
    }
    
    .admin-table th:nth-child(5),
    .admin-table td:nth-child(5) {
        min-width: 80px; /* Team Size */
    }
    
    .admin-table th:nth-child(6),
    .admin-table td:nth-child(6) {
        min-width: 200px; /* Event */
    }
    
    .admin-table th:nth-child(7),
    .admin-table td:nth-child(7) {
        min-width: 100px; /* Status */
    }
    
    .admin-table th:nth-child(8),
    .admin-table td:nth-child(8) {
        min-width: 100px; /* Invitee Code */
    }
    
    .admin-table th:nth-child(9),
    .admin-table td:nth-child(9) {
        min-width: 120px; /* Actions */
    }
    
    .admin-table .action-buttons {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 100px;
    }
    
    .admin-table .action-btn {
        padding: 6px 8px;
        font-size: 11px;
        min-width: 80px;
        height: 32px;
    }
    
    .admin-table .status-badge {
        font-size: 10px;
        padding: 4px 8px;
        white-space: nowrap;
    }
    
    /* Custom scrollbar for mobile */
    .registrations-table-container::-webkit-scrollbar,
    .participants-table-container::-webkit-scrollbar {
        height: 8px;
    }
    
    .registrations-table-container::-webkit-scrollbar-track,
    .participants-table-container::-webkit-scrollbar-track {
        background: var(--glass-bg);
        border-radius: 4px;
    }
    
    .registrations-table-container::-webkit-scrollbar-thumb,
    .participants-table-container::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 4px;
    }
    
    .registrations-table-container::-webkit-scrollbar-thumb:hover,
    .participants-table-container::-webkit-scrollbar-thumb:hover {
        background: var(--accent-2);
    }
}

/* Table Action Buttons */
.admin-table .action-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    min-width: 60px;
    justify-content: center;
}

/* Table Headers */
.admin-table th {
    background: var(--glass-bg);
    color: var(--text-primary);
    font-weight: 600;
    text-align: left;
    padding: 12px 8px;
    border-bottom: 2px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Table Cells */
.admin-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--glass-border);
    vertical-align: middle;
    overflow: visible; /* Show N/A values */
    text-overflow: clip; /* Don't truncate text */
    white-space: nowrap; /* Keep text on one line */
}

/* Table Row Hover */
.admin-table tbody tr:hover {
    background: var(--glass-bg);
    transform: translateX(2px);
    transition: all 0.2s ease;
}

.admin-table .view-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.admin-table .edit-btn {
    background: linear-gradient(135deg, #10b981, #059669);
}

.admin-table .delete-btn {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.admin-table .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.admin-table .action-btn i {
    font-size: 14px;
}

/* Empty data styling */
.empty-data {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 12px;
}

/* Participant Cards */
.participant-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.participant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.participant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.participant-header h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.participant-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.participant-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Mobile Responsiveness for Admin Actions */
@media (max-width: 768px) {
    /* Fix button sizing and prevent horizontal overflow */
    .admin-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .admin-actions button {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    .admin-toolbar {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 8px;
        width: 100%;
        max-width: 100%;
    }
    
    .filter-options select {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    .search-box {
        width: 100%;
        max-width: 100%;
    }
    
    .search-box input {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        font-size: 14px;
        box-sizing: border-box;
    }
    
    /* Mobile table scroll indicator */
    .registrations-table-container::before,
    .participants-table-container::before {
        content: '← Scroll →';
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--accent);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        z-index: 20;
        white-space: nowrap;
    }
    
    /* Ensure proper spacing for scroll indicator */
    .registrations-table-container,
    .participants-table-container {
        position: relative;
        margin-top: 40px;
    }
    
    /* Prevent admin section from scrolling horizontally */
    .admin-section {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Ensure section headers don't overflow */
    .section-header {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .section-header h3 {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        word-wrap: break-word;
    }
}

/* Warning Message Styles */
.warning-message {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
}

.warning-message i {
    font-size: 48px;
    color: #f59e0b;
    margin-bottom: 15px;
}

.warning-message h4 {
    color: #f59e0b;
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.warning-message p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.warning-note {
    background: var(--glass-bg);
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    margin-top: 20px;
}

.warning-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}


/* ========================================
   PAYMENT SECTION STYLES
   ======================================== */

.payment-container {
    display: grid;
    gap: 24px;
    max-width: 800px;
}

/* Development Notice */
.development-notice {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.notice-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.notice-header i {
    font-size: 24px;
    color: #3b82f6;
}

.notice-header h3 {
    margin: 0;
    color: #3b82f6;
    font-size: 20px;
    font-weight: 600;
}

.notice-content p {
    margin: 0;
    opacity: 0.8;
    font-size: 16px;
}

/* Payment Card */
.payment-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.payment-card-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-card-header i {
    font-size: 20px;
    color: #22c55e;
}

.payment-card-header h3 {
    margin: 0;
    color: #22c55e;
    font-size: 18px;
    font-weight: 600;
}

.payment-card-content {
    padding: 24px;
}

/* UPI Details */
.upi-details {
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
}

.upi-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upi-info label {
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
}

.upi-id {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
}

.upi-id span {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    flex: 1;
}

.copy-btn {
    background: rgba(125, 211, 252, 0.2);
    border: 1px solid rgba(125, 211, 252, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.copy-btn:hover {
    background: rgba(125, 211, 252, 0.3);
    border-color: rgba(125, 211, 252, 0.5);
}

.payment-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
}

.payment-amount label {
    font-weight: 600;
    color: var(--accent);
    font-size: 14px;
}

.amount {
    font-size: 18px;
    font-weight: 700;
    color: #22c55e;
}

/* Payment Steps */
.payment-steps {
    margin-bottom: 24px;
}

.payment-steps h4 {
    margin: 0 0 16px 0;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
}

.payment-steps ol {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.payment-steps li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

/* Payment Notes */
.payment-notes {
    margin-bottom: 24px;
}

.payment-notes h4 {
    margin: 0 0 16px 0;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.note-item i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.note-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

/* Payment Example */
.payment-example {
    margin-bottom: 24px;
}

.payment-example h4 {
    margin: 0 0 16px 0;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
}

.example-note {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
}

.example-note code {
    color: #22c55e;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

/* Payment Status */
.payment-status-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.status-header {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.1));
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-header i {
    font-size: 20px;
    color: #f59e0b;
}

.status-header h3 {
    margin: 0;
    color: #f59e0b;
    font-size: 18px;
    font-weight: 600;
}

.status-content {
    padding: 24px;
}

.status-info {
    margin-bottom: 24px;
}

.status-info p {
    margin: 0 0 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

/* Timeline */
.status-timeline {
    display: grid;
    gap: 20px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.2);
    border: 2px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timeline-icon i {
    color: #22c55e;
    font-size: 16px;
}

.timeline-icon.pending {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.timeline-icon.pending i {
    color: #f59e0b;
}

.timeline-content h5 {
    margin: 0 0 4px 0;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .payment-container {
        padding: 0 16px;
    }
    
    .payment-card-content {
        padding: 20px;
    }
    
    .upi-id {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .payment-amount {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .timeline-item {
        gap: 12px;
    }
    
    .timeline-icon {
        width: 32px;
        height: 32px;
    }
    
    .timeline-icon i {
        font-size: 14px;
    }
}