/*
Theme Name: WinBox Games
Author: the WordPress team
Author URI: https://wordpress.org
Description: New Gamer
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0f172a;
}

.pointer {
  cursor: pointer;
}

img {
  max-width: 100%;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

.mtb-30 {
  margin: 30px auto;
}

.mtb-50 {
  margin: 50px auto;
}

h1,
h2,
h3,
h5,
h6 {
  margin-bottom: 5px;
}

.h1 {
  font-size: 36px;
  font-weight: bold;
}

.h2 {
  font-size: 30px;
  font-weight: bold;
}

.h3 {
  font-size: 24px;
  font-weight: bold;
}

.h4 {
  font-size: 16px;
  font-weight: bold;
}

.hide {
  display: none;
}

.App {
  height: 100%;
  width: 100%;
  background-size: cover;
}

.w-100 {
  width: 100%;
}

.container {
  max-width: 1600px;
  width: 100%;
  margin: auto;
  padding: 0 30px;
}

.color-secondary {
  color: #c9a227;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-space-between {
  justify-content: space-between;
}

.text-white {
  color: #fff;
}

.text-center {
  text-align: center;
}

.direction-column {
  flex-direction: column;
}

.g-5 {
  gap: 5px;
}

.g-10 {
  gap: 10px;
}

.g-20 {
  gap: 20px;
}

.g-30 {
  gap: 30px;
}

.m-auto {
  margin: auto !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mt-40 {
  margin-top: 40px !important;
}

.mt-30 {
  margin-top: 30px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.row {
  display: flex;
  flex: 1 1 auto;
  margin: 0 -12px;
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.col,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-auto {
  width: 100%;
  padding: 12px;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}

.col-1 {
  flex: 0 0 8.3333333333%;
  max-width: 8.3333333333%;
}

.col-2 {
  flex: 0 0 16.6666666667%;
  max-width: 16.6666666667%;
}

.col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  flex: 0 0 33.3333333333%;
  max-width: 33.3333333333%;
}

.col-5 {
  flex: 0 0 41.6666666667%;
  max-width: 41.6666666667%;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  flex: 0 0 58.3333333333%;
  max-width: 58.3333333333%;
}

.col-8 {
  flex: 0 0 66.6666666667%;
  max-width: 66.6666666667%;
}

.col-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  flex: 0 0 83.3333333333%;
  max-width: 83.3333333333%;
}

.col-11 {
  flex: 0 0 91.6666666667%;
  max-width: 91.6666666667%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.flex-row {
  display: flex;
  gap: 30px;
}

.flex-row>div {
  flex: 1 1 0;
}

.flex-dir-col {
  flex-direction: column;
}

.no-gutter {
  margin: 0;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.h4 {
  font-size: 20px;
  font-weight: bold;
}

.footer-menu a {
  color: #cccccc;
  transition: 0.3s all;
}

.footer-menu a:hover {
  color: #c9a227;
}

.foot-cols {
  position: relative;
}

.foot-cols:first-child:before {
  display: none;
}

.foot-cols:before {
  left: -15px;
  content: "";
  position: absolute;
  height: 100%;
  width: 1px;
  z-index: 9999;
  border-right: 1px dashed #c9a227;
}

.foot-col-content {
  margin-top: 10px;
}

.main-wrapper {
  display: flex;
}

.main-content {
  width: 100%;
  transition: 0.3s all;
  padding-top: 20px;
}

#slider-area {
  background: #0d0d0d;
}

.intro-text {
  line-height: 28px;
  text-align: center;
  border: 1px solid #c9a227;
  border-radius: 10px;
  padding: 10px;
  background: #1a1a1a;
}

.hero-section img {
  border-radius: 20px;
  width: 100%;
}


@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.zoom {
  animation: zoomInOut 2s ease-in-out infinite;
}

.qr-box {
  padding: 10px;
  box-shadow: 0 0 12px -2px rgba(201, 162, 39, 0.4);
  text-align: center;
  border-radius: 10px;
  background: #1a1a1a;
}

.kuTaGy {
  border: 2px solid #c9a227;
  display: block;
  padding: 10px;
  margin-top: 10px;
  border-radius: 50px;
  color: #c9a227;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

#marquee-row {
  color: #e8e8e8;
  padding: 5px 0;
}

.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 25s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

footer {
  color: #e8e8e8;
}

.hr {
  margin: 25px 0;
  border-width: 2px;
  background-image: linear-gradient(to right,
      #c9a227 50%,
      rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 6px 2px;
  background-repeat: repeat-x;
  height: 1px;
}

.hero-section {
  position: relative;
  min-height: 198px;
}

.hero-section .main-screen-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  z-index: 2;
  position: relative;
}




.game-list .game-ul:not(.active) {
  display: none;
}

.page-content .game-list .row ul {
  padding-left: 0;
  justify-content: flex-start;
}

.game-list ul li {
  list-style: none;
}

.download-heading {
  font-size: 35px;
}

.download-heading span {
  color: #c9a227;
}

.page-content {
  margin: auto;
}

.page-content p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 25px;
}

.page-content ul {
  padding-left: 15px;
}

.page-content li {
  list-style: disc;
  margin-bottom: 5px;
}

.page-content a {
  text-decoration: underline;
  color: #c9a227;
}

.page-content table {
  border-color: #333;
  border-collapse: collapse;
  margin: auto;
  margin-bottom: 20px;
}

.page-content table td,
.page-content table th {
  padding: 10px;
}


.foot-cols img {
  max-height: 50px;
}

.hide {
  display: none;
}


.faq-item {
  background: #1a1a1a;
  border-radius: 10px;
  border: 1px solid #c9a227;
}

.faq-body {
  border-top: 1px solid #333;
  padding: 10px 10px 10px 10px;
  color: #e8e8e8;
}

.faq-toggle {
  background: #c9a227;
  color: #111111;
  width: 25px;
  height: 25px;
  border-radius: 50px;
  font-size: 25px;
  line-height: 22px;
  text-align: center;
  font-weight: normal;
}

.faq-head {
  cursor: pointer;
  color: #e8e8e8;
  font-weight: bold;
  padding: 10px;
  border-radius: 8px 8px 0px 0px;
}

.faq-item.active .faq-head {
  background: #2a1f00;
}

.faq-item.active .faq-toggle {
  border: 1px solid;
}

.seo-wrapper {
  position: relative;
  font-size: 13px;
  max-height: 300px;
  overflow: hidden;
}


.seo-wrapper::after {
  content: "";
  width: 100%;
  height: 30%;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  pointer-events: none;
  background: linear-gradient(rgba(13, 13, 13, 0) 0%,
      rgb(13 13 13) 91%,
      rgb(13 13 13) 100%);
}

button.read-more {
  position: relative;
  min-width: 100px;
  height: 35px;
  color: #c9a227;
  font-size: 14px;
  background: #1a1a1a;
  border-radius: 7px;
  margin: 0px auto 0px 8px;
  padding: 2px 10px;
  cursor: pointer;
  border: 1px solid #c9a227;
}

.seo-wrapper.show-all {
  overflow: unset;
  max-height: none;
}

.seo-wrapper.show-all::after {
  display: none;
}

.f_links {
  max-width: 180px;
}



@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  img {
    height: auto;
  }

  #footer-btns {
    display: flex;
  }

  .row {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }

  #slider-area img {
    min-height: 75px;
  }

  #top_image {
    min-height: 115px;
  }

  footer .col-2,
  footer .col-5 {
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: center !important;
    text-align: center;
  }

  .flex-row>div {
    flex: unset;
    width: 100%;
    max-width: 100%;
  }

  main .row {
    padding: 10px;
  }



  .hero-section {
    min-height: 110px;
  }

  .main_h1 {
    flex-direction: column;
  }

  .content-area .col-8 {
    max-width: 100%;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .foot-cols:first-child:before {
    display: block !important;
  }

  .foot-cols:before {
    left: 0;
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    border-bottom: 1px dashed #c9a227;
    bottom: -15px;
    border-right: 0;
  }

  footer .hr {
    display: none;
  }

  .f_links {
    max-width: 100%;
  }

  .row:not(.force-col)>.col-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* ═══════════════════════════════════════════════════
   MODERN ANIMATIONS — GPU-accelerated only
   Uses transform + opacity (no layout triggers).
   All effects respect prefers-reduced-motion.
═══════════════════════════════════════════════════ */

/* --- Scroll reveal (class added by IntersectionObserver) --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* --- Page entry: fade in only — no translateY to avoid CLS --- */
@keyframes fade-in-up {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.main-content {
  animation: fade-in-up 0.5s ease both;
}

/* --- FAQ item: gold ring glow on hover --- */
.faq-item {
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.45),
    0 6px 24px rgba(201, 162, 39, 0.08);
}

/* ═══════════════════════════════════════════════════
   ACCESSIBILITY: disable animations for users who
   prefer reduced motion (WCAG 2.1 §2.3.3)
═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   H5 LOGIN GATEWAY (front-page.php)
═══════════════════════════════════════════════════ */
body.home .main-wrapper {
  margin-top: 0;
}

body.home .main-content {
  width: 100%;
  margin-left: 0;
  padding-top: 0;
}


.h5-gateway {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 20px 40px;
  text-align: center;
}

.h5-menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
}

.h5-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a5872;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 30px;
  padding: 9px 22px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(10, 88, 114, 0.35);
}

.h5-menu-btn svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.h5-logo-wrap {
  margin: 76px 0 20px;
  text-align: center;
}

.h5-logo-wrap img {
  width: 190px;
  height: auto;
}

.h5-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.h5-card.h5-banner {
  background: #e6f4fb;
  border: 1px solid #bfe3f2;
}

.h5-icon-circle {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2b8fe0;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.h5-icon-circle.h5-icon-gray {
  background: #eef0f2;
}

.h5-icon-circle.h5-icon-gray svg {
  width: 16px;
  height: 16px;
  fill: #55606b;
}

.h5-card-text {
  flex: 1;
  font-weight: 700;
  font-size: 16px;
  color: #16222b;
}

.h5-banner .h5-card-text {
  font-size: 15px;
}

.h5-arrow {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  fill: #16222b;
}

.h5-banner .h5-arrow {
  fill: #1f5f80;
}

.h5-heading {
  font-size: 19px;
  font-weight: 800;
  color: #16222b;
  margin: 26px 0 8px;
  line-height: 1.35;
}

.h5-subtitle {
  font-size: 13.5px;
  color: #0a5872;
  line-height: 1.6;
  margin-bottom: 22px;
}

.h5-guide-bar {
  display: block;
  width: 100%;
  background: #e0e7ea;
  color: #0a5872;
  font-weight: 700;
  font-size: 13.5px;
  font-family: inherit;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .h5-gateway {
    padding: 0 16px 32px;
  }
}

.h5-topmenu {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 20;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}

.h5-topmenu.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.h5-topmenu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.h5-topmenu-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.h5-topmenu-logo img {
  width: 34px;
  height: auto;
}

.h5-topmenu-logo span {
  font-weight: 800;
  font-size: 17px;
  color: #0a5872;
  letter-spacing: 0.3px;
}

.h5-topmenu-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.h5-topmenu-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14.5px;
  color: #4b5563;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.h5-topmenu-links a:hover {
  color: #16222b;
}

.h5-topmenu-links a.active {
  background: #e6f4fb;
  color: #0a5872;
}

@media (max-width: 480px) {
  .h5-topmenu-inner {
    padding: 10px 16px;
    justify-content: center;
  }

  .h5-topmenu-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .h5-topmenu-links a {
    padding: 7px 12px;
    font-size: 13.5px;
  }
}

/* ═══════════════════════════════════════════════════
   H5 GUIDE POPUP (login guide / quick links / FAQ)
═══════════════════════════════════════════════════ */
.h5-guide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 29;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.h5-guide-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.h5-guide-popup {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  max-height: 88vh;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.25);
  z-index: 30;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.h5-guide-popup.show {
  transform: translateY(0);
}

.h5-guide-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #eef0f2;
  flex-shrink: 0;
}

.h5-guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.h5-guide-nav a {
  font-weight: 700;
  font-size: 13px;
  color: #0a5872;
  text-decoration: none;
}

.h5-guide-nav a:hover {
  text-decoration: underline;
}

.h5-guide-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e6ea;
  background: #f5f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.h5-guide-close svg {
  width: 16px;
  height: 16px;
  fill: #4b5563;
}

.h5-guide-body {
  padding: 20px 18px 40px;
  overflow-y: auto;
  flex: 1;
}

.h5-guide-heading {
  font-size: 18px;
  font-weight: 800;
  color: #16222b;
  text-align: center;
  margin-bottom: 6px;
  line-height: 1.35;
}

.h5-guide-subtitle {
  font-size: 13px;
  color: #0a5872;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 26px;
}

.h5-guide-section {
  margin-bottom: 28px;
}

.h5-guide-section-title,
.h5-guide-article-title {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  color: #16222b;
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 2px solid #1ec6e6;
}

.h5-guide-article-title {
  display: block;
  font-size: 16px;
}

.h5-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.h5-quick-btn {
  display: block;
  text-align: center;
  background: #eef6fa;
  color: #0a5872;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 10px;
  border-radius: 10px;
  text-decoration: none;
}

.h5-promo-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: linear-gradient(135deg, #0d1a2b 0%, #1b2f4a 60%, #0d1a2b 100%);
  color: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  text-align: center;
}

.h5-promo-tag {
  font-size: 11px;
  color: #f2c94c;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.h5-promo-line {
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 8px;
}

.h5-promo-amount {
  font-size: 30px;
  font-weight: 900;
  color: #f2c94c;
}

.h5-promo-period {
  font-size: 11.5px;
  color: #cbd5e1;
}

.h5-promo-caption {
  margin-top: 10px;
  font-size: 12px;
  color: #55606b;
  text-align: center;
  line-height: 1.6;
}

.h5-game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.h5-game-card {
  display: flex;
  flex-direction: column;
  background: #f5f8fa;
  border-radius: 12px;
  padding: 14px 12px;
  text-align: left;
}

.h5-game-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #e0f4fb;
  color: #0a5872;
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 8px;
}

.h5-game-name {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #16222b;
}

.h5-game-desc {
  display: block;
  font-size: 11px;
  color: #55606b;
  margin-top: 2px;
  line-height: 1.4;
}

.h5-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.h5-why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f8fa;
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
}

.h5-why-icon svg {
  width: 22px;
  height: 22px;
  fill: #0a5872;
  margin-bottom: 6px;
}

.h5-why-name {
  display: block;
  font-weight: 700;
  font-size: 12px;
  color: #16222b;
}

.h5-why-desc {
  display: block;
  font-size: 10.5px;
  color: #55606b;
  margin-top: 2px;
  line-height: 1.4;
}

.h5-faq-list .faq-item {
  background: #f5f8fa;
  border: 1px solid #e7ecef;
  border-radius: 10px;
  margin-bottom: 8px;
}

.h5-faq-list .faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #16222b;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
}

.h5-faq-list .faq-item.active .faq-head {
  background: transparent;
}

.h5-faq-list .faq-toggle {
  flex-shrink: 0;
  background: #0a5872;
  color: #fff;
  width: 20px;
  height: 20px;
  font-size: 16px;
  line-height: 18px;
}

.h5-faq-list .faq-item.active .faq-toggle {
  border: none;
}

.h5-faq-list .faq-body {
  border-top: 1px solid #e7ecef;
  color: #5a6673;
  font-size: 12.5px;
  line-height: 1.6;
  padding: 12px 14px;
}

.h5-guide-article h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: #16222b;
  margin: 16px 0 6px;
}

.h5-guide-article p {
  font-size: 12.5px;
  color: #5a6673;
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════
   H5 FOOTER
═══════════════════════════════════════════════════ */
.h5-footer {
  color: #5a6673;
  background: transparent;
  border-top: 1px solid #e2e6ea;
  padding: 24px 0 32px;
}

.h5-footer-inner {
  max-width: 460px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.h5-footer-tagline {
  font-size: 12.5px;
  line-height: 1.7;
  color: #5a6673;
  margin-bottom: 10px;
}

.h5-footer-links {
  font-size: 12px;
  line-height: 1.8;
  color: #55606b;
  margin-bottom: 14px;
}

.h5-footer-links a {
  color: #0a5872;
  font-weight: 700;
  text-decoration: none;
}

.h5-footer-links a:hover {
  text-decoration: underline;
}

.h5-footer-rg {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: #0a5872;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════
   LUCKY WHEEL PAGE (template-lucky-wheel.php)
═══════════════════════════════════════════════════ */
.h5-wheel-page {
  max-width: 460px;
  margin: 0 auto;
  padding: 20px 20px 50px;
}

.h5-wheel-title {
  font-size: 30px;
  font-weight: 900;
  color: #0f172a;
  text-align: center;
  margin-bottom: 6px;
}

.h5-wheel-subtitle {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  margin-bottom: 26px;
}

.h5-wheel-label {
  font-size: 12.5px;
  color: #6b7280;
  margin-bottom: 10px;
}

.h5-wheel-windows {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.h5-window-card {
  position: relative;
  flex: 1;
  background: #e4e7ea;
  border: 1px solid #c7ccd1;
  border-radius: 14px;
  padding: 14px 16px;
  overflow: hidden;
}

.h5-window-card.is-upcoming {
  background: #fff;
  border: 1.5px solid #1ec6e6;
}

.h5-window-card::before,
.h5-window-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eef1f4;
  transform: translateY(-50%);
}

.h5-window-card::before {
  left: -8px;
}

.h5-window-card::after {
  right: -8px;
}

.h5-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 700;
  color: #4b5563;
}

.h5-window-card.is-upcoming .h5-window-top {
  color: #16222b;
}

.h5-window-status {
  font-size: 12px;
  font-weight: 700;
  color: #8b95a1;
}

.h5-window-card.is-upcoming .h5-window-status {
  color: #d97706;
}

.h5-window-divider {
  border-top: 1px dashed #b7bdc4;
  margin: 10px 0;
}

.h5-window-card.is-upcoming .h5-window-divider {
  border-top-color: #a9e6f4;
}

.h5-window-time {
  font-size: 17px;
  font-weight: 800;
  color: #16222b;
}

.h5-wheel-spins-left {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 16px;
}

.h5-wheel-spins-left strong {
  color: #16222b;
}

.h5-wheel-countdown {
  background: linear-gradient(135deg, #22c8e6 0%, #1876c9 100%);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 24px rgba(24, 118, 201, 0.3);
  margin-bottom: 34px;
}

.h5-countdown-label {
  display: block;
  font-size: 12.5px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.h5-countdown-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.h5-wheel-wrap {
  text-align: center;
  margin-bottom: 34px;
}

.h5-wheel {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 18px;
}

.h5-wheel-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      #22c1e6 0deg 45deg,
      #2f6fe0 45deg 90deg,
      #17b88f 90deg 135deg,
      #7c5cf0 135deg 180deg,
      #f5a623 180deg 225deg,
      #ef4444 225deg 270deg,
      #22c55e 270deg 315deg,
      #ec4899 315deg 360deg);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.15), 0 10px 26px rgba(15, 23, 42, 0.18);
}

.h5-wheel-seg-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  transform-origin: 0 0;
}

.h5-wheel-seg-label span {
  position: absolute;
  left: -35px;
  top: -100px;
  display: block;
  width: 70px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.h5-wheel-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.25);
}

.h5-wheel-hub::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px;
  border-radius: 50%;
  background: #16222b;
}

.h5-wheel-pointer {
  position: absolute;
  top: 50%;
  right: -10px;
  width: 30px;
  height: 30px;
  background: #9aa5b1;
  border-radius: 50% 50% 50% 0;
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.25);
}

.h5-wheel-next-pill {
  display: inline-block;
  background: #dfe3e8;
  color: #4b5563;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 22px;
  border-radius: 30px;
}

.h5-share-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #16222b;
  margin-bottom: 18px;
}

.h5-share-heading svg {
  width: 15px;
  height: 15px;
  fill: #16222b;
}

.h5-share-line {
  flex: 1;
  max-width: 70px;
  height: 1px;
  background: #d7dce1;
}

.h5-share-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.h5-share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.h5-share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.h5-share-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.h5-share-fb {
  background: #1877f2;
}

.h5-share-x {
  background: #16222b;
}

.h5-share-threads {
  background: #16222b;
}

.h5-share-ig {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

.h5-share-wa {
  background: #25d366;
}

.h5-share-name {
  font-size: 11.5px;
  color: #6b7280;
}

.h5-reminder-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.h5-reminder-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f5a623;
  display: flex;
  align-items: center;
  justify-content: center;
}

.h5-reminder-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.h5-reminder-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #c2410c;
  margin-bottom: 4px;
}

.h5-reminder-text {
  font-size: 12.5px;
  color: #9a5a1f;
  line-height: 1.6;
}

.h5-wheel-faq-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.h5-wheel-faq {
  margin-bottom: 30px;
}

.h5-wheel-faq-item.faq-item {
  background: #fff;
  border: none;
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.h5-wheel-faq-item .faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: #16222b;
}

.h5-wheel-faq-item.active .faq-head {
  background: transparent;
}

.h5-faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: transparent;
  font-size: inherit;
  transition: transform 0.2s ease;
}

.h5-faq-chevron svg {
  width: 20px;
  height: 20px;
  fill: #9aa5b1;
}

.h5-wheel-faq-item.active .h5-faq-chevron {
  transform: rotate(180deg);
}

.h5-wheel-faq-item.active .h5-faq-chevron svg {
  fill: #1ec6e6;
}

.h5-wheel-faq-item .faq-body {
  border-top: 1px solid #eef0f2;
  color: #5a6673;
  font-size: 12.5px;
  line-height: 1.6;
  padding: 14px 16px;
}

.h5-signup-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.h5-signup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #22c1e6, #22c55e);
}

.h5-signup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1ec6e6;
  margin-bottom: 14px;
}

.h5-signup-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.h5-signup-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 12px;
}

.h5-signup-text {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
}

.h5-signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(90deg, #22c1e6, #1876c9);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(24, 118, 201, 0.35);
}

.h5-signup-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

@media (max-width: 480px) {
  .h5-wheel-page {
    padding: 16px 16px 40px;
  }

  .h5-wheel {
    width: 230px;
    height: 230px;
  }

  .h5-wheel-seg-label span {
    top: -88px;
    font-size: 11px;
  }
}