/* css/main.css - SINGLE CSS FILE FOR ENTIRE SITE */

/* ===== CUSTOM CURSOR ===== */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: #d4a843;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
  mix-blend-mode: screen;
}

#cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 168, 67, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.25s ease;
}

@media (pointer: coarse) {
  #cursor, #cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(1deg); }
  66% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.06); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; height: 30px; }
  50% { opacity: 1; height: 50px; }
}

@keyframes scanline {
  0% { top: 0%; }
  100% { top: 100%; }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(212,168,67,0.4); }
  70% { box-shadow: 0 0 0 16px rgba(212,168,67,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,168,67,0); }
}

@keyframes success-pop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideDown {
  from { opacity:0; transform:translateY(-12px); }
  to { opacity:1; transform:translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-float { animation: float 9s ease-in-out infinite; }
.animate-pulseDot { animation: pulseDot 3s ease-in-out infinite; }
.animate-fadeUp { animation: fadeUp 0.8s ease forwards; }
.animate-scrollPulse { animation: scrollPulse 2s infinite; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }
.delay-1100 { animation-delay: 1.1s; }

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.34s; }

/* ===== NAVBAR ===== */
#navbar {
  background: transparent;
  backdrop-filter: none;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(14, 7, 3, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.12);
}

.nav-link {
  position: relative;
  color: rgba(245, 232, 200, 0.65);
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #d4a843;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, #d4a843, transparent);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  #navLinks {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(14, 7, 3, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(212, 168, 67, 0.15);
    z-index: 40;
  }
  
  #navLinks.open {
    transform: translateY(0);
  }
}

/* ===== BUTTON SHIMMER ===== */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-shimmer:hover::before {
  left: 100%;
}

/* ===== FORM MESSAGE ===== */
#form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(212, 168, 67, 0.1);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: 0.5rem;
  color: #d4a843;
  font-size: 0.85rem;
  text-align: center;
}

/* ===== SCROLL HINT ===== */
.scroll-hint-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* ===== VERIFICATION PAGE SPECIFIC ===== */
.tab-btn {
  transition: all 0.3s;
}
.tab-btn.active {
  background: rgba(212,168,67,0.12);
  border-color: rgba(212,168,67,0.5);
  color: #d4a843;
}
.tab-btn:not(.active):hover {
  background: rgba(212,168,67,0.06);
  border-color: rgba(212,168,67,0.2);
}

.qr-frame {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.qr-corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: #d4a843;
  border-style: solid;
  opacity: 0.9;
}
.qr-corner.tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.qr-corner.tr { top: 0; right: 0; border-width: 2px 2px 0 0; }
.qr-corner.bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.qr-corner.br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.qr-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(212,168,67,0.9), transparent);
  animation: scanline 2.5s linear infinite;
  box-shadow: 0 0 8px rgba(212,168,67,0.6);
}

.result-card { animation: slideDown 0.5s ease forwards; }
.success-icon { animation: success-pop 0.5s ease forwards; }
.pulse-ring { animation: pulse-ring 2s ease-out infinite; }

.verify-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: 8px;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}
.verify-input::placeholder { color: rgba(245,232,200,0.25); }
.verify-input:focus {
  border-color: rgba(212,168,67,0.6);
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 0 3px rgba(212,168,67,0.08);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(14,7,3,0.3);
  border-top-color: rgba(14,7,3,0.9);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

.status-valid { color: #4ade80; }
.status-invalid { color: #f87171; }

/* ===== UTILITY CLASSES ===== */
.cursor-none {
  cursor: none;
}