/* ================================
   J88 MASTER STYLESHEET
   Style: Luxury Gold Casino (Style 1)
   Market: Vietnam
   Last Updated: 2025-11-25
   ================================ */

/* ================================
   CSS VARIABLES - Design Token System
   ================================ */
:root {
  /* === Color System === */
  /* Primary Colors (Luxury Gold) */
  --color-primary: #D4AF37;
  --color-primary-light: #FFD700;
  --color-primary-dark: #B8941F;
  --color-primary-rgb: 212, 175, 55;

  /* Secondary Colors */
  --color-secondary: #0A0A0A;
  --color-accent: #FFD700;

  /* Neutral Color System (Grayscale) */
  --color-white: #FFFFFF;
  --color-gray-50: #FAFAFA;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #E5E5E5;
  --color-gray-300: #D4D4D4;
  --color-gray-400: #A3A3A3;
  --color-gray-500: #737373;
  --color-gray-600: #525252;
  --color-gray-700: #404040;
  --color-gray-800: #262626;
  --color-gray-900: #171717;
  --color-black: #000000;

  /* Background and Text */
  --color-background: #0A0A0A;
  --color-text: #FFFFFF;
  --color-text-secondary: #A3A3A3;

  /* Semantic Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;

  /* === Spacing System (8px baseline) === */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* === Shadow System === */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Style-specific shadows (Gold Glow) */
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.5),
                 0 0 40px rgba(212, 175, 55, 0.3);
  --shadow-glow-strong: 0 0 30px rgba(255, 215, 0, 0.7),
                        0 0 60px rgba(255, 215, 0, 0.4);

  /* === Border Radius System === */
  --radius-none: 0;
  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-3xl: 2rem;      /* 32px */
  --radius-full: 9999px;

  /* === Typography System === */
  --font-primary: 'Playfair Display', Georgia, serif;
  --font-secondary: 'Cinzel', 'Playfair Display', serif;

  /* Font Sizes */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  --font-size-6xl: 3.75rem;     /* 60px */

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-none: 1;
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;

  /* === Transition Effects === */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* === Container Widths === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* === Z-index Layers === */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* === Luxury Gold Style Specific === */
  --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
  --gradient-gold-vertical: linear-gradient(180deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
}

/* ================================
   RESET & BASE STYLES
   ================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  background: var(--color-background);
  line-height: var(--line-height-normal);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-light);
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

h2 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-5);
  color: var(--color-primary-light);
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  margin-top: var(--space-4);
  box-shadow: var(--shadow-glow);
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

p {
  margin-bottom: var(--space-4);
  line-height: var(--line-height-relaxed);
  max-width: 75ch;
  color: var(--color-gray-200);
}

ul, ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-2);
  line-height: var(--line-height-relaxed);
  color: var(--color-gray-200);
}

strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-light);
}

em {
  font-style: italic;
}

/* ================================
   LAYOUT - CONTAINER
   ================================ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container-sm {
  max-width: var(--container-sm);
}

.container-lg {
  max-width: var(--container-2xl);
}

/* ================================
   HEADER COMPONENT
   ================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  gap: var(--space-8);
}

.logo {
  height: 48px;
  width: auto;
  transition: transform var(--transition-base);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.7));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
}

.nav-link {
  display: inline-block;
  color: var(--color-text);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--gradient-gold);
  transition: transform var(--transition-base);
}

.nav-link:hover {
  color: var(--color-primary-light);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta-buttons {
  display: flex;
  gap: var(--space-3);
}

/* Mobile menu button - Hamburger Icon */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  z-index: calc(var(--z-modal) + 10);
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.mobile-menu-button svg {
  width: 100%;
  height: 100%;
}

.mobile-menu-button svg line {
  transition: all var(--transition-base);
}

.mobile-menu-button:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--color-primary-light);
}

.mobile-menu-button[aria-expanded="true"] {
  background: rgba(212, 175, 55, 0.15);
}

.mobile-menu-button[aria-expanded="true"] svg line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  transform-origin: center;
}

.mobile-menu-button[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button[aria-expanded="true"] svg line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  transform-origin: center;
}

/* Mobile navigation menu */
.mobile-nav {
  display: none; /* Hidden on desktop */
  position: fixed;
  top: 0;
  right: -100%; /* Start off-screen */
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
  padding: var(--space-16) var(--space-6);
  z-index: calc(var(--z-modal) + 5);
  transition: right var(--transition-slow), opacity var(--transition-slow);
  overflow-y: auto;
  border-left: 2px solid var(--color-primary);
  opacity: 0;
}

.mobile-nav.active {
  right: 0;
  opacity: 1;
}

.mobile-nav .nav-menu {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
  margin-bottom: var(--space-8);
}

.mobile-nav .nav-link {
  display: block;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-base);
}

.mobile-nav .nav-link:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.mobile-nav .nav-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
}

.mobile-nav-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: var(--font-size-2xl);
  cursor: pointer;
  padding: var(--space-2);
  line-height: 1;
  transition: all var(--transition-base);
}

.mobile-nav-close:hover {
  color: var(--color-primary-light);
  transform: rotate(90deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  display: none; /* Completely hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-modal) + 4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow);
}

.mobile-menu-overlay.active {
  display: block; /* Show when active */
  opacity: 1;
  visibility: visible;
}

/* ================================
   HERO SECTION COMPONENT
   ================================ */
.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: var(--space-16) 0;
}

/* Background overlay for text readability */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.75) 100%
  );
  z-index: 1;
}

/* Gold accent overlay */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(212, 175, 55, 0.15) 0%,
    transparent 50%
  );
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: var(--container-md);
}

.hero-section h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  line-height: var(--line-height-tight);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4),
               0 0 40px rgba(212, 175, 55, 0.3);
}

.hero-intro {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
  max-width: 100%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   BUTTON COMPONENTS
   ================================ */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1.2;
  font-family: var(--font-secondary);
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-black);
  box-shadow: var(--shadow-glow);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 2px solid #FFD700;
  font-weight: var(--font-weight-bold);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-3px);
  background: var(--gradient-gold-vertical);
  color: var(--color-black);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary-light);
  border: 2px solid var(--color-primary);
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--color-primary-light);
}

/* ================================
   CONTENT BLOCK COMPONENT
   ================================ */
.content-block {
  padding: var(--space-16) 0;
  position: relative;
}

.content-block:nth-child(even) {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.content-block .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.content-block.vertical .container {
  grid-template-columns: 1fr;
  max-width: var(--container-md);
  text-align: center;
}

.content-block.horizontal.reverse .container {
  direction: rtl;
}

.content-block.horizontal.reverse .block-text,
.content-block.horizontal.reverse .block-image {
  direction: ltr;
}

.block-text {
  padding: var(--space-6);
}

.block-text h2 {
  color: var(--color-primary-light);
  margin-bottom: var(--space-6);
}

.block-text h3 {
  color: var(--color-primary);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}

.block-text p {
  color: var(--color-gray-200);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

.block-text ul,
.block-text ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-6);
}

.block-text li {
  color: var(--color-gray-200);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
  position: relative;
  padding-left: var(--space-2);
}

.block-text li::marker {
  color: var(--color-primary);
}

.block-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.block-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.block-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.block-image:hover img {
  transform: scale(1.05);
}

/* ================================
   CONTENT GRID COMPONENT
   ================================ */
.content-grid-section {
  padding: var(--space-16) 0;
}

.content-grid-section h2 {
  text-align: center;
  margin-bottom: var(--space-12);
}

.content-grid {
  display: grid;
  gap: var(--space-8);
}

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

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

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

.grid-item {
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.grid-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.grid-item picture {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.grid-item picture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.1) 100%
  );
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.grid-item:hover img {
  transform: scale(1.1);
}

.grid-item-content {
  padding: var(--space-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.grid-item h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
  color: var(--color-primary-light);
}

.grid-item p {
  font-size: var(--font-size-base);
  color: var(--color-gray-300);
  line-height: var(--line-height-relaxed);
  flex-grow: 1;
}

/* ================================
   CONCLUSION SECTION
   ================================ */
.conclusion-section {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
}

.conclusion-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 55, 0.05) 0%,
    transparent 70%
  );
}

.conclusion-section .container {
  max-width: var(--container-md);
  text-align: center;
  position: relative;
  z-index: 1;
}

.conclusion-section h2 {
  margin-bottom: var(--space-6);
}

.conclusion-section p {
  font-size: var(--font-size-lg);
  color: var(--color-gray-200);
  margin: 0 auto var(--space-4);
}

/* ================================
   FOOTER COMPONENT
   ================================ */
.footer {
  background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
  color: var(--color-gray-300);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  box-shadow: var(--shadow-glow);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-section h3 {
  color: var(--color-primary-light);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.footer-section p,
.footer-section a {
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

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

.footer-links {
  list-style: none;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.payment-icons img {
  height: 32px;
  width: auto;
  opacity: 0.8;
  transition: all var(--transition-base);
  filter: grayscale(0.3);
}

.payment-icons img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

.responsible-gaming {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.responsible-gaming img {
  height: 48px;
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: var(--space-6);
  text-align: center;
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
}

.footer-bottom p {
  margin-bottom: var(--space-3);
  max-width: 100%;
}

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

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 2.5rem;    /* 40px */
    --font-size-4xl: 2rem;      /* 32px */
  }

  .content-block .container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .content-grid.cols-3,
  .content-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu {
    gap: var(--space-4);
  }

  .nav-link {
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-3);
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2rem;      /* 32px */
    --font-size-4xl: 1.75rem;   /* 28px */
    --font-size-3xl: 1.5rem;    /* 24px */
  }

  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    max-width: 100%;
  }

  .header-container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    max-width: 100%;
  }

  .hero-section {
    min-height: 400px;
    padding: var(--space-12) 0;
  }

  .hero-section h1 {
    font-size: var(--font-size-3xl);
  }

  .hero-intro {
    font-size: var(--font-size-lg);
  }

  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .header .nav-menu {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .mobile-nav {
    display: block; /* Enable on mobile, but still off-screen */
  }

  .mobile-menu-overlay {
    /* Will be shown when .active class is added */
  }

  .nav-cta-buttons {
    display: none;
  }

  .content-grid.cols-2,
  .content-grid.cols-3,
  .content-grid.cols-4 {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: var(--space-4) var(--space-6);
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .content-block.vertical .container h2::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
  :root {
    --font-size-5xl: 1.75rem;   /* 28px */
    --font-size-4xl: 1.5rem;    /* 24px */
  }

  .hero-section {
    min-height: 300px;
  }

  .logo {
    height: 36px;
  }

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

  .responsible-gaming img {
    height: 36px;
  }
}

/* ================================
   UTILITY CLASSES
   ================================ */
.text-center {
  text-align: center;
}

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

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

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }

.hidden {
  display: none;
}

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

/* ================================
   SPECIAL ELEMENTS
   ================================ */

/* Warning/Alert boxes */
.warning-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border-left: 4px solid var(--color-warning);
  padding: var(--space-4);
  margin: var(--space-6) 0;
  border-radius: var(--radius-md);
}

.info-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  border-left: 4px solid var(--color-info);
  padding: var(--space-4);
  margin: var(--space-6) 0;
  border-radius: var(--radius-md);
}

.success-box {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
  border-left: 4px solid #28a745;
  padding: var(--space-4);
  margin: var(--space-6) 0;
  border-radius: var(--radius-md);
  color: var(--color-gray-200);
}

.danger-box {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
  border-left: 4px solid #dc3545;
  padding: var(--space-4);
  margin: var(--space-6) 0;
  border-radius: var(--radius-md);
  color: var(--color-gray-200);
}

.alert-box {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
  border-left: 4px solid #FFC107;
  padding: var(--space-4);
  margin: var(--space-6) 0;
  border-radius: var(--radius-md);
}

.alert-box h3 {
  color: #FFC107;
  margin-top: 0;
  margin-bottom: var(--space-3);
}

.alert-box.danger {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(220, 53, 69, 0.05));
  border-left-color: #dc3545;
}

.alert-box.danger h3 {
  color: #dc3545;
}

.alert-box.success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.15), rgba(40, 167, 69, 0.05));
  border-left-color: #28a745;
}

.alert-box.success h3 {
  color: #28a745;
}

.highlight-box {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--color-primary);
  padding: var(--space-4);
  margin: var(--space-6) 0;
  border-radius: var(--radius-md);
}

/* Blog & Article Components */
.toc {
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-8) 0;
}

.toc h2 {
  margin-top: 0;
  color: var(--color-primary-light);
  border: none;
}

.toc ol {
  margin-left: var(--space-6);
  margin-top: var(--space-4);
  list-style-position: outside;
}

.toc li {
  margin-bottom: var(--space-3);
  color: var(--color-gray-200);
}

.toc a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition-base);
  font-weight: var(--font-weight-medium);
}

.toc a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.article-meta {
  font-size: var(--font-size-sm);
  color: var(--color-gray-400);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* Special Content Boxes */
.summary-box {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-12) 0;
}

.summary-box h2 {
  color: var(--color-primary);
  margin-top: 0;
  border: none;
}

.links-section {
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-8) 0;
}

.links-section h2,
.links-section h3 {
  color: var(--color-primary-light);
}

.links-section a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition-base);
  font-weight: var(--font-weight-medium);
}

.links-section a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.related-links {
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

.related-links h3 {
  color: var(--color-primary-light);
  margin-top: 0;
}

.related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-links li {
  margin-bottom: var(--space-3);
  padding-left: var(--space-6);
  position: relative;
}

.related-links li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.related-links a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition-base);
}

.related-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.final-disclaimer {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.3) 0%, rgba(139, 0, 0, 0.3) 100%);
  border: 3px solid #dc3545;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-12) 0;
  text-align: center;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: #ff6b6b;
}

.final-disclaimer h2,
.final-disclaimer h3 {
  color: #ff6b6b;
  margin-top: 0;
}

.festive-banner {
  background: linear-gradient(135deg, #dc3545 0%, #8B0000 100%);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-8) 0;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.festive-banner h2,
.festive-banner h3 {
  color: var(--color-primary-light);
  margin-top: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.festive-banner p {
  color: #FFE4B5;
  font-size: var(--font-size-lg);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, #8B7500 100%);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  border-radius: var(--radius-lg);
  margin: var(--space-12) 0;
  color: var(--color-black);
  box-shadow: var(--shadow-glow);
}

.cta-box h2,
.cta-box h3 {
  color: var(--color-black);
  margin-top: 0;
}

.cta-box p {
  color: rgba(0, 0, 0, 0.8);
  font-size: var(--font-size-lg);
}

.cta-box .btn-primary {
  background: var(--color-black);
  color: var(--color-primary-light);
  border-color: var(--color-black);
}

.cta-box .btn-primary:hover {
  background: #1a1a1a;
  color: var(--color-primary-light);
  transform: translateY(-3px);
}

/* Interactive Components */
.faq-item {
  background: rgba(212, 175, 55, 0.03);
  border-left: 3px solid var(--color-primary);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.faq-item:hover {
  background: rgba(212, 175, 55, 0.06);
  border-left-width: 4px;
}

.faq-item h3 {
  font-family: var(--font-secondary);
  color: var(--color-primary);
  font-size: var(--font-size-xl);
  margin-top: 0;
  margin-bottom: var(--space-4);
}

.faq-item p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-200);
}

.faq-item ul {
  margin: var(--space-4) 0 var(--space-4) var(--space-8);
}

.faq-item li {
  margin-bottom: var(--space-2);
}

.faq-item strong {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.checklist li {
  padding: var(--space-2) 0;
  padding-left: var(--space-8);
  position: relative;
  color: var(--color-gray-200);
}

.checklist li::before {
  content: "✅";
  position: absolute;
  left: 0;
  font-size: var(--font-size-lg);
}

.checklist.negative li::before {
  content: "❌";
}

.quiz {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin: var(--space-8) 0;
}

.quiz h3 {
  color: var(--color-primary-light);
  margin-top: 0;
  margin-bottom: var(--space-6);
}

.quiz ol {
  margin-left: var(--space-6);
}

.quiz li {
  margin-bottom: var(--space-4);
  color: var(--color-gray-200);
}

/* Code Components */
code {
  background: rgba(212, 175, 55, 0.1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-family: 'Courier New', 'Consolas', monospace;
  color: var(--color-primary-light);
  font-size: 0.9em;
}

pre {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid var(--color-primary);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  overflow-x: auto;
  margin: var(--space-6) 0;
}

pre code {
  background: none;
  padding: 0;
  color: var(--color-gray-200);
  font-size: var(--font-size-sm);
  border-radius: 0;
}

.table-responsive {
  overflow-x: auto;
  margin: var(--space-6) 0;
  -webkit-overflow-scrolling: touch;
}

/* Table styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

thead {
  background: var(--gradient-gold);
}

thead th {
  color: var(--color-black);
  font-weight: var(--font-weight-bold);
  padding: var(--space-4);
  text-align: left;
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
}

tbody tr {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

tbody tr:hover {
  background: rgba(212, 175, 55, 0.05);
}

tbody td {
  padding: var(--space-4);
  color: var(--color-gray-200);
}

/* ================================
   PRINT STYLES
   ================================ */
@media print {
  .header,
  .footer,
  .nav-menu,
  .btn-primary,
  .btn-secondary,
  .mobile-menu-button {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  h1, h2, h3, h4, h5, h6 {
    color: black;
  }

  a {
    text-decoration: underline;
    color: black;
  }
}

/* ================================
   ACCESSIBILITY ENHANCEMENTS
   ================================ */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-black);
  padding: var(--space-2) var(--space-4);
  text-decoration: none;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 9999;
}

.skip-to-content:focus {
  top: 0;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

/* ================================
   END OF STYLESHEET
   ================================ */
