@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #0d9488;
  --secondary-hover: #0f766e;
  --secondary-light: #f0fdfa;
  --accent: #4f46e5;
  --accent-light: #e0e7ff;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --success: #10b981;
  --success-light: #ecfdf5;
  
  /* Neutrals */
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --border-focus: #cbd5e1;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Shadow & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  
  /* Transition */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  touch-action: manipulation;
  background-color: var(--bg-app);
}

body {
  font-family: var(--font-body);
  background-color: transparent;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  touch-action: manipulation;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; 
  width: 100vw; height: 100vh;
  background-image: url('adinkra_bg.png');
  background-repeat: repeat;
  background-size: 300px;
  opacity: 0.025;
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-teal {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.logo-text-accent {
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.custom-tag-icon {
  width: 22px;
  height: 22px;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  gap: 8px;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--bg-app);
  border-color: var(--border-focus);
}

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

.btn-accent:hover {
  background-color: #4338ca;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary-light);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  font-size: 24px;
  color: var(--text-main);
}

@media (max-width: 992px) {
  .menu-btn {
    display: none !important;
  }
  
  .nav-links {
    display: none; /* Controlled by mobile nav drawer */
  }
  
  .nav-auth {
    display: none;
  }
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background-color: var(--bg-card);
  z-index: 99;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-110%);
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-app);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
}

.mobile-auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* VIEWS CONTAINER */
.view-container {
  min-height: calc(100vh - 72px);
  padding-top: 72px;
}

.view {
  display: none;
}

.view.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

/* HERO SECTION */
.hero {
  position: relative;
  background: radial-gradient(circle at 90% 10%, rgba(224, 231, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(240, 253, 250, 0.4) 0%, rgba(255, 255, 255, 0) 60%);
  overflow: hidden;
  padding: 100px 0;
}

/* Hero Carousel Slider Styles */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Dots navigation */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* Slide 2 Custom Background Gradient Overlay */
.hero-slide:nth-child(2) {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
}

/* Dribbble Inspired UI Elements */
.dribbble-ticket-promo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 6px 6px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
}

.dribbble-ticket-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dribbble-ticket-btn:hover {
  transform: scale(1.1);
  background-color: var(--primary-hover);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

.dribbble-huge-title {
  font-size: 52px !important;
  font-weight: 900 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 12px !important;
  color: var(--text-main);
  text-transform: uppercase;
}

.dribbble-date-banner {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  font-family: var(--font-heading);
}

.dribbble-stats-row {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.dribbble-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dribbble-stat h3 {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--text-main);
  margin: 0;
  line-height: 1 !important;
  font-family: var(--font-heading);
}

.dribbble-stat h3 sup {
  color: var(--primary);
  font-size: 15px;
  margin-left: 2px;
}

.dribbble-stat p {
  font-size: 9px !important;
  font-weight: 700 !important;
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .dribbble-huge-title {
    font-size: 32px !important;
    line-height: 1.1 !important;
    text-align: center;
  }
  .dribbble-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .dribbble-ticket-promo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 20px auto;
    font-size: 12px;
  }
  .dribbble-stats-row {
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
  }
  .dribbble-stat h3 {
    font-size: 22px !important;
  }
  .dribbble-date-banner {
    font-size: 12px;
    padding: 4px 10px;
    margin-bottom: 20px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.hero-image-container {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.hero-image {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  background-color: #e2e8f0;
}

.hero-stats-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: white;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 992px) {
  .hero {
    padding: 60px 0 80px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats-badge {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    justify-content: space-around;
  }
}

/* SECTION TITLES */
.section-title-wrapper {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-title-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* CARDS GRID */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

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

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

/* CARD SYSTEM */
.card {
  background-color: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* TRACK CARDS */
.track-card {
  border: 1.5px solid var(--border) !important;
  transition: var(--transition);
}

.track-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.15) !important;
}

.track-card:nth-child(2):hover {
  border-color: var(--secondary) !important;
  box-shadow: 0 10px 20px -10px rgba(13, 148, 136, 0.15) !important;
}

.track-card:nth-child(3):hover {
  border-color: var(--accent) !important;
  box-shadow: 0 10px 20px -10px rgba(79, 70, 229, 0.15) !important;
}

.track-card .card-icon {
  background-color: var(--primary-light);
  color: var(--primary);
}

.track-card:nth-child(2) .card-icon {
  background-color: var(--secondary-light);
  color: var(--secondary);
}

.track-card:nth-child(3) .card-icon {
  background-color: var(--accent-light);
  color: var(--accent);
}

/* PRIZE CARDS */
.prizes-section {
  background-color: #f1f5f9;
}

.prize-card {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.prize-rank {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.prize-amount {
  font-size: 40px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 16px;
}

.prize-card.grand {
  border-color: rgba(37, 99, 235, 0.3);
  background: linear-gradient(to bottom, #ffffff, var(--primary-light));
}

.prize-card.grand::after {
  content: 'POPULAR';
  position: absolute;
  top: 15px;
  right: -30px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 30px;
  transform: rotate(45deg);
}

/* TIMELINE STYLES */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px;
  margin-bottom: 48px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-dot {
  position: absolute;
  top: 8px;
  right: -12px;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: white;
  border: 4px solid var(--primary);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -12px;
  right: auto;
}

.timeline-item.active .timeline-dot {
  background-color: var(--primary);
  box-shadow: 0 0 0 6px var(--primary-light);
}

.timeline-item.completed .timeline-dot {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.timeline-content {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.timeline-content:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 24px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 56px;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-dot {
    left: 14px !important;
    right: auto !important;
  }
}

/* ELIGIBILITY & FAQ */
.faq-section {
  background-color: var(--bg-app);
}

.accordion-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
}

.accordion-icon {
  font-size: 18px;
  transition: var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding-bottom: 20px;
}

.accordion-content p {
  font-size: 14px;
  color: var(--text-muted);
}

/* SPONSORS */
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.sponsor-logo {
  font-size: 22px;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  filter: grayscale(1);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.sponsor-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .sponsors-grid {
    gap: 20px 24px;
  }
  .sponsor-logo {
    font-size: 16px;
  }
}

/* FOOTER */
footer {
  background-color: var(--text-main);
  color: #94a3b8;
  padding: 64px 0 32px;
}

footer h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* LOGIN & REGISTER FORMS */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  padding: 40px 24px;
  background-color: var(--bg-app);
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.auth-card {
  background: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('adinkra_bg.png');
  background-repeat: repeat;
  background-size: 250px;
  opacity: 0.015;
  pointer-events: none;
  z-index: 0;
}

.auth-card > * {
  position: relative;
  z-index: 1;
}

.registration-member-card {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  background: var(--bg-app);
}

.custom-field-textarea-group {
  grid-column: span 2;
}

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

.auth-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 14px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-main);
  background-color: #f1f5f9;
  border: none;
  border-radius: var(--radius-md);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  background-color: white;
  box-shadow: 0 0 0 3px var(--primary-light), 0 0 0 1px var(--primary);
}

/* Dim placeholder style overrides */
.form-control::placeholder {
  color: #94a3b8 !important;
  opacity: 0.8;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.btn-block {
  width: 100%;
  margin-top: 8px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
}

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

/* PORTAL SYSTEM (DASHBOARD LAYOUT) */
.portal-layout {
  min-height: 100vh;
  padding-left: 260px;
}

.portal-sidebar {
  background-color: white;
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.portal-user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

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

.user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.user-role {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.sidebar-item:hover {
  background-color: var(--bg-app);
  color: var(--text-main);
}

.sidebar-item.active {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.portal-content {
  background-color: var(--bg-app);
  padding: 40px;
}

@media (max-width: 992px) {
  .portal-layout {
    padding-left: 0;
  }
  .portal-sidebar {
    display: none; /* In production mobile, you'd toggle this. For simplicity we display menu as tabs on top for mobile */
  }
  .portal-content {
    padding: 20px;
  }
}

/* PORTAL MOBILE HEADERS (TABS FALLBACK) */
.portal-tabs-mobile {
  display: none;
  background: white;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  white-space: nowrap;
  padding: 12px 24px;
}

.portal-tab-mobile {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  margin-right: 8px;
}

.portal-tab-mobile.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

@media (max-width: 992px) {
  .portal-tabs-mobile {
    display: flex;
  }
  .portal-content {
    padding: 24px 16px;
  }
}

/* DASHBOARD VIEWS CONTENT */
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.portal-header h2 {
  font-size: 28px;
  font-weight: 800;
}

.portal-grid-analytics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.analytic-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.analytic-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.analytic-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* STATUS BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-draft {
  background-color: var(--border);
  color: var(--text-muted);
}

.badge-pending {
  background-color: var(--warning-light);
  color: var(--warning);
}

.badge-approved {
  background-color: var(--success-light);
  color: var(--success);
}

.badge-rejected {
  background-color: var(--danger-light);
  color: var(--danger);
}

/* NEWS HUB STYLES */
.news-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background-color: white;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.news-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #cbd5e1;
  object-fit: cover;
}

.news-body {
  padding: 24px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 500;
}

.news-category {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
}

.news-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.news-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* PUBLIC SHOWCASE STYLES */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.showcase-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.showcase-img-container {
  position: relative;
  aspect-ratio: 16/10;
  background-color: #e2e8f0;
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: white;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
}

.showcase-award-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  font-weight: 700;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.showcase-body {
  padding: 24px;
}

.showcase-track {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.showcase-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.showcase-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.showcase-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.showcase-team-name {
  font-weight: 600;
  color: var(--text-main);
}

.showcase-members-count {
  color: var(--text-light);
}

/* RESOURCE CENTER STYLES */
.resource-layout-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 992px) {
  .resource-layout-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.resource-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.resource-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.resource-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.resource-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.resource-info p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.resource-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.resource-link:hover {
  text-decoration: underline;
}

/* LIST & TABLE DETAILS */
.project-list-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.project-list-table th, .project-list-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
}

.project-list-table th {
  background-color: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.project-list-table td {
  border-bottom: 1px solid var(--border);
}

.project-list-table tr:last-child td {
  border-bottom: none;
}

/* Custom Table Styling */
.table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
}

.table th, .table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table th {
  background-color: #f8fafc;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
  font-family: var(--font-heading);
}

.table td {
  font-family: var(--font-body);
  color: var(--text-muted);
}

.table tbody tr {
  transition: background-color 0.15s ease;
}

.table tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.015);
}

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

/* Custom badges and elements inside table */
.ticket-id-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-family: monospace;
  font-size: 12px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.seat-code-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.08);
  color: var(--secondary);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  font-family: monospace;
  font-size: 12px;
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.seat-hidden-badge {
  display: inline-block;
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.btn-delete-ticket {
  background: rgba(239, 68, 68, 0.06);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.btn-delete-ticket:hover {
  background: var(--danger);
  color: white;
  border-color: var(--danger);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* POPUPS / NOTIFICATIONS */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--text-main);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
}

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

.toast-notification span {
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.toast-notification i {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .toast-notification {
    left: 50% !important;
    right: auto !important;
    bottom: 80px !important;
    transform: translate(-50%, 100px) !important;
    width: calc(100% - 40px);
    max-width: 350px;
    justify-content: center;
  }
  .toast-notification.show {
    transform: translate(-50%, 0) !important;
  }
}

/* SUBMISSION DETAIL VIEW */
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.detail-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}

.score-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.score-slider-group {
  margin-bottom: 12px;
}

.score-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.score-slider {
  width: 100%;
  accent-color: var(--primary);
}

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

/* HERO SECTION BG GRAPHICS */
.hero-graphic {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(80px);
  z-index: -1;
  opacity: 0.3;
}

.hero-graphic-1 {
  top: 10%;
  right: 10%;
  width: 300px;
  height: 300px;
  background-color: var(--primary);
}

.hero-graphic-2 {
  bottom: 20%;
  left: 5%;
  width: 250px;
  height: 250px;
  background-color: var(--secondary);
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(24px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.1), transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  max-width: 90vw;
  width: max-content;
  text-align: center;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

@media (min-width: 769px) {
  .toast-notification {
    bottom: 32px;
  }
}

/* FILE UPLOAD DROP ZONE — Premium Design */
.file-upload-zone {
  border: 2px dashed var(--border-focus);
  border-radius: var(--radius-md);
  padding: 0;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  background: var(--bg-app);
  position: relative;
  overflow: hidden;
}

/* ---- Idle inner area ---- */
.file-upload-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 24px 28px;
  transition: opacity 0.2s ease;
}

/* ---- Icon wrap with animated ring ---- */
.file-upload-icon-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.file-upload-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.35;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.file-upload-icon {
  font-size: 26px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}

.file-upload-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

.file-upload-hint {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* ---- Hidden file input overlay ---- */
.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* ---- Hover state ---- */
.file-upload-zone:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 8%, transparent);
}

.file-upload-zone:hover .file-upload-icon-ring {
  opacity: 0.7;
  transform: scale(1.08);
}

.file-upload-zone:hover .file-upload-icon {
  transform: translateY(-3px);
}

/* ---- Drag-over state ---- */
.file-upload-zone.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
}

.file-upload-zone.drag-over .file-upload-icon-ring {
  opacity: 1;
  animation: ring-pulse 0.9s ease-in-out infinite;
}

.file-upload-zone.drag-over .file-upload-icon {
  transform: translateY(-5px) scale(1.1);
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.4; }
}

/* ---- Selected / File loaded state ---- */
.file-upload-zone.file-selected {
  border-color: var(--success);
  border-style: solid;
  background: var(--success-light, #f0fdf4);
  cursor: default;
}

.file-upload-zone.file-selected input[type="file"] {
  pointer-events: none;
}

/* ---- File info chip (shown after selection) ---- */
.file-upload-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.file-upload-type-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--success), #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.file-upload-type-icon.pdf   { background: linear-gradient(135deg, #ef4444, #dc2626); }
.file-upload-type-icon.docx  { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.file-upload-type-icon.pptx  { background: linear-gradient(135deg, #f97316, #ea580c); }

.file-upload-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-upload-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-upload-size {
  font-size: 11px;
  color: var(--text-light);
}

.file-upload-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--danger-light, #fef2f2);
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
  color: var(--danger);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
  z-index: 3;
  position: relative;
}

.file-upload-remove:hover {
  background: var(--danger);
  color: white;
  transform: scale(1.1);
}

/* ---- Upload progress bar ---- */
.upload-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.upload-progress-track {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.upload-progress-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  min-width: 32px;
  text-align: right;
}

/* DIALOG MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  transform: scale(0.95);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.modal-body {
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}
.modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.modal.open .modal-content {
  transform: scale(1);
}

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

.modal-header h3 {
  font-size: 22px;
}

.modal-close {
  font-size: 24px;
  color: var(--text-light);
}

.modal-close:hover {
  color: var(--text-main);
}

/* VIEWPORT ZOOM LOCK, TEXT SELECT & BLUE TAP OVERRIDES */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

* {
  -webkit-tap-highlight-color: transparent !important;
}

/* MOBILE BOTTOM NAVIGATION BAR */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(15, 23, 42, 0.9); /* Premium dark glassmorphic header matching theme */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: none; /* Hidden on desktop */
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  z-index: 9999;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s ease;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.mobile-bottom-nav-item i {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.mobile-bottom-nav-item:hover,
.mobile-bottom-nav-item.active {
  color: #6366f1; /* Glowing indigo primary color */
}

.mobile-bottom-nav-item.active i {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .modal {
    padding: 16px !important;
  }
  .modal-content {
    padding: 24px 20px !important;
    border-radius: var(--radius-md) !important;
  }
  .mobile-bottom-nav {
    display: grid;
  }
  body {
    padding-bottom: 76px !important; /* Ensure viewport fits clean spacing on mobile */
  }
  .container {
    padding: 0 20px !important; /* Force beautiful margin/padding on page edges */
  }
  .grid-3, .resource-grid, .resource-layout-grid {
    grid-template-columns: 1fr !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .auth-main {
    padding: 20px 10px !important;
  }
  .auth-card {
    padding: 20px !important;
  }
  .registration-member-card {
    padding: 12px !important;
  }
  .custom-field-textarea-group {
    grid-column: span 1 !important;
  }
  .hero {
    padding: 40px 0 40px !important;
  }
  .hero h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }
  .hero p {
    font-size: 14px !important;
    margin-bottom: 24px !important;
    line-height: 1.5 !important;
  }
  .hero-grid {
    gap: 32px !important;
  }
  #learn-more-btn {
    display: none !important;
  }
  .hero-tags-wrapper {
    justify-content: center !important;
  }
  #footer-section {
    display: none !important;
  }
}

/* Responsive Branding Styles */
@media (min-width: 769px) {
  .nav-logos {
    display: none !important;
  }
  .page-logos {
    display: inline-flex !important;
  }
}
@media (max-width: 768px) {
  .nav-logos {
    display: flex !important;
    gap: 6px !important;
  }
  .nav-logos img {
    height: 18px !important;
  }
  .nav-logos div {
    height: 14px !important;
  }
  .logo span {
    font-size: 18px !important;
  }
  .logo-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
  }
  .page-logos {
    display: none !important;
  }
}

/* FLOATING TICKET CSS */
.floating-ticket {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.floating-ticket:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.floating-ticket-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-ticket-content i {
  font-size: 20px;
  color: var(--primary);
}

/* Mobile responsive override */
@media (max-width: 768px) {
  .floating-ticket {
    bottom: 76px;
    left: 16px;
    right: 16px;
    padding: 10px 14px;
    justify-content: space-between;
  }
}

/* Floating Leaderboard Widget */
.floating-leaderboard {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 12px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUpFade 0.6s ease-out forwards;
}

.floating-leaderboard:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
}

.floating-leaderboard-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-leaderboard-content i {
  background: linear-gradient(135deg, var(--warning), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 24px;
}

@media (max-width: 768px) {
  .floating-leaderboard {
    bottom: 140px; /* Above mobile nav and ticket */
    left: 16px;
    right: 16px;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
    justify-content: space-between;
  }
}


/* Horizontal ticket responsive rules */
@media (max-width: 540px) {
  #hatchpoint-attendance-ticket {
    min-height: 160px !important;
  }
  #hatchpoint-attendance-ticket > div:first-child {
    padding: 12px !important;
    gap: 8px !important;
  }
  #hatchpoint-attendance-ticket > div:last-child {
    padding: 12px !important;
  }
  #hatchpoint-attendance-ticket strong {
    font-size: 11px !important;
  }
  #hatchpoint-attendance-ticket span {
    font-size: 7.5px !important;
  }
  #hatchpoint-attendance-ticket div[style*="grid-template-columns"] {
    gap: 6px !important;
    padding-top: 8px !important;
  }
  #hatchpoint-attendance-ticket div[style*="margin-top: auto"] {
    margin-top: 4px !important;
  }
  #hatchpoint-attendance-ticket div[style*="left: calc"] {
    left: calc(68.5% - 4px) !important;
  }
  #hatchpoint-attendance-ticket div[style*="width: 12px; height: 12px"] {
    width: 8px !important;
    height: 8px !important;
  }
}

/* Modal Title responsive optimization */
@media (max-width: 768px) {
  .modal-header h3 {
    font-size: 18px !important;
  }
}

/* Custom padding to prevent registration card from being covered by fixed navbar */
.register-main {
  padding-top: 112px !important;
}
@media (max-width: 768px) {
  .register-main {
    padding-top: 96px !important; /* Extra spacing to prevent overlap on mobile */
  }
}

/* Rules & Guidelines Popup Modal */
.rules-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 16px;
}

.rules-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.rules-modal-card {
  background: var(--bg-card);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: translateY(24px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rules-modal-overlay.active .rules-modal-card {
  transform: translateY(0) scale(1);
}

.rules-modal-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 24px;
  color: white;
  display: flex;
  align-items: center;
  gap: 16px;
}

.rules-modal-header i {
  font-size: 28px;
  color: white;
}

.rules-modal-header h3 {
  color: white;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.rules-modal-body {
  padding: 24px;
  max-height: 60vh;
  overflow-y: auto;
}

.rules-modal-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rules-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.rules-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.rules-item:nth-child(2) .rules-icon-wrap {
  background: var(--secondary-light);
  color: var(--secondary);
}

.rules-item:nth-child(3) .rules-icon-wrap {
  background: var(--accent-light);
  color: var(--accent);
}

.rules-item-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.rules-item-content p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

.rules-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-app);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rules-agree-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.rules-agree-label {
  display: flex;
  flex-direction: column;
}

.rules-agree-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.rules-agree-desc {
  font-size: 11px;
  color: var(--text-light);
}

/* Custom CSS Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-focus);
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

input:checked + .slider {
  background-color: var(--primary);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Registration Form Card Transitions */
#register-card.hidden {
  display: none !important;
  opacity: 0;
}

#register-card.visible {
  display: block !important;
  animation: cardFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Skeleton Loading Animation & Placeholders */
@keyframes pulse {
  0% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
  100% {
    opacity: 0.45;
  }
}

.skeleton {
  animation: pulse 1.6s infinite ease-in-out;
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  pointer-events: none;
}

.skeleton-text {
  height: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.skeleton-title {
  height: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.skeleton-img {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

/* Auditorium Seating Styles */
.seating-chart-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin: 20px 0;
  width: 100%;
}

.seating-row {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.seat-node {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  font-family: monospace;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  position: relative;
}

.seat-node.available {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
}

.seat-node.available:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.seat-node.booked {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

.seat-node.booked:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.seat-node.vip::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 5px;
  height: 5px;
  background: #f59e0b;
  border-radius: 50%;
}

/* Custom Tooltip Styling */
.seating-tooltip {
  position: absolute;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-size: 12px;
  pointer-events: none;
  z-index: 100000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: opacity 0.15s ease;
  opacity: 0;
  max-width: 250px;
}

.seating-tooltip .tooltip-header {
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.seating-tooltip .tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.seating-tooltip .tooltip-label {
  color: #94a3b8;
}

.seating-tooltip .tooltip-val {
  font-weight: 600;
  color: #f1f5f9;
  text-align: right;
  word-break: break-all;
}

/* Modern Live Countdown Widget */
.countdown-widget {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #0f172a; /* Sleek dark slate background for maximum readability */
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
  align-self: flex-start;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 55px;
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  margin-top: -14px;
}

@media (max-width: 768px) {
  .countdown-widget {
    margin: 0 auto 28px auto;
    display: flex;
    justify-content: center;
    align-self: center;
    width: 100%;
    max-width: 340px;
    gap: 10px;
    padding: 10px 14px;
  }
  .countdown-unit {
    min-width: 45px;
  }
  .countdown-num {
    font-size: 22px;
  }
  .countdown-sep {
    font-size: 18px;
    margin-top: -10px;
  }
}


