/* ==========================================================================
   ???? ???? ??????? ? ????? ????? ??? ??????
   ???? ??????? ????????? ???? ?????? (Cinematic Design System)
   ????: Cairo | ????????: ???? ???? ????? ???? ?????? ???? ????
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&display=swap');

:root {
  --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
  
  /* ???? ??????? ?????????? */
  --color-navy-darkest: #050b14;
  --color-navy-900: #070d1e;
  --color-navy-800: #0a192f;
  --color-navy-700: #102a4e;
  --color-navy-600: #1a365d;
  
  --color-cyan-bright: #38bdf8;
  --color-cyan-glow: rgba(56, 189, 248, 0.35);
  --color-cyan-dark: #0284c7;

  --color-gold-400: #fbbf24;
  --color-gold-500: #f59e0b;
  --color-gold-600: #d97706;
  --color-gold-glow: rgba(245, 158, 11, 0.35);
  
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  
  /* Glassmorphism */
  --glass-bg: rgba(10, 25, 47, 0.72);
  --glass-bg-hover: rgba(16, 42, 78, 0.85);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-gold: rgba(245, 158, 11, 0.3);
  --glass-border-cyan: rgba(56, 189, 248, 0.3);
  --glass-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  background-color: var(--color-navy-darkest);
  color: var(--color-text-primary);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #0d213f 0%, var(--color-navy-darkest) 75%);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Subtle background texture pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('../assets/texture-pattern.webp');
  background-repeat: repeat;
  background-size: 320px 320px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 0;
}

/* Canvas Particles */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-navy-darkest);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-cyan-dark), var(--color-gold-500));
  border-radius: 5px;
}

/* ==========================================================================
   1. ???? ????????? ??????? ?????? (Announcement Marquee Ticker)
   ========================================================================== */
.top-ticker-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #b45309 0%, #d97706 30%, #0284c7 70%, #0369a1 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ticker-badge {
  flex-shrink: 0;
  background: #ffffff;
  color: #0f172a;
  padding: 3px 14px;
  margin-right: 14px;
  margin-left: 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.ticker-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  gap: 60px;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ==========================================================================
   2. ???? ??????? ?????????? (Loading Screen)
   ========================================================================== */
#loadingScreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-navy-darkest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loadingScreen.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-bus-container {
  width: 320px;
  position: relative;
  margin-bottom: 25px;
}

.loader-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.loader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-cyan-bright), var(--color-gold-400));
  transition: width 0.1s linear;
}

.loader-bus-icon {
  position: absolute;
  top: -24px;
  right: 0%;
  transform: translateX(50%);
  font-size: 24px;
  filter: drop-shadow(0 2px 10px var(--color-gold-glow));
}

.loader-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-gold-400);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   3. ???? ?????? ?????? (Navbar)
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 100;
  background: rgba(7, 13, 30, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}

.navbar-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-cyan-bright));
  box-shadow: 0 0 15px var(--color-gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.brand-text-col h1 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.brand-text-col span {
  font-size: 0.78rem;
  color: var(--color-gold-400);
  font-weight: 600;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-pill-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.control-pill-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: var(--color-cyan-bright);
}

.control-pill-btn.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--color-cyan-bright);
  color: var(--color-cyan-bright);
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--color-gold-500), var(--color-gold-600));
  color: #070d1e;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.88rem;
  box-shadow: 0 4px 15px var(--color-gold-glow);
  transition: var(--transition-smooth);
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-gold-glow);
  filter: brightness(1.1);
}

/* ==========================================================================
   4. ?????? (Hero Section)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 90px;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero-bg.webp');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 0.2s ease-out;
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-bg-layer {
    background-image: url('../assets/mobile/hero-bg.webp');
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(5, 11, 20, 0.75) 0%, 
    rgba(10, 25, 47, 0.82) 50%, 
    var(--color-navy-darkest) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--color-gold-500);
  color: var(--color-gold-400);
  padding: 6px 20px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); }
  50% { box-shadow: 0 0 30px rgba(245, 158, 11, 0.45); }
}

.hero-floating-logo {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-cyan-bright));
  box-shadow: 0 0 35px var(--color-cyan-glow);
  animation: floatUpDown 4s ease-in-out infinite;
}

.hero-floating-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-main-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 30%, var(--color-gold-400) 70%, var(--color-cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--color-text-secondary);
  max-width: 750px;
  margin: 0 auto 35px;
  font-weight: 600;
}

.hero-action-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--color-gold-400) 0%, var(--color-gold-600) 100%);
  color: #070d1e;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 14px 38px;
  border-radius: 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px var(--color-gold-glow);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px var(--color-gold-glow);
  filter: brightness(1.12);
}

.btn-secondary-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-cyan);
  color: var(--color-cyan-bright);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 34px;
  border-radius: 40px;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--color-cyan-bright);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--color-cyan-glow);
}

/* ==========================================================================
   5. ???? ???????? ?????? (Countdown Flip Section)
   ========================================================================== */
.countdown-section {
  position: relative;
  z-index: 10;
  margin-top: -45px;
  padding: 0 20px 50px;
}

.countdown-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.countdown-info h3 {
  font-size: 1.25rem;
  color: var(--color-gold-400);
  font-weight: 800;
  margin-bottom: 4px;
}

.countdown-info p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.countdown-grid {
  display: flex;
  gap: 14px;
  direction: ltr; /* English digits orientation */
}

.countdown-unit {
  background: rgba(7, 13, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  min-width: 72px;
  text-align: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.countdown-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-cyan-bright);
  line-height: 1.1;
  font-family: monospace;
}

.countdown-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   6. ????? ?????? ?????????? ???????? ??????? (Scroll Roadmap Section)
   ========================================================================== */
.roadmap-section {
  position: relative;
  z-index: 10;
  padding: 90px 20px;
  overflow: hidden;
  transition: background 0.5s ease;
}

#scrollSkyLayer {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: background 0.8s ease;
  pointer-events: none;
}

.section-head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  color: var(--color-gold-400);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--color-text-primary);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
}

.roadmap-canvas-box {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.roadmap-svg-wrapper {
  position: relative;
  width: 100%;
}

.roadmap-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.roadmap-path-base {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 6;
  fill: none;
  stroke-dasharray: 8 8;
}

.roadmap-path-active {
  stroke: url(#goldCyanGradient);
  stroke-width: 7;
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

.bus-marker-svg {
  transition: opacity 0.3s ease;
}

.stations-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.route-station {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.route-station.active {
  border-color: var(--color-gold-400);
  box-shadow: 0 10px 30px var(--color-gold-glow);
  transform: translateY(-5px);
}

.station-badge {
  font-size: 0.8rem;
  color: var(--color-cyan-bright);
  font-weight: 800;
  margin-bottom: 6px;
}

.station-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.station-detail {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   7. ???? ??????? "???? ??????" (Landmark 3D Tilt Cards)
   ========================================================================== */
.landmarks-section {
  position: relative;
  z-index: 10;
  padding: 90px 20px;
}

.landmarks-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.landmark-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-navy-800);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.landmark-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--color-gold-400);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--color-gold-glow);
}

.landmark-img-box {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.landmark-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.landmark-card:hover .landmark-img-box img {
  transform: scale(1.08);
}

.landmark-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 25, 47, 0.95) 100%);
}

.landmark-content {
  padding: 24px;
  position: relative;
}

.landmark-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--color-cyan-bright);
  color: var(--color-cyan-bright);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.landmark-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.landmark-desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   8. ???? ?????? ?????? (Itinerary Timeline)
   ========================================================================== */
.itinerary-section {
  position: relative;
  z-index: 10;
  padding: 90px 20px;
  background: radial-gradient(circle at 50% 50%, #0d213f 0%, var(--color-navy-darkest) 80%);
}

.timeline-wrapper {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 30px;
  width: 4px;
  background: linear-gradient(180deg, var(--color-gold-400), var(--color-cyan-bright));
  border-radius: 4px;
}

.timeline-item {
  position: relative;
  padding-right: 75px;
  margin-bottom: 35px;
}

.timeline-node {
  position: absolute;
  right: 17px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-navy-darkest);
  border: 4px solid var(--color-gold-400);
  box-shadow: 0 0 15px var(--color-gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.timeline-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  border-color: var(--color-cyan-bright);
  transform: translateX(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.timeline-time {
  font-size: 0.88rem;
  color: var(--color-gold-400);
  font-weight: 800;
  margin-bottom: 4px;
}

.timeline-activity {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.timeline-detail {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   9. ??? ??????? ???? ??????? (Registration Form)
   ========================================================================== */
.registration-section {
  position: relative;
  z-index: 10;
  padding: 90px 20px 120px;
}

.registration-card-wrapper {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}

.glass-reg-card {
  background: var(--glass-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  padding: 45px 40px;
  backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  position: relative;
  background-clip: padding-box;
}

.glass-reg-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-cyan-bright), var(--color-navy-600));
  z-index: -1;
  pointer-events: none;
}

/* Shake animation on validation error */
.shake {
  animation: shakeHoriz 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shakeHoriz {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

/* Seats Status Meter */
.seats-status-box {
  background: rgba(7, 13, 30, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 30px;
}

.seats-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 700;
}

.seats-progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.seats-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-cyan-bright), var(--color-gold-400));
  border-radius: 10px;
  transition: width 0.5s ease;
}

.form-group-floating {
  position: relative;
  margin-bottom: 25px;
}

.form-input-styled {
  width: 100%;
  background: rgba(7, 13, 30, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.form-input-styled:focus {
  outline: none;
  border-color: var(--color-cyan-bright);
  box-shadow: 0 0 15px var(--color-cyan-glow);
  background: rgba(10, 25, 47, 0.95);
}

.form-input-styled.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

.floating-label {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.form-input-styled:focus ~ .floating-label,
.form-input-styled:not(:placeholder-shown) ~ .floating-label {
  top: -10px;
  right: 14px;
  background: #0a192f;
  padding: 0 8px;
  font-size: 0.8rem;
  color: var(--color-cyan-bright);
  border-radius: 4px;
}

.input-error-msg {
  color: #f87171;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  display: none;
}

.input-info-msg {
  color: var(--color-gold-400);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
}

.btn-submit-reg {
  width: 100%;
  background: linear-gradient(135deg, var(--color-gold-400) 0%, var(--color-gold-600) 100%);
  color: #070d1e;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px var(--color-gold-glow);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-submit-reg:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px var(--color-gold-glow);
  filter: brightness(1.1);
}

.btn-submit-reg:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

/* Bus screen runner effect on success */
#busScreenRunner {
  position: fixed;
  top: 50%;
  left: -200px;
  z-index: 10000;
  font-size: 70px;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
}

#busScreenRunner.run-animation {
  animation: driveAcross 2.5s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}

@keyframes driveAcross {
  0% { left: -150px; transform: translateY(-50%) scale(0.8); }
  50% { left: 50%; transform: translateY(-50%) scale(1.1); }
  100% { left: 110vw; transform: translateY(-50%) scale(1); }
}

/* ==========================================================================
   10. ??????? ??????????? ??????? (Digital Boarding Ticket)
   ========================================================================== */
.ticket-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ticket-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.official-ticket-card {
  width: 100%;
  max-width: 600px;
  background: #0a192f;
  border: 2px solid var(--color-gold-400);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px var(--color-gold-glow);
  position: relative;
  color: #ffffff;
}

.ticket-header-strip {
  background: linear-gradient(135deg, #070d1e 0%, #102a4e 100%);
  padding: 22px 26px;
  border-bottom: 2px dashed rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ticket-uni-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticket-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--color-gold-400);
}

.ticket-body-info {
  padding: 26px;
}

.ticket-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.ticket-meta-item {
  background: rgba(7, 13, 30, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.ticket-meta-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-gold-400);
  font-weight: 700;
  margin-bottom: 2px;
}

.ticket-meta-item span {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.ticket-instructions-box {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--color-gold-500);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--color-gold-400);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}

.ticket-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px dashed rgba(245, 158, 11, 0.4);
  padding: 20px 26px;
  background: rgba(7, 13, 30, 0.7);
}

.ticket-actions-group {
  display: flex;
  gap: 12px;
  padding: 16px 26px;
  background: #070d1e;
  border-top: 1px solid var(--glass-border);
}

/* ==========================================================================
   11. ?????? ?????? ??????? ????????? (Footer & Modals)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background: #030712;
  border-top: 1px solid var(--glass-border);
  padding: 45px 20px;
  color: var(--color-text-secondary);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

.footer-dev-right, .footer-dev-left {
  font-size: 0.95rem;
  font-weight: 700;
}

.shimmer-text {
  background: linear-gradient(90deg, #94a3b8 0%, #ffffff 50%, #94a3b8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerAnim 3s linear infinite;
}

@keyframes shimmerAnim {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.footer-patronage-center {
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.patronage-text-btn {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--color-gold-500);
  color: var(--color-gold-400);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 0.98rem;
  font-weight: 800;
  display: inline-block;
  transition: var(--transition-smooth);
}

.patronage-text-btn:hover {
  background: var(--color-gold-500);
  color: #070d1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--color-gold-glow);
}

/* Patron Modal */
.modal-backdrop-blur {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 11, 20, 0.8);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop-blur.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-card {
  width: 100%;
  max-width: 520px;
  background: #0a192f;
  border: 1px solid var(--color-gold-400);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  text-align: center;
}

.modal-close-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .glass-reg-card {
    padding: 30px 20px;
  }
  .countdown-card {
    justify-content: center;
    text-align: center;
  }
  .countdown-info {
    text-align: center;
  }
}
