/* VipHive Custom Styles - Dark Brown & Yellow Theme */

:root {
  --color-dark-brown: #2d1810;
  --color-brown: #3d2415;
  --color-light-brown: #5a3825;
  --color-yellow: #fbbf24;
  --color-yellow-bright: #fcd34d;
  --color-honeycomb: #f59e0b;
}

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

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

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

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes tilt {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

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

@keyframes hexagon-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Utility Classes */
.animate-float {
  animation: float 3s ease-in-out infinite;
}

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

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.2), transparent);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}

.animate-tilt {
  animation: tilt 4s ease-in-out infinite;
}

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Hexagon Background Pattern */
.hexagon-pattern {
  background-color: var(--color-dark-brown);
  background-image: linear-gradient(
      30deg,
      var(--color-light-brown) 12%,
      transparent 12.5%,
      transparent 87%,
      var(--color-light-brown) 87.5%,
      var(--color-light-brown)
    ),
    linear-gradient(
      150deg,
      var(--color-light-brown) 12%,
      transparent 12.5%,
      transparent 87%,
      var(--color-light-brown) 87.5%,
      var(--color-light-brown)
    ),
    linear-gradient(
      30deg,
      var(--color-light-brown) 12%,
      transparent 12.5%,
      transparent 87%,
      var(--color-light-brown) 87.5%,
      var(--color-light-brown)
    ),
    linear-gradient(
      150deg,
      var(--color-light-brown) 12%,
      transparent 12.5%,
      transparent 87%,
      var(--color-light-brown) 87.5%,
      var(--color-light-brown)
    ),
    linear-gradient(
      60deg,
      rgba(90, 56, 37, 0.5) 25%,
      transparent 25.5%,
      transparent 75%,
      rgba(90, 56, 37, 0.5) 75%,
      rgba(90, 56, 37, 0.5)
    ),
    linear-gradient(
      60deg,
      rgba(90, 56, 37, 0.5) 25%,
      transparent 25.5%,
      transparent 75%,
      rgba(90, 56, 37, 0.5) 75%,
      rgba(90, 56, 37, 0.5)
    );
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}

/* Gradient Backgrounds */
.gradient-hive {
  background: linear-gradient(135deg, #2d1810 0%, #5a3825 50%, #3d2415 100%);
}

.gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* Glass Morphism */
.glass-effect {
  background: rgba(61, 36, 21, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 191, 36, 0.1);
}

/* Honeycomb SVG Pattern */
.honeycomb-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='140' viewBox='0 0 80 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 70L60 70L80 110L60 150L20 150L0 110Z' fill='%235a3825' fill-opacity='0.1' /%3E%3C/svg%3E");
}

/* Prose Styling for Readability */
.prose {
  color: #f3f4f6;
  line-height: 1.75;
}

.prose h2 {
  color: var(--color-yellow);
  font-weight: 700;
  font-size: 1.875rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: var(--color-yellow-bright);
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
}

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

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--color-yellow);
  text-decoration: underline;
  transition: color 0.2s;
}

.prose a:hover {
  color: var(--color-yellow-bright);
}

.prose strong {
  color: var(--color-yellow);
  font-weight: 600;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th {
  background: var(--color-brown);
  color: var(--color-yellow);
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
}

.prose td {
  border: 1px solid var(--color-light-brown);
  padding: 0.75rem;
}

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

::-webkit-scrollbar-track {
  background: var(--color-dark-brown);
}

::-webkit-scrollbar-thumb {
  background: var(--color-yellow);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-yellow-bright);
}

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

/* Card Hover Effects */
.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.3);
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  position: relative;
}

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

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