/* BK8 Casino Center - Mobile-First CSS */
/* Optimized for LCP < 2s */
/* Theme: Purple/Magenta Luxury Casino */

:root {
  --primary: #1a0a20;
  --primary-dark: #0f051a;
  --primary-light: #2d1a3d;
  --accent: #d437a0;
  --accent-light: #f05ec4;
  --accent-glow: rgba(212, 55, 160, 0.35);
  --gold: #d4af37;
  --text: #ffffff;
  --text-light: #c0a8c8;
  --bg: #0f081a;
  --bg-card: #1a0a20;
  --white: #fff;
  --border: #3d1a4d;
  --shadow: 0 4px 20px rgba(212, 55, 160, 0.15);
  --gradient: linear-gradient(135deg, #1a0a20 0%, #2d1a3d 50%, #0f051a 100%);
  --casino-gradient: radial-gradient(ellipse at center top, #3d1a4d 0%, #1a0a20 50%, #0f051a 100%);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  background: var(--primary);
  color: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 2px 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.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  font-style: italic;
}

.logo-img {
  height: 32px;
  width: auto;
}

.logo span {
  color: var(--accent);
}

/* Mobile Navigation */
.nav-toggle {
  display: block;
  background: var(--accent);
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
}

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

.nav.active {
  display: block;
}

.nav-list {
  list-style: none;
}

.nav-list li {
  margin-bottom: 8px;
}

.nav-list a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 0;
  display: block;
  font-size: 0.95rem;
}

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

/* Hero Section - Centered Casino Glow */
.hero {
  background: var(--casino-gradient);
  color: var(--white);
  padding: 48px 16px;
  text-align: center;
  border-bottom: 2px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 50%);
  opacity: 0.6;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d437a0' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero h1 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* Section Styles */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--accent);
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

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

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--border);
}

.card-content {
  padding: 16px;
}

.card-category {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent);
}

.card-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Game Card Special */
.game-card {
  text-align: center;
  padding: 24px 16px;
}

.game-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.game-card h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.game-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Provider Badge */
.provider-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #a02878 100%);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
}

/* CTA Button */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent) 0%, #a02878 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  box-shadow: 0 6px 25px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  display: block;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* Article Content */
.article {
  background: var(--bg-card);
  padding: 24px 16px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.article h1 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--white);
}

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

.article h2 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
  color: var(--accent);
}

.article h3 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
  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;
}

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

.contextual-link:hover {
  color: var(--accent-light);
}

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

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

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

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

.faq-question {
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--white);
}

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

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

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

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

/* Responsible Gambling Notice */
.responsible-notice {
  background: rgba(212, 55, 160, 0.1);
  border: 1px solid var(--accent);
  padding: 16px;
  border-radius: 12px;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

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

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

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

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

.breadcrumb span {
  color: var(--text-light);
  margin: 0 8px;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 40px;
  border-top: 2px solid var(--accent);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: radial-gradient(ellipse at center top, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

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

.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.9rem;
}

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

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

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.5;
  opacity: 0.7;
}

/* Tablet Styles */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

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

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

  .article {
    padding: 32px;
  }

  .article h1 {
    font-size: 1.75rem;
  }
}

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

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

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

  .nav-list li {
    margin-bottom: 0;
  }

  .hero {
    padding: 60px 0;
  }

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

  .section {
    padding: 60px 0;
  }

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

  .card-img {
    height: 180px;
  }

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

  .article h1 {
    font-size: 2rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

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

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