/* ========================================
   BALOOBET CASINO - Custom Styles
   Theme: Balloon Flux Pop
   ======================================== */

/* ----------------------------------------
   Keyframe Animations
   ---------------------------------------- */

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes float-delay {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-2deg);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes particle-rise {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

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

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

/* ----------------------------------------
   Animation Utility Classes
   ---------------------------------------- */

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.float-animation-delay {
  animation: float-delay 8s ease-in-out infinite;
  animation-delay: 2s;
}

.float-animation-slow {
  animation: float-slow 10s ease-in-out infinite;
  animation-delay: 4s;
}

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

/* ----------------------------------------
   Particle System
   ---------------------------------------- */

.particle-container {
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particle-rise linear infinite;
}

.particle-1 {
  width: 0.75rem;
  height: 0.75rem;
  background: rgba(125, 211, 252, 0.4);
  left: 10%;
  animation-duration: 15s;
  animation-delay: 0s;
}

.particle-2 {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(251, 113, 133, 0.4);
  left: 25%;
  animation-duration: 18s;
  animation-delay: 3s;
}

.particle-3 {
  width: 1rem;
  height: 1rem;
  background: rgba(110, 231, 183, 0.3);
  left: 45%;
  animation-duration: 20s;
  animation-delay: 6s;
}

.particle-4 {
  width: 0.625rem;
  height: 0.625rem;
  background: rgba(196, 181, 253, 0.4);
  left: 65%;
  animation-duration: 16s;
  animation-delay: 2s;
}

.particle-5 {
  width: 0.875rem;
  height: 0.875rem;
  background: rgba(253, 186, 116, 0.3);
  left: 80%;
  animation-duration: 22s;
  animation-delay: 5s;
}

.particle-6 {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(125, 211, 252, 0.5);
  left: 90%;
  animation-duration: 14s;
  animation-delay: 8s;
}

/* ----------------------------------------
   Tilt Card Effect
   ---------------------------------------- */

.tilt-card {
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
}

/* ----------------------------------------
   Table Responsive Wrapper
   ---------------------------------------- */

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

.table-responsive table {
  min-width: 37.5rem;
}

/* ----------------------------------------
   Prose Styling for Markdown Content
   ---------------------------------------- */

.prose {
  color: #d1d5db;
  line-height: 1.75;
  max-width: 100%;
}

.prose h2 {
  color: #ffffff;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 2.5em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid rgba(196, 181, 253, 0.2);
  line-height: 1.3;
}

.prose h3 {
  color: #7dd3fc;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.4;
}

.prose h4 {
  color: #6ee7b7;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  margin-top: 1.75em;
  margin-bottom: 0.5em;
}

.prose p {
  margin-bottom: 1.5em;
  color: #d1d5db;
}

.prose a {
  color: #7dd3fc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.prose a:hover {
  color: #fb7185;
  border-bottom-color: #fb7185;
}

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

.prose em {
  color: #c4b5fd;
}

.prose blockquote {
  border-left: 4px solid #fb7185;
  padding: 1em 1.5em;
  margin: 2em 0;
  background: rgba(30, 27, 75, 0.5);
  border-radius: 0 1rem 1rem 0;
  color: #e5e7eb;
  font-style: normal;
}

.prose blockquote p {
  margin-bottom: 0;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------
   Prose Lists
   ---------------------------------------- */

.prose ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0;
}

.prose ul li {
  position: relative;
  padding-left: 1.75em;
  margin-bottom: 0.75em;
  color: #d1d5db;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.625em;
  width: 0.5em;
  height: 0.5em;
  background: linear-gradient(135deg, #fb7185, #fdba74);
  border-radius: 50%;
}

.prose ol {
  list-style: none;
  padding-left: 0;
  margin: 1.5em 0;
  counter-reset: item;
}

.prose ol li {
  position: relative;
  padding-left: 2.5em;
  margin-bottom: 0.75em;
  color: #d1d5db;
  counter-increment: item;
}

.prose ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75em;
  height: 1.75em;
  background: linear-gradient(135deg, #7dd3fc, #c4b5fd);
  color: #1e1b4b;
  font-weight: 600;
  font-size: 0.75em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------
   Prose Tables
   ---------------------------------------- */

.prose .table-responsive {
  margin: 2em 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 253, 0.2);
  overflow-x: auto;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.prose thead {
  background: rgba(49, 46, 129, 0.8);
}

.prose th {
  color: #7dd3fc;
  font-weight: 600;
  text-align: left;
  padding: 1em 1.25em;
  white-space: nowrap;
}

.prose tbody tr {
  border-top: 1px solid rgba(196, 181, 253, 0.1);
  transition: background-color 0.2s ease;
}

.prose tbody tr:hover {
  background: rgba(49, 46, 129, 0.3);
}

.prose td {
  padding: 1em 1.25em;
  color: #d1d5db;
}

/* ----------------------------------------
   Prose Images
   ---------------------------------------- */

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 2em 0;
  border: 1px solid rgba(196, 181, 253, 0.2);
}

.prose figure {
  margin: 2em 0;
}

.prose figcaption {
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
  margin-top: 0.75em;
}

/* ----------------------------------------
   Prose Code
   ---------------------------------------- */

.prose code {
  background: rgba(30, 27, 75, 0.8);
  color: #6ee7b7;
  padding: 0.2em 0.5em;
  border-radius: 0.375rem;
  font-size: 0.875em;
  font-family: "JetBrains Mono", monospace;
}

.prose pre {
  background: rgba(30, 27, 75, 0.8);
  border: 1px solid rgba(196, 181, 253, 0.2);
  border-radius: 1rem;
  padding: 1.5em;
  overflow-x: auto;
  margin: 2em 0;
}

.prose pre code {
  background: transparent;
  padding: 0;
}

/* ----------------------------------------
   Prose Horizontal Rule
   ---------------------------------------- */

.prose hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.3), transparent);
  margin: 3em 0;
}

/* ----------------------------------------
   Details/Summary FAQ Style
   ---------------------------------------- */

.prose details {
  background: rgba(30, 27, 75, 0.5);
  border: 1px solid rgba(196, 181, 253, 0.2);
  border-radius: 1rem;
  margin: 1em 0;
  overflow: hidden;
}

.prose summary {
  padding: 1em 1.25em;
  cursor: pointer;
  color: #ffffff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prose summary:hover {
  color: #7dd3fc;
}

.prose details[open] summary {
  border-bottom: 1px solid rgba(196, 181, 253, 0.2);
}

.prose details > div,
.prose details > p {
  padding: 1em 1.25em;
}

/* ----------------------------------------
   Responsive Adjustments
   ---------------------------------------- */

@media (max-width: 640px) {
  .prose {
    font-size: 1rem;
    line-height: 1.7;
  }

  .prose h2 {
    margin-top: 2em;
  }

  .prose h3 {
    margin-top: 1.5em;
  }

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

  .prose ol li::before {
    width: 1.5em;
    height: 1.5em;
  }

  .prose blockquote {
    padding: 0.75em 1em;
    margin: 1.5em 0;
  }
}

/* ----------------------------------------
   Scrollbar Styling
   ---------------------------------------- */

::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

::-webkit-scrollbar-track {
  background: #1e1b4b;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7dd3fc, #c4b5fd);
  border-radius: 0.25rem;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #38bdf8, #a78bfa);
}

/* ----------------------------------------
   Selection Highlight
   ---------------------------------------- */

::selection {
  background: rgba(251, 113, 133, 0.4);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(251, 113, 133, 0.4);
  color: #ffffff;
}
