/* Spinboss Custom CSS - Animations & Prose */

/* ===== KEYFRAMES: SHIMMER ===== */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 165, 0, 0.15) 25%,
    rgba(255, 165, 0, 0.3) 50%,
    rgba(255, 165, 0, 0.15) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #f97316 0%,
    #fbbf24 25%,
    #f97316 50%,
    #fbbf24 75%,
    #f97316 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2.5s linear infinite;
}

/* ===== KEYFRAMES: FLOAT ===== */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

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

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

.float-delay-1 {
  animation-delay: 0.5s;
}

.float-delay-2 {
  animation-delay: 1s;
}

.float-delay-3 {
  animation-delay: 1.5s;
}

/* ===== GLOW EFFECTS ===== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.7), 0 0 60px rgba(249, 115, 22, 0.3);
  }
}

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

@keyframes border-glow {
  0%, 100% {
    border-color: rgba(249, 115, 22, 0.5);
  }
  50% {
    border-color: rgba(249, 115, 22, 1);
  }
}

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

/* ===== PROSE READABILITY ===== */
.prose-casino {
  font-size: 1rem;
  line-height: 1.75;
  color: #d1d5db;
}

.prose-casino h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose-casino h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.prose-casino p {
  margin-bottom: 1.25rem;
}

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

.prose-casino li {
  margin-bottom: 0.5rem;
}

.prose-casino a {
  color: #f97316;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-casino a:hover {
  color: #fb923c;
}

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

/* ===== SMOOTH SCROLL ===== */
html {
  scroll-behavior: smooth;
}

/* ===== CARD STYLES ===== */
.card-casino {
  background: linear-gradient(145deg, #1f2937 0%, #111827 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-casino:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ===== BUTTON STYLES ===== */
.btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #f97316;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid #f97316;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: #fb923c;
  color: #fb923c;
}

/* ===== BADGE STYLES ===== */
.badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
}

.badge-jackpot {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  color: #000000;
}

.badge-rtp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
}

.badge-bonus {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #ffffff;
}

/* ===== TAB STYLES ===== */
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #9ca3af;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: #d1d5db;
}

.tab-btn.active {
  color: #f97316;
  border-bottom-color: #f97316;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===== PILL NAV STYLES ===== */
.pill-nav {
  display: inline-flex;
  padding: 0.5rem 1rem;
  background: rgba(31, 41, 55, 0.8);
  border-radius: 9999px;
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pill-nav:hover {
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
  border-color: rgba(249, 115, 22, 0.3);
}

/* ===== SLOT CARD ===== */
.slot-card {
  position: relative;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  background: #1f2937;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slot-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 1rem;
}

/* ===== STAR RATING ===== */
.star-rating {
  display: inline-flex;
  gap: 0.125rem;
}

.star {
  color: #fbbf24;
}

.star-empty {
  color: #4b5563;
}

/* ===== TABLE STYLES ===== */
.table-casino {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.table-casino thead {
  background: rgba(249, 115, 22, 0.1);
}

.table-casino th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #f97316;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.table-casino td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: #d1d5db;
}

.table-casino tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-nav.open {
  max-height: 500px;
}

/* ===== FEATURE CARD ===== */
.feature-card {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(249, 115, 22, 0.3);
  transform: translateY(-4px);
}

/* ===== GRADIENT BACKGROUNDS ===== */
.bg-gradient-dark {
  background: linear-gradient(180deg, #030712 0%, #0f172a 50%, #030712 100%);
}

.bg-gradient-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
}

/* ===== HERO PANEL ===== */
.hero-panel {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  backdrop-filter: blur(10px);
}

/* ===== TRUSTPILOT STYLES ===== */
.trustpilot-star {
  width: 1.5rem;
  height: 1.5rem;
  background: #00b67a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #111827;
}

::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* ===== FOCUS STYLES ===== */
*:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 2px;
}

/* ===== TIMELINE ===== */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: #f97316;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 16px;
  width: 2px;
  height: calc(100% - 12px);
  background: rgba(249, 115, 22, 0.3);
}

.timeline-item:last-child::after {
  display: none;
}

/* ===== SIDEBAR ===== */

/* Toggle button – fixed bottom-left */
.sidebar-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.1rem;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
}

.sidebar-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(249, 115, 22, 0.6);
}

.sidebar-toggle.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-20px);
}

.sidebar-toggle-icon {
  flex-shrink: 0;
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar panel */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 80;
  width: 260px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0f172a 0%, #0a0f1c 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.sidebar.open {
  transform: translateX(0);
}

/* Header */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo img {
  display: block;
}

.sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: #9ca3af;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Scrollable body */
.sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.sidebar-body::-webkit-scrollbar {
  width: 4px;
}
.sidebar-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

/* Sections */
.sidebar-section {
  padding: 0.5rem 0;
}

.sidebar-section-title {
  padding: 0.4rem 1.1rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}

/* Menu items */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-link:hover {
  background: rgba(249, 115, 22, 0.08);
  color: #f97316;
}

.sidebar-link:hover .sidebar-icon {
  color: #f97316;
}

.sidebar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.sidebar-link:hover .sidebar-icon {
  background: rgba(249, 115, 22, 0.12);
}

/* Footer area */
.sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.5rem 0 0.75rem;
}

.sidebar-menu-bottom .sidebar-link {
  font-size: 0.8rem;
  color: #9ca3af;
}

.sidebar-menu-bottom .sidebar-link:hover {
  color: #f97316;
}

/* Language switcher */
.sidebar-lang {
  padding: 0.5rem 1.1rem 0;
}

.sidebar-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #d1d5db;
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sidebar-lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.sidebar-lang-flag {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.sidebar-lang-label {
  flex: 1;
  text-align: left;
}

.sidebar-lang-arrow {
  flex-shrink: 0;
  color: #6b7280;
}

/* Responsive tweaks */
@media (max-width: 640px) {
  .sidebar {
    width: 240px;
  }
  .sidebar-toggle {
    bottom: 16px;
    left: 16px;
    padding: 0.55rem 0.9rem;
    font-size: 0.75rem;
  }
}

/* ===== WITHDRAWAL SPEED ANIMATION ===== */
.wd-step-dot {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  color: #6b7280;
  transition: all 0.5s ease;
}

.wd-step-dot.reached {
  background: rgba(249,115,22,0.15);
  border-color: #f97316;
  color: #f97316;
  box-shadow: 0 0 16px rgba(249,115,22,0.35);
}

@media (max-width: 640px) {
  .wd-step-dot {
    width: 32px;
    height: 32px;
  }
  .wd-step-dot svg {
    width: 16px;
    height: 16px;
  }
}
