/* ==========================================================================
   1xBet PH - Exact Target Website Styling System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Exact variables from target website CSS */
  --blue: #007ACC;
  --darkblue: #1c40b8;
  --white: #fff;
  --gray: #EAECF2;
  --dark: #1B2031;
  --text: #1B2031;
  --secondary: #6E7794;
  --ghost: #99A3C0;
  --regular-text: 16px;
  --lineheight: 160%;
  --userfont: 'Poppins', sans-serif;
  
  /* Additional UI variables */
  --light-blue-wp: rgba(75, 111, 231, 0.05); /* WordPress has-light-blue-background-color */
  --brand-gold: #ffc600;
  --brand-green: #28a745;
  --brand-danger: #dc3545;
  
  --shadow-sm: 0px 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-md: 0px 8px 30px rgba(27, 32, 49, 0.08);
}

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

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

body {
  font-family: var(--userfont);
  font-size: var(--regular-text);
  line-height: var(--lineheight);
  color: var(--text);
  background-color: #FAFAFA; /* Exact body background */
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, .h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 120%;
  color: var(--text);
}

h2, .h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 130%;
  color: var(--text);
  margin-bottom: 32px;
}

h3, .h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 130%;
  margin-top: 30px;
  margin-bottom: 25px;
  color: var(--text);
}

h4, .h4 {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  line-height: 140%;
  color: var(--text);
}

h5 {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  opacity: 0.5;
  color: var(--text);
}

p {
  margin-bottom: 24px;
  color: var(--text);
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--darkblue);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
  background: var(--ghost);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center !important; }
.text-start { text-align: start !important; }
.text-end { text-align: end !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-uppercase { text-transform: uppercase; }
.text-white { color: white !important; }
.text-blue { color: var(--blue) !important; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }
.bg-blue { background-color: var(--blue) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-gray { background-color: var(--gray) !important; }
.rounded { border-radius: 20px !important; }
.shadow { box-shadow: var(--shadow-sm) !important; }
.opacity-50 { opacity: .5; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

/* SPACING */
.pt-130 { padding-top: 130px; }
.pt-60 { padding-top: 60px; }
.pb-90 { padding-bottom: 90px; }
.py-16 { padding: 16px 0; }
.p-18 { padding: 18px; }
.p-24 { padding: 24px; }
.p-32 { padding: 32px; }
.me-16 { margin-right: 16px; }
.mb-30 { margin-bottom: 30px; }
.gap-16 { gap: 16px; }

/* ==========================================================================
   Buttons (Replicating exact border-radius: 32px and right-arrow logic)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  color: var(--text);
  padding: 10px 24px;
  border-radius: 32px !important;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  transition: background-color .3s, color .3s, border .3s;
  border: 1px solid var(--white);
  cursor: pointer;
}

.btn_white {
  background-color: var(--white);
  color: var(--text);
  border: 1px solid var(--white);
}

.btn_gray {
  background-color: var(--gray);
  color: var(--text);
  border: 1px solid var(--gray);
}

.btn_blue {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}

.btn_black {
  background-color: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
}

.btn_transparent {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

/* Right-Arrow pseudo selector for Buttons */
.btn::after {
  content: '';
  position: relative;
  top: 1px;
  display: inline-block;
  margin-left: 12px;
  width: 18px;
  height: 14px;
  background: url(https://1xbetph.ph/wp-content/themes/philippines/assets/images/icons/icon-arrow-right_black.svg) center no-repeat;
  transition: filter .3s;
}

.btn_blue::after, .btn_black::after, .btn_transparent::after {
  background: url(https://1xbetph.ph/wp-content/themes/philippines/assets/images/icons/icon-arrow-right_white.svg) center no-repeat;
}

.btn:hover {
  color: var(--white);
  background-color: var(--blue);
  border-color: var(--white);
}

.btn:hover::after {
  filter: brightness(0) invert(1);
}

.btn_blue:hover {
  background: var(--dark);
  border-color: var(--dark);
}

.btn_transparent:hover {
  color: var(--white);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray);
  transition: all 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  width: 150px;
  height: auto;
}

.header-logo {
  margin-right: 50px;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
  flex: 1;
}

.header-menu {
  display: flex;
  list-style: none;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.menu__item {
  position: relative;
}

.menu__link {
  display: inline-block;
  font-weight: 600;
  color: var(--secondary);
  padding: 8px 16px;
  border-radius: 30px;
  transition: background-color .3s, color .3s;
  font-size: 16px;
}

.menu__link:hover {
  background-color: var(--blue) !important;
  color: var(--white) !important;
}

/* Dropdown Menu styling */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border: 1px solid var(--gray);
  border-radius: 12px;
  list-style: none;
  min-width: 180px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s;
  padding: 8px 0;
  z-index: 100;
}

.menu__item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--secondary);
  font-weight: 500;
}

.sub-menu li a:hover {
  background-color: var(--gray);
  color: var(--blue);
}

/* Registration link (last item in header menu) */
.header-menu > .menu__item:last-child {
  flex: 1;
}


.header-menu > .menu__item:last-child .menu__link:hover {
  background-color: var(--blue) !important;
}

/* Active Class */
.menu__link.active {
  font-weight: 600;
  background: rgba(27, 32, 49, 0.1);
  color: #1B2031;
  padding: 7px 16px;
  border-radius: 30px;
}

/* Hamburger menu toggle */
.header-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
  font-weight: 700;
}

.header-toggle__icon {
  width: 24px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header-toggle__icon span {
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.2s;
}

.header-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.header-toggle.active span:nth-child(2) {
  opacity: 0;
}
.header-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
}

/* Mobile Navigation Panel */
.mobile-nav-panel {
  position: fixed;
  top: 80px;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: calc(100vh - 80px);
  background-color: var(--white);
  border-left: 1px solid var(--gray);
  z-index: 999;
  transition: right 0.3s;
  padding: 24px;
  overflow-y: auto;
  box-shadow: var(--shadow-md);
}

.mobile-nav-panel.active {
  right: 0;
}

.mobile-nav-panel .header-menu {
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.mobile-nav-panel .menu__item {
  width: 100%;
}

.mobile-nav-panel .menu__link {
  width: 100%;
}

.mobile-nav-panel .sub-menu {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: var(--gray);
  margin-top: 4px;
  padding-left: 15px;
}

.mobile-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Hero Banner & Ambassador Area
   ========================================================================== */

.hero-section {
  position: relative;
  padding-top: 130px;
  padding-bottom: 60px;
}

.hhero {
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 100%);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.hhero__title {
  color: var(--white);
  font-size: 44px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 24px;
}

.hhero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.hhero-advantages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.hhero-advantages-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
}

.hhero-advantages-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.eva_elfie {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.eva_elfie img {
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5));
}

.hero-footer-disclaimer {
  margin-top: 30px;
  font-size: 11px;
  color: #ccc;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 15px;
  line-height: 160%;
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */

.toc-block {
  background-color: var(--white);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.toc-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray);
  font-family: var(--userfont);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.toc-block__header svg {
  color: var(--blue);
  transition: transform 0.3s;
}

.toc-block.collapsed .toc-block__header svg {
  transform: rotate(-90deg);
}

.toc-block.collapsed #tocmenu {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
}

#tocmenu {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
  transition: max-height 0.4s ease-out, opacity 0.3s;
  max-height: 1000px;
  opacity: 1;
  padding-left: 0;
}

.kamatoc__link {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  padding: 6px 12px;
  background: var(--gray);
  border-radius: 10px;
  transition: all 0.2s;
}

.kamatoc__link::before {
  content: '\26A1';
  font-size: 12px;
}

.kamatoc__link:hover, .kamatoc__link.active {
  background: var(--blue);
  color: var(--white);
  transform: translateX(4px);
}

/* ==========================================================================
   Page Content Grid (Pure target aesthetic with Poppins, #FAFAFA background)
   ========================================================================== */

.main-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.content-area {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Section Cards - Light White container cards with 20px radius and shadow */
.section-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

/* WordPress light-blue group container style */
.wp-block-group.has-light-blue-background-color {
  background-color: var(--light-blue-wp) !important;
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.wp-block-group.has-light-blue-background-color h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 24px;
}

/* Section H2 style - clean, big */
.section-card h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 32px;
}

/* Custom Lists Styling (Exact -bullet/numbers positioning matching Poppins, scoped to card contents & disclaimers) */
.section-card ol, .section-card ul, .footer__right ol, .footer__right ul {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0 0 0 30px;
}

.section-card ol li, .section-card ul li, .footer__right ol li, .footer__right ul li {
  position: relative;
  margin-bottom: 9px;
  color: var(--text);
  font-weight: 500;
}

.section-card ol li::before, .section-card ul li::before, .footer__right ol li::before, .footer__right ul li::before {
  color: var(--blue);
  display: inline-block;
  position: absolute;
  left: -22px;
  width: 10px;
  text-align: center;
  font-weight: 700;
}

.section-card ol li, .footer__right ol li {
  counter-reset: line;
  counter-increment: step-counter;
}

.section-card ol li::before, .footer__right ol li::before {
  content: counter(step-counter) '';
}

.section-card ul li::before, .footer__right ul li::before {
  font-size: 20px;
  content: '\2022';
}

/* Global Reset for standard menus to prevent padding and indicator inherits */
.header-menu, .footer-nav ul, .sub-menu {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.header-menu li::before, .footer-nav ul li::before, .sub-menu li::before {
  content: none !important;
}

/* Custom quotes/flowcharts exactly matching blockquote selector */
blockquote {
  position: relative;
  background: var(--gray);
  padding: 16px 30px;
  border-radius: 20px;
  margin-bottom: 24px;
}

blockquote::before {
  content: '';
  position: absolute;
  left: 16px;
  display: inline-block;
  background: var(--ghost);
  border-radius: 4px;
  width: 4px;
  height: calc(100% - 32px);
}

.flowchart-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flowchart-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flowchart-step__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.flowchart-step__text {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

/* Key Facts Widget */
.key-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.fact-item {
  background: var(--gray);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}

.fact-item:hover {
  transform: translateY(-4px);
  background: var(--ghost);
}

.fact-item__icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.fact-item__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 6px;
}

.fact-item__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
}

/* Premium Light Tables (Exact #EAECF2 background, 20px border radius, ghost borders) */
table {
  background: var(--gray);
  border-radius: 20px !important;
  padding: 16px;
  gap: 10px;
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

table tbody tr {
  border-top: 1px solid var(--ghost);
}

table tbody tr:first-child {
  border: none;
}

table th {
  font-weight: 700;
  text-align: left;
}

table th, table td {
  padding: 15px 16px 10px;
  vertical-align: top;
  border: none;
}

table tbody tr td:first-child {
  min-width: 132px; /* Exact first cell padding rule from style.css */
}

/* Spacer block */
.wp-block-spacer {
  height: 20px;
}

/* Columns layout */
.columns-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.column-2-3 { flex: 1; }
.column-1-3 { flex: 0 0 100%; }

.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.aligncenter img {
  border-radius: 20px;
  display: inline-block;
  max-width: 100%;
}

/* Support Contacts Widget */
.contacts-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.contact-item {
  background: var(--gray);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.contact-item:hover {
  transform: translateY(-2px);
  background: var(--ghost);
}

.contact-item__icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 12px;
  color: var(--secondary);
}

.contact-item__val {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.contact-item__val a {
  color: var(--text);
}

.contact-item__val a:hover {
  color: var(--blue);
}

/* Partners grid */
.partners-logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  background: var(--gray);
  padding: 24px;
  border-radius: 20px;
  margin-top: 20px;
}

.partner-logo {
  background: var(--white);
  padding: 12px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.partner-logo:hover {
  transform: scale(1.05);
}

/* Promocode Widget Box */
.promo-code-widget {
  background: var(--gray);
  border: 2px dashed var(--ghost);
  border-radius: 20px;
  padding: 30px 24px;
  text-align: center;
  margin: 30px 0;
}

.promo-code-widget__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.promo-code-widget__code {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  background: var(--blue);
  display: inline-block;
  padding: 10px 36px;
  border-radius: 32px;
  margin: 14px 0;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
}

.promo-code-widget__code:hover {
  background: var(--darkblue);
  transform: scale(1.03);
}

.promo-code-widget__desc {
  font-size: 14px;
  color: var(--secondary);
}

/* Clipboard Toast message */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 32px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 1100;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Bottom Quick Callout Card */
.questions-card {
  background: var(--gray);
  border-radius: 20px;
  padding: 36px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.questions-card__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.questions-card__desc {
  font-size: 15px;
  color: var(--secondary);
  max-width: 600px;
}

/* ==========================================================================
   Footer (Exact dual parts: Left Dark / Right Gray Rounded Block)
   ========================================================================== */

.footer {
  background-color: var(--dark);
  padding: 60px 0 40px 0;
  color: var(--white);
  font-size: 13px;
  line-height: 160%;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__left p {
  color: #ccc;
}

.footer-nav {
  margin: 16px 0;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-left: 0;
}

.footer-nav ul li::before {
  content: none;
}

.footer-nav a {
  color: var(--white);
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-download-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.footer-download-badge a {
  background-color: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-download-badge a:hover {
  background-color: var(--blue);
}

.footer-social-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.footer-social-badge a {
  background-color: rgba(255,255,255,0.08);
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s;
}

.footer-social-badge a:hover {
  background-color: var(--blue);
}

/* Footer right part: Exact bg-gray rounded block inside footer */
.footer__right {
  background-color: var(--gray) !important;
  border-radius: 20px !important;
  padding: 32px;
  color: var(--text) !important;
}

.footer__right p {
  color: var(--text) !important;
}

.footer__right h4 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-bottom-compliance {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-bottom-compliance img {
  height: 24px;
  width: auto;
}

.copyright-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */

/* Bottom Sticky Promo Box */
.promo-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--dark);
  border-top: 2px solid var(--blue);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
  padding: 16px 0;
  z-index: 990;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-popup.active {
  transform: translateY(0);
}

.promo-popup__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  position: relative;
  color: var(--white);
}

.promo-popup__close {
  position: absolute;
  top: -8px;
  right: 0;
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 18px;
}

.promo-popup__close:hover {
  color: var(--brand-danger);
}

.promo-popup__top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.promo-popup__brand img {
  height: 28px;
}

.promo-popup__rating {
  font-size: 13px;
  background-color: rgba(255, 192, 0, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.promo-popup__rating-star {
  color: var(--brand-gold);
}

.promo-popup__rating-value {
  color: var(--white);
  font-weight: 700;
}

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

.promo-popup__title {
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
}

.promo-popup__text {
  font-size: 14px;
  color: var(--brand-gold);
  font-weight: 600;
}

/* Exit intent / notave Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.notave-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-md);
  transform: scale(0.9);
  transition: transform 0.3s;
  text-align: center;
}

.modal-overlay.active .notave-modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background-color: var(--gray);
  color: var(--text);
}

.notave__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-danger);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.notave__subtitle {
  font-size: 14px;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.notave__logo-wrap {
  background: var(--gray);
  border-radius: 20px;
  padding: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  cursor: pointer;
}

.notave__logo-wrap img {
  height: 48px;
}

.notave__bonus-wrap {
  margin-bottom: 30px;
}

.notave__bonus {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.notave__bonus span {
  color: var(--blue);
  font-size: 20px;
  font-weight: 800;
}

.notave__score {
  font-size: 12px;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 8px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (min-width: 576px) {
  .hhero__title {
    font-size: 52px;
  }
  
  .promo-popup__inner {
    flex-direction: row;
    padding-right: 40px;
  }
}

@media (min-width: 768px) {
  .columns-layout {
    flex-direction: row;
  }
  
  .column-2-3 {
    flex: 0 0 66.66%;
    max-width: 66.66%;
  }
  
  .column-1-3 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }

  .hhero__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (min-width: 992px) {
  .nav-desktop {
    display: block;
  }
  
  .header-toggle {
    display: none;
  }
  
  .mobile-nav-panel, .mobile-overlay {
    display: none !important;
  }

  .main-content-grid {
    grid-template-columns: 1fr;
  }
}
