/* Chrome Fortune Custom Styles */

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

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

@keyframes neonPulse {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.6);
  }
}

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

/* Marquee Animation */
.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;
}

/* Parallax Layers */
.parallax-layer {
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* Chrome/Metallic Effects */
.chrome-text {
  background: linear-gradient(135deg, #c0c0c0 0%, #f5f5f5 25%, #e8e8e8 50%, #c0c0c0 75%, #a8a8a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
}

.neon-gold {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
  animation: neonPulse 2s ease-in-out infinite;
}

.neon-border {
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.5), 0 0 20px rgba(0, 217, 255, 0.3), inset 0 0 10px rgba(0, 217, 255, 0.2);
}

.metallic-bg {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  position: relative;
}

.metallic-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(192, 192, 192, 0.1) 50%, transparent 100%);
  pointer-events: none;
}

/* Obsidian Backdrop Pattern */
.obsidian-pattern {
  background-color: #0a0a0a;
  background-image: radial-gradient(circle at 20% 50%, rgba(192, 192, 192, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(0, 217, 255, 0.03) 0%, transparent 50%);
}

/* Glass Morphism for Cards */
.glass-card {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(192, 192, 192, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

/* Button Styles */
.btn-chrome {
  background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 50%, #c0c0c0 100%);
  color: #0a0a0a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-chrome::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.5s ease;
}

.btn-chrome:hover::before {
  left: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #0a0a0a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-gold:hover {
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

/* Table Responsive Wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Prose Styling for Readability */
.prose {
  color: #e8e8e8;
  line-height: 1.75;
  max-width: 100%;
}

.prose h2 {
  color: #f5f5f5;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-top: 3em;
  margin-bottom: 1em;
  line-height: 1.3;
  background: linear-gradient(135deg, #c0c0c0 0%, #f5f5f5 50%, #c0c0c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.prose h2:first-of-type {
  margin-top: 0;
}

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

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

.prose p:first-of-type {
  font-size: clamp(1.0625rem, 2.2vw, 1.1875rem);
  line-height: 1.8;
}

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

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

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

.prose li {
  margin-bottom: 0.75em;
  padding-left: 0.5em;
  line-height: 1.7;
}

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

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

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

.prose a {
  color: #00d9ff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.3s ease;
}

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

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

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  overflow-x: auto;
  display: block;
}

.prose thead {
  background: rgba(192, 192, 192, 0.1);
}

.prose th {
  background: rgba(192, 192, 192, 0.1);
  color: #ffd700;
  padding: 1em;
  text-align: left;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
  font-weight: 600;
  white-space: nowrap;
}

.prose td {
  padding: 1em;
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
  color: #e8e8e8;
}

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

.prose blockquote {
  border-left: 4px solid #ffd700;
  padding-left: 1.5em;
  margin: 2em 0;
  font-style: italic;
  color: #c0c0c0;
  background: rgba(255, 215, 0, 0.05);
  padding: 1.5em;
  border-radius: 0.25rem;
}

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

.prose code {
  background: rgba(192, 192, 192, 0.1);
  color: #00d9ff;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: monospace;
}

.prose pre {
  background: rgba(10, 10, 10, 0.8);
  color: #e8e8e8;
  padding: 1.5em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 2em 0;
  border: 1px solid rgba(192, 192, 192, 0.2);
}

.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.prose hr {
  border: none;
  border-top: 1px solid rgba(192, 192, 192, 0.2);
  margin: 3em 0;
}

@media (max-width: 768px) {
  .prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

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

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

/* Mobile Menu Overlay */
.mobile-menu {
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.hidden {
  transform: translateX(-100%);
}

/* Number Badges */
.number-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: #0a0a0a;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Bonus Badge */
.bonus-badge {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  border: 3px solid #c0c0c0;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.2);
  animation: float 3s ease-in-out infinite;
}

/* Game Provider Tags */
.provider-tag {
  background: rgba(192, 192, 192, 0.1);
  border: 1px solid rgba(192, 192, 192, 0.3);
  color: #e8e8e8;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.provider-tag:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  color: #ffd700;
}

/* Disclaimer Text */
.disclaimer {
  font-size: 0.75rem;
  color: #a8a8a8;
  font-style: italic;
}
