/* ==========================================
   TikiCasino Tiki Glow Theme
   Custom CSS: Keyframes & Prose Styling
   ========================================== */

/* === KEYFRAME ANIMATIONS === */

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

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4),
                0 0 40px rgba(255, 107, 0, 0.2);
  }
  50% { 
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.8),
                0 0 60px rgba(255, 107, 0, 0.4);
  }
}

@keyframes neon-flicker {
  0%, 100% { opacity: 1; }
  41% { opacity: 0.9; }
  42% { opacity: 1; }
  43% { opacity: 0.95; }
  45% { opacity: 1; }
  46% { opacity: 0.98; }
  50% { opacity: 1; }
}

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

@keyframes parallax-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-30px); }
}

@keyframes tiki-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes hibiscus-bloom {
  0% { 
    transform: scale(0.8) rotate(0deg);
    opacity: 0.6;
  }
  50% { 
    transform: scale(1.1) rotate(180deg);
    opacity: 1;
  }
  100% { 
    transform: scale(0.8) rotate(360deg);
    opacity: 0.6;
  }
}

/* === ANIMATION CLASSES === */

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

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

.neon-flicker {
  animation: neon-flicker 4s linear infinite;
}

.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

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

.tiki-spin {
  animation: tiki-rotate 20s linear infinite;
}

.hibiscus-effect {
  animation: hibiscus-bloom 8s ease-in-out infinite;
}

/* === TIKI GLOW THEME EFFECTS === */

.tiki-neon-border {
  border: 2px solid #14b8a6;
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.5),
              inset 0 0 10px rgba(20, 184, 166, 0.3);
}

.tiki-neon-text {
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.8),
               0 0 20px rgba(255, 107, 0, 0.4),
               0 0 30px rgba(255, 107, 0, 0.2);
}

.tiki-wood-texture {
  background: linear-gradient(135deg, 
    #8b5a3c 0%, 
    #6b4423 25%, 
    #8b5a3c 50%, 
    #6b4423 75%, 
    #8b5a3c 100%);
  background-size: 200% 200%;
}

.tropical-gradient {
  background: linear-gradient(135deg, 
    #ff6b00 0%, 
    #ff8c00 50%, 
    #14b8a6 100%);
}

.scatter-burst {
  position: relative;
}

.scatter-burst::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, 
    rgba(255, 107, 0, 0.3) 0%, 
    transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* === PROSE STYLING FOR READABILITY === */

/* Enhanced prose styling with responsive typography and better readability */

.prose {
  max-width: 100%;
  width: 100%;
  color: #1f2937;
  line-height: 1.75;
  font-size: 1rem;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  color: #374151;
}

.prose h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.3;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #ff6b00;
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
  position: relative;
  padding-bottom: 0.5em;
}

.prose h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(90deg, #ff6b00, #14b8a6);
  border-radius: 0.125rem;
}

.prose h3 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  line-height: 1.4;
  font-weight: 600;
  margin-top: 1.75em;
  margin-bottom: 0.75em;
  color: #14b8a6;
}

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

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

.prose ul li {
  position: relative;
  padding-left: 0.5em;
}

.prose ul li::before {
  content: '▸';
  position: absolute;
  left: -1.25em;
  color: #ff6b00;
  font-weight: bold;
}

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

.prose ol li {
  counter-increment: item;
}

.prose li {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  line-height: 1.8;
  color: #4b5563;
}

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

.prose a {
  color: #ff6b00;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

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

.prose blockquote {
  font-style: italic;
  border-left: 0.25rem solid #14b8a6;
  padding-left: 1.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin: 2em 0;
  color: #6b7280;
  background: rgba(20, 184, 166, 0.05);
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose code {
  background-color: #f3f4f6;
  padding: 0.25em 0.5em;
  border-radius: 0.25rem;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
  color: #dc2626;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2em auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.prose thead {
  background: linear-gradient(135deg, #ff6b00, #ff8c00);
}

.prose th {
  padding: 1em 1.25em;
  text-align: left;
  font-weight: 700;
  color: white;
  border: none;
}

.prose td {
  padding: 1em 1.25em;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
}

.prose tbody tr:hover {
  background-color: rgba(20, 184, 166, 0.05);
  transition: background-color 0.2s ease;
}

.prose tbody tr:last-child td {
  border-bottom: none;
}

/* === RESPONSIVE TABLE === */

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table-responsive::-webkit-scrollbar {
  height: 0.5rem;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 0.25rem;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #14b8a6;
  border-radius: 0.25rem;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #0f9488;
}

/* === SMOOTH SCROLL BEHAVIOR === */

html {
  scroll-behavior: smooth;
}

/* === TIKI DECORATIVE PATTERNS === */

.tiki-pattern-bg {
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 107, 0, 0.05) 35px, rgba(255, 107, 0, 0.05) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(20, 184, 166, 0.05) 35px, rgba(20, 184, 166, 0.05) 70px);
}

.hibiscus-scatter {
  background-image: radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 30%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 50% 80%, rgba(255, 140, 0, 0.15) 0%, transparent 50%);
}

/* === MOBILE MENU ANIMATIONS === */

.mobile-menu-enter {
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* === CTA BUTTON ENHANCEMENTS === */

.tiki-cta {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tiki-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.tiki-cta:hover::before {
  width: 300px;
  height: 300px;
}

/* === UTILITY CLASSES === */

.glow-orange {
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.4);
}

.glow-teal {
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.4);
}

.text-neon-orange {
  color: #ff6b00;
  text-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
}

.text-neon-teal {
  color: #14b8a6;
  text-shadow: 0 0 8px rgba(20, 184, 166, 0.6);
}

.backdrop-blur-tiki {
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.6);
}
