/* ===========================
   WINBETZ - Custom Styles
   Theme: Winburst Zeon Flux
   =========================== */

/* === KEYFRAME ANIMATIONS === */
@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 238, 0, 0.6), 0 0 40px rgba(255, 238, 0, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 238, 0, 0.8), 0 0 60px rgba(255, 238, 0, 0.5);
  }
}

@keyframes streak-move {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(-45deg);
  }
  100% {
    transform: translateX(200%) translateY(200%) rotate(-45deg);
  }
}

@keyframes particle-float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-2rem) translateX(1rem);
    opacity: 0.5;
  }
}

@keyframes badge-shine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

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

/* === UTILITY CLASSES === */
.glow-yellow {
  animation: glow-pulse 2s ease-in-out infinite;
}

.streak-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255, 238, 0, 0.3) 50%, transparent 60%);
  animation: streak-move 3s linear infinite;
  pointer-events: none;
}

.particle-bg {
  position: relative;
  overflow: hidden;
}

.particle-bg::after {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  background: #ffee00;
  border-radius: 50%;
  animation: particle-float 4s ease-in-out infinite;
  opacity: 0.7;
}

.badge-shine {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 238, 0, 0.4) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: badge-shine 3s linear infinite;
}

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

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

/* === PROSE STYLING === */
.prose {
  max-width: 75ch;
  color: #e5e5e5;
  line-height: 1.7;
}

.prose h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.25;
  color: #ffee00;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 0.5em;
}

.prose h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(90deg, #ffee00, transparent);
}

.prose h3 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  margin-top: 1.75em;
  margin-bottom: 0.75em;
  line-height: 1.3;
  color: #ffd700;
  letter-spacing: -0.01em;
}

.prose p {
  margin-bottom: 1.25em;
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.prose strong {
  font-weight: 600;
  color: #ffee00;
}

.prose ul,
.prose ol {
  margin: 1.5em 0;
  padding-left: 1.75em;
}

.prose ul {
  list-style-type: none;
}

.prose ul li {
  position: relative;
  margin-bottom: 0.75em;
  padding-left: 1.5em;
}

.prose ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #ffee00;
  font-weight: bold;
}

.prose ol {
  list-style-type: decimal;
  list-style-position: outside;
}

.prose ol li {
  margin-bottom: 0.75em;
  padding-left: 0.5em;
}

.prose ol li::marker {
  color: #ffee00;
  font-weight: 700;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: clamp(0.875rem, 2vw, 1rem);
  background: rgba(26, 26, 26, 0.6);
  border: 0.125rem solid #333;
}

.prose thead {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.prose th {
  padding: 1em;
  text-align: left;
  font-weight: 600;
  color: #ffee00;
  border-bottom: 0.125rem solid #ffee00;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  font-size: 0.875em;
}

.prose td {
  padding: 1em;
  border-bottom: 0.0625rem solid #333;
  color: #e5e5e5;
}

.prose tr:hover {
  background: rgba(255, 238, 0, 0.05);
}

.prose blockquote {
  border-left: 0.25rem solid #ffee00;
  padding-left: 1.5em;
  margin: 2em 0;
  font-style: italic;
  color: #ccc;
  background: rgba(255, 238, 0, 0.05);
  padding: 1.5em;
  border-radius: 0.5rem;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2em 0;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.5);
}

.prose a {
  color: #ffee00;
  text-decoration: underline;
  text-decoration-color: rgba(255, 238, 0, 0.3);
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.25rem;
  transition: all 0.2s ease;
}

.prose a:hover {
  color: #ffd700;
  text-decoration-color: #ffd700;
}

/* === RESPONSIVE MEDIA === */
@media (max-width: 768px) {
  .prose h2 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
  }

  .prose h3 {
    margin-top: 1.25em;
    margin-bottom: 0.5em;
  }

  .prose ul,
  .prose ol {
    padding-left: 1.25em;
  }

  .prose table {
    font-size: 0.875rem;
  }

  .prose th,
  .prose td {
    padding: 0.75em 0.5em;
  }
}
