@import "tailwindcss";

@theme {
  --color-gold-light: #D4AF37;
  --color-gold-dark: #C5A021;
  --color-dark-bg: #0A0A0A;
  --color-dark-surface: #1A1A1A;
  --font-sans: "Inter", "system-ui", "-apple-system", "sans-serif";
}

:root {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-dark-bg);
  color: #E0E0E0;
  font-family: var(--font-sans);
  overflow-x: hidden;
}

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

/* Gold Gradient Text */
.text-gold-gradient {
  background: linear-gradient(135deg, #FFE08A 0%, #D4AF37 50%, #B8860B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold Border Glow */
.gold-glow {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}
.gold-glow:hover {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
  border-color: var(--color-gold-light);
}

/* Navigation Link Underline */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold-light);
  transition: width 0.3s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Hero Section Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Card Styling */
.sport-card {
  background: var(--color-dark-surface);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sport-card:hover {
  transform: translateY(-8px);
}
.sport-card img {
  transition: transform 0.5s ease;
}
.sport-card:hover img {
  transform: scale(1.1);
}

/* Loader */
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-dark-bg);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}
.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-hidden {
  display: none !important;
}
