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

:root {
  --color-navy: #0a0e27;
  --color-navy-light: #151a3a;
  --color-blue: #00d4ff;
  --color-green: #39ff14;
  --color-mint: #00ffa3;
  --color-white: #ffffff;
  --color-gold: #ffd700;
  --color-glass: rgba(255, 255, 255, 0.05);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --gradient-energy: linear-gradient(135deg, var(--color-blue), var(--color-green));
  --gradient-navy: linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
  --transition-smooth: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-navy);
  color: var(--color-white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 60px;
  height: 60px;
  border: 3px solid var(--color-glass-border);
  border-top-color: var(--color-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ===== PARTICLE BACKGROUND ===== */
.particles-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--color-blue);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== GLASSMORPHISM ===== */
.glass {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: 16px;
}

.glass-card {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: rgba(0, 212, 255, 0.3);
}

/* ===== GRADIENTS & BACKGROUNDS ===== */
.bg-gradient-energy {
  background: var(--gradient-energy);
}

.bg-gradient-navy {
  background: var(--gradient-navy);
}

body.bg-mesh {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(0, 220, 255, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 35%,
            rgba(0, 255, 120, 0.07),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(0, 180, 255, 0.08),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #050b24 0%,
            #07162d 48%,
            #062326 100%
        );

    color: #fff;
}

/* ===== KEYFRAMES ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.5), 0 0 10px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.8), 0 0 40px rgba(0, 212, 255, 0.5); }
}

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

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

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes energyBurst {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes checkmark {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

@keyframes drawLine {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

@keyframes scanLine {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes revealTicket {
  from { transform: translateY(50px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes ripple {
  0% { transform: scale(0); opacity: 0.5; }
  100% { transform: scale(4); opacity: 0; }
}

/* ===== ANIMATION UTILITIES ===== */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInScale {
  animation: fadeInScale 0.6s ease forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
}

/* ===== INTERSECTION OBSERVER ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn-energy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--gradient-energy);
  color: var(--color-navy);
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.btn-energy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.6s;
}

.btn-energy:hover::before {
  opacity: 1;
}

.btn-energy:hover {
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-outline-energy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--color-blue);
  font-weight: 600;
  border: 2px solid var(--color-blue);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-outline-energy:hover {
  background: var(--color-blue);
  color: var(--color-navy);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* ===== FORM INPUTS ===== */
.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--color-white);
  font-size: 1rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.03);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-energy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--color-navy);
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-energy);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text h1 .gradient-text {
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/bgkanan.jpeg') center/cover no-repeat;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3/4;
  min-height: 520px;
  max-height: 720px;
}

.hero-card {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 9/16;
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-energy);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.5;
  animation: glow 3s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 50%;
  animation: orbit 20s linear infinite;
}

.orbit-ring:nth-child(2) {
  width: 300px;
  height: 300px;
  animation-duration: 25s;
  animation-direction: reverse;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-blue);
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

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

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: 20px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-energy);
  width: 0;
  transition: width 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-energy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* ===== TICKET STYLES ===== */
.ticket-container {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.boarding-pass {
  width: 100%;
  max-width: 600px;
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transform-style: preserve-3d;
  opacity: 0;
  animation: revealTicket 1s ease forwards;
}

.boarding-pass-header {
  background: var(--gradient-energy);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.boarding-pass-body {
  padding: 2rem;
}

.boarding-pass-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
}

.boarding-pass-divider::before,
.boarding-pass-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.2) 0, rgba(255,255,255,0.2) 5px, transparent 5px, transparent 10px);
}

.boarding-pass-divider span {
  padding: 0 1rem;
  font-size: 1.5rem;
  color: var(--color-blue);
}

.boarding-pass-footer {
  padding: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qr-placeholder {
  width: 100px;
  height: 100px;
  background: var(--color-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ===== SCANNER ===== */
.scanner-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 2px solid var(--color-blue);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-energy);
  box-shadow: 0 0 20px var(--color-blue), 0 0 40px var(--color-blue);
  animation: scanLine 2.5s ease-in-out infinite;
}

.scanner-corners {
  position: absolute;
  inset: 10px;
  pointer-events: none;
}

.scanner-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--color-blue);
  border-style: solid;
  border-width: 0;
}

.scanner-corner.tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 10px; }
.scanner-corner.tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 10px; }
.scanner-corner.bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 10px; }
.scanner-corner.br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 10px; }

.scan-result {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--color-glass);
  border-radius: 16px;
  border: 1px solid var(--color-glass-border);
  display: none;
}

.scan-result.show {
  display: block;
  animation: fadeInScale 0.5s ease;
}

/* ===== SUCCESS PAGE ===== */
.success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.success-content {
  text-align: center;
}

.success-icon-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 2rem;
}

.success-icon-circle {
  position: absolute;
  inset: 0;
  border: 3px solid var(--color-green);
  border-radius: 50%;
  animation: energyBurst 1.5s ease-out infinite;
}

.success-icon-circle:nth-child(2) {
  animation-delay: 0.5s;
}

.success-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-green);
  animation: pulse 2s ease-in-out infinite;
}

/* ===== DOORPRIZE ===== */
.doorprize-wheel {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 4px solid var(--color-blue);
  position: relative;
  margin: 0 auto;
  background: conic-gradient(
    var(--color-blue) 0deg 60deg,
    var(--color-navy-light) 60deg 120deg,
    var(--color-green) 120deg 180deg,
    var(--color-navy-light) 180deg 240deg,
    var(--color-mint) 240deg 300deg,
    var(--color-navy-light) 300deg 360deg
  );
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid var(--color-gold);
  z-index: 10;
  filter: drop-shadow(0 0 10px var(--color-gold));
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
  background: var(--color-navy-light);
  border: 1px solid var(--color-glass-border);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

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

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: var(--gradient-energy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  text-shadow: 0 0 20px var(--color-blue), 0 0 40px var(--color-blue);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }

/* ===== ADMIN STATIC OVERRIDE ===== */
.glass-card,
.stat-card,
.table-container,
.form-card,
.card,
.panel,
.admin-card,
.admin-main .glass-card,
.admin-main .stat-card,
.admin-main .table-container,
.admin-main .form-card {
    transform: none !important;
}

.glass-card:hover,
.stat-card:hover,
.table-container:hover,
.form-card:hover,
.card:hover,
.panel:hover,
.admin-card:hover,
.admin-main .glass-card:hover,
.admin-main .stat-card:hover,
.admin-main .table-container:hover,
.admin-main .form-card:hover,
.glass-card:focus-within,
.stat-card:focus-within,
.table-container:focus-within,
.form-card:focus-within,
.card:focus-within,
.panel:focus-within,
.admin-card:focus-within,
.admin-main .glass-card:focus-within,
.admin-main .stat-card:focus-within,
.admin-main .table-container:focus-within,
.admin-main .form-card:focus-within {
    transform: none !important;
}

.btn-energy,
.btn-outline-energy,
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-success {
    transform: none !important;
}

.btn-energy:hover,
.btn-outline-energy:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-danger:hover,
.btn-success:hover {
    transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .glass-card,
    .stat-card,
    .table-container,
    .form-card,
    .card,
    .panel,
    .admin-card,
    .btn-energy,
    .btn-outline-energy,
    .btn-primary,
    .btn-secondary,
    .btn-danger,
    .btn-success {
        transform: none !important;
        animation: none !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-links.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--color-glass-border);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .section {
    padding: 4rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .btn-energy, .btn-outline-energy {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--color-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-mint);
}

/* ===== DATATABLES DARK THEME ===== */
.dataTables_wrapper {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.875rem;
}

.dataTables_wrapper .dataTables_filter input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  color: white;
  margin-left: 0.5rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.dataTables_wrapper .dataTables_length select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  color: white;
  margin: 0 0.5rem;
  outline: none;
  cursor: pointer;
}

.dataTables_wrapper .dataTables_length select:focus {
  border-color: var(--color-blue);
}

.dataTables_wrapper .dataTables_info {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  padding-top: 0.75rem;
}

.dataTables_wrapper .dataTables_paginate {
  padding-top: 0.75rem;
}

.dataTables_wrapper .dataTables_paginate .pagination {
  margin-bottom: 0;
}

.dataTables_wrapper .dataTables_paginate .page-link {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0.75rem;
  margin: 0 2px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .page-link:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--color-blue);
  color: white;
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-navy);
  font-weight: 700;
}

.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link {
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

.dt-buttons {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dt-buttons .dt-button {
  background: var(--gradient-energy);
  color: var(--color-navy);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dt-buttons .dt-button:hover {
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  transform: translateY(-1px);
}

.dt-buttons .dt-button.buttons-print,
.dt-buttons .dt-button.buttons-copy {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.dt-buttons .dt-button.buttons-print:hover,
.dt-buttons .dt-button.buttons-copy:hover {
  background: var(--color-blue);
  color: var(--color-navy);
}

.dataTables_wrapper .table-bordered {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dataTables_wrapper .table-bordered th,
.dataTables_wrapper .table-bordered td {
  border-color: rgba(255, 255, 255, 0.08);
}

/* ===== NAV ACTIVE STATE ===== */
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a.active::after {
  width: 100%;
}

/* ===== FLOATING WHATSAPP ===== */
.floating-whatsapp {
  position: fixed;

  left: max(20px, env(safe-area-inset-left));
  bottom: max(20px, env(safe-area-inset-bottom));

  z-index: 1040;

  width: 56px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 2px solid rgba(255, 255, 255, .18);
  border-radius: 50%;

  background: #25d366;

  color: #fff;
  text-decoration: none;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, .28),
    0 0 24px rgba(37, 211, 102, .2);

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    opacity .25s ease;
}

.floating-whatsapp:hover {
  color: #fff;

  border-color: rgba(255, 255, 255, .4);

  box-shadow:
    0 8px 28px rgba(0, 0, 0, .3),
    0 0 32px rgba(37, 211, 102, .32);
}

.floating-whatsapp svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    width: 52px;
    height: 52px;

    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}

/* ===== ENERGY BACKGROUND SYSTEM ===== */
.energy-background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

body.bg-mesh > .energy-background {
    z-index: 0;
}

body.bg-mesh > .loading-screen {
    z-index: 9999;
}

body.bg-mesh > .navbar {
    z-index: 1000;
}

body.bg-mesh > .floating-whatsapp {
    z-index: 1040;
}

body.bg-mesh > section,
body.bg-mesh > main,
body.bg-mesh > footer,
body.bg-mesh > .success-container,
body.bg-mesh > .scanner-page,
body.bg-mesh > #btwp-ticket {
    position: relative;
    z-index: 1;
}

.energy-lines {
    position: absolute;
    width: 120%;
    height: 120%;
    left: -10%;
    top: -10%;
    overflow: visible;
}

.energy-line-base {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-width: 1.2px;
    opacity: 0.22;
}

.energy-line-base.energy-cyan {
    stroke: #00d9ff;
    filter: drop-shadow(0 0 2px rgba(0,217,255,.10));
}

.energy-line-base.energy-green {
    stroke: #24ff66;
    filter: drop-shadow(0 0 2px rgba(36,255,102,.10));
}

.energy-line-base.energy-teal {
    stroke: #00c8d8;
    filter: drop-shadow(0 0 2px rgba(0,200,216,.08));
}

.energy-line-glow {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-width: 3.5px;
    opacity: 0.08;
    filter: blur(2px);
    mix-blend-mode: screen;
}

.energy-line-glow.energy-cyan-glow {
    stroke: rgba(0,229,255,.30);
}

.energy-line-glow.energy-green-glow {
    stroke: rgba(30,255,90,.28);
}

.energy-line-glow.energy-teal-glow {
    stroke: rgba(0,210,230,.25);
}

.energy-line-flow {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    stroke-width: 1.8px;
    stroke-dasharray: 10 900;
    stroke-dashoffset: 0;
    animation: energyFlowSmooth 18s linear infinite;
    opacity: 0.70;
    mix-blend-mode: screen;
}

.energy-line-flow.energy-cyan-flow {
    stroke: #4deaff;
    filter: drop-shadow(0 0 3px rgba(0,220,255,.18));
}

.energy-line-flow.energy-green-flow {
    stroke: #63ff78;
    filter: drop-shadow(0 0 3px rgba(30,255,90,.18));
}

.energy-line-flow.energy-teal-flow {
    stroke: #42e9ff;
    filter: drop-shadow(0 0 3px rgba(0,210,230,.16));
}

@keyframes energyFlowSmooth {
    0% { stroke-dashoffset: 900; opacity: 0; }
    8% { opacity: .70; }
    50% { opacity: .80; }
    92% { opacity: .70; }
    100% { stroke-dashoffset: -900; opacity: 0; }
}

.flow-1 { animation-duration: 11s; animation-delay: 0s; }
.flow-2 { animation-duration: 14s; animation-delay: -4s; }
.flow-3 { animation-duration: 17s; animation-delay: -8s; }

.energy-glow {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .05;
    animation:
        floatingGlow 12s ease-in-out infinite alternate;
}

.glow-1 {
    left: -150px;
    top: 25%;
    background: #00d9ff;
}

.glow-2 {
    right: -150px;
    top: 55%;
    background: #20ff62;
    animation-delay: -5s;
}

@keyframes floatingGlow {
    0% {
        transform: translate3d(0,0,0) scale(.9);
        opacity: .05;
    }
    50% {
        opacity: .1;
    }
    100% {
        transform:
            translate3d(80px,-50px,0)
            scale(1.15);
        opacity: .08;
    }
}

.energy-particles {
    position: absolute;
    inset: 0;
}

.energy-particles span {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: #00d9ff;
    color: #00d9ff;
    box-shadow:
        0 0 4px currentColor,
        0 0 8px rgba(0,217,255,.45);
    animation:
        particleBlink 5s ease-in-out infinite;
}

.energy-particles span:nth-child(1) { top: 14%; left: 10%; background: #00d9ff; color: #00d9ff; box-shadow: 0 0 4px #00d9ff, 0 0 8px rgba(0,217,255,.45); animation-delay: 0s; }
.energy-particles span:nth-child(2) { top: 28%; left: 82%; background: #26ff4f; color: #26ff4f; box-shadow: 0 0 4px #26ff4f, 0 0 8px rgba(38,255,79,.4); animation-delay: 1.2s; }
.energy-particles span:nth-child(3) { top: 45%; left: 20%; background: #00d9ff; color: #00d9ff; box-shadow: 0 0 4px #00d9ff, 0 0 8px rgba(0,217,255,.4); animation-delay: 2.4s; }
.energy-particles span:nth-child(4) { top: 58%; left: 68%; background: #00c8d9; color: #00c8d9; box-shadow: 0 0 4px #00c8d9, 0 0 8px rgba(0,200,217,.35); animation-delay: 0.8s; }
.energy-particles span:nth-child(5) { top: 72%; left: 30%; background: #26ff4f; color: #26ff4f; box-shadow: 0 0 4px #26ff4f, 0 0 8px rgba(38,255,79,.35); animation-delay: 3.2s; }
.energy-particles span:nth-child(6) { top: 18%; left: 50%; background: #00c8d9; color: #00c8d9; box-shadow: 0 0 4px #00c8d9, 0 0 8px rgba(0,200,217,.3); animation-delay: 1.8s; }
.energy-particles span:nth-child(7) { top: 82%; left: 78%; background: rgba(0,217,255,.6); color: rgba(0,217,255,.6); box-shadow: 0 0 3px rgba(0,217,255,.35), 0 0 7px rgba(0,217,255,.2); animation-delay: 2.8s; }
.energy-particles span:nth-child(8) { top: 38%; left: 92%; background: #00d9ff; color: #00d9ff; box-shadow: 0 0 4px #00d9ff, 0 0 8px rgba(0,217,255,.35); animation-delay: 4.0s; }

@keyframes particleBlink {
    0%, 100% {
        opacity: .15;
        transform: scale(.8);
    }
    50% {
        opacity: .65;
        transform: scale(1.15);
    }
}

@media (max-width: 768px) {
    .energy-lines {
        width: 150%;
        height: 120%;
        left: -25%;
    }

    .energy-line-base {
        stroke-width: 1.1px;
        opacity: .18;
    }

    .energy-line-flow {
        stroke-width: 1.5px;
        opacity: .60;
    }

    .energy-line-glow {
        opacity: .06;
    }

    .energy-glow {
        width: 240px;
        height: 240px;
        filter: blur(70px);
        opacity: .04;
    }
}

@media (prefers-reduced-motion: reduce) {
    .energy-line-flow,
    .energy-particles span {
        animation: none !important;
    }
}

/* ===== TRANSPORT OPTIONS ===== */
.transport-option {
  min-height: 390px;
  padding: 1.25rem 1.5rem 1.5rem;

  background:
      linear-gradient(
          180deg,
          rgba(16, 54, 78, 0.55),
          rgba(10, 35, 55, 0.65)
      );

  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 18px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  text-align: center;

  cursor: pointer;

  position: relative;
  overflow: hidden;

  transition:
      border-color 0.35s ease,
      background 0.35s ease,
      box-shadow 0.35s ease,
      transform 0.35s ease;
}

.transport-option:hover {
  border-color: rgba(0, 212, 255, 0.35);
  background:
      linear-gradient(
          180deg,
          rgba(16, 54, 78, 0.65),
          rgba(10, 35, 55, 0.75)
      );
}

.transport-option.selected {
  border-color: var(--color-blue);

  background:
      linear-gradient(
          180deg,
          rgba(0, 212, 255, 0.10),
          rgba(0, 255, 163, 0.05)
      );

  box-shadow:
      0 0 0 1px rgba(0, 212, 255, 0.15),
      0 0 28px rgba(0, 212, 255, 0.12);
}

.transport-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: 190px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;

  filter:
      drop-shadow(0 0 10px rgba(0, 212, 255, 0.15));

  transition:
      transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
      filter 0.45s ease;
}

.transport-option:hover .transport-image {
  transform: translateY(-4px) scale(1.025);

  filter:
      drop-shadow(0 0 14px rgba(0, 212, 255, 0.28));
}

.transport-option.selected .transport-image {
  transform: scale(1.025);

  filter:
      drop-shadow(0 0 16px rgba(0, 212, 255, 0.32));
}

.transport-option h5 {
  margin: 0.25rem 0 0.4rem;

  font-size: 1.25rem;
  font-weight: 800;

  color: #ffffff;
}

.transport-option p {
  max-width: 330px;
  margin: 0 auto;

  color: rgba(255,255,255,.68);

  font-size: 0.9rem;
  line-height: 1.55;
}

@media (max-width: 768px) {
  .transport-option {
    min-height: 330px;
    padding: 1rem 1rem 1.25rem;
  }

  .transport-image {
    max-width: 260px;
    width: 100%;
    height: 165px;
    margin-bottom: 0.25rem;
  }

  .transport-option h5 {
    font-size: 1.1rem;
  }

  .transport-option p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .transport-option {
    min-height: 310px;
  }

  .transport-image {
    max-width: 230px;
    height: 145px;
  }
}
