/* Custom animations and overrides for Shakebet Disco Theme */

/* Disco Spin Keyframes */
@keyframes disco-spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(10deg) scale(1.02);
  }
  100% {
    transform: rotate(20deg) scale(1);
  }
}


@keyframes neon-pulse {
  0%,
  100% {
    box-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff, 0 0 60px #ff00ff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
  }
  50% {
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #00ffff;
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 20px #ff00ff;
  }
}

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

@keyframes tilt-shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-2deg);
  }
}

/* Disco Theme Styles */
.disco-spin {
  animation: disco-spin 4s linear infinite;
}

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

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

.tilt-hover:hover {
  animation: tilt-shake 0.5s ease-in-out;
}

/* Custom Disco Background Pattern */
.disco-bg {
  background: radial-gradient(circle at 20% 20%, rgba(255, 0, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

/* Neon Border Effects */
.neon-border {
  border: 2px solid transparent;
  background: linear-gradient(45deg, #ff00ff, #00ffff) border-box;
  border-radius: 12px;
  position: relative;
}

.neon-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

/* Chip Spinning Effect */
.chip-spin {
  transform-style: preserve-3d;
  animation: disco-spin 3s linear infinite;
}

/* Prose Styling for Readability */
.prose {
  max-width: 100%;
  line-height: 1.7;
  color: #e2e8f0;
  font-size: 1.1rem;
}

.prose h2 {
  color: #00ffff;
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}

.prose h3 {
  color: #ff00ff;
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.prose p {
  margin-bottom: 1.5rem;
  text-align: justify;
  line-height: 1.8;
}

.prose ul,
.prose ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prose ul li::marker {
  color: #00ffff;
}

.prose ol li::marker {
  color: #ff00ff;
  font-weight: bold;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

.prose table tbody {
  display: table;
  width: 100%;
}

.prose th,
.prose td {
  padding: 1rem 0.75rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
  text-align: left;
  white-space: normal;
}

.prose th {
  background: linear-gradient(45deg, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.2));
  color: #00ffff;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.prose td {
  background: rgba(26, 26, 46, 0.3);
}

.prose blockquote {
  border-left: 4px solid #ff00ff;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  background: rgba(255, 0, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.prose strong {
  color: #ff00ff;
  font-weight: 700;
}

.prose em {
  color: #00ffff;
  font-style: italic;
}

/* Responsive prose adjustments */
@media (max-width: 768px) {
  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }

  .prose h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }

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

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

/* Mobile Navigation Styles */
.mobile-menu {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
}

/* Responsive Utilities */
@media (max-width: 1023px) {
  .burger-bg {
    background: rgba(26, 26, 46, 1) !important;
  }
}

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

body {
  overflow: auto;
}

/* Custom Button Styles */
.btn-primary {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  border: none;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 0, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #00ffff;
  color: #1a1a2e;
  transform: translateY(-2px);
}
