/* ===================================================
   Royal X Casino - page.css
   Shared styles for Deposit, Withdraw, Register
   and other inner transaction pages
   =================================================== */

/* ---- Page Hero (shared) ---- */
.page-hero {
  background: #ffffff;
  padding: 30px 20px 20px;
  border-bottom: 1px solid #e8e8e8;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.page-hero-left {
  flex: 1;
  min-width: 280px;
}
.page-hero-right {
  flex-shrink: 0;
}

.page-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8e1;
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.page-h1 {
  font-size: clamp(1.5rem, 3.8vw, 2.1rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-h1 span {
  display: block;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  font-weight: 500;
  color: var(--gold-dark);
  margin-top: 6px;
}
.page-intro {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 600px;
  line-height: 1.7;
}
.page-intro strong {
  color: var(--text-dark);
}

.page-hero-img {
  width: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: #f5f5f5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 20px;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item {
  text-align: center;
}
.stat-val {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-dark);
  line-height: 1.1;
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---- Method Cards (payment overview) ---- */
.method-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.method-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s;
  cursor: pointer;
}
.method-card:hover,
.method-card.active {
  border-color: var(--gold);
}
.method-card.active {
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.12);
}
.method-logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.method-logo.ep {
  background: #00b900;
}
.method-logo.jc {
  background: #e53935;
}
.method-logo.bt {
  background: #1565c0;
}
.method-logo.usdt {
  background: #26a17b;
}
.method-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.method-card p {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 10px;
}
.method-limits {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.method-limit-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.ml-label {
  color: var(--text-muted);
}
.ml-val {
  font-weight: 700;
  color: var(--text-dark);
}

/* ---- Tabbed Step Guide ---- */
.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}
.guide-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.guide-tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.guide-tab-dot.ep {
  background: #00b900;
}
.guide-tab-dot.jc {
  background: #e53935;
}
.guide-tab-dot.bt {
  background: #1565c0;
}
.guide-tab-dot.usdt {
  background: #26a17b;
}
.guide-tab.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}
.guide-tab:hover {
  color: var(--gold-dark);
}

.guide-panel {
  display: none;
}
.guide-panel.active {
  display: block;
}

/* Step list inside panel */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.guide-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
}
.guide-step:last-child {
  border-bottom: none;
}
.gs-num {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  flex-shrink: 0;
}
.gs-body {
  flex: 1;
  min-width: 0;
}
.gs-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.gs-body p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}
.gs-body p + p {
  margin-top: 6px;
}
.gs-tip {
  background: #fff9e6;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 9px 14px;
  font-size: 13px;
  color: #7a5c0a;
  margin-top: 10px;
}
.gs-tip strong {
  color: #5a4008;
}

/* ---- Comparison Table ---- */
.comp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
  min-width: 540px;
}
.comp-table thead tr {
  background: var(--bg-dark);
}
.comp-table thead th {
  padding: 13px 16px;
  color: var(--gold);
  font-weight: 700;
  text-align: left;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.comp-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s;
}
.comp-table tbody tr:last-child {
  border-bottom: none;
}
.comp-table tbody tr:hover {
  background: #fff9e6;
}
.comp-table tbody td {
  padding: 12px 16px;
  color: var(--text-body);
}
.comp-table .method-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--text-dark);
}
.comp-table .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.comp-table .fast {
  color: var(--green);
  font-weight: 700;
}
.comp-table .medium {
  color: var(--gold-dark);
  font-weight: 600;
}
.comp-table .slow {
  color: #888;
}

/* ---- Warning / Note boxes ---- */
.warn-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff9e6;
  border: 1px solid #e8c84a;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  color: #7a5500;
  margin: 20px 0;
}
.warn-box svg {
  fill: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.warn-box strong {
  color: #5a3e00;
}

.info-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #3b82f6;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 13.5px;
  color: #1e3a5f;
  margin: 20px 0;
}
.info-box svg {
  fill: #3b82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Checklist ---- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}
.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
}
.check-icon.ok {
  background: #dcfce7;
  color: var(--green);
}
.check-icon.warn {
  background: #fef9c3;
  color: #ca8a04;
}
.checklist-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.checklist-item p {
  font-size: 13px;
  color: var(--text-body);
}

/* ---- Trouble items (withdraw) ---- */
.trouble-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.trouble-hdr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #f5f5f5;
  border-bottom: 1px solid var(--border);
}
.trouble-icon-w {
  font-size: 1.1rem;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.trouble-hdr h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-dark);
}
.trouble-bd {
  padding: 14px 20px 16px 46px;
}
.trouble-bd p {
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 6px;
  line-height: 1.65;
}
.trouble-bd strong {
  color: var(--text-dark);
}

/* ---- Bonus callout ---- */
.bonus-callout {
  display: flex;
  gap: 28px;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  flex-wrap: wrap;
}
.bonus-callout-img {
  width: 180px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.bonus-callout-text {
  flex: 1;
  min-width: 220px;
}
.bonus-callout-text h3 {
  color: var(--gold-dark);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.bonus-callout-text p {
  color: var(--text-body);
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 1.6;
}
.bonus-callout-text strong {
  color: var(--text-dark);
}

/* ---- FAQ section (page-specific spacing) ---- */
.page-faq {
  max-width: 100%;
}

/* ---- Final CTA box ---- */
.page-cta-box {
  text-align: center;
  padding: 20px 0;
}
.page-cta-box p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .page-hero-inner {
    flex-direction: column;
  }
  .page-hero-img {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }
  .guide-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .guide-tab {
    padding: 10px 14px;
    font-size: 13px;
  }
  .method-overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bonus-callout {
    flex-direction: column;
  }
  .bonus-callout-img {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .method-overview-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    gap: 16px 24px;
  }
  .stat-val {
    font-size: 1.1rem;
  }
  .gs-num {
    display: none;
  }
}

/* ---- Blog Section ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0 50px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--gold);
}
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-card p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.blog-card .read-more {
  color: var(--gold-dark);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-card .read-more:hover {
  color: var(--gold);
}
