/* OpenClaw.ai-Inspired Premium Dark Theme for Slot RTP Data Centre */

:root {
  /* Core Background Colors - OpenClaw Style */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-elevated: #161620;
  
  /* OpenClaw Gradient Colors */
  --accent-orange: #ff6b35;
  --accent-gold: #ffd700;
  --accent-gold-light: #ffed4a;
  --accent-coral: #ff8c42;
  --accent-cyan: #00d4ff;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-dim: #52525b;
  
  /* Border Colors */
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(255, 107, 53, 0.4);
  --border-gold: rgba(255, 215, 0, 0.3);
  
  /* OpenClaw Gradients */
  --gradient-hero: linear-gradient(135deg, #ff6b35 0%, #ffd700 50%, #ffb700 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ff8c42 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #111118 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  --gradient-border: linear-gradient(135deg, rgba(255,107,53,0.5) 0%, rgba(255,215,0,0.5) 100%);
  
  /* Shadows */
  --shadow-gold: 0 0 40px rgba(255, 215, 0, 0.15);
  --shadow-orange: 0 0 40px rgba(255, 107, 53, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 40px rgba(255, 107, 53, 0.1);
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
}

/* ============ GLOBAL STYLES ============ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============ TYPOGRAPHY ============ */

/* Hero Gradient Text - OpenClaw Style */
.text-gradient {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 40px rgba(255, 107, 53, 0.3);
}

.text-glow-gold {
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* ============ BACKGROUND PATTERNS ============ */

/* Animated Grid Background */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Radial Glow Effect */
.bg-glow {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 53, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(255, 215, 0, 0.08), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(255, 107, 53, 0.05), transparent);
  pointer-events: none;
}

/* ============ CARD STYLES ============ */

/* Glassmorphism Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Premium Card with Gradient Border */
.card-premium {
  position: relative;
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow: hidden;
}

.card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 16px;
  background: var(--gradient-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-premium:hover::before {
  opacity: 1;
}

/* ============ BUTTONS ============ */

/* Primary Gradient Button - OpenClaw Style */
.btn-primary {
  background: var(--gradient-hero);
  color: #0a0a0f;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  background: rgba(255, 107, 53, 0.05);
}

/* Subtle Button */
.btn-subtle {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 14px;
}

.btn-subtle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-primary);
}

/* ============ NAVIGATION ============ */

.nav-dark {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

/* ============ INPUT FIELDS ============ */

.input-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text-primary);
  padding: 14px 18px;
  transition: all 0.3s ease;
  font-size: 15px;
  width: 100%;
}

.input-dark:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.input-dark::placeholder {
  color: var(--text-dim);
}

/* ============ BADGES ============ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.badge-gold {
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.badge-cyan {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.badge-green {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ============ TERMINAL ============ */

.terminal-dark {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ============ RTP PROGRESS BARS ============ */

.rtp-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.rtp-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.rtp-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

/* High RTP (96%+) */
.rtp-high { 
  background: linear-gradient(90deg, #22c55e, #4ade80);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

/* Medium RTP (94-96%) */
.rtp-medium { 
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

/* Low RTP (<94%) */
.rtp-low { 
  background: linear-gradient(90deg, #ef4444, #f87171);
}

/* ============ SCROLLBAR ============ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

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

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

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

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

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
  50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.4); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

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

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

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

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

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

.glow-orange {
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.glow-gold {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.border-glow {
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.1);
}

/* Provider Grid */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.provider-card {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.provider-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.provider-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.provider-card:hover img {
  transform: scale(1.1);
}

/* ============ MODAL ============ */

.modal-overlay {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ============ STATS CARD ============ */

.stat-card {
  text-align: center;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 4px;
}

/* ============ HERO SECTION ============ */

.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* ============ TESTIMONIAL MARQUEE ============ */

.marquee-container {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  min-width: 350px;
  max-width: 400px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--border-primary);
  background: var(--bg-card-hover);
}

/* ============ SCANNER STYLES ============ */

.scanner-container {
  background: linear-gradient(180deg, rgba(255,107,53,0.05) 0%, transparent 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2px;
}

.scanner-inner {
  background: var(--bg-secondary);
  border-radius: 22px;
  padding: 32px;
}

/* Provider Selector Button */
.provider-selector {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.provider-selector:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

/* ============ RESULT CARDS ============ */

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.result-card:hover {
  border-color: var(--border-primary);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.result-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.result-card:hover::before {
  opacity: 1;
}

/* ============ FOOTER ============ */

.footer-dark {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
}

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

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .stat-value {
    font-size: 28px;
  }
  
  .testimonial-card {
    min-width: 300px;
  }
}
