/* BK8 Slot Hub - Mobile-First CSS */
/* Theme: Neon Gold Vegas Style - Jackpot Excitement */

:root {
  --primary: #0f0a1a;
  --primary-light: #1a1428;
  --accent: #ffd700;
  --accent-hover: #ffec4a;
  --accent-glow: rgba(255, 215, 0, 0.4);
  --neon-pink: #ff00ff;
  --neon-blue: #00ffff;
  --white: #ffffff;
  --bg: #0a0612;
  --bg-card: #0f0a1a;
  --text-light: #c8b8d8;
  --border: #2d1f4a;
  --success: #00ff88;
  --danger: #ff3366;
  --warning: #ffd700;
  --jackpot: linear-gradient(135deg, #ffd700 0%, #ff8c00 30%, #ffd700 50%, #ffec4a 70%, #ffd700 100%);
  --neon-glow: 0 0 10px var(--accent), 0 0 20px var(--accent-glow), 0 0 40px rgba(255, 215, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--white);
  font-size: 16px;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 16px;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  text-shadow: 0 0 10px var(--accent-glow);
}

.logo-img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

.logo span {
  color: var(--accent);
  text-shadow: var(--neon-glow);
}

.nav-toggle {
  background: var(--accent);
  border: none;
  color: var(--primary);
  font-size: 1.25rem;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: var(--neon-glow);
  cursor: pointer;
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary);
  border-top: 2px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.nav.active {
  display: block;
}

.nav-list {
  list-style: none;
  padding: 8px 16px;
}

.nav-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.nav-list a {
  color: var(--white);
  text-decoration: none;
  display: block;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: var(--accent);
}

/* Hero Section - Vegas Neon Style */
.hero {
  background: linear-gradient(135deg, #0f0a1a 0%, #1a0a2a 30%, #2a1040 50%, #1a0a2a 70%, #0f0a1a 100%);
  padding: 48px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 0, 255, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
  animation: neonPulse 4s infinite ease-in-out;
}

@keyframes neonPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 1.85rem;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero h1 span {
  color: var(--accent);
  text-shadow: var(--neon-glow);
  animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% { text-shadow: var(--neon-glow); }
  50% { text-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-glow), 0 0 60px rgba(255, 215, 0, 0.3); }
}

.hero p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 20px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.hero-feature {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 140, 0, 0.1) 100%);
  border: 1px solid var(--accent);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.875rem;
  color: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Jackpot Badge */
.jackpot-badge {
  display: inline-block;
  background: var(--jackpot);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 25px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  animation: jackpotGlow 1.5s infinite alternate;
  box-shadow: var(--neon-glow);
}

@keyframes jackpotGlow {
  from { box-shadow: 0 0 10px var(--accent-glow); transform: scale(1); }
  to { box-shadow: 0 0 30px var(--accent), 0 0 50px var(--accent-glow); transform: scale(1.02); }
}

/* Breadcrumb */
.breadcrumb {
  background: var(--primary-light);
  padding: 10px 16px;
  font-size: 0.875rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 8px;
}

/* Section Styling */
.section {
  padding: 32px 0;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--accent);
  text-align: center;
  text-shadow: 0 0 20px var(--accent-glow);
  position: relative;
}

.section-title::after {
  content: '🎰';
  display: block;
  font-size: 1.5rem;
  margin-top: 8px;
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 24px;
  max-width: 700px;
}

/* Slot Cards */
.slot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.slot-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, #150d25 100%);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
}

.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--jackpot);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--accent-glow);
  border-color: var(--accent);
}

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

.slot-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.slot-info {
  padding: 16px;
}

.slot-provider {
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.slot-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.slot-name a {
  color: inherit;
  text-decoration: none;
}

.slot-name a:hover {
  color: var(--accent);
}

.slot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.slot-tag {
  background: var(--primary);
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.slot-tag.high-rtp {
  background: rgba(40, 167, 69, 0.2);
  color: var(--success);
  border: 1px solid var(--success);
}

.slot-tag.high-vol {
  background: rgba(220, 53, 69, 0.2);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.slot-tag.medium-vol {
  background: rgba(255, 193, 7, 0.2);
  color: var(--warning);
  border: 1px solid var(--warning);
}

/* RTP Display */
.rtp-display {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.rtp-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.rtp-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--success);
}

.rtp-bar {
  flex: 1;
  height: 6px;
  background: var(--primary);
  border-radius: 3px;
  overflow: hidden;
}

.rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: 3px;
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

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

.category-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.category-name {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Provider Badges */
.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.provider-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--white);
  font-size: 0.875rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.provider-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.provider-logo {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

/* RTP Table */
.rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.875rem;
}

.rtp-table th,
.rtp-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.rtp-table th {
  background: var(--primary);
  color: var(--accent);
  font-weight: 600;
}

.rtp-table tr:hover {
  background: var(--primary-light);
}

.rtp-table .rtp-high {
  color: var(--success);
  font-weight: 700;
}

/* Article Styles */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article h1 {
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.article h2 {
  font-size: 1.375rem;
  margin: 32px 0 16px;
  color: var(--accent);
}

.article h3 {
  font-size: 1.125rem;
  margin: 24px 0 12px;
  color: var(--white);
}

.article p {
  margin-bottom: 16px;
  color: var(--text-light);
}

.article ul, .article ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-light);
}

.article li {
  margin-bottom: 8px;
}

.article a {
  color: var(--accent);
  text-decoration: none;
}

.article a:hover {
  text-decoration: underline;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Slot Review Box */
.slot-review-box {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.slot-review-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.slot-review-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--primary);
}

.slot-review-details h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.slot-review-rating {
  color: var(--accent);
  font-size: 1.125rem;
}

.slot-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.slot-spec {
  background: var(--primary);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
}

.slot-spec-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.slot-spec-value {
  font-weight: 700;
  color: var(--white);
}

.slot-spec-value.highlight {
  color: var(--success);
}

/* Tip Box */
.tip-box {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--accent);
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
}

.tip-box h4 {
  color: var(--accent);
  margin-bottom: 8px;
}

.tip-box p {
  margin: 0;
  color: var(--text-light);
}

/* FAQ Section */
.faq-section {
  margin: 32px 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 16px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--accent);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 16px 16px;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  display: block;
}

/* Responsible Gambling Notice */
.responsible-notice {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid var(--danger);
  border-radius: 8px;
  padding: 16px;
  margin: 24px 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.responsible-notice strong {
  color: var(--danger);
  display: block;
  margin-bottom: 8px;
}

.responsible-notice a {
  color: var(--accent);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--jackpot);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

/* Footer */
.footer {
  background: var(--primary);
  padding: 40px 0 20px;
  margin-top: 40px;
  border-top: 1px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-section h4 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-disclaimer {
  margin-top: 12px;
  font-size: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    background: none;
    border: none;
  }

  .nav-list {
    display: flex;
    gap: 24px;
    padding: 0;
  }

  .nav-list li {
    padding: 0;
    border: none;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .slot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slot-specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .hero {
    padding: 60px 16px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .slot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Lazy Loading Images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"][src] {
  opacity: 1;
}

/* Contextual Link Styling */
.contextual-link {
  color: var(--accent);
  font-weight: 500;
}

.contextual-link:hover {
  text-decoration: underline;
}
