/* CSS Design System for M3 Gaming Portal */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-gold: #dbbe53;
  --primary-gold-dark: #b89c3f;
  --primary-gold-light: #edd377;
  --bg-darker: #0d0d0f;
  --bg-dark: #141417;
  --bg-card: #1d1d22;
  --text-white: #ffffff;
  --text-gray: #a0a0ab;
  --btn-dark: #1b1b1f;
  --promo-green: #2ecc71;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-darker);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold-light);
}

/* Header (Top Yellow Bar) */
.header {
  background-color: var(--primary-gold);
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 65px;
  width: auto;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.logo-container img:hover {
  transform: rotate(5deg) scale(1.05);
  border-color: rgba(255, 255, 255, 0.8);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.chat-btn {
  background-color: #ffffff;
  color: #111111;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: var(--transition-smooth);
}

.chat-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.chat-btn svg {
  width: 20px;
  height: 20px;
}

.login-btn {
  background-color: transparent;
  color: #111111;
  border: 1px solid #111111;
  padding: 8px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.login-btn:hover {
  background-color: rgba(17, 17, 17, 0.1);
  transform: translateY(-1px);
}

.register-btn {
  background-color: var(--btn-dark);
  color: #ffffff;
  border: none;
  padding: 9px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
}

.register-btn:hover {
  background-color: #0d0d0f;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.lang-selector {
  display: flex;
  align-items: center;
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  width: 32px;
  height: 32px;
  transition: var(--transition-smooth);
}

.lang-selector:hover {
  transform: scale(1.1);
  border-color: #ffffff;
}

.lang-selector img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Navigation Bar (Black Strip) */
.navbar {
  background-color: var(--bg-dark);
  border-bottom: 2px solid #22222a;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  width: 100%;
}

.nav-item {
  flex-shrink: 0;
}

.nav-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  color: var(--text-gray);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: #ffffff;
}

.nav-item.active .nav-link {
  font-weight: 700;
}

.nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background-color: var(--primary-gold);
  border-radius: 3px 3px 0 0;
}

/* Home Active Item Specifically */
.nav-item.active.home .nav-link {
  color: #ffffff;
}

/* Promotions highlighted badge/tab styling */
.nav-item.promo .nav-link {
  color: var(--promo-green);
}
.nav-item.promo .nav-link svg {
  fill: var(--promo-green);
}
.nav-item.promo .nav-link:hover {
  color: #4cd137;
  text-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

.nav-item.more-btn .nav-link {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 8px 16px;
  margin: 12px 10px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item.more-btn .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-gold);
}

/* Banner Carousel */
.carousel-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background-color: #000;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  opacity: 0.5;
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 1;
  color: var(--primary-gold);
}

.carousel-arrow.prev {
  left: 20px;
}

.carousel-arrow.next {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background-color: #ffffff;
  width: 24px;
  border-radius: 5px;
}

/* Announcement Ticker Bar */
.ticker-container {
  background-color: #1a1a1d;
  border-top: 1px solid #282830;
  border-bottom: 1px solid #282830;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 15px;
  overflow: hidden;
  z-index: 5;
  position: relative;
}

.ticker-icon {
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  z-index: 6;
  background-color: #1a1a1d;
  padding-right: 10px;
}

.ticker-icon svg {
  width: 18px;
  height: 18px;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  font-size: 13px;
  color: #dddddd;
  animation: ticker-animation 30s linear infinite;
  padding-left: 100%;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes ticker-animation {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Game Category Grid (Showcase Section) */
.games-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 30px;
  text-align: center;
}

.section-header h2 {
  font-size: 28px;
  color: #ffffff;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.game-card {
  background-color: var(--bg-card);
  border: 1px solid #2a2a35;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-gold);
  box-shadow: 0 15px 30px rgba(219, 190, 83, 0.15);
}

.game-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: var(--transition-smooth);
}

/* Default mock backgrounds for Game Types if user wants to play them */
.game-card.live .game-card-img {
  background: linear-gradient(135deg, #2c3e50, #000000);
}
.game-card.sports .game-card-img {
  background: linear-gradient(135deg, #16a085, #2c3e50);
}
.game-card.slots .game-card-img {
  background: linear-gradient(135deg, #8e44ad, #2c3e50);
}
.game-card.esports .game-card-img {
  background: linear-gradient(135deg, #d35400, #2c3e50);
}

.game-card:hover .game-card-img {
  transform: scale(1.05);
}

.game-overlay-label {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-gold);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.game-card-info {
  padding: 20px;
}

.game-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.game-card-desc {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.game-card-btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.game-card:hover .game-card-btn {
  background-color: var(--primary-gold);
  color: #111;
  border-color: var(--primary-gold);
}

/* Community Agent Floating Banner */
.floating-agent {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: float-anim 3s ease-in-out infinite;
}

.floating-agent img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.floating-agent:hover {
  transform: scale(1.08) translateY(-5px);
  filter: drop-shadow(0 0 15px rgba(219, 190, 83, 0.4));
}

@keyframes float-anim {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Content Wrapper for dynamic background blur when modal is active */
.content-wrapper {
  transition: filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .content-wrapper {
  filter: blur(10px);
  pointer-events: none; /* Disable clicking or interacting with background content */
}

/* Modals for login/register */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: var(--bg-card);
  border: 1px solid var(--primary-gold);
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  transform: translateY(-30px);
  transition: var(--transition-smooth);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: var(--text-gray);
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: #fff;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--primary-gold);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  background-color: var(--bg-darker);
  border: 1px solid #3a3a45;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-gold);
}

.modal-submit-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--primary-gold);
  color: #111;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: 10px;
}

.modal-submit-btn:hover {
  background-color: var(--primary-gold-light);
  box-shadow: 0 5px 15px rgba(219, 190, 83, 0.3);
}

/* Footer styling (Light themed version matching user footer screenshot) */
.footer {
  background-color: #ffffff;
  color: #555555;
  padding: 60px 40px 30px;
  border-top: 1px solid #e9ecef;
  margin-top: 80px;
  font-size: 14px;
}

.footer-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-row-2 {
  border-top: 1px solid #f1f3f5;
  padding-top: 40px;
}

.footer-col h3 {
  color: #111111;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-sub-title {
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 13px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #555555;
  transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
  color: var(--primary-gold-dark);
}

/* Image alignment & sizing in footer */
.footer-img-wrap img {
  max-height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-img-group {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-img-group img {
  max-height: 32px;
  width: auto;
  object-fit: contain;
}

/* Certification images spacing */
.footer-img-group.horizontal img {
  margin-right: 5px;
}

/* Payment group stacking */
.payment-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.payment-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-row img {
  max-height: 26px;
  width: auto;
  object-fit: contain;
}

/* Follow Us X Button */
.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #000000;
  color: #ffffff;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  transform: scale(1.1);
  background-color: #333333;
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Responsible group layout */
.responsible-group img {
  max-height: 28px;
}

.footer-bottom {
  border-top: 1px solid #f1f3f5;
  padding-top: 25px;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: #888888;
}

/* Responsive adjustments */
@media(max-width: 992px) {
  .header {
    padding: 10px 20px;
  }
  .carousel-container {
    height: 380px;
  }
}

@media(max-width: 768px) {
  .header {
    padding: 8px 10px !important;
  }
  .logo-container img {
    height: 45px !important;
  }
  .header-right .chat-btn {
    display: none !important;
  }
  .header-right {
    gap: 6px !important;
  }
  .login-btn, .register-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
  .carousel-container {
    height: 250px;
  }
  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .floating-agent img {
    width: 80px;
  }
  .ticker-container {
    padding: 0 20px;
  }
  .navbar {
    padding: 0 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    white-space: nowrap !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
  }
  .navbar::-webkit-scrollbar {
    display: none !important;
  }
  .nav-links {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    padding: 5px 0 !important;
    width: max-content !important;
  }
  .nav-link {
    padding: 6px 10px !important;
    font-size: 13px !important;
    gap: 4px !important;
  }
  .nav-link svg {
    width: 14px;
    height: 14px;
  }
  .nav-item.active .nav-link::after {
    left: 10px;
    right: 10px;
  }
}

/* Contact Us Modal styling */
.contact-modal-box {
  background-color: #0b0b0d;
  width: 450px;
  max-width: 90%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.contact-banner-header {
  height: 160px;
  background-image: linear-gradient(rgba(0,0,0,0.1), rgba(11,11,13,1)), url('image/support_banner.png');
  background-size: cover;
  background-position: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.contact-close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #ffffff;
  opacity: 0.8;
  cursor: pointer;
  font-size: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1;
  font-weight: 300;
  transition: var(--transition-smooth);
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.contact-close:hover {
  opacity: 1;
  transform: scale(1.1) rotate(90deg);
}

.contact-banner-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.contact-banner-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.contact-inner-title {
  text-align: center;
  padding: 25px 0 10px;
  background-color: #0b0b0d;
  position: relative;
}

.contact-inner-title span {
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
}

.contact-inner-title::after {
  content: '';
  display: block;
  margin: 15px auto 0;
  width: 90%;
  height: 2px;
  background: linear-gradient(90deg, #edd67a, #d4b341);
  border-radius: 2px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 25px;
  background-color: #0b0b0d;
}

.contact-item {
  width: calc(33.33% - 10px);
  min-width: 110px;
  background-color: #121215;
  border: 1px solid #1c1c22;
  border-radius: 16px;
  padding: 20px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.contact-item:hover {
  transform: translateY(-4px);
  background-color: #16161c;
  border-color: var(--primary-gold);
  box-shadow: 0 8px 20px rgba(219, 190, 83, 0.12);
}

.contact-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon-circle {
  transform: scale(1.05);
}

.contact-name {
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

/* Adjustments for mobile view of contact modal */
@media (max-width: 480px) {
  .contact-grid {
    padding: 15px;
    gap: 10px;
  }
  .contact-item {
    width: calc(50% - 5px);
    min-width: 120px;
  }
  .contact-banner-header {
    height: 140px;
    padding: 20px;
  }
}

/* --- SEO Content Section Styles --- */
.seo-content-section {
  background-color: #0b0b0d;
  border-top: 1px solid #1c1c22;
  padding: 60px 40px;
  color: var(--text-gray);
  font-size: 14px;
}

.seo-container {
  max-width: 1200px;
  margin: 0 auto;
}

.seo-container h2 {
  color: var(--primary-gold);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.seo-container p {
  line-height: 1.8;
  margin-bottom: 20px;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.seo-box h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 8px;
}

.seo-box h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-gold);
}

.seo-box ul {
  list-style: none;
  padding-left: 0;
}

.seo-box ul li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.seo-box ul li strong {
  color: #ffffff;
}

/* FAQ Accordion Styling */
.seo-faq {
  margin-top: 40px;
  border-top: 1px solid #1c1c22;
  padding-top: 40px;
}

.seo-faq h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 25px;
  text-align: center;
}

.faq-item {
  background-color: #121215;
  border: 1px solid #1c1c22;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-question {
  padding: 18px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition-smooth);
  user-select: none;
}

.faq-question:hover {
  background-color: #16161c;
  color: var(--primary-gold);
}

.faq-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 25px;
  border-top: 1px solid transparent;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding: 18px 25px;
  border-top: 1px solid #1c1c22;
}

/* --- Game Category Pages (live-casino, slots, sports) --- */
.category-hero {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.category-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.4), var(--bg-darker));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}

.hero-content p {
  color: var(--primary-gold-light);
  font-size: 16px;
  font-weight: 500;
}

/* Providers List Grid */
.providers-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.provider-card {
  background-color: var(--bg-card);
  border: 1px solid #2a2a35;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 280px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.provider-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 24px rgba(219, 190, 83, 0.15);
}

.provider-logo-box {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.02);
}

.provider-logo-box span {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
}

.provider-name {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.provider-desc {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.5;
}

.provider-btn {
  width: 100%;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.provider-card:hover .provider-btn {
  background-color: var(--primary-gold);
  color: #111;
  border-color: var(--primary-gold);
}

/* --- Blog Center Styles --- */
.blog-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-card);
  border: 1px solid #2a2a35;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 420px;
  transition: var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  background-color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  position: relative;
}

.blog-card-img span {
  font-size: 40px;
  font-weight: 900;
}

.blog-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.blog-meta {
  font-size: 12px;
  color: var(--primary-gold);
  margin-bottom: 8px;
}

.blog-card-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog-card-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.blog-card-link {
  color: var(--primary-gold);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
}

.blog-card-link:hover {
  color: var(--primary-gold-light);
  transform: translateX(3px);
}

/* --- Single Blog Article Layout --- */
.article-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 0 20px;
  background-color: var(--bg-card);
  border: 1px solid #2a2a35;
  border-radius: 16px;
}

.article-header {
  padding: 40px 40px 20px;
  border-bottom: 1px solid #2a2a35;
}

.article-meta {
  font-size: 13px;
  color: var(--primary-gold);
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
}

.article-header h1 {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
}

.article-body {
  padding: 40px;
  color: #dddddd;
  font-size: 15px;
  line-height: 1.9;
}

.article-body h2 {
  color: var(--primary-gold-light);
  font-size: 20px;
  font-weight: 700;
  margin-top: 35px;
  margin-bottom: 15px;
  border-left: 4px solid var(--primary-gold);
  padding-left: 12px;
}

.article-body h3 {
  color: #ffffff;
  font-size: 17px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-body strong {
  color: #ffffff;
}

.article-cta {
  margin-top: 40px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(219, 190, 83, 0.1), transparent);
  border: 1px solid var(--primary-gold);
  border-radius: 12px;
  text-align: center;
}

.article-cta h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}

.article-cta-btn {
  display: inline-block;
  background-color: var(--primary-gold);
  color: #111;
  font-weight: 700;
  padding: 12px 35px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  margin-top: 10px;
}

.article-cta-btn:hover {
  background-color: var(--primary-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(219, 190, 83, 0.35);
}

.back-to-blog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 30px;
  margin-top: 30px;
  transition: var(--transition-smooth);
}

.back-to-blog:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

/* Mobile Media Adaptations for new sections */
@media (max-width: 768px) {
  .seo-content-section {
    padding: 40px 20px;
  }
  .seo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .category-hero h1 {
    font-size: 28px;
  }
  .providers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .article-header {
    padding: 30px 20px 15px;
  }
  .article-header h1 {
    font-size: 22px;
  }
  .article-body {
    padding: 30px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .providers-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Mobile Bottom Navigation Bar Styles --- */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 70px !important; /* Ensure spacing on phone devices */
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: rgba(20, 20, 23, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    width: 20%;
    height: 100%;
    gap: 4px;
  }

  .mobile-nav-item svg {
    color: var(--text-gray);
    transition: var(--transition-smooth);
  }

  .mobile-nav-item:hover, .mobile-nav-item.active {
    color: var(--primary-gold);
  }

  .mobile-nav-item:hover svg, .mobile-nav-item.active svg {
    color: var(--primary-gold);
    transform: translateY(-2px);
  }
}

/* --- Promotions Page Layout & Interactive Cards --- */
.promo-tabs-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 30px auto 40px;
  padding: 0 20px;
}

.promo-tab-btn {
  background-color: var(--bg-card);
  border: 1px solid #2a2a35;
  color: var(--text-gray);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.promo-tab-btn:hover {
  border-color: var(--primary-gold);
  color: #ffffff;
}

.promo-tab-btn.active {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #111111;
  box-shadow: 0 4px 15px rgba(219, 190, 83, 0.25);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.promo-card {
  background-color: var(--bg-card);
  border: 1px solid #2a2a35;
  border-radius: 16px;
  overflow: hidden;
  display: none; /* Controlled by JS filters */
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.promo-card.show {
  display: flex;
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: 0 15px 35px rgba(219, 190, 83, 0.15);
}

.promo-card-banner {
  height: 180px;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.promo-card-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary-gold);
  color: #111111;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}

.promo-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.promo-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.promo-card-desc {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.promo-card-footer {
  display: flex;
  gap: 12px;
}

.promo-btn-primary {
  flex: 1;
  padding: 10px 0;
  background-color: var(--primary-gold);
  color: #111111;
  border: none;
  font-weight: 700;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.promo-btn-primary:hover {
  background-color: var(--primary-gold-light);
  box-shadow: 0 4px 12px rgba(219, 190, 83, 0.3);
}

.promo-btn-secondary {
  flex: 1;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.promo-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-gold);
}

/* Info and guidelines text styling */
.info-section {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  background-color: var(--bg-card);
  border: 1px solid #2a2a35;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.info-section h2 {
  color: var(--primary-gold);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  border-bottom: 1px solid #2a2a35;
  padding-bottom: 12px;
}

.info-section h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 12px;
}

.info-section p {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 16px;
}

.info-section ul, .info-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
  color: #cccccc;
}

.info-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  color: #cccccc;
}

.info-table th, .info-table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #2a2a35;
}

.info-table th {
  background-color: rgba(219, 190, 83, 0.08);
  color: #ffffff;
  font-weight: 600;
}

.info-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Premium Language Selector Dropdown */
.lang-selector-container {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: rgba(18, 18, 22, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  min-width: 130px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  padding: 6px 0;
}

.lang-dropdown a {
  color: #dddddd;
  padding: 10px 18px;
  text-decoration: none;
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: all 0.2s ease;
}

.lang-dropdown a:hover {
  background-color: var(--primary-gold);
  color: #111111;
  padding-left: 22px;
}

.lang-selector-container:hover .lang-dropdown,
.lang-selector-container.active .lang-dropdown {
  display: block;
}

/* Mobile Footer Grid Stacking */
@media (max-width: 768px) {
  .footer-row {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* Mobile Header Hamburger Toggle & Actions Hiding */
.menu-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: #111111;
  cursor: pointer;
  padding: 4px;
  align-items: center;
  justify-content: center;
}

.menu-toggle-btn svg {
  display: block;
}

@media (max-width: 768px) {
  .menu-toggle-btn {
    display: flex !important;
  }
  .header .login-btn,
  .header .register-btn {
    display: none !important;
  }
}

/* Mobile Sidebar Drawer Navigation Overlay */
.mobile-sidebar-drawer {
  position: fixed;
  top: 0;
  left: -280px; /* Hidden offscreen by default */
  width: 280px;
  height: 100vh;
  background-color: #0c0c0e;
  z-index: 2100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.mobile-sidebar-drawer.active {
  transform: translateX(280px); /* Slides open */
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

body.menu-open {
  overflow: hidden !important; /* Prevent page body scrolling when menu is active */
}

.drawer-header {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-logo img {
  height: 40px;
  width: auto;
  border-radius: 50%;
}

.drawer-close-btn {
  background: transparent;
  border: none;
  color: #888888;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.drawer-close-btn:hover {
  color: #ffffff;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.drawer-login-btn,
.drawer-register-btn {
  width: 100%;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.drawer-login-btn {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.drawer-login-btn:hover {
  background: rgba(219, 190, 83, 0.1);
}

.drawer-register-btn {
  background: var(--primary-gold);
  color: #111111;
  border: none;
}

.drawer-register-btn:hover {
  background: var(--primary-gold-dark);
}

.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.drawer-nav li {
  margin-bottom: 12px;
}

.drawer-nav li a {
  color: #dddddd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.drawer-nav li a:hover {
  background: rgba(219, 190, 83, 0.1);
  color: var(--primary-gold);
  transform: translateX(4px);
}

.drawer-nav li a svg {
  color: var(--primary-gold);
  transition: color 0.2s ease;
}

.drawer-nav li a:hover svg {
  color: #ffffff;
}

.drawer-lang-selector h4 {
  color: #888888;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.drawer-lang-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-lang-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dddddd;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.2s ease;
}

.drawer-lang-options a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.drawer-lang-options a img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}
