/* ===================================================
   Royal X Casino - style.css
   Mobile-first, Core Web Vitals optimised
   =================================================== */

/* ---- Font-face (self-hosted Poppins) ---- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLDz8Z1xlFQ.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/pxiEyp8kv8JHgFVrJJfecg.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/pxiByp8kv8JHgFVrLDD4Z1xlFQ.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* ---- CSS Custom Properties ---- */
:root {
  --bg-dark: #111111;
  --bg-grey: #f5f5f5;
  --bg-white: #ffffff;
  --gold: #c9a227;
  --gold-light: #e8c84a;
  --gold-dark: #9a7a18;
  --text-dark: #1a1a1a;
  --text-body: #444444;
  --text-muted: #777777;
  --text-light: #999999;
  --text-white: #ffffff;
  --red: #dc3545;
  --green: #28a745;
  --border: #e8e8e8;
  --border-light: #f0f0f0;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.07);
  --radius: 10px;
  --radius-sm: 6px;
  --max-w: 1200px;
}

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

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

body {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background-color: #ffffff;
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--gold-dark);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
ul {
  list-style: none;
}

/* ---- Utility ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.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;
}

/* ---- NAVBAR ---- */
.navbar {
  background: var(--bg-dark);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.navbar-left {
  display: flex;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(201, 162, 39, 0.4));
}
.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  filter: none;
  -webkit-filter: none;
  -webkit-text-fill-color: unset;
}
.logo:hover {
  text-decoration: none;
  filter: drop-shadow(0 3px 8px rgba(201, 162, 39, 0.6));
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition:
    color 0.2s,
    background 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- BREADCRUMB ---- */
.breadcrumb-nav {
  background: #fff;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-container {
  max-width: var(--max-w);
  margin: 0 auto;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  list-style: none;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb-link {
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb-link:hover {
  color: var(--gold);
}

/* ---- SECTION WRAPPERS ---- */
.section-light {
  background: #ffffff;
  padding: 60px 0;
}
.section-dark {
  background: #f5f5f5;
  padding: 60px 0;
}
.section-gold {
  background: #ffffff;
  padding: 60px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.section-heading {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-heading.light {
  color: var(--text-dark);
}
.section-heading.dark {
  color: var(--text-dark);
}

.section-intro {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 36px;
  max-width: 780px;
}
.section-intro.light {
  color: var(--text-body);
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---- BUTTONS ---- */
.btn-primary,
.btn-secondary,
.btn-dark,
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
  letter-spacing: 0.3px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 162, 39, 0.55);
  text-decoration: none;
  color: var(--text-dark);
}
.btn-secondary {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}
.btn-secondary:hover {
  background: rgba(201, 162, 39, 0.08);
  text-decoration: none;
  color: var(--gold-dark);
}
.btn-dark {
  background: var(--bg-dark);
  color: var(--text-white);
  box-shadow: var(--shadow);
}
.btn-dark:hover {
  background: #222;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text-white);
}
.btn-dark.large {
  padding: 16px 36px;
  font-size: 16px;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  margin-top: 20px;
}
.btn-gold:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--text-dark);
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---- INLINE LINKS ---- */
.inline-link {
  color: var(--gold-dark);
  font-weight: 600;
  border-bottom: 1px dotted var(--gold-dark);
}
.inline-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.inline-link-light {
  color: var(--gold-dark);
  font-weight: 600;
  border-bottom: 1px dotted var(--gold-dark);
}
.inline-link-light:hover {
  color: var(--gold);
}

/* ---- HERO ---- */
.hero-section {
  background: #ffffff;
  padding: 30px 0 50px;
  border-bottom: 1px solid var(--border);
}
.hero-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-logo {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
  margin: 20px auto 0;
}
.hero-title {
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-subtitle {
  display: block;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: 8px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.hero-text {
  color: var(--text-body);
  font-size: 17px;
  margin-bottom: 30px;
  line-height: 1.65;
}
.hero-text strong {
  color: var(--text-dark);
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}
.badge {
  background: #f5f5f5;
  border: 1px solid var(--border);
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

/* App Info Card */
.app-info-card {
  width: 100%;
  margin-top: 36px;
}
.app-info-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 0;
}
.app-info-title-icon {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: var(--text-dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}
.app-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  color: var(--text-dark);
}
.app-info-table tr:nth-child(even) {
  background: #f5f5f5;
}
.app-info-table td {
  padding: 12px 16px;
}
.app-info-table td:first-child {
  font-weight: 800;
  width: 44%;
  text-align: left;
}
.app-info-table td:last-child {
  text-align: right;
  color: var(--text-body);
}

/* ---- INTRO SECTION ---- */
.intro-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.intro-text-block {
  flex: 1;
  min-width: 280px;
}
.intro-text-block p {
  margin-bottom: 16px;
  color: var(--text-body);
}
.intro-image-block {
  flex-shrink: 0;
}
.intro-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border);
}

/* ---- TABLE OF CONTENTS ---- */
.toc-section {
  background: #f5f5f5;
  padding: 30px 0;
}
.toc-card {
  max-width: var(--max-w);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--bg-dark);
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
}
.toc-header h3 {
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}
.toc-icon {
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}
.toc-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s;
}
.toc-content.open {
  max-height: 1200px;
  padding: 16px 20px 20px;
}
.toc-list {
  column-count: 2;
  column-gap: 20px;
}
.toc-list > li {
  margin-bottom: 8px;
  break-inside: avoid;
}
.toc-list a {
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 500;
}
.toc-list a:hover {
  color: var(--gold);
}
.toc-sublist {
  margin-top: 4px;
  margin-left: 14px;
}
.toc-sublist li {
  margin-bottom: 4px;
}
.toc-sublist a {
  font-size: 13px;
  color: var(--text-body);
}

/* ---- WHY CHOOSE GRID ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}
.why-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.12);
}
.why-icon {
  width: 40px;
  height: 40px;
  background: #fff8e1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.why-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--gold-dark);
}
.why-card h3 {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-card p {
  color: var(--text-body);
  font-size: 13.5px;
}

/* ---- FEATURE CARDS ---- */
.feature-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: var(--gold);
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: #fff8e1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--gold-dark);
}
.feature-body {
  flex: 1;
  min-width: 0;
}
.feature-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.feature-body p {
  color: var(--text-body);
  font-size: 14.5px;
  margin-bottom: 10px;
}
.feature-list {
  padding-left: 0;
}
.feature-list li {
  font-size: 14px;
  color: var(--text-body);
  padding: 4px 0 4px 20px;
  position: relative;
}
.feature-list li::before {
  content: "✓";
  color: var(--gold-dark);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ---- GAMES GRID ---- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 10px;
}
.game-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}
.game-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.12);
}
.game-card.highlight {
  border-color: var(--gold);
}
.game-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.game-card h3 {
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.game-card p {
  color: var(--text-body);
  font-size: 13px;
  margin-bottom: 12px;
}
.game-tag {
  font-size: 11px;
  font-weight: 700;
  background: var(--text-dark);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- DOWNLOAD STEPS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.step-number {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 13.5px;
  color: var(--text-body);
}
.download-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff9e6;
  border: 1px solid #e8c84a;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 30px;
  color: #7a5c0a;
  font-size: 14px;
}

/* ---- REGISTER SECTION ---- */
.reg-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.reg-col {
  flex: 1;
  min-width: 280px;
}
.reg-subtitle {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.reg-steps {
  padding-left: 22px;
}
.reg-steps li {
  color: var(--text-body);
  font-size: 14.5px;
  margin-bottom: 10px;
  line-height: 1.5;
}
.reg-steps li strong {
  color: var(--text-dark);
}
.reg-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 400px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

/* ---- BONUS GRID ---- */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.bonus-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.bonus-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.12);
}
.bonus-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.bonus-body {
  padding: 18px;
}
.bonus-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.bonus-body p {
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 12px;
}
.bonus-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--text-dark);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* ---- REFER & EARN ---- */
.refer-grid {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.refer-text {
  flex: 1;
  min-width: 280px;
}
.light-text {
  color: var(--text-body);
  margin-bottom: 24px;
}
.refer-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.refer-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.refer-num {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}
.refer-step div {
  flex: 1;
  min-width: 0;
}
.refer-step strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.refer-step p {
  color: var(--text-body);
  font-size: 13.5px;
  margin: 0;
}
.refer-image {
  flex-shrink: 0;
}
.refer-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 380px;
  border: 1px solid var(--border);
}

/* ---- PAYMENT METHODS ---- */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.payment-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
}
.payment-card:hover {
  border-color: var(--gold);
}
.payment-card.featured {
  border-color: var(--gold);
}
.payment-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.payment-icon.ep {
  background: #00b900;
}
.payment-icon.jc {
  background: #e53935;
}
.payment-icon.bt {
  background: #1565c0;
}
.payment-icon.usdt {
  background: #26a17b;
}
.payment-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.payment-card p {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 14px;
}
.payment-details {
  padding-left: 0;
}
.payment-details li {
  font-size: 12.5px;
  color: var(--text-body);
  padding: 3px 0 3px 16px;
  position: relative;
}
.payment-details li::before {
  content: "›";
  color: var(--gold-dark);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ---- AGENT PROGRAM ---- */
.agent-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.agent-info {
  flex: 1;
  min-width: 280px;
}
.agent-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.agent-info p {
  font-size: 14.5px;
  color: var(--text-body);
  margin-bottom: 20px;
}
.agent-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.agent-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.benefit-icon {
  flex-shrink: 0;
  font-size: 16px;
}
.agent-benefit span:last-child {
  color: var(--text-body);
  font-size: 14px;
}

.agent-steps-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  flex: 1;
  min-width: 260px;
  box-shadow: var(--shadow-card);
}
.agent-steps-box h3 {
  color: var(--gold-dark);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}
.agent-steps {
  padding-left: 20px;
}
.agent-steps li {
  color: var(--text-body);
  font-size: 14px;
  margin-bottom: 10px;
}
.agent-steps li strong {
  color: var(--text-dark);
}

/* ---- VIP TABLE ---- */
.vip-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.vip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.vip-table thead tr {
  background: var(--bg-dark);
}
.vip-table thead th {
  padding: 14px 16px;
  color: var(--gold);
  font-weight: 700;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.vip-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}
.vip-table tbody tr:hover {
  background: #fff9e6;
}
.vip-table tbody tr:last-child {
  border-bottom: none;
}
.vip-table tbody td {
  padding: 12px 16px;
  color: var(--text-body);
  font-size: 13.5px;
}
.vip-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.vip-badge.bronze {
  background: #cd7f32;
  color: #fff;
}
.vip-badge.silver {
  background: #a8a9ad;
  color: #fff;
}
.vip-badge.gold {
  background: var(--gold);
  color: var(--text-dark);
}
.vip-badge.platinum {
  background: #d0d0d0;
  color: #333;
}
.vip-badge.diamond {
  background: #54d4f2;
  color: #1a1a1a;
}

/* ---- PROS & CONS ---- */
.procons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pc-card {
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.pc-card.pros {
  border: 2px solid var(--green);
}
.pc-card.cons {
  border: 2px solid var(--red);
}
.pc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.pc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pros-icon {
  background: var(--green);
}
.cons-icon {
  background: var(--red);
}
.pc-header h3 {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 800;
}
.pc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pc-list li {
  font-size: 14px;
  color: var(--text-body);
  padding-left: 4px;
}
.pc-card.pros .pc-list li {
  color: var(--text-body);
}
.pc-card.cons .pc-list li {
  color: var(--text-body);
}

/* ---- RESPONSIBLE GAMING ---- */
.disclaimer-box {
  background: #fff9e6;
  border: 1px solid #e8c84a;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: #7a5c0a;
  margin-bottom: 36px;
  line-height: 1.6;
}
.rg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.rg-tip {
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.rg-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}
.rg-tip h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.rg-tip p {
  font-size: 13.5px;
  color: var(--text-body);
}

/* ---- CONCLUSION ---- */
.conclusion-text {
  font-size: 15.5px;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.75;
  max-width: 860px;
}
.conclusion-text strong {
  color: var(--text-dark);
  font-weight: 800;
}
.conclusion-cta {
  margin-top: 30px;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 100%;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  gap: 12px;
  transition: color 0.2s;
}
.faq-question:hover,
.faq-question.active {
  color: var(--gold-dark);
}
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
  transition: transform 0.3s;
}
.faq-icon svg {
  width: 24px;
  height: 24px;
}
.faq-question.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 18px 0;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg-dark);
  padding-top: 60px;
}
.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
}
.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-badge {
  font-size: 11px;
  font-weight: 600;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 20px;
}
.footer-logo-link {
  display: inline-block;
}

.footer-links-col h4 {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
  text-decoration: none;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
}
.footer-disclaimer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}
.footer-disclaimer strong {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12.5px;
}

/* ========================================================
   RESPONSIVE - Mobile First breakpoints
   ======================================================== */

/* ---- Max 1024px (Tablet) ---- */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

/* ---- Max 768px (Mobile) ---- */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar-right {
    position: fixed;
    left: -100%;
    top: 64px;
    width: 100%;
    background: var(--bg-dark);
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    border-bottom: 2px solid var(--gold);
    transition: left 0.3s ease;
    z-index: 999;
  }
  .navbar-right.active {
    left: 0;
  }
  .nav-link {
    padding: 16px 24px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hero-cta-group {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary,
  .btn-dark,
  .btn-gold {
    width: 100%;
    justify-content: center;
  }

  .toc-list {
    column-count: 1;
  }

  .intro-grid {
    flex-direction: column;
  }
  .intro-image-block {
    width: 100%;
  }
  .intro-img {
    max-width: 100%;
  }

  .reg-grid {
    flex-direction: column;
  }
  .refer-grid {
    flex-direction: column;
  }
  .refer-image {
    width: 100%;
  }
  .refer-img {
    max-width: 100%;
  }

  .agent-grid {
    flex-direction: column;
  }

  .feature-card {
    flex-direction: column;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }

  .section-light,
  .section-dark,
  .section-gold {
    padding: 44px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
  .bonus-grid {
    grid-template-columns: 1fr;
  }
  .payment-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Max 480px (Small Mobile) ---- */
@media (max-width: 480px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
  .procons-grid {
    grid-template-columns: 1fr;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .vip-table {
    font-size: 12px;
  }
  .vip-table thead th,
  .vip-table tbody td {
    padding: 10px 10px;
  }
}
