/* High RTP Slots PH - Master Dark Mode Design System */
:root {
  --bg-main: #0d1117;
  --bg-surface: #161b22;
  --bg-surface-elevated: #21262d;
  --border-subtle: #30363d;
  --border-accent: rgba(255, 215, 0, 0.4);
  --border-emerald: rgba(0, 230, 118, 0.4);
  
  --text-main: #f0f6fc;
  --text-muted: #8b949e;
  --text-dim: #6e7681;
  
  --gold-primary: #FFD700;
  --gold-hover: #FFF275;
  --gold-glow: rgba(255, 215, 0, 0.25);
  
  --emerald-primary: #00E676;
  --emerald-hover: #00FFA2;
  --emerald-glow: rgba(0, 230, 118, 0.25);
  
  --cyan-accent: #00E5FF;
  --red-accent: #FF5252;
  
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 25px var(--gold-glow);
  --shadow-emerald: 0 0 25px var(--emerald-glow);
}

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

html {
  font-family: var(--font-stack);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* App Shell Layout */
.app-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (max-width: 640px) {
  .app-shell {
    max-width: 480px;
    padding: 0 12px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.65rem; margin-top: 2rem; margin-bottom: 0.85rem; border-bottom: 2px solid var(--border-subtle); padding-bottom: 8px; }
h3 { font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.65rem; color: var(--gold-primary); }

p {
  margin-bottom: 1.15rem;
  color: var(--text-main);
  font-size: 1.025rem;
}

a {
  color: var(--emerald-primary);
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}

a:hover {
  color: var(--emerald-hover);
  text-decoration: underline;
}

/* Accessibility Screen Reader Only Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Glassmorphism Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 215, 0, 0.3);
  text-decoration: none;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
  color: #0d1117;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  box-shadow: 0 3px 14px var(--gold-glow);
  transition: all 0.25s ease;
}

.header-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 22px rgba(255, 215, 0, 0.45);
  color: #000000;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .header-container {
    padding: 0 14px;
    gap: 8px;
  }
  .nav-links {
    gap: 3px;
  }
  .nav-links a {
    font-size: 0.8125rem;
    padding: 6px 8px;
    gap: 4px;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .header-container {
    height: 60px;
    padding: 0 12px;
  }
  .brand-logo img {
    height: 36px;
  }
  .header-cta-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}

/* CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
  color: #0d1117;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  min-height: 48px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
  color: #000000;
  text-decoration: none;
}

.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #00FFA2 0%, #00C853 100%);
  color: #0d1117;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--emerald-glow);
  transition: all 0.25s ease;
  text-decoration: none;
  min-height: 48px;
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 230, 118, 0.4);
  color: #000000;
  text-decoration: none;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid var(--border-subtle);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
  min-height: 48px;
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.05);
  text-decoration: none;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--emerald-primary);
}

.breadcrumbs span.separator {
  color: var(--text-dim);
}

.breadcrumbs span.current {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Hero Section */
.hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 16px 0 32px 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .hero-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-primary);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 12px 0 20px 0;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

/* Featured Media */
.featured-media {
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.featured-media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Data Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  min-width: 480px;
}

th {
  background: var(--bg-surface-elevated);
  color: var(--gold-primary);
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(48, 54, 61, 0.5);
  color: var(--text-main);
}

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

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* Feature Grid Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.game-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.game-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.game-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.game-card .rtp-badge {
  display: inline-block;
  background: rgba(0, 230, 118, 0.15);
  color: var(--emerald-primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Jump Links Box */
.jump-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 20px 0;
}

.jump-box h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.jump-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.jump-list a {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
}

.jump-list a:hover {
  border-color: var(--emerald-primary);
  color: var(--emerald-primary);
  text-decoration: none;
}

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

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  color: #ffffff;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 20px 18px 20px;
  color: var(--text-main);
  font-size: 0.975rem;
  line-height: 1.6;
  border-top: 1px solid rgba(48, 54, 61, 0.4);
  padding-top: 14px;
}

/* E-E-A-T Author Box */
.author-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

@media (max-width: 640px) {
  .author-box {
    flex-direction: column;
    padding: 18px;
  }
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold-primary);
  background: var(--bg-surface-elevated);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.author-info .title {
  color: var(--emerald-primary);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: #080b0f;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 100px 0; /* padding for sticky mobile bar */
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--emerald-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(48, 54, 61, 0.5);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Sticky Mobile Bottom Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 8px 12px;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
  }
}

.bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  min-width: 60px;
}

.bar-btn:hover {
  color: #ffffff;
  text-decoration: none;
}

.bar-btn-cta {
  background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
  color: #0d1117 !important;
  font-size: 0.825rem !important;
  font-weight: 900 !important;
  padding: 8px 16px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 0 15px var(--gold-glow);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 22px rgba(255, 215, 0, 0.7); }
  100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
}

