/* Spin District Custom Styles - Neon Futuristic Casino Theme */

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

@keyframes neon-pulse {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 8px currentColor);
  }
  50% {
    opacity: 0.7;
    filter: drop-shadow(0 0 20px currentColor);
  }
}

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

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

@keyframes glow-border {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(191, 255, 0, 0.5), 0 0 20px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(191, 255, 0, 0.8), 0 0 40px rgba(255, 107, 53, 0.6);
  }
}

/* Utility Classes */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

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

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

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

.parallax-layer {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.streak-bg {
  position: absolute;
  width: 200%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #bfff00, transparent);
  animation: streak-move 3s linear infinite;
  pointer-events: none;
}

.streak-bg:nth-child(2) {
  animation-delay: 1s;
  background: linear-gradient(90deg, transparent, #ff6b35, transparent);
}

.streak-bg:nth-child(3) {
  animation-delay: 2s;
  background: linear-gradient(90deg, transparent, #ff8c42, transparent);
}

.geometric-border {
  position: relative;
  clip-path: polygon(
    0 8px,
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
}

.neon-box {
  background: rgba(10, 15, 35, 0.9);
  border: 2px solid #bfff00;
  box-shadow: 0 0 20px rgba(191, 255, 0, 0.4), inset 0 0 20px rgba(191, 255, 0, 0.1);
  animation: glow-border 3s ease-in-out infinite;
}

.neon-text-orange {
  color: #ff6b35;
  text-shadow: 0 0 10px rgba(255, 107, 53, 0.8), 0 0 20px rgba(255, 107, 53, 0.5);
}

.neon-text-lime {
  color: #bfff00;
  text-shadow: 0 0 10px rgba(191, 255, 0, 0.8), 0 0 20px rgba(191, 255, 0, 0.5);
}

/* Prose Styling for Readability */
.prose-casino {
  max-width: 100%;
  line-height: 1.7;
  color: #e0e0e0;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.prose-casino h2 {
  color: #bfff00;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-top: 3em;
  margin-bottom: 1em;
  line-height: 1.3;
  text-shadow: 0 0 0.625rem rgba(191, 255, 0, 0.5);
  letter-spacing: -0.02em;
}

.prose-casino h2:first-child {
  margin-top: 0;
}

.prose-casino h3 {
  color: #ff8c42;
  font-weight: 600;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-top: 2em;
  margin-bottom: 0.75em;
  line-height: 1.4;
  text-shadow: 0 0 0.5rem rgba(255, 140, 66, 0.4);
}

.prose-casino h4 {
  color: #ffa366;
  font-weight: 600;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.prose-casino p {
  margin-bottom: 1.25em;
  max-width: 100%;
}

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

.prose-casino ul,
.prose-casino ol {
  margin-left: 1.5em;
  margin-bottom: 1.5em;
  padding-left: 0.5em;
}

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

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

.prose-casino li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.prose-casino li::marker {
  color: #bfff00;
}

.prose-casino ul ul,
.prose-casino ol ol,
.prose-casino ul ol,
.prose-casino ol ul {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

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

.prose-casino em {
  color: #ffa366;
  font-style: italic;
}

.prose-casino a {
  color: #bfff00;
  text-decoration: underline;
  text-decoration-thickness: 0.0625rem;
  text-underline-offset: 0.125rem;
  transition: all 0.3s ease;
}

.prose-casino a:hover {
  color: #ff8c42;
  text-shadow: 0 0 0.5rem rgba(255, 140, 66, 0.6);
  text-decoration-thickness: 0.125rem;
}

.prose-casino table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: clamp(0.875rem, 2vw, 1rem);
  background: rgba(10, 15, 35, 0.5);
  border: 0.125rem solid rgba(191, 255, 0, 0.2);
}

.prose-casino th {
  background: rgba(191, 255, 0, 0.15);
  color: #bfff00;
  padding: 0.875em 1em;
  text-align: left;
  border: 0.0625rem solid rgba(191, 255, 0, 0.3);
  font-weight: 600;
  white-space: nowrap;
}

.prose-casino td {
  padding: 0.875em 1em;
  border: 0.0625rem solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.prose-casino tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

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

.prose-casino blockquote {
  border-left: 0.25rem solid #ff6b35;
  padding-left: 1.5em;
  margin: 2em 0;
  font-style: italic;
  color: #ffa366;
  background: rgba(255, 107, 53, 0.05);
  padding-top: 1em;
  padding-bottom: 1em;
  padding-right: 1em;
}

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

.prose-casino img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2em 0;
  border: 0.125rem solid rgba(191, 255, 0, 0.3);
  box-shadow: 0 0 1.25rem rgba(191, 255, 0, 0.2);
}

.prose-casino code {
  background: rgba(191, 255, 0, 0.1);
  color: #bfff00;
  padding: 0.125em 0.375em;
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: "Courier New", monospace;
}

.prose-casino pre {
  background: rgba(10, 15, 35, 0.8);
  padding: 1.5em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 2em 0;
  border: 0.0625rem solid rgba(191, 255, 0, 0.2);
}

.prose-casino pre code {
  background: none;
  padding: 0;
}

.prose-casino hr {
  border: none;
  height: 0.125rem;
  background: linear-gradient(90deg, transparent, #bfff00, transparent);
  margin: 3em 0;
  opacity: 0.5;
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2em 0;
  border-radius: 0.5rem;
  max-width: 100%;
}

.table-responsive table {
  margin: 0;
}

/* Button Styles */
.btn-neon-primary {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: #fff;
  border: 2px solid #ff6b35;
  box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
  transition: all 0.3s;
}

.btn-neon-primary:hover {
  box-shadow: 0 0 25px rgba(255, 107, 53, 0.8);
  transform: translateY(-2px);
}

.btn-neon-secondary {
  background: transparent;
  color: #bfff00;
  border: 2px solid #bfff00;
  box-shadow: 0 0 15px rgba(191, 255, 0, 0.3);
  transition: all 0.3s;
}

.btn-neon-secondary:hover {
  background: rgba(191, 255, 0, 0.1);
  box-shadow: 0 0 25px rgba(191, 255, 0, 0.6);
}

/* Mobile Menu */
.mobile-menu {
  background: rgba(10, 15, 35, 0.98);
  backdrop-filter: blur(10px);
}

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

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(191, 255, 0, 0.3);
}

/* Floating Animation */
.float-animation {
  animation: float 4s ease-in-out infinite;
}

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

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

::-webkit-scrollbar-track {
  background: #0a0f23;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff6b35, #bfff00);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff8c42, #7fff00);
}
