/* ============================
   WEVEE LLC - Custom Styles
   Japanese Modern × TCG Design
   ============================ */

/* Smooth scrolling & prevent horizontal overflow from video */
html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Header states */
#site-header {
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#site-header.scrolled {
  background-color: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* Active nav link */
.nav-link.active {
  color: #c9a84c !important;
}

/* Animations */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce-slow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.animate-fade-in {
  animation: fade-in 1s ease-out both;
}

.animate-bounce-slow {
  animation: bounce-slow 2.5s ease-in-out infinite;
}

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Japanese decorative line (subtle) */
.jp-line::before {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #c9a84c, transparent);
  margin-bottom: 1.5rem;
}

/* Selection color */
::selection {
  background-color: rgba(201, 168, 76, 0.3);
  color: #1a1a2e;
}

/* Scrollbar (Webkit) */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
  background: #c9a84c;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e2c97e;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .font-heading.text-5xl { font-size: 2.5rem; }
  .font-heading.text-7xl { font-size: 3rem; }
}
