/* =========================================
   xe8.com — /en/download-apk/style.css
   ========================================= */

/* BREADCRUMBS */
.breadcrumbs {
  background: var(--ink);
  padding: 14px 0;
  margin-top: 64px;
  font-size: 13px;
}
.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,0.55);
}
.breadcrumbs ol li a { color: rgba(255,255,255,0.55); }
.breadcrumbs ol li a:hover { color: #fff; }
.breadcrumbs ol li + li::before { content: '/'; margin-right: 8px; opacity: 0.35; }
.breadcrumbs ol li[aria-current] { color: rgba(255,255,255,0.85); }

/* SECTION UTILITIES */
.section-pad { padding: 72px 0; }
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.2;
}
.section-desc {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 680px;
  line-height: 1.7;
}
.section-header-center {
  text-align: center;
  margin-bottom: 48px;
}
.section-header-center .section-desc { margin: 0 auto; }

/* HERO */
.apk-hero {
  background: var(--ink);
  padding: 72px 0 64px;
  overflow: hidden;
  position: relative;
}
.apk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 85% 50%, rgba(42,108,255,0.16) 0%, transparent 68%);
  pointer-events: none;
}
.apk-hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.apk-hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 20px;
}
.apk-hero h1 span { color: var(--orange); }
.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.trust-chip svg { flex-shrink: 0; stroke: var(--orange); }

/* DOWNLOAD BUTTON */
.btn-download-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 18px rgba(255,127,0,0.3);
}
.btn-download-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.hero-meta .meta-sep { opacity: 0.35; }

/* APP INFO CARD */
.apk-info-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 16px;
  padding: 26px 22px;
}
.apk-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.apk-android-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.09);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #3ddc84;
  flex-shrink: 0;
}
.apk-card-name { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 2px; }
.apk-card-ver { font-size: 12px; color: rgba(255,255,255,0.45); margin: 0; }
.apk-specs {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.apk-specs li { display: flex; justify-content: space-between; font-size: 13px; }
.spec-label { color: rgba(255,255,255,0.45); }
.spec-val { color: #fff; font-weight: 600; }
.spec-free { color: #3ddc84; }
.btn-download-card {
  display: block;
  text-align: center;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-download-card:hover { opacity: 0.88; }
.apk-card-note {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin: 9px 0 0;
}

/* XE88 ALERT */
.xe88-alert {
  background: #fff8ed;
  border-top: 4px solid #f59e0b;
  padding: 40px 0;
}
.xe88-alert-inner {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  align-items: start;
}
.xe88-alert-icon {
  width: 48px; height: 48px;
  background: #fef3c7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #d97706;
  flex-shrink: 0;
}
.xe88-alert-title {
  font-size: 19px;
  font-weight: 800;
  color: #92400e;
  margin: 0 0 10px;
}
.xe88-alert-body {
  font-size: 15px;
  color: #78350f;
  line-height: 1.7;
  margin: 0 0 10px;
}
.xe88-alert-body strong { color: #92400e; }
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 6px;
  transition: opacity 0.2s;
}
.btn-play:hover { opacity: 0.88; }

/* FEATURE TABLE (what is section) */
.what-section { background: #fff; }
.feature-table-wrap { overflow-x: auto; margin-top: 32px; }
.feature-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.feature-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 13px 20px;
  text-align: left;
}
.feature-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.feature-table tr:last-child td { border-bottom: none; }
.feature-table tr:nth-child(even) td { background: var(--bg); }
.feature-table td:first-child { font-weight: 600; color: var(--ink-soft); }

/* STEPS — ANDROID */
.android-section { background: var(--bg); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  border: 1px solid var(--line);
}
.step-num {
  width: 34px; height: 34px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.step-icon { margin-bottom: 10px; color: var(--navy); }
.step-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.step-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin: 0; }
.step-tip {
  margin-top: 12px;
  padding: 9px 13px;
  background: var(--bg);
  border-left: 3px solid var(--orange);
  border-radius: 4px;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.step-tip--warn {
  border-color: #f59e0b;
  background: #fff8ed;
  color: #78350f;
}
.steps-cta { text-align: center; margin-top: 40px; }

/* iOS SECTION */
.ios-section { background: #fff; }
.ios-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ios-platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}
.ios-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 30px 0;
}
.ios-step-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  border: 1px solid var(--line);
}
.ios-step-num {
  width: 28px; height: 28px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 13px;
  margin: 0 auto 12px;
}
.ios-step-icon { margin-bottom: 8px; color: var(--navy); display: flex; justify-content: center; }
.ios-step-title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.ios-step-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.55; }
.ios-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.ios-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 460px;
  line-height: 1.6;
}
.ios-note svg { flex-shrink: 0; margin-top: 2px; color: var(--navy); }
.btn-ios {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.btn-ios:hover { opacity: 0.82; }

/* SAFETY */
.safety-section { background: var(--bg); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 13px 18px;
  text-align: left;
}
.compare-table td { padding: 11px 18px; border-bottom: 1px solid var(--line); }
.compare-table tr:last-child td { border-bottom: none; }
.col-official { background: rgba(2,42,153,0.04) !important; }
.col-third { background: rgba(220,38,38,0.03) !important; }
.check-yes { color: #16a34a; font-weight: 700; }
.check-no { color: #dc2626; font-weight: 700; }
.official-badge { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); }
.safety-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(42,108,255,0.05);
  border-radius: 10px;
  border: 1px solid rgba(42,108,255,0.13);
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.safety-note svg { flex-shrink: 0; margin-top: 2px; color: var(--blue); }

/* FEATURES */
.features-section { background: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--bg);
  border-radius: 14px;
  padding: 24px 20px;
  border: 1px solid var(--line);
}
.feature-icon {
  width: 42px; height: 42px;
  background: rgba(2,42,153,0.07);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 7px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin: 0; }

/* TROUBLESHOOTING */
.trouble-section { background: var(--bg); }
.trouble-list { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.trouble-item { background: #fff; border-bottom: 1px solid var(--line); }
.trouble-item:last-child { border-bottom: none; }
.trouble-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 22px;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  gap: 16px;
  border: none;
}
.trouble-q:hover { color: var(--navy); }
.trouble-arrow { flex-shrink: 0; transition: transform 0.2s; color: var(--ink-muted); }
.trouble-item.open .trouble-arrow { transform: rotate(180deg); }
.trouble-a { display: none; padding: 0 22px 18px; }
.trouble-item.open .trouble-a { display: block; }
.trouble-a p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; margin: 0 0 10px; }
.trouble-a p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-section { background: #fff; }
.faq-list { }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  gap: 16px;
  border: none;
}
.faq-q:hover { color: var(--navy); }
.faq-chevron { flex-shrink: 0; transition: transform 0.2s; color: var(--ink-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* CTA */
.cta-section {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.68);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.btn-outline-white:hover { border-color: #fff; }
.cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 13px;
}
.cta-link { color: rgba(255,255,255,0.45); text-decoration: none; }
.cta-link:hover { color: rgba(255,255,255,0.85); }

/* RG BAR */
.rg-bar {
  background: #010d2e;
  padding: 16px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
}
.rg-bar a { color: rgba(255,255,255,0.55); text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .apk-hero-inner { grid-template-columns: 1fr; }
  .apk-info-card { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .ios-steps-grid { grid-template-columns: repeat(3, 1fr); }
  .xe88-alert-inner { grid-template-columns: 1fr; }
  .xe88-alert-icon { display: none; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .section-pad { padding: 48px 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .ios-steps-grid { grid-template-columns: 1fr 1fr; }
  .ios-footer { flex-direction: column; align-items: flex-start; }
  .cta-btn-row { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-download-primary { justify-content: center; }
}
