@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Montserrat:ital,wght@0,300;0,400;0,600;0,700;1,300&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&display=swap');

:root {
  --color-gold: #D4AF37;
  --color-gold-light: #F5D27A;
  --color-gold-dark: #AA7C11;
  --color-dark-bg: #050505;
  --color-dark-matte: #111111;
  --color-dark-gray: #1E1E1E;
}

/* Fallback theme classes */
.bg-dark-matte {
  background-color: var(--color-dark-matte) !important;
}
.bg-dark-gray {
  background-color: var(--color-dark-gray) !important;
}
.text-gold {
  color: var(--color-gold) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #F5D27A;
}

/* Text Selection */
::selection {
  background: #D4AF37;
  color: #000000;
}

/* Base resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #050505;
  color: #ffffff;
  overflow-x: hidden;
}

body {
  background-color: #050505;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* Typography Utility Classes */
.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-montserrat {
  font-family: 'Montserrat', sans-serif;
}

.font-poppins {
  font-family: 'Poppins', sans-serif;
}

/* Glassmorphism utility */
.glass {
  background: rgba(17, 17, 17, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.glass-nav {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

/* Gold glows */
.gold-glow {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.gold-glow-hover {
  transition: all 0.4s ease;
}

.gold-glow-hover:hover {
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
  border-color: rgba(245, 210, 122, 0.6) !important;
  transform: translateY(-4px);
}

.gold-text-glow {
  text-shadow: 0 0 8px rgba(245, 210, 122, 0.4);
}

/* Moving spotlights animation */
@keyframes spin-clockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-counter-clockwise {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

.animate-spin-slow {
  animation: spin-clockwise 28s linear infinite;
}

.animate-spin-slow-reverse {
  animation: spin-counter-clockwise 38s linear infinite;
}

/* Infinite Marquee */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Mask for Marquee fade edges */
.mask-gradient {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Vertical TikTok Reels Player styling */
.reels-container::-webkit-scrollbar {
  display: none;
}
.reels-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

/* Masonry columns */
.masonry-grid {
  column-count: 3;
  column-gap: 24px;
}

@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .masonry-grid {
    column-count: 1;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
}

/* Animations for entries */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hide scrollbar utility */
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
