:root {
  --primary: #c9a84c;
  --primary-hover: #e0bf5f;
  --secondary: #7b2fbe;
  --bg-base: #0d0a1a;
  --bg-surface: #16112b;
  --bg-elevated: #1e1740;
  --text-primary: #f5f0ff;
  --text-secondary: #a99bc8;
  --success: #34d399;
  --border: #2d2552;
  --gradient-wash: linear-gradient(135deg, #7b2fbe 0%, #c9a84c 100%);
  --gradient-gold: linear-gradient(135deg, #c9a84c 0%, #e0bf5f 100%);
  --glow: rgba(201, 168, 76, 0.25);

  --font-display: "Rajdhani", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-ui: "Inter", sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

h1,
h2,
.font-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 767px) {
  .section-padding {
    padding: 48px 0;
  }
}

.catalog-divider {
  border-bottom: 1px solid var(--border);
}

/* Headings & Accents */
.h2-left {
  font-size: 36px;
  margin-bottom: 40px;
  position: relative;
  color: #ffffff;
}
.h2-left::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin-top: 12px;
}

.section-subheading-editorial {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 16px;
}

/* Editorial Body Plain Blocks */
.text-block-plain {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.text-block-plain strong {
  color: var(--text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  white-space: nowrap;
}

.btn-type-a {
  background: var(--gradient-gold);
  color: #ffffff;
  border-radius: 100px;
  padding: 0 32px;
  height: 56px;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}
.btn-type-a:hover {
  box-shadow: 0 0 20px var(--glow);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Navbar Layout */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition:
    background-color 0.3s ease,
    border-bottom 0.3s ease;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background-color: rgba(22, 17, 43, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo span {
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}
.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-login {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 15px;
}
.nav-login:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Slide Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-surface);
  border-left: 1px solid var(--border);
  padding: 40px 30px;
  transition: right 0.3s ease-in-out;
  z-index: 101;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}
.mobile-menu .nav-link {
  display: block;
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .nav-link.active::after {
  display: none;
}
.mobile-menu .nav-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 30px;
  gap: 12px;
}
.mobile-menu .btn-type-a,
.mobile-menu .btn-type-b {
  width: 100%;
  min-width: unset;
}
.mobile-menu .btn-type-b {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 100px;
  padding: 0 24px;
  height: 48px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1023px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
}

/* Hero Section (Asymmetric Layout) */
.hero {
  position: relative;
  padding: 160px 0 100px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-base);
}
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(13, 10, 26, 0.3) 0%,
    rgba(13, 10, 26, 0.95) 90%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.hero h1 {
  font-size: 44px;
  margin-bottom: 24px;
  color: #ffffff;
}
.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

@media (max-width: 1023px) {
  .hero-content {
    width: 85%;
  }
  .hero-overlay {
    background: linear-gradient(
      90deg,
      #0d0a1a 0%,
      rgba(13, 10, 26, 0.95) 75%,
      rgba(13, 10, 26, 0.6) 100%
    );
  }
}
@media (max-width: 767px) {
  .hero {
    padding: 140px 0 80px;
    min-height: auto;
  }
  .hero-content {
    width: 100%;
  }
  .hero h1 {
    font-size: 30px;
  }
}

/* Flat vertical rows component */
.editorial-row-list {
  display: flex;
  flex-direction: column;
  margin: 32px 0;
}
.editorial-row-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
}
.editorial-row-item:first-child {
  padding-top: 0;
}
.editorial-row-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.row-item-icon {
  color: var(--primary);
  flex-shrink: 0;
  display: inline-flex;
  padding-top: 2px;
}
.row-item-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  fill: none;
  stroke: currentColor;
}
.row-item-content-side {
  display: flex;
  flex-direction: column;
}
.row-item-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* 2x2 Factors Card Grid Layout */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.factor-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.factor-card:hover {
  border-color: var(--primary);
}
.factor-card-icon {
  color: var(--primary);
  flex-shrink: 0;
  display: inline-flex;
}
.factor-card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  fill: none;
  stroke: currentColor;
}
.factor-card-content {
  display: flex;
  flex-direction: column;
}
.factor-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.factor-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Vertical Staircase Tier Stack Components */
.tier-bar-staircase {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 32px 0;
}
.tier-commission-bar {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 20px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.tier-bar-w1 {
  width: 60%;
}
.tier-bar-w2 {
  width: 70%;
}
.tier-bar-w3 {
  width: 80%;
}
.tier-bar-w4 {
  width: 90%;
}
.tier-bar-w5 {
  width: 100%;
  border: 1px solid var(--primary);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.15);
}

.tier-bar-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tier-bar-percentage {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
}
.tier-bar-qualifier {
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 767px) {
  .tier-commission-bar {
    width: 100% !important;
  }
}

/* Formula Highlight Component */
.formula-highlight-block {
  background: var(--bg-elevated);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 16px 24px;
  max-width: 700px;
  margin: 32px auto;
  text-align: center;
}
.formula-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
}
.formula-explanation {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Panoramic Image Placement Structure */
.panoramic-image-wrapper {
  margin: 24px 0 32px;
}
.panoramic-image-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 1px solid var(--border);
  object-fit: cover;
}

/* 3-Column Grid Calculation Example Card */
.calculation-example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.calc-example-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}
.calc-example-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--glow);
}
.calc-example-card.tier-5-premium {
  border: 1px solid var(--primary);
}

.scenario-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.calc-data-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.calc-data-row strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-primary);
}
.calc-data-row .rate-highlight {
  color: var(--secondary);
  font-weight: 700;
}
.calc-divider {
  border-top: 1px solid var(--border);
  margin: 12px 0;
  width: 100%;
}
.result-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.result-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--primary);
  line-height: 1.2;
}

/* Zero Risk Callout Block */
.zero-risk-callout {
  background: var(--bg-elevated);
  border-left: 4px solid var(--success);
  border-radius: 0 12px 12px 0;
  padding: 20px;
  max-width: 800px;
  margin: 32px 0;
}
.zero-risk-callout p {
  font-size: 15px;
  color: var(--text-secondary);
}
.zero-risk-callout p strong {
  color: var(--text-primary);
}

/* Step Item Module Structure */
.steps-container-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0;
}
.step-item-block {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 20px;
}
.step-num-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-num-large-bg {
  position: absolute;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.1);
  line-height: 1;
  z-index: 0;
}
.step-num-front {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
}
.step-block-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.step-block-desc {
  font-size: 15px;
  color: var(--text-secondary);
}
.step-item-block:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -20%;
  width: 40%;
  height: 2px;
  border-top: 2px dotted var(--border);
  z-index: 0;
}

@media (max-width: 767px) {
  .steps-container-row {
    flex-direction: column;
    gap: 40px;
  }
  .step-item-block:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -25px;
    left: 50%;
    width: 2px;
    height: 20px;
    border-top: none;
    border-left: 2px dotted var(--border);
  }
}

/* Back Office Grid Cards Layout Module */
.backoffice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.backoffice-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}
.backoffice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--glow);
}
.backoffice-card-icon {
  color: var(--primary);
  margin-bottom: 14px;
  display: inline-flex;
}
.backoffice-card-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  fill: none;
  stroke: currentColor;
}
.backoffice-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.backoffice-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.backoffice-row-centered {
  grid-column: span 3;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.backoffice-row-centered .backoffice-card {
  width: calc(33.333% - 14px);
}

@media (max-width: 1023px) {
  .backoffice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .backoffice-row-centered {
    grid-column: span 2;
    width: 100%;
  }
  .backoffice-row-centered .backoffice-card {
    width: calc(50% - 10px);
  }
}
@media (max-width: 767px) {
  .backoffice-grid {
    grid-template-columns: 1fr;
  }
  .backoffice-row-centered {
    flex-direction: column;
    grid-column: auto;
  }
  .backoffice-row-centered .backoffice-card {
    width: 100%;
  }
}

/* Payment Inline Flex Layout */
.payment-inline-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.payment-flex-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.payment-item-icon {
  color: var(--text-secondary);
  display: inline-flex;
}
.payment-item-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  fill: none;
  stroke: currentColor;
}
.payment-item-name {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Standardized Wagering Dynamic Structural Table Layout */
.table-responsive-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 32px 0;
}
.wagering-spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.wagering-spec-table th {
  background: var(--bg-elevated);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.wagering-spec-table td {
  background: var(--bg-surface);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.wagering-spec-table tr:last-child td {
  border-bottom: none;
}

/* Numbered Horizontal Strategy Row Tip List */
.strategy-vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}
.strategy-tip-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.strategy-num-side {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--primary);
  line-height: 1;
  padding-top: 2px;
}
.strategy-text-side {
  display: flex;
  flex-direction: column;
}
.strategy-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.strategy-desc {
  font-size: 15px;
  color: var(--text-secondary);
}

@media (max-width: 1023px) {
  .factors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculation-example-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .factors-grid,
  .calculation-example-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion Architecture */
.faq-accordion {
  max-width: 1200px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border-left: 3px solid transparent;
  transition: border-left-color 0.3s ease;
}
.faq-item.active {
  border-left-color: var(--primary);
}
.faq-question {
  padding: 20px;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-icon {
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  padding: 0 20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 15px;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 20px 20px;
  opacity: 1;
}

.faq-section {
  padding-bottom: 100px;
}
@media (max-width: 767px) {
  .faq-section {
    padding-bottom: 64px;
  }
}

/* Footer Architecture Layout */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  text-align: left;
}
.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-block;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 300px;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-badges {
  display: flex;
  gap: 12px;
  align-items: center;
}
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--text-secondary);
  border-radius: 50%;
  font-weight: 700;
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Floating CTA Module */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gradient-gold);
  color: #fff;
  padding: 0 24px;
  height: 52px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  z-index: 90;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 15px var(--glow);
  animation: pulse 2s infinite ease-in-out;
}
.floating-cta:hover {
  animation: none;
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 767px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    height: 48px;
  }
}
