/* ========== BASE & RESET ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
}

::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #F5F0E8;
}

/* ========== NAVBAR ========== */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(5, 13, 26, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

/* Mobile menu */
#mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  transition: opacity 0.3s ease;
}

.mobile-link:hover {
  opacity: 0.7;
}

/* Menu button animation */
#menu-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
#menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}
#menu-btn.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 1.25rem;
}

/* ========== GOLD BUTTON ========== */
.gold-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #C9A84C 0%, #D4B962 50%, #B8943F 100%);
  color: #050D1A;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
}

.gold-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #E0CA78 0%, #C9A84C 50%, #D4B962 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

.gold-button:hover::before {
  opacity: 1;
}

.gold-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.35);
}

.gold-button:active {
  transform: translateY(0);
}

.gold-button span,
.gold-button svg {
  position: relative;
  z-index: 1;
}

/* ========== HERO ORBS ========== */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float-orb 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation: float-orb 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  top: 40%;
  left: 20%;
  animation: float-orb 12s ease-in-out infinite;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ========== HERO BADGE ========== */
.hero-badge {
  animation: fade-in-up 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

/* ========== HERO HEADLINE ========== */
#hero h1 {
  animation: fade-in-up 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

#hero p {
  animation: fade-in-up 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

#hero .flex-col {
  animation: fade-in-up 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.8s;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== SCROLL REVEAL ========== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal delays */
.reveal-on-scroll:nth-child(1) { transition-delay: 0s; }
.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.reveal-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.reveal-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* ========== COLLECTION CARDS ========== */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* ========== GOLD DIVIDER ========== */
.w-12.h-px.bg-gold-500 {
  background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}

/* ========== FORM INPUTS ========== */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

::-webkit-scrollbar-track {
  background: #050D1A;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C9A84C, #9E7F32);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #D4B962, #C9A84C);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero-orb-1 {
    width: 250px;
    height: 250px;
  }
  .hero-orb-2 {
    width: 200px;
    height: 200px;
  }
  .hero-orb-3 {
    width: 150px;
    height: 150px;
  }
}
