@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --gold: #ffd700;
  --dark-blue: #020410;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #020410;
}

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

/* Text Gradient */
.text-gradient-gold {
  background: linear-gradient(to right, #ffd700, #fde68a, #b8860b, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Animation Utilities */
.split-text-reveal {
  opacity: 0;
  transform: translateY(100%);
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-delay-fade {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.animate-delay-fade-2 {
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* Enhanced Social Card */
.social-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem; /* Reduced slightly for mobile */
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .social-card {
    padding: 2rem;
  }
}

.social-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.2);
}

.icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .icon-box {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Marquee */
.marquee-wrapper {
  overflow: hidden;
}
.marquee-content {
  animation: scroll 20s linear infinite;
}
@media (min-width: 768px) {
  .marquee-content {
    animation: scroll 30s linear infinite;
  }
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile Menu Animation Classes */
.menu-open {
  overflow: hidden;
}

.hamburger-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
  width: 2rem; /* Make it full width like others */
}
