/* ==========================================================================
   Intensive English Program E25 � Design System & Stylesheet
   Faculty of Engineering, University of Peradeniya (01-04 Group CD)
   ========================================================================== */

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

:root {
  --radius: 0.9rem;
  
  /* Yellow-Red Neon Canvas */
  --background: #0a192f;
  --foreground: #ccd6f6;
  --card: rgba(17, 34, 64, 0.88);
  --card-foreground: #ccd6f6;
  --popover: rgba(17, 34, 64, 0.97);
  --popover-foreground: #ccd6f6;

  /* Neon Hues & Accents � Yellow/Red palette */
  --neon-cyan:    #64ffda;   /* repurposed ? neon yellow   */
  --neon-blue:    #64ffda;   /* repurposed ? neon orange   */
  --neon-electric:#64ffda;   /* repurposed ? hot yellow    */
  --neon-purple:  #0040ff;   /* repurposed ? neon red      */
  --neon-violet:  #0060ff;   /* repurposed ? deep red      */
  --neon-magenta: #0080ff;   /* repurposed ? neon orange-r */
  --neon-emerald: #00ccff;   /* repurposed ? amber         */
  --neon-lime:    #00d4ff;   /* repurposed ? bright yellow */

  /* Primary � Neon Yellow */
  --primary: #64ffda;
  --primary-hover: #52e0c4;
  --primary-foreground: #0a192f;
  --primary-soft: rgba(100, 255, 218, 0.12);
  --primary-glow: rgba(100, 255, 218, 0.40);

  /* Secondary & Muted */
  --secondary: rgba(17, 34, 64, 0.88);
  --secondary-foreground: #ccd6f6;
  --muted: rgba(2, 12, 27, 0.7);
  --muted-foreground: #8892b0;

  /* Accent � Neon Red */
  --accent: #0040ff;
  --accent-foreground: #ffffff;
  --destructive: #ff6b6b;
  --destructive-foreground: #ffffff;

  /* Neon Borders & Glass */
  --border: rgba(100, 255, 218, 0.30);
  --border-subtle: rgba(100, 255, 218, 0.20);
  --input: rgba(100, 255, 218, 0.30);
  --ring: #64ffda;

  /* Contrast Ink Dark Sections */
  --ink: #020c1b;
  --ink-foreground: #e6f1ff;

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Neon Shadows & Glows � Yellow/Red */
  --shadow-neon-cyan:   0 0 15px -2px rgba(100, 255, 218, 0.45);
  --shadow-neon-purple: 0 0 15px -2px rgba(100, 255, 218, 0.45);
  --shadow-neon-glow:   0 0 25px -4px rgba(100, 255, 218, 0.35);
  --shadow-soft: 0 4px 24px -2px rgba(100, 255, 218, 0.10), 0 2px 8px -2px rgba(2, 12, 27, 0.06);
  --shadow-lift: 0 16px 36px -6px rgba(100, 255, 218, 0.22), 0 0 20px rgba(100, 255, 218, 0.25);
  --shadow-sm: 0 1px 3px rgba(100, 255, 218, 0.15), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(2, 12, 27, 0.35);
}

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

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  background-image: 
    radial-gradient(ellipse 65% 55% at 8% 8%, rgba(100, 255, 218, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 92% 14%, rgba(100, 255, 218, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 50% 48%, rgba(100, 255, 218, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 78%, rgba(100, 255, 218, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 12% 92%, rgba(100, 255, 218, 0.05) 0%, transparent 55%);
  background-attachment: fixed;
  color: var(--foreground);
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 600;
}

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

img, svg, video {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: transparent;
}

button {
  cursor: pointer;
}

/* Layout Utilities */
.section-shell {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Header & Nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(100, 255, 218, 0.22);
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px -5px rgba(100, 255, 218, 0.08);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 2.25rem;
  width: 2.25rem;
  object-fit: contain;
}

.brand-text {
  line-height: 1.25;
}

.brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
}

.brand-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--foreground);
  background-color: rgba(100, 255, 218, 0.08);
  border-color: rgba(100, 255, 218, 0.25);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.16), rgba(100, 255, 218, 0.12));
  color: var(--primary);
  border-color: rgba(100, 255, 218, 0.4);
  box-shadow: 0 0 14px rgba(100, 255, 218, 0.22);
  font-weight: 600;
}

.header-actions {
  display: none;
}

@media (min-width: 768px) {
  .header-actions {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 9999px;
  outline: none;
  border: 1px solid transparent;
}

.btn:focus-visible {
  box-shadow: 0 0 0 2px var(--ring);
}

.btn-primary {
  background: linear-gradient(135deg, #64ffda 0%, #64ffda 100%);
  color: var(--primary-foreground);
  box-shadow: 0 2px 10px rgba(100, 255, 218, 0.28), 0 0 16px rgba(100, 255, 218, 0.35);
  border: 1px solid rgba(100, 255, 218, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #64ffda 0%, #52e0c4 100%);
  box-shadow: 0 4px 18px rgba(100, 255, 218, 0.35), 0 0 24px rgba(100, 255, 218, 0.6);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(17, 34, 64, 0.88);
  color: var(--secondary-foreground);
  border: 1px solid rgba(100, 255, 218, 0.28);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 10px rgba(100, 255, 218, 0.1);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: #020c1b;
  border-color: rgba(100, 255, 218, 0.55);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 16px rgba(100, 255, 218, 0.28);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(100, 255, 218, 0.35);
  background-color: rgba(2, 12, 27, 0.75);
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background-color: rgba(100, 255, 218, 0.08);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(100, 255, 218, 0.3);
  transform: translateY(-1px);
}

.btn-sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}

.btn-md {
  height: 2.5rem;
  padding: 0 1.75rem;
  font-size: 0.875rem;
}

/* Mobile Menu Button & Drawer */
.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  height: 2.25rem;
  width: 2.25rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.mobile-drawer.open {
  display: block;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 20rem;
  background-color: rgba(17, 34, 64, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(100, 255, 218, 0.28);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl), -5px 0 25px rgba(100, 255, 218, 0.15);
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(100, 255, 218, 0.2);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.drawer-nav .nav-link {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(100, 255, 218, 0.28);
  box-shadow: 0 4px 30px -10px rgba(100, 255, 218, 0.15);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, 
    rgba(2, 12, 27, 0.35) 0%, 
    rgba(10, 25, 47, 0.88) 45%, 
    rgba(14, 50, 75, 0.72) 75%,
    rgba(100, 255, 218, 0.22) 100%
  );
}

.hero-content {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 6rem;
  color: var(--ink-foreground);
}

@media (min-width: 768px) {
  .hero-content {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.hero-eyebrow {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(100, 255, 218, 0.6);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero-title {
  margin-top: 1.25rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.08;
  background: linear-gradient(135deg, #ffffff 65%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-desc {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 1rem;
  color: rgba(248, 250, 252, 0.88);
  line-height: 1.6;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page Header Banners (About, Activities, Groups, Memories) */
.page-banner {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(100, 255, 218, 0.25);
  background-color: var(--ink);
}

.page-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.1);
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, 
    rgba(2, 12, 27, 0.35) 0%, 
    rgba(10, 25, 47, 0.84) 50%, 
    rgba(100, 255, 218, 0.2) 100%
  );
}

.page-banner-content {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: var(--ink-foreground);
}

@media (min-width: 768px) {
  .page-banner-content {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.page-banner-content .eyebrow {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
  font-weight: 700;
}

.page-banner-title {
  margin-top: 1rem;
  font-size: 2.25rem;
  font-weight: 700;
  max-width: 48rem;
  background: linear-gradient(135deg, #ffffff 70%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .page-banner-title {
    font-size: 3rem;
  }
}

.page-banner-desc {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1rem;
  color: rgba(248, 250, 252, 0.85);
}

/* Sections */
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bg-secondary-soft {
  background-color: rgba(0, 229, 255, 0.035);
  border-top: 1px solid rgba(100, 255, 218, 0.12);
  border-bottom: 1px solid rgba(100, 255, 218, 0.12);
}

/* Cards & Badges */
.card {
  border-radius: var(--radius);
  border: 1px solid rgba(100, 255, 218, 0.22);
  background: rgba(17, 34, 64, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--card-foreground);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.card:hover {
  box-shadow: var(--shadow-lift);
  border-color: rgba(100, 255, 218, 0.55);
  transform: translateY(-3px);
}

.card:hover::before {
  opacity: 1;
}

.card:hover .group-card-bg {
  transform: scale(1.06);
}

.card-rounded-2xl {
  border-radius: calc(var(--radius) + 8px);
}

.card-padding {
  padding: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0.375rem;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-secondary {
  background-color: rgba(17, 34, 64, 0.9);
  color: var(--secondary-foreground);
  border: 1px solid rgba(100, 255, 218, 0.20);
}

.badge-outline {
  border: 1px solid rgba(100, 255, 218, 0.3);
  color: var(--muted-foreground);
  background-color: rgba(2, 12, 27, 0.7);
}

.badge-primary-soft {
  background-color: rgba(100, 255, 218, 0.12);
  color: #0077d9;
  border: 1px solid rgba(100, 255, 218, 0.35);
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.18);
}

/* Feature Grids */
.grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid-2 {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.grid-2-asym {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2-asym {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.grid-2-asym-rev {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2-asym-rev {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Icon Bubble */
.icon-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
}

.icon-bubble-lg {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.16), rgba(100, 255, 218, 0.12));
  border: 1px solid rgba(100, 255, 218, 0.38);
  color: var(--primary);
  box-shadow: 0 0 12px rgba(100, 255, 218, 0.22);
}

.icon-bubble-sm {
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, #0077d9, #64ffda);
  color: #ffffff;
  border: 1px solid rgba(100, 255, 218, 0.5);
  box-shadow: 0 0 12px rgba(100, 255, 218, 0.35);
}

/* Content Collage & Masonry */
.collage-masonry {
  column-count: 2;
  column-gap: 1rem;
}

@media (min-width: 640px) {
  .collage-masonry {
    column-count: 3;
  }
}

@media (min-width: 1024px) {
  .collage-masonry {
    column-count: 4;
  }
}

.collage-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  display: block;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(100, 255, 218, 0.22);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-align: left;
  cursor: zoom-in;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.collage-item:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 255, 218, 0.6);
  box-shadow: 0 12px 30px -5px rgba(100, 255, 218, 0.25);
}

.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-square { aspect-ratio: 1; }
.aspect-3-4 { aspect-ratio: 3 / 4; }
.aspect-4-3 { aspect-ratio: 4 / 3; }

.collage-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.collage-item:hover .collage-img {
  transform: scale(1.05);
}

.collage-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 0.75rem;
  padding-top: 2rem;
  background: linear-gradient(to top, rgba(2, 12, 27, 0.35), transparent);
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.collage-item:hover .collage-overlay {
  opacity: 1;
}

.collage-card-body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.12), rgba(100, 255, 218, 0.08));
  border: 1px solid rgba(100, 255, 218, 0.15);
}

/* Modal Popup */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(2, 12, 27, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  width: 100%;
  max-width: 58rem;
  max-height: 90vh;
  border-radius: 1.5rem;
  background-color: rgba(17, 34, 64, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(100, 255, 218, 0.4);
  box-shadow: 0 25px 50px -12px rgba(2, 12, 27, 0.35), 0 0 30px rgba(100, 255, 218, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(100, 255, 218, 0.2);
  padding: 1.25rem;
}

.modal-body {
  flex: 1;
  overflow: auto;
  background-color: transparent;
  min-height: 20rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgba(100, 255, 218, 0.2);
  padding: 1rem;
}

/* Filter Controls */
.filter-box {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(100, 255, 218, 0.25);
  background-color: rgba(17, 34, 64, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .filter-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

.select-control {
  margin-top: 0.5rem;
  width: 100%;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(100, 255, 218, 0.3);
  background-color: rgba(17, 34, 64, 0.92);
  color: var(--foreground);
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.select-control:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.25);
}

/* Callout Section */
.callout-banner {
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at 85% 0%, rgba(100, 255, 218, 0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 100%, rgba(139, 92, 246, 0.18) 0%, transparent 60%),
              #020c1b;
  border: 1px solid rgba(0, 229, 255, 0.32);
  box-shadow: 0 12px 40px -10px rgba(100, 255, 218, 0.2);
  padding: 3.5rem 2rem;
  color: var(--ink-foreground);
}

@media (min-width: 768px) {
  .callout-banner {
    padding: 3.5rem 3.5rem;
  }
}

/* Footer */
footer.site-footer {
  margin-top: auto;
  background: radial-gradient(ellipse at 50% 0%, rgba(100, 255, 218, 0.12) 0%, transparent 70%),
              #020c1b;
  border-top: 1px solid rgba(100, 255, 218, 0.25);
  box-shadow: 0 -10px 30px -10px rgba(100, 255, 218, 0.12);
  color: var(--ink-foreground);
}

.footer-inner {
  display: grid;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(100, 255, 218, 0.15);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.7);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Helpers */
.rounded-3xl {
  border-radius: calc(var(--radius) + 12px);
}

.shadow-lift {
  box-shadow: var(--shadow-lift);
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.size-12 {
  width: 3rem;
  height: 3rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Neon Utilities */
.neon-glow-cyan {
  box-shadow: 0 0 15px -2px rgba(100, 255, 218, 0.5);
}

.neon-glow-purple {
  box-shadow: 0 0 15px -2px rgba(192, 132, 252, 0.5);
}

.neon-glow-lime {
  box-shadow: 0 0 15px -2px rgba(100, 255, 218, 0.5);
}

.neon-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(100, 255, 218, 0.6);
}

.neon-border {
  border: 1px solid rgba(100, 255, 218, 0.35);
}

/* Custom glowing scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(100, 255, 218, 0.35);
  border-radius: 9999px;
  border: 2px solid var(--background);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 255, 218, 0.7);
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}



/* ==========================================================================
   User Auth Badge & Welcome Component (Navbar & Drawer)
   ========================================================================== */
.user-auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(17, 34, 64, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(100, 255, 218, 0.35);
  box-shadow: 0 4px 14px rgba(2, 12, 27, 0.6), 0 0 10px rgba(100, 255, 218, 0.12);
  padding: 0.25rem 0.6rem 0.25rem 0.35rem;
  border-radius: 9999px;
  animation: fadeIn 0.3s ease-out;
  max-width: 280px;
}

.user-avatar-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), #0040ff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(100, 255, 218, 0.6);
  box-shadow: 0 0 8px rgba(100, 255, 218, 0.3);
}

.user-avatar-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar-badge .user-avatar-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0a192f;
  line-height: 1;
}

.user-info-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
  overflow: hidden;
}

.user-welcome-title {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neon-cyan);
  font-weight: 600;
}

.user-display-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-foreground);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-portal-btn {
  font-size: 0.68rem !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 9999px !important;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(100, 255, 218, 0.12);
  border-color: var(--neon-cyan) !important;
  color: var(--neon-cyan) !important;
}

.user-logout-icon-btn {
  background: transparent;
  border: none;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 0.1rem;
}

.user-logout-icon-btn:hover {
  color: #ff5252;
  background: rgba(255, 82, 82, 0.12);
  transform: scale(1.1);
}

/* Mobile Drawer User Card */
.drawer-user-box {
  background: rgba(17, 34, 64, 0.9);
  border: 1px solid rgba(100, 255, 218, 0.28);
  border-radius: 0.85rem;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(2, 12, 27, 0.7);
}

.drawer-user-info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-user-info-row .user-avatar-badge {
  width: 36px;
  height: 36px;
}

.drawer-user-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  overflow: hidden;
}

.drawer-welcome-msg {
  font-size: 0.7rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.drawer-user-name {
  font-size: 0.92rem;
  color: var(--ink-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-user-email {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-user-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

