/* ============================================
   Davontae Harris - "The Wichita Kid"
   Gold & Black Theme with Full Effects
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --gold: #FFD700;
  --gold-bright: #FFDF33;
  --gold-glow: #FFE066;
  --gold-dark: #B8960F;
  --dark: #0d0d0d;
  --darker: #080808;
  --card: #111111;
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
}

/* ---- Custom Scrollbar ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--darker);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-bright);
}

/* ---- Gold Neon Text Glow ---- */
.gold-glow {
  color: var(--gold);
  text-shadow:
    0 0 10px var(--gold),
    0 0 40px var(--gold),
    0 0 80px var(--gold);
}

.gold-glow-soft {
  text-shadow:
    0 0 10px rgba(255, 215, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.3);
}

/* ---- Animated Gradient Background ---- */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bg-gradient-animate {
  background: linear-gradient(-45deg, #080808, #1a1505, #0d0d0d, #15120a);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

/* ---- Gradient Border Cards ---- */
.gradient-border {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-glow), var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.gradient-border > * {
  position: relative;
  z-index: 1;
}

/* ---- Floating Animation ---- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ---- Pulse Gold Glow (for hero headline) ---- */
@keyframes pulseGoldGlow {
  0%, 100% {
    text-shadow:
      0 0 10px var(--gold),
      0 0 40px var(--gold);
  }
  50% {
    text-shadow:
      0 0 20px var(--gold),
      0 0 60px var(--gold),
      0 0 100px rgba(255, 215, 0, 0.5);
  }
}

.animate-pulse-gold {
  animation: pulseGoldGlow 2s ease-in-out infinite;
}

/* ---- Box Glow Animation ---- */
@keyframes boxGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4), 0 0 80px rgba(255, 215, 0, 0.15);
  }
}

.animate-box-glow {
  animation: boxGlow 2s ease-in-out infinite alternate;
}

/* ---- Shimmer Effect ---- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-text {
  background: linear-gradient(90deg, var(--gold), #fff, var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ---- Section Divider ---- */
.section-divider {
  height: 2px;
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-glow), var(--gold), transparent);
}

/* ---- Hero Pattern ---- */
.hero-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 215, 0, 0.15) 1px, transparent 0);
  background-size: 40px 40px;
}

/* ---- Navbar ---- */
#navbar {
  background: transparent;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

/* ---- Button Glow Effects ---- */
.btn-gold-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-gold-glow:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.btn-outline-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-outline-glow:hover {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 0 40px rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
  border-color: var(--gold) !important;
}

/* ---- Scroll Reveal Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transition: none;
}

.reveal.active {
  animation-fill-mode: forwards;
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
}

.reveal.fade-up.active { animation-name: fadeInUp; }
.reveal.fade-left.active { animation-name: fadeInLeft; }
.reveal.fade-right.active { animation-name: fadeInRight; }
.reveal.scale-in.active { animation-name: scaleIn; }

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* ---- Form Styling ---- */
select option {
  background-color: #1a1a1a;
  color: #fff;
}

/* ---- Mobile Menu ---- */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobile-menu.open {
  max-height: 400px;
}

/* ---- Accessibility Focus ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---- Particle Canvas ---- */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ---- TikTok Embeds ---- */
.tiktok-embed-wrapper {
  display: flex;
  justify-content: center;
}
.tiktok-embed-wrapper blockquote {
  margin: 0 !important;
}

/* ---- Timeline ---- */
.timeline-item .gradient-border {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item .gradient-border:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}
