/* ==========================================================================
   Boss Rummy (bosssrummy.com) - Clean Modern Stylesheet
   Direct, clean, highly responsive layout with zero clutter
   ========================================================================== */

:root {
  --primary: #15803d;
  --primary-hover: #166534;
  --primary-light: rgba(21, 128, 61, 0.08);
  --primary-glow: rgba(21, 128, 61, 0.25);
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  
  --foreground: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --background: #ffffff;
  --bg-subtle: #f8fafc;
  --border: #e2e8f0;
  
  --header-bg: #0f172a;
  --header-text: #ffffff;
  
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.08);
  --shadow-primary: 0 10px 25px rgba(21, 128, 61, 0.25);
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-w: 1200px;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 70px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-narrow {
  max-width: 860px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.logo-text span {
  color: var(--accent-gold);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: #e2e8f0;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
}

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

/* Header Search Box */
.header-search-box {
  position: relative;
  width: 200px;
}

@media (min-width: 1060px) {
  .header-search-box {
    width: 240px;
  }
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-search-input {
  width: 100%;
  height: 40px;
  padding: 0 2.5rem 0 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.header-search-input::placeholder {
  color: #94a3b8;
  font-size: 0.95rem;
}

.header-search-input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.45);
}

.header-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: transparent;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s ease;
}

.header-search-btn:hover {
  opacity: 0.8;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  max-height: 360px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  display: none;
  z-index: 1000;
  padding: 0.4rem;
}

.search-dropdown.show {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--foreground);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
  cursor: pointer;
}

.search-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.search-item-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  background: var(--bg-subtle);
  border-radius: 4px;
  color: var(--text-muted);
}

.search-no-results {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  display: block;
}

@media (min-width: 900px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-nav {
  display: none;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(21, 128, 61, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(21, 128, 61, 0.2);
}

.hero-title {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--foreground);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title span {
  color: var(--primary);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.85rem;
  }
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-desc strong {
  color: var(--primary);
}

/* Hero Action Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 128, 61, 0.35);
}

.btn-bonus {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.btn-bonus:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: #ffffff;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-guide {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.28);
}

.btn-guide:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(22, 163, 74, 0.38);
}

/* App Logo Display */
.hero-logo-box {
  margin: 1.5rem auto 2.5rem;
  display: flex;
  justify-content: center;
}

.hero-logo-img {
  width: 150px;
  height: 150px;
  border-radius: var(--radius-xl);
  border-bottom: 6px solid var(--primary);
  box-shadow: 0 15px 35px rgba(21, 128, 61, 0.18);
  object-fit: cover;
}

/* App Info Table */
.app-info {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.section-header-badge {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--foreground);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.section-header-title span {
  color: var(--primary);
}

.section-header-line {
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.info-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .info-table {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.info-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.info-label svg {
  color: var(--primary);
  flex-shrink: 0;
}

.info-value {
  font-weight: 700;
  color: var(--foreground);
  font-size: 0.95rem;
}

.info-value.highlight {
  color: var(--primary);
  font-weight: 800;
}

/* ==========================================================================
   Table of Contents (TOC)
   ========================================================================= */
.toc-section {
  padding: 2.5rem 0;
  background: #ffffff;
}

.toc-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.toc-summary {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
  user-select: none;
  list-style: none;
}

.toc-summary::-webkit-details-marker {
  display: none;
}

.toc-title-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toc-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
}

.toc-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  transition: transform 0.3s ease;
}

details[open] .toc-chevron {
  transform: rotate(180deg);
}

.toc-links-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid rgba(21, 128, 61, 0.2);
}

@media (min-width: 640px) {
  .toc-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.toc-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.toc-link:hover {
  color: var(--primary);
  background: var(--primary-light);
  padding-left: 0.75rem;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.content-section {
  padding: 4rem 0;
}

.bg-white {
  background: #ffffff;
}

.bg-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--foreground);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.content-block {
  max-width: 880px;
  margin: 0 auto;
}

.content-block p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* Gameplay Banner Image */
.gameplay-img-box {
  margin: 2.5rem auto;
  display: flex;
  justify-content: center;
}

.gameplay-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-xl);
  border-bottom: 6px solid var(--primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

/* Sticky Split Layout */
.feature-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .feature-split {
    grid-template-columns: 360px 1fr;
  }
  
  .sticky-col {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

.feature-item-row {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.4rem;
}

.feature-item-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   Features Cards Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.feature-card {
  padding: 2.5rem 1.75rem;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card-img-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.feature-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Game Modes Grid
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.game-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.game-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.game-card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}

.game-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--foreground);
}

.game-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   Download Installation Steps
   ========================================================================== */
.download-step-row {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

@media (min-width: 860px) {
  .download-step-row {
    flex-direction: row;
    padding: 3rem;
    gap: 4rem;
  }
  
  .download-step-row.reverse {
    flex-direction: row-reverse;
  }
}

.step-col-img {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 360px;
  width: 100%;
}

.step-col-text {
  flex: 1.3;
}

.screenshot-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.screenshot-pc-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.step-badge-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-card-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--foreground);
}

.step-list {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-list li {
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.7;
}

.step-list li strong {
  color: var(--foreground);
}

/* ==========================================================================
   Payment & Withdrawal Methods
   ========================================================================== */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.payment-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 115px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.payment-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.payment-icon-box {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-img {
  max-height: 46px;
  max-width: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.payment-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
}

/* ==========================================================================
   System Requirements Table
   ========================================================================== */
.req-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background: #ffffff;
}

.req-table thead tr:first-child th {
  background: #065f46;
  color: #ffffff;
  padding: 1.25rem;
  font-size: 1.4rem;
  font-weight: 800;
}

.req-table thead tr:nth-child(2) th {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  font-weight: 700;
  color: var(--foreground);
}

.req-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
}

.req-table tbody tr:hover {
  background: var(--bg-subtle);
}

.req-table td:first-child {
  font-weight: 700;
  color: var(--foreground);
  text-align: left;
  padding-left: 1.5rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
  cursor: pointer;
  gap: 1rem;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Dedicated Download Page Specific Styles
   ========================================================================== */
.download-page-hero {
  padding: 3.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.download-box {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-logo {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-xl);
  border-bottom: 4px solid var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-gold-hover);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.security-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

.sec-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: #ffffff;
  padding: 4rem 1.25rem;
  text-align: center;
}

.cta-banner-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.cta-banner .btn-bonus {
  font-size: 1.15rem;
  padding: 1rem 2.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: #94a3b8;
  margin-top: 1rem;
  max-width: 400px;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
}

.disclaimer-box strong {
  color: #f59e0b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

/* ==========================================================================
   Mobile Sticky Bottom Download Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffffff;
  padding: 0.5rem 1rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--border);
  z-index: 999;
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sticky-bar-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.sticky-bar-info {
  display: flex;
  flex-direction: column;
}

.sticky-bar-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--foreground);
  line-height: 1.2;
}

.sticky-bar-sub {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.sticky-bar-btn {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.3);
}

/* ==========================================================================
   Support Footer Menu (Chevron & Underline matching reference)
   ========================================================================== */
.footer-title.has-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
  margin-bottom: 1.25rem;
}

.footer-title.has-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.support-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-link-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.98rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.support-link-item a::before {
  content: "›";
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.support-link-item a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.support-link-item a:hover::before {
  color: var(--accent-gold);
}

/* ==========================================================================
   Multi-Tier Refer Commission Showcase
   ========================================================================== */
.commission-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0 2rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

@media (min-width: 960px) {
  .commission-box {
    grid-template-columns: 380px 1fr;
    padding: 2.5rem 2.5rem;
    gap: 3rem;
  }
}

.commission-chart-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(21, 128, 61, 0.2);
  display: block;
  margin: 0 auto;
}

.tier-detail-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.tier-detail-card:last-child {
  margin-bottom: 0;
}

.tier-detail-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tier-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.tier-badge.badge-a {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.tier-badge.badge-b {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.tier-badge.badge-c {
  background: linear-gradient(135deg, #0284c7, #0369a1);
}

.tier-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--foreground);
}

.tier-rates-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}

.tier-rate-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tier-rate-item strong {
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   Daily Free Vouchers & Rewards Showcase
   ========================================================================== */
.daily-rewards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .daily-rewards-container {
    grid-template-columns: 440px 1fr;
    padding: 2.5rem 2.5rem;
    gap: 3rem;
  }
}

.daily-reward-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.daily-reward-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-bottom: 5px solid var(--primary);
  display: block;
}

.voucher-perks-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.voucher-perk-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.voucher-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.voucher-perk-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.voucher-perk-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Blog Listing & Article Pages
   ========================================================================== */
.blog-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: rgba(21, 128, 61, 0.3);
}

.blog-card-image-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b2e1b;
  display: block;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.blog-card-header {
  padding: 1.5rem 1.75rem 1rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(21, 128, 61, 0.1);
  color: var(--primary);
  border: 1px solid rgba(21, 128, 61, 0.2);
}

.blog-read-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--foreground);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.blog-card:hover .blog-card-link {
  gap: 0.65rem;
}

/* Article Detail Styles */
.article-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
}

.article-content {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  line-height: 1.8;
  color: #334155;
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .article-content {
    padding: 2rem 1.25rem;
  }
}

.article-featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  background: #0b2e1b;
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--foreground);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 1.75rem 0 0.75rem;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-toc {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2.5rem;
}

.article-toc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.article-toc-list {
  padding-left: 1.25rem;
  margin: 0;
}

.article-toc-list li {
  margin-bottom: 0.4rem;
}

.article-toc-list a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.article-tip-box {
  background: #f0fdf4;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  color: #166534;
}

.article-cta-box {
  background: linear-gradient(135deg, #064e3b, #047857);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  color: #ffffff;
  text-align: center;
  margin: 3rem 0;
}

.article-cta-box h3 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.article-cta-box p {
  color: #a7f3d0;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 1.75rem;
}

/* Top App Download Card Banner */
.article-download-card {
  background: linear-gradient(135deg, #092615 0%, #0d381e 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.75rem;
  margin: 1.5rem 0 1.5rem;
  box-shadow: 0 10px 30px rgba(9, 38, 21, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.card-app-section {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.card-app-icon-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.card-sponsored-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  background: rgba(0, 0, 0, 0.85);
  color: #e2e8f0;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  line-height: 1.2;
}

.card-app-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: block;
}

.card-app-info {
  display: flex;
  flex-direction: column;
}

.card-app-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.card-app-desc {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.4;
}

.card-action-section {
  flex-shrink: 0;
}

.card-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.85rem 1.65rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.card-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.45);
  filter: brightness(1.08);
  color: #0f172a;
}

@media (max-width: 640px) {
  .article-download-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1rem;
    gap: 1.25rem;
  }
  .card-action-section {
    width: 100%;
  }
  .card-download-btn {
    width: 100%;
  }
}







