/* ============================================================
   BINGKAI BISU - Fixlens Festival 2026
   Shared & Per-Page Styles
   ============================================================ */

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

/* ==================== INDEX PAGE STYLES ==================== */
body.page-index {
  background-color: #1A0536;
  background-image:
    radial-gradient(circle at 50% 0%, #2A0859 0%, #1A0536 45%, #0D021D 100%),
    radial-gradient(circle at 90% 60%, rgba(255, 220, 23, 0.06) 0%, transparent 40%);
  background-attachment: fixed;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  overflow-x: hidden;
}

body.page-index ::-webkit-scrollbar-track { background: #0D021D; }
body.page-index ::-webkit-scrollbar-thumb { background: #240847; border-radius: 4px; border: 1px solid rgba(255, 220, 23, 0.25); }
body.page-index ::-webkit-scrollbar-thumb:hover { background: #FFDC17; }

.bg-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
}

.filigree-border {
  border: 1px solid rgba(255, 220, 23, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 220, 23, 0.1);
}

.tilted-box {
  transform: rotate(-2deg);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFF9F1 0%, #FFDC17 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================== ADMIN PAGE STYLES ==================== */
body.page-admin {
  background-color: #081B59;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(42, 8, 89, 0.85) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(255, 220, 23, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

body.page-admin ::-webkit-scrollbar-track { background: #081B59; }
body.page-admin ::-webkit-scrollbar-thumb { background: #2A0859; border-radius: 4px; border: 1px solid rgba(255, 220, 23, 0.25); }
body.page-admin ::-webkit-scrollbar-thumb:hover { background: #FFDC17; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.animate-shake {
  animation: shake 0.4s ease-in-out;
}

#adminReader video {
  border-radius: 1rem;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}
#adminReader {
  border: none !important;
  background: transparent !important;
}
#adminReader__scan_region {
  border-radius: 1rem;
  overflow: hidden;
}
.laser-line {
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFDC17, transparent);
  box-shadow: 0 0 15px #FFDC17;
  animation: scanLaser 2s linear infinite alternate;
  z-index: 10;
  pointer-events: none;
}
@keyframes scanLaser {
  0% { top: 15%; opacity: 0.3; }
  50% { opacity: 1; }
  100% { top: 85%; opacity: 0.3; }
}
