/* Particle Animation */
.particle-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.particle-container::before,
.particle-container::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: #ff6b35;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff6b35, 0 0 20px #ff6b35, 0 0 30px #ff6b35;
  animation: particle-float 15s infinite;
  opacity: 0.6;
}

.particle-container::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particle-container::after {
  top: 60%;
  right: 15%;
  animation-delay: 7s;
}

@keyframes particle-float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(50px, -50px) scale(1.5);
    opacity: 0.8;
  }
  50% {
    transform: translate(-30px, -100px) scale(1);
    opacity: 0.4;
  }
  75% {
    transform: translate(70px, -150px) scale(1.2);
    opacity: 0.7;
  }
}

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

.marquee {
  animation: marquee 20s linear infinite;
}

/* Game Card Animations */
.game-card {
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-0.5rem);
}

/* Details/Summary Styling */
details summary {
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: #ff6b35;
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

/* Prose Styling for Markdown Content */
.prose {
  color: #e5e5e5;
  line-height: 1.75;
}

.prose h2 {
  color: #ff6b35;
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3;
}

.prose h3 {
  color: #ff8c42;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.8em;
  line-height: 1.4;
}

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

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

.prose ul,
.prose ol {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.625em;
}

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

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

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  color: #d1d5db;
}

.prose li::marker {
  color: #ff6b35;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875rem;
}

.prose table thead {
  border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.prose table thead th {
  color: #ff6b35;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
}

.prose table tbody tr {
  border-bottom: 1px solid rgba(107, 114, 128, 0.3);
}

.prose table tbody td {
  padding: 0.75rem 1rem;
  color: #d1d5db;
}

.prose blockquote {
  font-style: italic;
  border-left: 0.25rem solid #ff6b35;
  padding-left: 1.5em;
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  color: #9ca3af;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose a {
  color: #ff6b35;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.prose a:hover {
  color: #ff8c42;
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}

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

::-webkit-scrollbar-thumb {
  background: #ff6b35;
  border-radius: 0.25rem;
}

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

/* Shimmer Effect */
@keyframes shimmer {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 182, 39, 0.3) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}
