/*!
 * 1xbet Withdrawal Time - Core stylesheet
 * Filename : 1xbet-withdrawal-time.css
 * Class prefix : pg87-
 * Mobile-first (max 430px), progressive up to desktop.
 * Palette: #2C2C2C / #ADD8E6 / #008B8B / #BA55D3 / #6A5ACD
 */
:root {
  --pg87-bg: #2C2C2C;
  --pg87-bg-soft: #1c1c1c;
  --pg87-bg-elev: #3a3a3a;
  --pg87-text: #f5f7fa;
  --pg87-text-muted: #c8cdd6;
  --pg87-primary: #008B8B;
  --pg87-primary-dark: #006666;
  --pg87-accent: #BA55D3;
  --pg87-accent-soft: #6A5ACD;
  --pg87-soft: #ADD8E6;
  --pg87-success: #2ecc71;
  --pg87-warning: #ffb020;
  --pg87-danger: #ff5c5c;
  --pg87-radius: 1.2rem;
  --pg87-radius-sm: 0.8rem;
  --pg87-shadow: 0 0.4rem 1.6rem rgba(0,0,0,0.35);
  --pg87-header-h: 6rem;
  --pg87-bottomnav-h: 6.2rem;
}

* { box-sizing: border-box; }

html { font-size: 62.5%; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--pg87-bg);
  color: var(--pg87-text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

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

a { color: var(--pg87-soft); text-decoration: none; }
a:hover { color: #ffffff; }

.pg87-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 769px) {
  .pg87-wrapper { max-width: 1100px; }
}

/* ============== Header ============== */
.pg87-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pg87-header-h);
  background: linear-gradient(135deg, rgba(0,139,139,0.95), rgba(106,90,205,0.95));
  backdrop-filter: blur(6px);
  z-index: 1000;
  box-shadow: 0 0.2rem 1rem rgba(0,0,0,0.4);
}
.pg87-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 1rem;
}
@media (min-width: 769px) { .pg87-header-inner { max-width: 1100px; } }

.pg87-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}
.pg87-brand-logo {
  width: 3.2rem; height: 3.2rem;
  border-radius: 0.8rem;
  background: var(--pg87-bg-soft);
  border: 0.1rem solid rgba(255,255,255,0.18);
  object-fit: contain;
}
.pg87-brand-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pg87-brand-name span { color: var(--pg87-soft); }

.pg87-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.pg87-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  text-decoration: none;
}
.pg87-btn--register {
  background: linear-gradient(135deg, #BA55D3, #6A5ACD);
  box-shadow: 0 0.4rem 1rem rgba(186,85,211,0.45);
}
.pg87-btn--login {
  background: linear-gradient(135deg, #008B8B, #20b2aa);
  box-shadow: 0 0.4rem 1rem rgba(0,139,139,0.4);
}
.pg87-btn:hover { transform: translateY(-1px) scale(1.02); color: #ffffff; }
.pg87-btn:active { transform: scale(0.97); }

.pg87-burger {
  width: 3.6rem; height: 3.6rem;
  background: rgba(255,255,255,0.12);
  border: 0.1rem solid rgba(255,255,255,0.2);
  border-radius: 0.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: #ffffff; font-size: 1.6rem;
  cursor: pointer;
}

/* ============== Mobile slide-in menu ============== */
.pg87-menu-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity var(--pg87-anim, 320ms) ease;
  z-index: 1500;
}
.pg87-menu-backdrop--show { opacity: 1; pointer-events: auto; }

.pg87-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 80%; max-width: 32rem;
  height: 100vh;
  background: linear-gradient(180deg, #1c1c1c, #2C2C2C 60%, #3a2a44);
  z-index: 9999;
  padding: 1.6rem 1.2rem 2rem;
  overflow-y: auto;
  transition: right 320ms ease;
  border-left: 0.1rem solid rgba(186,85,211,0.35);
}
.pg87-mobile-menu--open { right: 0; }
.pg87-menu-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ffffff; border: none; cursor: pointer; font-size: 1.6rem;
}
.pg87-menu-title { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 1.4rem 0 1rem; }
.pg87-menu-cta { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.2rem; }
.pg87-menu-cta .pg87-btn { width: 100%; }
.pg87-menu-list { list-style: none; padding: 0; margin: 0; }
.pg87-menu-list li {
  border-bottom: 0.1rem dashed rgba(255,255,255,0.12);
}
.pg87-menu-list a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 0.6rem;
  color: var(--pg87-text-muted);
  font-size: 1.3rem;
  font-weight: 500;
}
.pg87-menu-list a:hover { color: var(--pg87-soft); }
.pg87-menu-list i { color: var(--pg87-accent); width: 2.4rem; text-align: center; }

.pg87-body-no-scroll { overflow: hidden; }

/* ============== Layout sections ============== */
main.pg87-main {
  padding-top: calc(var(--pg87-header-h) + 1rem);
  padding-bottom: 0;
}
@media (max-width: 768px) {
  main.pg87-main { padding-bottom: calc(var(--pg87-bottomnav-h) + 1rem); }
}

.pg87-section {
  padding: 2rem 1.2rem;
}
.pg87-section--alt {
  background: linear-gradient(180deg, rgba(0,139,139,0.08), rgba(186,85,211,0.05));
}
.pg87-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.4rem;
}
.pg87-section-title span { color: var(--pg87-soft); }
.pg87-section-sub {
  font-size: 1.2rem;
  color: var(--pg87-text-muted);
  margin: 0 0 1.6rem;
}

.pg87-h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.8rem;
}
.pg87-h1 span { color: var(--pg87-soft); }
.pg87-lead { font-size: 1.25rem; color: var(--pg87-text-muted); }

/* ============== Hero / Carousel ============== */
.pg87-slider {
  position: relative;
  border-radius: var(--pg87-radius);
  overflow: hidden;
  box-shadow: var(--pg87-shadow);
}
.pg87-slide {
  position: relative;
  display: none;
}
.pg87-slide--active { display: block; }
.pg87-slide img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}
.pg87-slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.85));
}
.pg87-slide-caption h2 {
  margin: 0 0 0.4rem; font-size: 1.6rem; color: #fff;
}
.pg87-slide-caption p {
  margin: 0; font-size: 1.15rem; color: var(--pg87-soft);
}
.pg87-slider-cta {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #BA55D3, #6A5ACD);
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.pg87-slider-prev, .pg87-slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff; border: none; cursor: pointer;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}
.pg87-slider-prev { left: 0.6rem; }
.pg87-slider-next { right: 0.6rem; }
.pg87-dots {
  position: absolute;
  bottom: 0.6rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.pg87-dot {
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer;
}
.pg87-dot--active { background: var(--pg87-soft); transform: scale(1.15); }

/* ============== Search / Filter ============== */
.pg87-toolbar {
  display: flex; gap: 0.6rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.pg87-search-input {
  flex: 1; min-width: 60%;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  border: 0.1rem solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #ffffff; font-size: 1.2rem;
}
.pg87-search-input::placeholder { color: var(--pg87-text-muted); }
.pg87-filter-btn {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--pg87-text-muted);
  border: 0.1rem solid rgba(255,255,255,0.1);
  font-size: 1.1rem; cursor: pointer;
}
.pg87-filter-btn--active {
  background: linear-gradient(135deg, #008B8B, #6A5ACD);
  color: #ffffff; border-color: transparent;
}

/* ============== Game grid / tiles ============== */
.pg87-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
@media (min-width: 540px) { .pg87-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 769px) { .pg87-grid { grid-template-columns: repeat(6, 1fr); } }

.pg87-tile {
  background: var(--pg87-bg-elev);
  border-radius: var(--pg87-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 0.1rem solid rgba(255,255,255,0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-align: center;
}
.pg87-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(186,85,211,0.55);
  box-shadow: 0 0.5rem 1.4rem rgba(186,85,211,0.25);
}
.pg87-tile-img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: cover;
  background: #1a1a1a;
}
.pg87-tile-name {
  font-size: 1.05rem;
  color: #ffffff;
  padding: 0.6rem 0.4rem 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  min-height: 3.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pg87-cat-head {
  display: flex; align-items: center; gap: 0.8rem;
  margin: 2rem 0 1rem;
}
.pg87-cat-head i {
  font-size: 1.6rem;
  color: var(--pg87-soft);
}
.pg87-cat-head h3 {
  font-size: 1.5rem; margin: 0; color: #ffffff; font-weight: 700;
}
.pg87-cat-head .pg87-cat-link {
  margin-left: auto; font-size: 1.1rem; color: var(--pg87-accent);
}

/* ============== Cards ============== */
.pg87-card {
  background: var(--pg87-bg-elev);
  border-radius: var(--pg87-radius);
  padding: 1.6rem;
  box-shadow: var(--pg87-shadow);
  border: 0.1rem solid rgba(255,255,255,0.05);
}
.pg87-card h3 { margin: 0 0 0.6rem; font-size: 1.4rem; color: #ffffff; }
.pg87-card p { margin: 0; font-size: 1.2rem; color: var(--pg87-text-muted); }

.pg87-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 540px) { .pg87-card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 769px) { .pg87-card-grid { grid-template-columns: repeat(3, 1fr); } }

.pg87-card-icon {
  width: 4.4rem; height: 4.4rem;
  border-radius: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #008B8B, #6A5ACD);
  color: #ffffff; font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

/* ============== Steps ============== */
.pg87-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.pg87-steps li {
  position: relative;
  padding: 0.8rem 0 0.8rem 3.4rem;
  font-size: 1.2rem;
  color: var(--pg87-text-muted);
  counter-increment: step;
  border-bottom: 0.1rem dashed rgba(255,255,255,0.1);
}
.pg87-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.6rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #BA55D3, #6A5ACD);
  color: #ffffff;
  font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}

/* ============== FAQ accordion ============== */
.pg87-faq {
  background: var(--pg87-bg-elev);
  border-radius: var(--pg87-radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 0.1rem solid rgba(255,255,255,0.05);
}
.pg87-faq-q {
  padding: 1.2rem 1.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.pg87-faq-q::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--pg87-soft);
}
.pg87-faq--open .pg87-faq-q::after { content: "-"; }
.pg87-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 320ms ease;
  padding: 0 1.4rem;
  color: var(--pg87-text-muted);
  font-size: 1.15rem;
}
.pg87-faq--open .pg87-faq-a {
  max-height: 60rem;
  padding: 0 1.4rem 1.2rem;
}

/* ============== Testimonials ============== */
.pg87-testimonial {
  background: var(--pg87-bg-elev);
  border-radius: var(--pg87-radius-sm);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 0.4rem solid var(--pg87-accent);
}
.pg87-testimonial p { margin: 0 0 0.6rem; font-size: 1.15rem; color: var(--pg87-text-muted); }
.pg87-testimonial .pg87-author { font-size: 1.1rem; color: var(--pg87-soft); font-weight: 700; }

/* ============== Payment badges ============== */
.pg87-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pg87-badge {
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(173,216,230,0.12);
  border: 0.1rem solid rgba(173,216,230,0.25);
  color: var(--pg87-soft);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ============== Winners ticker ============== */
.pg87-ticker {
  background: linear-gradient(135deg, #008B8B, #6A5ACD);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  overflow: hidden;
  margin: 0.6rem 0;
}
.pg87-ticker-track {
  display: inline-flex;
  gap: 2rem;
  white-space: nowrap;
  color: #ffffff; font-size: 1.1rem; font-weight: 600;
  animation: pg87ticker 22s linear infinite;
}
@keyframes pg87ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== Feature / promo banner ============== */
.pg87-banner {
  background: radial-gradient(circle at top right, rgba(186,85,211,0.45), transparent 60%),
              linear-gradient(135deg, #008B8B, #6A5ACD);
  border-radius: var(--pg87-radius);
  padding: 1.6rem;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--pg87-shadow);
}
.pg87-banner h3 { margin: 0 0 0.4rem; font-size: 1.6rem; }
.pg87-banner p { margin: 0 0 1rem; font-size: 1.2rem; color: rgba(255,255,255,0.85); }
.pg87-banner .pg87-btn { background: #ffffff; color: var(--pg87-primary-dark); }

/* ============== Stats / RTP table ============== */
.pg87-table {
  width: 100%; border-collapse: collapse; font-size: 1.15rem;
  background: var(--pg87-bg-elev);
  border-radius: var(--pg87-radius-sm);
  overflow: hidden;
}
.pg87-table th, .pg87-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 0.1rem solid rgba(255,255,255,0.07);
}
.pg87-table th { background: rgba(0,139,139,0.25); color: #ffffff; font-size: 1.1rem; }
.pg87-table td { color: var(--pg87-text-muted); }
.pg87-table tr:last-child td { border-bottom: none; }

/* ============== Footer ============== */
.pg87-footer {
  background: #1a1a1a;
  color: var(--pg87-text-muted);
  padding: 2.4rem 1.2rem;
  margin-top: 2rem;
  border-top: 0.2rem solid rgba(186,85,211,0.3);
}
.pg87-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
@media (min-width: 769px) { .pg87-footer-cols { grid-template-columns: repeat(4, 1fr); } }
.pg87-footer h4 {
  color: #ffffff; font-size: 1.3rem; margin: 0 0 0.8rem;
}
.pg87-footer ul { list-style: none; padding: 0; margin: 0; }
.pg87-footer li { margin-bottom: 0.5rem; font-size: 1.1rem; }
.pg87-footer a { color: var(--pg87-text-muted); }
.pg87-footer a:hover { color: var(--pg87-soft); }
.pg87-footer-brand p { font-size: 1.15rem; line-height: 1.5; }
.pg87-footer-bottom {
  margin-top: 1.6rem; padding-top: 1.2rem;
  border-top: 0.1rem dashed rgba(255,255,255,0.1);
  text-align: center; font-size: 1.1rem;
}
.pg87-footer-promo {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0;
}
.pg87-footer-promo .pg87-btn { font-size: 1.1rem; min-height: 3.2rem; padding: 0 0.9rem; }

/* ============== Mobile bottom nav ============== */
.pg87-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--pg87-bottomnav-h);
  background: linear-gradient(180deg, rgba(58,58,58,0.98), rgba(28,28,28,0.98));
  backdrop-filter: blur(8px);
  border-top: 0.1rem solid rgba(186,85,211,0.35);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0.4rem 0.2rem;
}
.pg87-bottomnav-item {
  flex: 1;
  min-width: 6rem;
  min-height: 5.6rem;
  background: transparent;
  border: none;
  color: var(--pg87-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: color .18s ease, transform .18s ease;
}
.pg87-bottomnav-item .pg87-bottomnav-icon { font-size: 2.2rem; line-height: 1; }
.pg87-bottomnav-item .material-icons { font-size: 2.2rem; }
.pg87-bottomnav-item:hover { color: #ffffff; transform: translateY(-2px); }
.pg87-bottomnav-item:active { transform: scale(0.94); }
.pg87-bottomnav-item--promo { color: var(--pg87-accent); }
.pg87-bottomnav-item--promo .pg87-bottomnav-icon {
  background: linear-gradient(135deg, #BA55D3, #6A5ACD);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pg87-bottomnav-item--active { color: var(--pg87-soft); }

@media (min-width: 769px) {
  .pg87-bottomnav { display: none; }
  .pg87-desktop-only { display: block; }
}
.pg87-desktop-only { display: none; }

/* ============== Reveal animation ============== */
.pg87-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.pg87-reveal--shown { opacity: 1; transform: none; }

/* ============== Misc utilities ============== */
.pg87-text-center { text-align: center; }
.pg87-mt-1 { margin-top: 0.6rem; }
.pg87-mt-2 { margin-top: 1.2rem; }
.pg87-mb-2 { margin-bottom: 1.2rem; }
.pg87-text-muted { color: var(--pg87-text-muted); }
.pg87-link-inline {
  color: var(--pg87-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pg87-chip {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(0,139,139,0.25);
  color: var(--pg87-soft);
  font-size: 1.05rem;
  font-weight: 700;
  margin-right: 0.4rem;
}
