/* ============================================
   BK8 Malaysia — Global Stylesheet
   ============================================ */

/* --------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------- */
:root {
  --bg-primary: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #0f161f;
  --color-cta: #ff8a00;
  --color-primary: #064ea1;
  --color-gold: #ffb71d;
  --color-accent: #ff8a00;
  --color-heading: #1a1a1a;
  --color-body: #333333;
  --color-muted: #86979a;
  --color-border: rgba(0, 0, 0, 0.1);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --header-height: 64px;
  --radius: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
  --shadow-glow-accent: 0 4px 20px rgba(255, 138, 0, 0.3);
  --transition: 0.3s ease;
}

/* --------------------------------------------
   2. Reset
   -------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--color-body);
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  padding-top: var(--header-height);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --------------------------------------------
   3. Typography (Google Fonts import)
   -------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  font-weight: 600;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

h4 {
  font-size: 18px;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
  color: var(--color-body);
}

p:last-child {
  margin-bottom: 0;
}

small {
  font-size: 14px;
  color: var(--color-muted);
}

a:not(.btn) {
  color: var(--color-accent);
  transition: color var(--transition);
}

a:not(.btn):hover {
  color: #e67a00;
}

strong {
  font-weight: 600;
  color: var(--color-heading);
}

/* --------------------------------------------
   4. Layout
   -------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------
   5. Header (fixed, nav, logo, hamburger, mobile menu)
   -------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading);
}

.logo img {
  height: 36px;
  width: auto;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-body);
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link--active {
  color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-heading);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------
   6. Hero Section
   -------------------------------------------- */
.hero {
  background: linear-gradient(135deg, #0f161f 0%, #1a2332 50%, #0f161f 100%);
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255, 138, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1,
.hero h2,
.hero h3 {
  color: #ffffff;
}

.hero p {
  color: #b0bec5;
}

.hero > .container h1 {
  font-size: 36px;
  margin-bottom: 16px;
  position: relative;
  color: #ffffff;
}

.hero h1 span {
  color: var(--color-gold);
}

.hero > .container p {
  font-size: 18px;
  color: #b0bec5;
  max-width: 640px;
  margin: 0 auto 32px;
  position: relative;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* --------------------------------------------
   7. Feature Grid (6-up "Why Choose BK8")
   -------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-muted);
}

/* --------------------------------------------
   8. Game Cards (category cards, left-border accent)
   -------------------------------------------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.game-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-cta);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.game-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.game-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
}

.game-card .btn {
  font-size: 14px;
  padding: 8px 20px;
}

.game-card-image {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.game-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  background-color: rgba(255, 138, 0, 0.1);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

/* --------------------------------------------
   9. Testimonials (card grid, star ratings)
   -------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 48px;
  color: rgba(255, 138, 0, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 14px;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
}

/* --------------------------------------------
   10. Sponsor / Award Grid (logo grid, grayscale hover)
   -------------------------------------------- */
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.sponsor-grid img {
  max-height: 48px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.sponsor-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.award-grid img {
  max-height: 56px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.award-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --------------------------------------------
   11. Data Tables (striped rows, sticky header, teal headers)
   -------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}

.data-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.data-table th {
  background-color: #f7f9fa;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
  border-bottom: 2px solid var(--color-border);
}

.data-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--color-body);
  border-bottom: 1px solid var(--color-border);
}

.data-table tbody tr:nth-child(even) {
  background-color: #f7f9fa;
}

.data-table tbody tr:nth-child(odd) {
  background-color: transparent;
}

.data-table tbody tr:hover {
  background-color: rgba(255, 138, 0, 0.04);
}

.data-table td a {
  color: var(--color-accent);
}

.data-table td a:hover {
  text-decoration: underline;
}

/* --------------------------------------------
   12. Provider Cards (logo + description + game list)
   -------------------------------------------- */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.provider-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.provider-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.provider-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  object-fit: contain;
}

.provider-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.provider-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.provider-games {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.provider-games span {
  font-size: 12px;
  background-color: rgba(255, 138, 0, 0.08);
  color: var(--color-accent);
  padding: 4px 10px;
  border-radius: 3px;
}

.provider-card .btn {
  font-size: 14px;
  padding: 8px 20px;
  align-self: flex-start;
}

/* --------------------------------------------
   13. FAQ Accordion (expand/collapse, chevron, animation)
   -------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-item:hover {
  border-color: rgba(255, 138, 0, 0.3);
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background-color: var(--bg-card);
  color: var(--color-heading);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background-color var(--transition);
}

.faq-question:hover {
  background-color: #f7f9fa;
}

.faq-question::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item--open .faq-question::after {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--color-body);
  line-height: 1.7;
}

.faq-item--open .faq-answer {
  max-height: 500px;
}

/* --------------------------------------------
   14. CTA Buttons (primary filled, secondary outlined, hover glow)
   -------------------------------------------- */
.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--color-cta);
  color: #ffffff;
  border: 2px solid var(--color-cta);
}

.btn-primary:hover {
  background-color: #e67a00;
  box-shadow: var(--shadow-glow-accent);
  filter: brightness(1.05);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-cta);
  border: 2px solid var(--color-cta);
}

.btn-secondary:hover {
  background-color: rgba(255, 138, 0, 0.08);
  box-shadow: 0 0 16px rgba(255, 138, 0, 0.2);
}

.btn-sm {
  font-size: 14px;
  padding: 8px 20px;
  font-weight: 600;
}

.btn-lg {
  font-size: 18px;
  padding: 16px 40px;
}

.btn-gold {
  background-color: var(--color-gold);
  color: #1a1a1a;
  border: 2px solid var(--color-gold);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: #e6a300;
  box-shadow: 0 0 20px rgba(255, 183, 29, 0.4);
}

/* --------------------------------------------
   15. Breadcrumbs (small text, separator arrows)
   -------------------------------------------- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 14px;
  color: var(--color-muted);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: '\203A';
  margin: 0 10px;
  color: var(--color-muted);
  font-size: 16px;
}

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

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

.breadcrumbs li:last-child {
  color: var(--color-body);
}

/* --------------------------------------------
   16. Cross-Promotion (4-card grid linking to other categories)
   -------------------------------------------- */
.cross-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cross-promo-card {
  background-color: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}

.cross-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cross-promo-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.cross-promo-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.cross-promo-card p {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.cross-promo-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition);
}

.cross-promo-link:hover {
  color: #e67a00;
}

/* --------------------------------------------
   17. Footer (multi-column, payment icons, certification, copyright)
   -------------------------------------------- */
.footer {
  background-color: #f7f9fa;
  border-top: 1px solid var(--color-border);
  padding: 48px 0 0;
}

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

.footer-col h4 {
  font-size: 16px;
  color: var(--color-heading);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.7;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--color-muted);
  transition: color var(--transition);
}

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

.footer-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0 0 24px;
}

.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.payment-icons img {
  height: 28px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.payment-icons img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.footer-certifications {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.footer-certifications img {
  height: 36px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.footer-certifications img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-muted);
}

/* --------------------------------------------
   18. Responsible Gaming (centered notice with logos)
   -------------------------------------------- */
.responsible-gaming {
  background-color: #f7f9fa;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.responsible-gaming h3 {
  margin-bottom: 12px;
}

.responsible-gaming p {
  font-size: 14px;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.responsible-gaming-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.responsible-gaming-logos img {
  height: 36px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.responsible-gaming-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --------------------------------------------
   19. Licensing Section (certification logo grid)
   -------------------------------------------- */
.licensing-section {
  text-align: center;
  padding: 40px 0;
}

.licensing-section h3 {
  margin-bottom: 20px;
}

.licensing-section p {
  font-size: 14px;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 24px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.cert-grid img {
  max-height: 48px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all var(--transition);
}

.cert-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --------------------------------------------
   20. Utility Classes
   -------------------------------------------- */
.text-muted {
  color: var(--color-muted);
}

.text-accent {
  color: var(--color-accent);
}

.text-gold {
  color: var(--color-gold);
}

.text-cta {
  color: var(--color-cta);
}

.text-center {
  text-align: center;
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

/* --------------------------------------------
   21. Responsive: Tablet (max-width: 1024px)
   -------------------------------------------- */
@media (max-width: 1024px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  section {
    padding: 48px 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .provider-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cross-promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

  .hero {
    padding: 60px 0 48px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }
}

/* --------------------------------------------
   22. Responsive: Mobile (max-width: 768px)
   -------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 17px;
  }

  body {
    font-size: 15px;
  }

  section {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Mobile navigation */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu--open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 16px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Grids go single column */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .provider-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cross-promo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  /* Tables: horizontal scroll */
  .table-wrapper {
    border-radius: var(--radius);
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .data-table {
    min-width: 500px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  /* FAQ */
  .faq-question {
    font-size: 15px;
    padding: 16px;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 14px;
  }

  /* Buttons */
  .btn {
    padding: 10px 24px;
    font-size: 15px;
  }

  .btn-lg {
    padding: 12px 32px;
    font-size: 16px;
  }

  /* Breadcrumbs */
  .breadcrumbs {
    font-size: 13px;
  }

  /* Section title */
  .section-title {
    margin-bottom: 28px;
  }

  /* Responsible gaming */
  .responsible-gaming {
    padding: 24px 16px;
  }

  /* Sponsor grid */
  .sponsor-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .sponsor-grid img {
    max-height: 36px;
  }

  .payment-icons {
    gap: 12px;
  }

  .payment-icons img {
    height: 22px;
  }

  .feature-card {
    padding: 24px 20px;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

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

  .cross-promo-card {
    padding: 20px 16px;
  }
}
