/* =====================================================
   Elio168 — BETFLIX1688-inspired Layout
   Brand: Red · Orange · Black · Gold
   Stack: Pure HTML / CSS / Vanilla JS
   ===================================================== */

:root {
  --c-bg: #0a0606;
  --c-bg-soft: #110909;
  --c-bg-card: #1a0e0e;
  --c-bg-card-2: #221414;
  --c-border: #3a1414;
  --c-border-hot: #7c2d12;

  --c-primary: #ef4444;
  --c-primary-hover: #dc2626;
  --c-primary-dark: #991b1b;
  --c-primary-glow: rgba(220, 38, 38, 0.35);

  --c-accent: #fbbf24;
  --c-accent-2: #f59e0b;
  --c-accent-3: #d97706;
  --c-accent-glow: rgba(251, 191, 36, 0.45);

  --c-text: #f3f4f6;
  --c-text-muted: #d1d5db;
  --c-text-dim: #9ca3af;

  --navbar-h: 75px;
  --sidebar-w: 200px;
  --sidebar-w-mobile: 110px;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 5px 10px rgba(0, 0, 0, 0.7);
  --transition: 0.3s ease;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; margin: 0 !important; }

body {
  font-family: "Kanit", sans-serif;
  position: relative;
  color: #fff;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
    url("img/background/photo_2026-05-16_05-26-19.png") center top / cover no-repeat fixed,
    #0a0606;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a, a:hover, a:focus {
  color: #fff;
  text-decoration: none;
  transition: all var(--transition);
}

img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.text-purple { color: var(--c-primary); }

/* =====================================================
   1. WRAPPER + OVERLAY (Sidebar/Mobile drawer overlay)
   ===================================================== */
.wrapper { width: 100%; position: relative; }

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.overlay.active {
  display: block;
  opacity: 1;
}

/* =====================================================
   2. HAMBURGER MOBILE BUTTON (animated SVG)
   ===================================================== */
.wrapper-menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  position: fixed;
  left: 8px;
  top: 17px;
  z-index: 1000;
  transition: all .5s;
  display: none;
}

@media (max-width: 991px) {
  .wrapper-menu { display: block; }
}

.line {
  fill: none;
  stroke: #fff;
  stroke-width: 5px;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1, .line3 { stroke-dasharray: 60 207; }
.line2 { stroke-dasharray: 60 60; }

.wrapper-menu.open .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 3;
}
.wrapper-menu.open .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 3;
}
.wrapper-menu.open .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 3;
}

/* =====================================================
   3. TOP NAVBAR (Logo + Menu Icons + Login/Register)
   ===================================================== */
.navbarmain {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11;
  width: 100%;
  height: var(--navbar-h);
  background: linear-gradient(0deg, #0a0303, #1c0808);
  border-bottom: 1px solid #3a1414;
  box-shadow: 0 0 12px #000, 0 0 25px rgba(220, 38, 38, 0.15);
  display: flex;
  align-items: center;
}

.navbarmain .logo {
  position: absolute;
  left: 27px;
  top: 50%;
  width: auto;
  max-width: 118px;
  transform: translateY(-50%);
  transition: all .3s;
  z-index: 2;
  overflow: hidden;
}
.navbarmain .logo a {
  display: block;
  line-height: 0;
}
.navbarmain .logo img,
.navbarmain .logo .custom-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(var(--navbar-h) - 18px);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.5));
}

@media (max-width: 991px) {
  .navbarmain .logo {
    left: 48px;
    max-width: 92px;
  }
  .navbarmain .logo img,
  .navbarmain .logo .custom-logo {
    max-height: calc(var(--navbar-h) - 16px);
  }
}
@media (max-width: 440px) {
  .navbarmain .logo {
    max-width: 76px;
  }
}

/* --- Menu icons (center) --- */
.menuicon {
  margin-right: auto;
  margin-left: 180px;
  transition: all .3s;
}
.menuicon ul {
  display: flex;
  margin: 0;
  padding: 0;
}
.menuicon ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.menuicon ul li a {
  width: fit-content;
  max-width: 95px;
  height: 82px;
  padding: 0 2px 2px;
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-image:
    linear-gradient(180deg, #1a0808, #0a0303),
    linear-gradient(180deg, var(--c-accent), #3a1010);
  border-bottom-right-radius: 15px;
  border-bottom-left-radius: 15px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-right: 8px;
  font-size: 12px;
  color: #fff;
  transition: all .3s;
}
.menuicon ul li a:hover,
.menuicon ul li.current_page_item a {
  background-image:
    linear-gradient(180deg, #2a0a0a, var(--c-primary-dark)),
    linear-gradient(180deg, #2a0a0a, var(--c-accent));
  text-shadow: 0 0 8px var(--c-accent);
}
.menuicon ul li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  margin-bottom: 4px;
  padding: 0 !important;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
}
.menuicon ul li a .menu-image-title { padding: 0 !important; font-size: 11px; line-height: 1.2; }

@media (max-width: 1120px) {
  .menuicon ul li a { margin-right: 4px; max-width: 82px; }
  .menuicon ul li img { width: 30px; height: 30px; }
}

/* --- Overlay for mobile menu --- */
.overlaymenu {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
  display: none;
  pointer-events: none;
}
.overlaymenu.active {
  display: block;
  /* Never capture taps — menu links sit above this layer */
  pointer-events: none;
}
@media (min-width: 992px) { .overlaymenu.active { display: none; } }

/* Lift entire header above page chrome while mobile menu is open */
body.menu-open .navbarmain {
  z-index: 10050;
}

@media (max-width: 991px) {
  .menuicon { display: none; }
  .menuicon.active {
    position: fixed;
    inset: 0;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    z-index: 10051;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    pointer-events: auto;
  }
  .menuicon.active ul.menu {
    position: relative;
    z-index: 2;
    pointer-events: auto;
  }
  .menuicon.active ul.menu li a {
    position: relative;
    z-index: 3;
    pointer-events: auto;
    cursor: pointer;
  }
  .menuicon ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding: 20px;
  }
  .menuicon ul li a {
    border-radius: 20px;
    max-width: 130px;
    height: 100px;
  }
  .menuicon ul li img {
    width: 44px;
    height: 44px;
    pointer-events: none;
  }
  .menuicon ul li a .menu-image-title {
    pointer-events: none;
  }
}

/* Hamburger stays clickable above open menu */
body.menu-open .wrapper-menu {
  z-index: 10052;
}

/* --- Login / Register buttons --- */
.loginregishead {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
}
@media (max-width: 991px) {
  .loginregishead { right: 10px; top: 50%; transform: translateY(-50%); margin: 0; }
}

.btn-primary {
  margin: 0 6px;
  font-size: 0.9rem;
  position: relative;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .5));
  border-radius: 12px;
  border: 1px solid transparent;
  background-image:
    linear-gradient(180deg, #1a0606, #0a0303),
    linear-gradient(125deg, var(--c-accent), var(--c-accent-2) 31%, var(--c-accent-3) 64%, var(--c-accent));
  background-origin: border-box;
  background-clip: content-box, border-box;
  padding: 0 !important;
  line-height: 22px;
  transition: all .3s;
  cursor: pointer;
}
.btn-primary:hover {
  filter: saturate(1.5) brightness(1.1);
  background-image:
    linear-gradient(180deg, #2a0a0a, var(--c-primary-dark)),
    linear-gradient(125deg, #fff3c4, var(--c-accent) 31%, var(--c-accent-2) 64%, #fff3c4);
  box-shadow: 0 0 14px var(--c-accent-glow);
}
.btn-primary a {
  display: block;
  padding: 8px 14px;
  color: #fffcdb;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary.btn-register {
  background-image:
    linear-gradient(180deg, var(--c-primary), var(--c-primary-dark)),
    linear-gradient(125deg, #ffd9d9, var(--c-primary) 31%, var(--c-primary-dark) 64%, #ffd9d9);
}
.btn-primary.btn-register a { color: #fff; }

.btn-primary::before,
.btn-primary::after {
  background: linear-gradient(270deg, rgba(251, 191, 36, 0), #0a0303 50.8%, rgba(251, 191, 36, 0));
  width: 100%;
  height: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  mix-blend-mode: screen;
}
.btn-primary::before { top: -4px; }
.btn-primary::after { bottom: -4px; }

@media (max-width: 440px) {
  .btn-primary { font-size: 3.2vw; }
  .btn-primary a { padding: 6px 10px; }
}

/* =====================================================
   4. FIXED TOP MOBILE (Announcement bar + Banner Swiper)
   ===================================================== */
.fixedtopmobile {
  margin-top: var(--navbar-h);
  padding: 0 20px;
  position: relative;
  width: 100%;
}

.newsboxhead {
  width: 100%;
  background: linear-gradient(90deg, #1a0606, #0a0303 50%, #1a0606);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--c-text-muted);
  overflow: hidden;
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.15);
}
.newsboxhead .-icon-container {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 12px;
  color: var(--c-accent);
  background: var(--c-bg-card);
  border-radius: 50%;
  font-size: 14px;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}
.newsboxhead span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: marquee 25s linear infinite;
}
.newsboxhead strong { color: var(--c-accent); }

@keyframes marquee {
  0%   { transform: translateX(8%); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  .newsboxhead { font-size: 12px; padding: 6px 10px; }
}

/* --- Hero Banner Swiper --- */
.swiper-container-2 {
  width: 100%;
  max-width: 980px;             /* compact, balanced size on desktop */
  height: auto;
  position: relative;
  margin: 0 auto;               /* centered horizontally */
  padding: 18px 10px;
  overflow: hidden;
}
.swiper-container-2 .swiper-wrapper {
  position: relative;
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}
.swiper-container-2 .swiper-slide {
  flex: 0 0 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  padding: 0 6px;
  box-sizing: border-box;
}
.swiper-container-2 .swiper-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  line-height: 0;
  background: linear-gradient(180deg, rgba(26, 6, 6, 0.95), rgba(10, 3, 3, 1));
}
.swiper-container-2 .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--c-primary-glow);
  border: 1px solid var(--c-border);
  display: block;
  box-sizing: border-box;
}

/* Desktop: show full promo art without cropping, centered */
@media (min-width: 992px) {
  .fixedtopmobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
  }
  .fixedtopmobile .newsboxhead {
    width: 100%;
    max-width: 900px;
  }
  .swiper-container-2 {
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 52px 32px;
  }
  .swiper-container-2 .swiper-wrapper {
    width: 100%;
    align-items: center;
  }
  .swiper-container-2 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .swiper-container-2 .swiper-slide a {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    max-height: 300px;
  }
  .swiper-container-2 .swiper-slide img {
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
  }
  .swiper-pagination {
    bottom: 6px;
  }
}

@media (max-width: 991px) {
  .swiper-container-2 { max-width: 100%; padding: 14px 10px 24px; }
  .swiper-container-2 .swiper-slide a { max-height: none; background: transparent; }
  .swiper-container-2 .swiper-slide img { max-height: none; object-fit: contain; }
}

/* ===== Image lightbox (admin-driven banner / promo / activity images) ===== */
.elio-lightbox {
  position: fixed !important;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 48px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.elio-lightbox--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.elio-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.elio-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.elio-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.elio-lightbox__figure {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.elio-lightbox__image-link {
  display: block;
  line-height: 0;
}

.elio-lightbox__image-link--active {
  cursor: pointer;
}

.elio-lightbox__img {
  max-width: 100%;
  max-height: calc(90vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
}

.elio-lightbox__caption {
  color: #e8e8e8;
  font-size: 15px;
  text-align: center;
  max-width: 100%;
  line-height: 1.45;
}

img.elio-lightbox-trigger {
  cursor: zoom-in;
}

/* ===== Activity fullscreen modal + comments ===== */
.elio-activity-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: flex;
  flex-direction: column;
  background: #0f0f12;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.elio-activity-modal--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.elio-activity-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-height: 100vh;
  width: 100%;
}

.elio-activity-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.elio-activity-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.elio-activity-modal__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 56px 16px 24px;
}

.elio-activity-modal__image-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.elio-activity-modal__image-link {
  display: inline-block;
  max-width: 100%;
  cursor: pointer;
}

.elio-activity-modal__image {
  display: block;
  max-width: 100%;
  max-height: 45vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius-sm, 8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.elio-activity-modal__details {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.elio-activity-modal__details-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  text-align: center;
}

.elio-activity-modal__details-body {
  color: #d1d5db;
  font-size: 15px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: center;
}

.elio-activity-modal__form-section {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.elio-activity-modal__form-title,
.elio-activity-modal__comments-heading {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f3f4f6;
}

.elio-activity-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.elio-activity-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.elio-activity-modal__field span {
  font-size: 14px;
  color: #d1d5db;
}

.elio-activity-modal__field input {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
}

.elio-activity-modal__field input:focus {
  outline: 2px solid var(--purple, #a855f7);
  outline-offset: 1px;
}

.elio-activity-modal__submit {
  align-self: flex-start;
  padding: 10px 24px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #dc2626, #ea580c);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.elio-activity-modal__submit:hover:not(:disabled) {
  filter: brightness(1.08);
}

.elio-activity-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.elio-activity-modal__form-error {
  margin: 0;
  font-size: 14px;
  color: #fca5a5;
}

.elio-activity-modal__comments-section {
  padding-bottom: 24px;
}

.elio-activity-modal__comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.elio-activity-comment {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.elio-activity-comment__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
}

.elio-activity-comment__row:last-child {
  margin-bottom: 0;
}

.elio-activity-comment__label {
  color: #9ca3af;
  flex: 0 0 auto;
  min-width: 72px;
}

.elio-activity-comment__value {
  color: #f3f4f6;
  flex: 1 1 auto;
  word-break: break-word;
}

.elio-activity-modal__comments-loading,
.elio-activity-modal__comments-empty {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  padding: 12px 0;
}

.elio-activity-modal__comments-sentinel {
  height: 1px;
}

img.activity-item__img {
  cursor: pointer;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #1a0606, #0a0303);
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  transition: all .3s;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  border-color: #fff;
}
.swiper-button-prev { left: 16px; }
.swiper-button-next { right: 16px; }

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all .3s;
  border: none;
  padding: 0;
}
.swiper-pagination-bullet.active {
  background-color: var(--c-accent);
  width: 26px;
  border-radius: 5px;
  box-shadow: 0 0 8px var(--c-accent-glow);
}

@media (max-width: 767px) {
  .swiper-button-prev, .swiper-button-next { width: 34px; height: 34px; font-size: 13px; }
  .swiper-button-prev { left: 12px; }
  .swiper-button-next { right: 12px; }
}

/* =====================================================
   5. BOTTOM MOBILE NAVIGATION (betflix1688-style)
   ===================================================== */
#account-actions-mobile,
.x-button-actions {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  width: 100%;
  pointer-events: none;
}

@media (max-width: 991px) {
  #account-actions-mobile,
  .x-button-actions {
    display: block;
    pointer-events: auto;
  }
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 992px) {
  #account-actions-mobile,
  .x-button-actions {
    display: none !important;
  }
}

#account-actions-mobile .-outer-wrapper,
.x-button-actions .-outer-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
}

#account-actions-mobile .-left-wrapper,
#account-actions-mobile .-right-wrapper,
.x-button-actions .-left-wrapper,
.x-button-actions .-right-wrapper {
  display: flex;
  align-items: flex-end;
  flex: 1;
  z-index: 2;
  height: 70px;
  padding-bottom: 6px;
  background: linear-gradient(180deg, #252525, #0b0b0b);
  border-top: 3px solid #ccbf80;
  transition: filter 0.2s;
}

#account-actions-mobile .-left-wrapper,
.x-button-actions .-left-wrapper {
  border-top-left-radius: 10px;
  border-top-right-radius: 22px;
}

#account-actions-mobile .-right-wrapper,
.x-button-actions .-right-wrapper {
  border-top-right-radius: 10px;
  border-top-left-radius: 22px;
}

#account-actions-mobile .-center-wrapper,
.x-button-actions .-center-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  z-index: 3;
  width: 74px;
  height: 74px;
  margin: 0 8px 16px;
  padding-bottom: 8px;
  color: #fff;
  background: linear-gradient(180deg, #3a1010, #0a0303);
  border: 3px solid #ccbf80;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(204, 191, 128, 0.45);
  flex-shrink: 0;
  text-decoration: none;
}

#account-actions-mobile .-center-wrapper .-selected,
.x-button-actions .-center-wrapper .-selected {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
}

#account-actions-mobile .-center-wrapper .widgettitle,
.x-button-actions .-center-wrapper .widgettitle {
  display: none;
}

#account-actions-mobile .-center-wrapper .-selected img,
.x-button-actions .-center-wrapper .-selected img {
  width: 62px !important;
  max-width: 62px !important;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
}

#account-actions-mobile .-fake-center-bg-wrapper,
.x-button-actions .-fake-center-bg-wrapper {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 50px;
  overflow: hidden;
  pointer-events: none;
}

#account-actions-mobile .-fake-center-bg-wrapper svg,
.x-button-actions .-fake-center-bg-wrapper svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 108px;
  transform: translateX(-50%);
}

#account-actions-mobile .-fake-center-bg-wrapper svg path,
.x-button-actions .-fake-center-bg-wrapper svg path {
  fill: url(#rectangleGradient);
}

#account-actions-mobile .-item-wrapper,
.x-button-actions .-item-wrapper {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  position: relative;
  text-decoration: none;
}

#account-actions-mobile .-ic-img,
.x-button-actions .-ic-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

#account-actions-mobile .-ic-img img,
.x-button-actions .-ic-img img {
  width: 40px;
  max-width: 56px;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.65));
}

#account-actions-mobile .-item-wrapper .-textfooter,
.x-button-actions .-item-wrapper .-textfooter {
  font-size: 0.8rem;
  color: #fff;
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0;
  line-height: 1.2;
}

#account-actions-mobile .-item-wrapper .-textfooter a,
.x-button-actions .-item-wrapper .-textfooter a {
  color: #fff;
  text-decoration: none;
}

#account-actions-mobile .-item-wrapper:hover .-textfooter a,
.x-button-actions .-item-wrapper:hover .-textfooter a {
  color: #f7d18e;
}

#account-actions-mobile .-fully-overlay,
.x-button-actions .-fully-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* =====================================================
   6. FLOATING FACEBOOK / CONTACT (Mobile)
   ===================================================== */
.facebook-mobile {
  display: none;
  position: fixed;
  right: 0;
  bottom: 120px;
  z-index: 40;
  width: 100px;
  pointer-events: auto;
}
.facebook-mobile img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  animation: floatSide 3s ease-in-out infinite;
}
@keyframes floatSide {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-6px); }
}

@media (max-width: 991px) {
  .facebook-mobile { display: block; }
}

@media (max-width: 440px) {
  .facebook-mobile { width: 60px; bottom: 110px; }
}

/* =====================================================
   7. MAIN CONTAINER: Sidebar + Content
   ===================================================== */
.containmain {
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.fixedcontain {
  display: flex;
  position: relative;
  width: 100%;
}

.fixedleft {
  width: var(--sidebar-w);
  position: relative;
  flex-shrink: 0;
}

.fixedright {
  width: calc(100% - var(--sidebar-w));
  transition: all .3s;
  padding: 0 20px 40px;
}

@media (max-width: 767px) {
  .fixedcontain {
    align-items: flex-start;
  }
  .fixedleft {
    width: var(--sidebar-w-mobile);
    position: sticky;
    top: calc(var(--navbar-h) + 6px);
    align-self: flex-start;
    z-index: 30;
    flex-shrink: 0;
    max-height: calc(100dvh - var(--navbar-h) - 82px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    box-shadow: 0 0 10px black;
    border-radius: 0 20px 20px 0;
  }
  .fixedright {
    width: calc(100% - var(--sidebar-w-mobile));
    padding: 0 12px 40px;
  }
}

/* --- Side Game Bar (left vertical menu) --- */
.sidegamebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--sidebar-w);
  background: linear-gradient(93deg, rgba(0,0,0,0.85), rgba(20, 4, 4, 0.95));
  padding-top: 95px;
  padding-bottom: 95px;
  transition: all .3s;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--c-primary) transparent;
}
.sidegamebar::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--c-accent) 50%, transparent 100%);
}
.sidegamebar::-webkit-scrollbar { width: 4px; }
.sidegamebar::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: 2px; }

@media (max-width: 767px) {
  .sidegamebar {
    width: 100%;
    position: relative;
    top: auto;
    padding-top: 12px;
    padding-bottom: 8px;
    background: transparent;
    border-radius: 0;
    z-index: 1;
    height: auto;
    overflow: visible;
  }
  .sidegamebar::before { display: none; }
}

.tabgamemenu {
  padding: 12px 12px 100px;
  margin: 0;
}
.tabgamemenu ul { margin: 0; padding: 0; }

.tabgamemenu ul li {
  list-style: none;
  margin-bottom: 10px;
}
.tabgamemenu ul li a {
  list-style: none;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  background: linear-gradient(155deg, #2a0f0f, #0a0303);
  border: 1px solid var(--c-border);
  position: relative;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  cursor: pointer;
  transition: all .3s;
  font-size: 13px;
  color: #fff;
}
.tabgamemenu ul li a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 3px;
  height: 55%;
  background: hsla(0, 0%, 100%, 0.25);
  border-radius: 0 20px 20px 0;
}
.tabgamemenu ul li.current_page_item a,
.tabgamemenu ul li a:hover {
  background: linear-gradient(155deg, var(--c-accent), var(--c-accent-3));
  border: 1px solid var(--c-accent);
  color: #1a0606;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  box-shadow: 0 5px 14px rgba(251, 191, 36, 0.4);
}
.tabgamemenu ul li a img {
  width: 50px;
  height: 50px;
  margin-right: 8px;
  padding: 0 !important;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}
.tabgamemenu ul li span {
  flex: 1;
  font-weight: 500;
}

@media (max-width: 767px) {
  .tabgamemenu { padding: 8px 6px 4px; }
  .tabgamemenu ul li a {
    flex-direction: column;
    text-align: center;
    padding: 8px 4px;
  }
  .tabgamemenu ul li a img { width: 40px; height: 40px; margin: 0 auto 4px; }
  .tabgamemenu ul li span { font-size: 11px; }
}

/* --- LINE chat button (sidebar bottom) --- */
.linechatfixed {
  position: fixed;
  bottom: 12px;
  left: 12px;
  width: calc(var(--sidebar-w) - 24px);
  z-index: 10;
}
.linechatfixed a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #06c755, #03A04A);
  border: 1px solid #4ade80;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.4);
  transition: all .3s;
}
.linechatfixed a:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.6);
}
.linechatfixed img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.linechatfixed span {
  flex: 1;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .linechatfixed {
    position: relative;
    bottom: auto; left: auto;
    width: auto;
    margin: 8px;
  }
  .linechatfixed a { flex-direction: column; text-align: center; padding: 8px; font-size: 11px; }
  .linechatfixed span { font-size: 10px; }
}

/* =====================================================
   8. SECTIONS (Hero + Game Zones)
   ===================================================== */
.sectiongame {
  padding-top: 24px;
  padding-bottom: 32px;
}

.elementor-section {
  margin: 24px 0;
  padding: 20px;
  background: linear-gradient(180deg, rgba(26, 14, 14, 0.7), rgba(10, 3, 3, 0.7));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  position: relative;
}
.elementor-heading-title {
  color: var(--c-accent);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  margin-bottom: 16px;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
  text-align: center;
}

/* --- Hero About Section --- */
.section-hero {
  padding: 28px;
}
.section-hero__inner {
  text-align: center;
}
.section-hero__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.section-hero__brand img {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(220, 38, 38, 0.5));
}
.section-hero__text {
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 8px auto 20px;
  max-width: 800px;
}
.section-hero__media {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.section-hero__image,
.section-hero__video {
  flex: 1 1 100%;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.15), rgba(220, 38, 38, 0.05));
}
.section-hero__image img,
.section-hero__video img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
@media (min-width: 992px) {
  .section-hero__media {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-hero__image,
  .section-hero__video {
    max-width: 920px;
  }
}
@media (max-width: 600px) {
  .section-hero__image img,
  .section-hero__video img {
    max-height: 280px;
  }
}

/* --- Section Zone Heading (icon + title) --- */
.section-zone {
  padding: 20px;
}
.section-zone__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.section-zone__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
  border-radius: 50%;
  border: 2px solid var(--c-accent);
  box-shadow: 0 0 18px var(--c-primary-glow);
  flex-shrink: 0;
}
.section-zone__icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: brightness(1.2);
}
.section-zone__title {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  color: var(--c-accent);
  margin: 0;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

/* --- Game Gallery Grids (uael-style + e-gallery-style) --- */
.uael-img-gallery-wrap,
.providers-grid,
.gallery-container {
  display: grid;
  gap: 16px;
  width: 100%;
}
.providers-grid--6col,
.gallery-container--6col {
  grid-template-columns: repeat(6, 1fr);
}
.gallery-container--5col { grid-template-columns: repeat(5, 1fr); }
.gallery-container--4col { grid-template-columns: repeat(4, 1fr); }
.gallery-container--3col { grid-template-columns: repeat(3, 1fr); }

.uael-grid-item,
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(58, 20, 20, 0.5), rgba(10, 3, 3, 0.7));
  border: 1px solid var(--c-border);
  aspect-ratio: 4/4;
  transition: all .3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.uael-grid-item:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent);
  box-shadow: 0 8px 24px var(--c-primary-glow), 0 0 14px var(--c-accent-glow);
}
.uael-grid-item a,
.gallery-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 8px;
  box-sizing: border-box;
}
.uael-grid-item img,
.gallery-item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .35s ease;
}
.uael-grid-item:hover img,
.gallery-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 1099px) {
  .providers-grid--6col,
  .gallery-container--6col { grid-template-columns: repeat(4, 1fr); }
  .gallery-container--5col { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .providers-grid--6col,
  .gallery-container--6col { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gallery-container--5col { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gallery-container--4col { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-container--3col { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 440px) {
  .providers-grid--6col,
  .gallery-container--6col,
  .gallery-container--5col { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   9. FOOTER
   ===================================================== */
.footer-section {
  background: linear-gradient(180deg, rgba(10, 3, 3, 0.95), rgba(0, 0, 0, 0.98));
  border-top: 2px solid var(--c-border);
  padding-bottom: 32px;
}

/* --- Footer Carousel --- */
.footer-carousel {
  position: relative;
  padding: 30px 20px 20px;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  box-sizing: border-box;
}
.footer-carousel__wrapper {
  position: relative;
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.footer-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 12px;
  box-sizing: border-box;
}
.footer-carousel__slide a {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
}
.footer-carousel__slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 260px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .footer-carousel {
    max-width: 100%;
    padding: 20px 12px 16px;
  }
  .footer-carousel__slide {
    padding: 0 6px;
  }
  .footer-carousel__slide img {
    max-height: 200px;
  }
  .footer-carousel__btn--prev { left: 8px; }
  .footer-carousel__btn--next { right: 8px; }
}
.footer-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #1a0606, #0a0303);
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 14px;
  transition: all .3s;
}
.footer-carousel__btn:hover {
  background: var(--c-primary);
  color: #fff;
}
.footer-carousel__btn--prev { left: 28px; }
.footer-carousel__btn--next { right: 28px; }

/* --- Footer About Section (logo + bank icons) --- */
.footer-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 36px 24px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.footer-about__col {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-about__col--left { text-align: center; }
@media (max-width: 767px) {
  .footer-about { padding: 24px 16px; gap: 20px; }
  .footer-about__col { max-width: 100%; }
}
.footer-about__logo img {
  display: block;
  width: auto;
  max-width: min(220px, 70vw);
  height: auto;
  max-height: 72px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(220, 38, 38, 0.5));
}
.footer-about__heading {
  color: var(--c-accent);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.5;
}
.footer-about__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.footer-about__gallery img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(58, 20, 20, 0.4), rgba(10, 3, 3, 0.5));
  border-radius: 10px;
  border: 1px solid var(--c-border);
  transition: all .3s;
}
.footer-about__gallery img:hover {
  transform: translateY(-3px);
  border-color: var(--c-accent);
}
.footer-about__col--right img {
  display: block;
  width: 100%;
  max-width: min(680px, 92vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}

/* --- Footer Feature Cards (4 columns) --- */
.footer-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: linear-gradient(180deg, rgba(58, 20, 20, 0.5), rgba(10, 3, 3, 0.6));
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: all .3s;
}
.feature-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}
.feature-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
  border-radius: 50%;
  border: 2px solid var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--c-primary-glow);
}
.feature-card__icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: brightness(1.3);
}
.feature-card__text p {
  color: var(--c-text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.feature-card__text p strong { color: var(--c-accent); font-weight: 500; }
.feature-card__text p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
  .footer-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-features { grid-template-columns: 1fr; }
}

/* --- Footer Banner --- */
.footer-banner {
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 24px;
  text-align: center;
}
.footer-banner img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}
.footer-banner h2 {
  color: var(--c-text-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

/* --- Footer Providers Logo Carousel --- */
.footer-providers {
  overflow: hidden;
  padding: 24px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.footer-providers__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollProviders 30s linear infinite;
}
@keyframes scrollProviders {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.provider-logo {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(58, 20, 20, 0.4), rgba(10, 3, 3, 0.5));
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 14px;
  transition: all .3s;
}
.provider-logo:hover {
  border-color: var(--c-accent);
  transform: translateY(-3px);
}
.provider-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* --- Footer SEO Content --- */
.footer-seo {
  max-width: 1200px;
  margin: 32px auto;
  padding: 28px;
  background: linear-gradient(180deg, rgba(26, 14, 14, 0.7), rgba(10, 3, 3, 0.7));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.footer-seo__title {
  color: var(--c-accent);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
  line-height: 1.5;
}
.footer-seo h3 {
  color: #fff;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  margin: 22px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--c-primary);
}
.footer-seo p {
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 15px;
}
.footer-seo strong { color: var(--c-accent); font-weight: 600; }
.footer-seo ul { margin: 14px 0 18px; padding: 0; }
.footer-seo li {
  position: relative;
  list-style: none;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.footer-seo li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--c-primary);
  font-weight: 700;
  font-size: 1.2em;
}
.footer-seo__image {
  text-align: center;
  margin: 22px 0;
}
.footer-seo__image img {
  display: inline-block;
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* --- Footer FAQ --- */
.footer-faq {
  max-width: 1100px;
  margin: 32px auto;
  padding: 24px;
}
.footer-faq__title {
  color: var(--c-accent);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 22px;
}
.footer-faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: linear-gradient(180deg, rgba(26, 14, 14, 0.75), rgba(10, 3, 3, 0.75));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
}
.faq-item[open] {
  border-color: var(--c-accent);
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.2);
}
.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 16px 22px;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  font-size: 15px;
  transition: all .3s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question i { color: var(--c-accent); font-size: 18px; }
.faq-question::after {
  content: "+";
  margin-left: auto;
  color: var(--c-accent);
  font-size: 22px;
  font-weight: 300;
  transition: all .3s;
}
.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(0deg);
}
.faq-answer {
  padding: 0 22px 18px;
  color: var(--c-text-muted);
  line-height: 1.7;
  font-size: 14px;
  border-top: 1px solid var(--c-border);
  padding-top: 14px;
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul {
  margin: 8px 0 12px;
  padding-left: 1.25em;
}
.faq-answer li { margin-bottom: 6px; }
.faq-answer a {
  color: var(--c-accent);
  text-decoration: underline;
}
.faq-answer a:hover { color: #fff; }

/* --- Footer Bottom Copyright --- */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px;
  text-align: center;
  border-top: 1px solid var(--c-border);
}
.footer-bottom h2 {
  color: var(--c-accent);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-bottom p {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-bottom__copy {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(58, 20, 20, 0.5);
  color: var(--c-text-dim);
  font-size: 13px;
}

/* =====================================================
   10. PROMOTIONS / ACTIVITIES PAGES
   ===================================================== */
.promotions-page,
.activities-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  width: 100%;
}
.promotions-page__title,
.activities-page__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--c-accent);
  text-align: center;
  margin: 30px 0;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}
.promotions-grid,
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 991px) { .promotions-grid, .activities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .promotions-grid, .activities-grid { grid-template-columns: 1fr; } }

.promo-card,
.activity-card {
  background: linear-gradient(180deg, rgba(58, 20, 20, 0.5), rgba(10, 3, 3, 0.7));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.promo-card:hover,
.activity-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.25);
}
.promo-card__image img,
.activity-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.promo-card__body,
.activity-card__body {
  padding: 16px 20px;
}
.promo-card__title,
.activity-card__title {
  color: var(--c-accent);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.promo-card__desc,
.activity-card__desc {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.promo-card__cta,
.activity-card__cta {
  display: inline-block;
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--c-primary-hover);
  box-shadow: 0 4px 12px var(--c-primary-glow);
  transition: all .3s;
}
.promo-card__cta:hover,
.activity-card__cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}
.pagination .page-link,
.pagination .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
}
.pagination .page-num.active {
  background: var(--c-primary);
  border-color: var(--c-primary-hover);
  color: #fff;
}
.pagination .page-link:hover,
.pagination .page-num:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pagination .page-link.disabled { opacity: 0.4; cursor: not-allowed; }

/* =====================================================
   11. MOBILE SIDEBAR DRAWER (Slide-in from left)
   ===================================================== */
.sidebar-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #1a0606 0%, #0a0303 100%);
  border-right: 1px solid var(--c-border);
  z-index: 999;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.6);
  padding: 20px;
}
.sidebar-drawer.active { left: 0; }

.sidebar-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}
.sidebar-drawer__logo img { max-width: 130px; }
.sidebar-drawer__close {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  color: var(--c-accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.sidebar-drawer__close:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.sidebar-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.sidebar-drawer__nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--c-text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: all .3s;
}
.sidebar-drawer__nav a i { color: var(--c-accent); width: 18px; }
.sidebar-drawer__nav a:hover,
.sidebar-drawer__nav a.active {
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.1));
  color: #fff;
  border-left: 3px solid var(--c-primary);
}
.sidebar-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.sidebar-drawer__contact .sidebar-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #06c755, #03A04A);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.sidebar-drawer__contact img { width: 32px; height: 32px; }

/* =====================================================
   12. SCROLLBAR OVERRIDE
   ===================================================== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.4); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-primary-hover); }
