/* Rummy Club Official Theme - rummy-club.com */
:root {
  --bg-dark: #070e0a;
  --bg-card: #0d1b14;
  --bg-card-hover: #13271d;
  --border-gold: #d49a37;
  --border-subtle: #193828;
  --gold-primary: #f0b232;
  --gold-light: #fed876;
  --gold-glow: rgba(240, 178, 50, 0.35);
  --green-btn: #10b981;
  --green-accent: #059669;
  --text-main: #f4f8f5;
  --text-sub: #cbe0d3;
  --text-muted: #8ea396;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

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

html {
  font-family: var(--font-stack);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* Fixed Top Header Banner matching competitor Header_01.png (shown on mobile, hidden on desktop like competitor) */
#top-header-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background-image: url("../img/Header_01.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1000;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  #top-header-banner {
    display: block;
  }
}

/* Floating Advisory / Customer Support Icon matching competitor btn_advisory.png */
.kefu-btn {
  position: fixed;
  top: 10%;
  right: 2%;
  width: 58px;
  height: 70px;
  background-image: url("../img/btn_advisory.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 1001;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.kefu-btn:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px var(--gold-glow));
}

/* Main Container matching competitor .container: max-width 720px */
.page-wrapper {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  background-color: var(--bg-dark);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  padding-top: 0;
}

/* Hero Section replicating competitor down_page01.jpg */
.hero-container {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background-color: #070913;
}

.hero-bg {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

/* Pulsing Download Button matching competitor btn_download.png */
.hero-download-btn {
  position: absolute;
  top: 37.5%;
  left: 22.5%;
  width: 55%;
  aspect-ratio: 429 / 135;
  background-image: url("../img/btn_download.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.2s ease;
  animation: pulse-glow 2.2s infinite ease-in-out;
}

.hero-download-btn:hover {
  transform: scale(1.03);
}

@keyframes pulse-glow {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(245, 184, 46, 0.4));
  }
  50% {
    transform: scale(1.025);
    filter: drop-shadow(0 0 14px rgba(245, 184, 46, 0.8));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(245, 184, 46, 0.4));
  }
}

/* Download Counter Badge matching competitor downNum.png */
.hero-down-num {
  position: absolute;
  top: 46.8%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  z-index: 21;
}

.hero-down-num img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero Carousel Banner Box positioned inside frame of down_page01.jpg */
.hero-carousel-box {
  position: absolute;
  top: 57.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 82.8%;
  aspect-ratio: 623 / 350;
  overflow: hidden;
  border-radius: 8px;
  z-index: 25;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  cursor: pointer;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 30;
  pointer-events: auto;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--gold-primary);
  box-shadow: 0 0 6px var(--gold-glow);
}

/* Trust Signals Bar with clean SVGs */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px 14px;
  background: linear-gradient(180deg, #13172b, #0d0f1c);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-top: 14px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.trust-svg-icon {
  width: 22px;
  height: 22px;
  fill: var(--gold-primary);
  margin-bottom: 6px;
}

.trust-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-sub {
  font-size: 10.5px;
  color: var(--gold-primary);
  margin-top: 2px;
}

/* High-Impact Download Action Box */
.cta-box {
  margin: 18px 14px;
  padding: 20px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #181d36, #111424);
  border: 1px solid var(--border-gold);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cta-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.cta-desc {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.btn-download-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #f5b82e 0%, #d48b11 100%);
  color: #0b0d17;
  font-weight: 800;
  font-size: 16px;
  border-radius: 30px;
  box-shadow: 0 6px 20px var(--gold-glow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-download-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 184, 46, 0.7);
  color: #000;
  text-decoration: none;
}

.meta-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

.meta-badges span {
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Content Sections */
.content-body {
  padding: 10px 16px 80px 16px;
}

.seo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px 20px;
  margin-bottom: 20px;
}

.seo-card h1 {
  font-size: 21px;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.seo-card h2 {
  font-size: 18.5px;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.seo-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 16px 0 10px 0;
}

.seo-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}

.seo-card p:last-child {
  margin-bottom: 0;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 14px 0;
}

.specs-table th,
.specs-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table th {
  color: var(--gold-light);
  background: rgba(245, 184, 46, 0.07);
  font-weight: 600;
  width: 38%;
}

.specs-table td {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.2);
}

/* Game Cards Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.game-item {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.game-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.game-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold-light);
}

.game-tag {
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(245, 184, 46, 0.12);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 184, 46, 0.3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.game-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Step-by-Step Guide */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 16px;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), #c9933e);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background: rgba(245, 184, 46, 0.05);
}

.faq-indicator {
  font-size: 12px;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-indicator {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 16px;
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 350px;
  padding: 0 16px 14px 16px;
}

/* 18+ Responsible Gaming Notice */
.advisory-notice {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: 10px;
  padding: 16px;
  margin: 18px 0;
}

.advisory-notice h4 {
  color: #f87171;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.advisory-notice p {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
}

/* Footer matching competitor structure but with working links */
.site-footer {
  background: #06070c;
  border-top: 1px solid var(--border-subtle);
  padding: 28px 16px 90px 16px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 16px;
}

.footer-nav a {
  font-size: 13px;
  color: var(--text-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.footer-disclaimer {
  font-size: 11.5px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 12px auto;
  line-height: 1.55;
}

.footer-copyright {
  font-size: 12px;
  color: #71717a;
}

/* Bottom Sticky Mobile Download Bar */
.bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 720px;
  background: rgba(10, 11, 18, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-gold);
  padding: 10px 16px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-gold);
}

.sticky-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.sticky-sub {
  font-size: 11px;
  color: var(--gold-primary);
}

.sticky-btn {
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--gold-primary), #d48b11);
  color: #000;
  font-size: 13px;
  font-weight: 800;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--gold-glow);
  text-decoration: none;
  flex-shrink: 0;
}

.sticky-btn:hover {
  color: #000;
  text-decoration: none;
  filter: brightness(1.08);
}

/* Desktop Companion Showcase Sidebar - hidden to match competitor's clean single-column layout */
.desktop-companion {
  display: none !important;
}

@media (min-width: 721px) {
  body {
    background-color: #ffffff;
  }

  .page-wrapper {
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  }

  .bottom-sticky-bar {
    max-width: 720px;
    left: 50%;
    transform: translateX(-50%);
  }

  .kefu-btn {
    top: 12px;
    right: 18px;
  }
}
