/* ACC Chanda Sports Club - Custom Branding & Utility CSS */

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

:root {
  --acc-red: #E31837;
  --acc-red-dark: #B91C1C;
  --acc-red-light: #FF4D6D;
  --adani-navy: #0F172A;
  --adani-slate: #1E293B;
  --adani-gray: #334155;
  --gold-accent: #F59E0B;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #0F172A;
  color: #F8FAFC;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #0F172A;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E31837;
}

/* 3D Perspective Flip Card for Digital Membership ID */
.flip-card-container {
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card-inner.flipped {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1.25rem;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Holographic security stripe effect */
.hologram-strip {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 215, 0, 0.4) 25%, 
    rgba(0, 255, 255, 0.4) 50%, 
    rgba(255, 0, 128, 0.3) 75%, 
    rgba(255, 255, 255, 0.1) 100%);
  background-size: 200% 200%;
  animation: hologramGlow 4s ease infinite;
}

@keyframes hologramGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated Scanner Laser for QR */
.qr-scanner-overlay {
  position: relative;
  overflow: hidden;
}

.qr-scanner-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E31837, #FF4D6D, transparent);
  box-shadow: 0 0 10px #E31837;
  animation: scanLaser 2.2s infinite ease-in-out;
}

@keyframes scanLaser {
  0% { top: 5%; opacity: 0.2; }
  50% { top: 92%; opacity: 1; }
  100% { top: 5%; opacity: 0.2; }
}

/* Glassmorphism Card Utilities */
.glass-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-accent {
  background: linear-gradient(135deg, rgba(227, 24, 55, 0.12) 0%, rgba(30, 41, 59, 0.8) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(227, 24, 55, 0.25);
}

/* Badge glows */
.badge-red-glow {
  box-shadow: 0 0 12px rgba(227, 24, 55, 0.4);
}

/* Bottom Nav bar active indicator */
.nav-item-active {
  color: #E31837 !important;
  font-weight: 700;
}
.nav-item-active svg {
  stroke: #E31837 !important;
  transform: translateY(-2px);
}

/* Print Stylesheet for ID Badge and Guest Ticket */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-section, #printable-section * {
    visibility: visible;
  }
  #printable-section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white !important;
    color: black !important;
  }
}
