/* Goldspinia Custom CSS */
/* Animations: Shimmer + Float */

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.7);
  }
}

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

/* Shimmer effect class */
.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(251, 191, 36, 0.3) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2.5s infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #fbbf24 0%,
    #fef3c7 50%,
    #fbbf24 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s infinite;
}

/* Float effect class */
.float {
  animation: float 4s ease-in-out infinite;
}

.float-delay-1 {
  animation: float 4s ease-in-out infinite 0.5s;
}

.float-delay-2 {
  animation: float 4s ease-in-out infinite 1s;
}

/* Pulse glow for CTAs */
.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Fade in animation */
.fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

/* Prose readability */
.prose-readable {
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.prose-readable p {
  margin-bottom: 1.25em;
}

.prose-readable h2 {
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.3;
}

.prose-readable h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.4;
}

.prose-readable ul,
.prose-readable ol {
  margin-bottom: 1.25em;
  padding-left: 1.5em;
}

.prose-readable li {
  margin-bottom: 0.5em;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #78350f;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #92400e;
}

/* Tab active state */
.tab-btn.active {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1209;
  font-weight: 600;
}

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(251, 191, 36, 0.2);
}

/* Glow border for spotlight */
.glow-border {
  box-shadow: 
    0 0 20px rgba(251, 191, 36, 0.5),
    0 0 40px rgba(251, 191, 36, 0.3),
    0 0 60px rgba(251, 191, 36, 0.1);
}

/* Mobile menu transitions */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-menu.open {
  max-height: 500px;
}

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

/* Selection color */
::selection {
  background: #fbbf24;
  color: #1a1209;
}
