/*!
 * arion pay - layout stylesheet (layout-d2de.css)
 * Prefix: wd2de-
 * Palette: #FFDFBA | #AD1457 | #1E1E1E | #E5E5E5 | #FFBF00
 * Mobile-first, max-width 430px, rem units (root 62.5%)
 */

:root {
  --wd2de-primary: #AD1457;
  --wd2de-accent: #FFBF00;
  --wd2de-cream: #FFDFBA;
  --wd2de-bg: #1E1E1E;
  --wd2de-bg-alt: #2a2331;
  --wd2de-text: #E5E5E5;
  --wd2de-text-dim: #b8a7b1;
  --wd2de-line: rgba(255, 223, 186, 0.14);
  --wd2de-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --wd2de-radius: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--wd2de-bg);
  color: var(--wd2de-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

a {
  color: var(--wd2de-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wd2de-container {
  width: 100%;
  padding: 0 14px;
}

/* ===== Header ===== */
.wd2de-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1E1E1E 0%, #2a1322 60%, #AD1457 200%);
  border-bottom: 1px solid var(--wd2de-line);
  box-shadow: var(--wd2de-shadow);
}

.wd2de-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  gap: 8px;
}

.wd2de-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.wd2de-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.wd2de-brand-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--wd2de-cream);
  letter-spacing: 0.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wd2de-brand-name b {
  color: var(--wd2de-accent);
}

.wd2de-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wd2de-menu-btn {
  background: transparent;
  border: 1px solid var(--wd2de-line);
  color: var(--wd2de-cream);
  width: 36px;
  height: 36px;
  border-radius: 9px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wd2de-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: none;
  border-radius: 22px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
  white-space: nowrap;
}

.wd2de-btn:active {
  transform: scale(0.96);
}

.wd2de-btn-login {
  background: transparent;
  color: var(--wd2de-cream);
  border: 1px solid var(--wd2de-cream);
}

.wd2de-btn-register {
  background: linear-gradient(135deg, var(--wd2de-accent), #ff8c1a);
  color: #1E1E1E;
  box-shadow: 0 4px 12px rgba(255, 191, 0, 0.35);
}

/* ===== Mobile expand menu ===== */
.wd2de-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--wd2de-bg-alt);
  border-top: 1px solid var(--wd2de-line);
  padding: 8px 14px 14px;
}

.wd2de-mobile-menu.wd2de-menu-open {
  display: flex;
}

.wd2de-mobile-menu a {
  color: var(--wd2de-text);
  padding: 11px 6px;
  border-bottom: 1px solid var(--wd2de-line);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wd2de-mobile-menu a:last-child {
  border-bottom: none;
}

.wd2de-mobile-menu a i {
  color: var(--wd2de-accent);
  width: 22px;
  text-align: center;
}

/* ===== Carousel ===== */
.wd2de-carousel {
  position: relative;
  margin: 14px 0;
  border-radius: var(--wd2de-radius);
  overflow: hidden;
  box-shadow: var(--wd2de-shadow);
}

.wd2de-slide {
  display: none;
  position: relative;
  cursor: pointer;
}

.wd2de-slide-active {
  display: block;
}

.wd2de-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.wd2de-slide-overlay {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  padding: 18px 8px 8px;
  border-radius: 10px;
}

.wd2de-slide-overlay h2 {
  color: var(--wd2de-accent);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.wd2de-slide-overlay p {
  color: var(--wd2de-cream);
  font-size: 1.2rem;
}

.wd2de-dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.wd2de-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.wd2de-dot-active {
  background: var(--wd2de-accent);
  width: 18px;
  border-radius: 4px;
}

/* ===== Section ===== */
.wd2de-section {
  padding: 18px 14px 8px;
}

.wd2de-section-title {
  font-size: 1.8rem;
  color: var(--wd2de-cream);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wd2de-section-title i {
  color: var(--wd2de-accent);
}

.wd2de-section-title b {
  color: var(--wd2de-accent);
}

.wd2de-section-sub {
  font-size: 1.25rem;
  color: var(--wd2de-text-dim);
  margin-bottom: 12px;
}

.wd2de-lead {
  font-size: 1.35rem;
  color: var(--wd2de-text);
  margin-bottom: 10px;
}

/* ===== Game grid ===== */
.wd2de-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 0 12px;
  margin: 0 -14px 4px;
  padding-left: 14px;
  padding-right: 14px;
  scrollbar-width: none;
}

.wd2de-chips::-webkit-scrollbar {
  display: none;
}

.wd2de-chip {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 18px;
  background: var(--wd2de-bg-alt);
  color: var(--wd2de-text);
  font-size: 1.2rem;
  border: 1px solid var(--wd2de-line);
  cursor: pointer;
}

.wd2de-chip-active {
  background: var(--wd2de-primary);
  color: #fff;
  border-color: var(--wd2de-primary);
}

.wd2de-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.wd2de-card {
  background: var(--wd2de-bg-alt);
  border-radius: 11px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--wd2de-line);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wd2de-card:active {
  transform: scale(0.96);
  box-shadow: 0 0 0 2px var(--wd2de-accent);
}

.wd2de-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.wd2de-card-name {
  font-size: 1.05rem;
  text-align: center;
  padding: 5px 4px;
  color: var(--wd2de-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0, 0, 0, 0.25);
}

.wd2de-card-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--wd2de-primary);
  color: #fff;
  font-size: 0.9rem;
  padding: 1px 6px;
  border-radius: 8px;
}

/* ===== Feature / info cards ===== */
.wd2de-feature {
  background: linear-gradient(135deg, var(--wd2de-bg-alt), #3a1a2e);
  border-radius: var(--wd2de-radius);
  padding: 14px;
  margin-bottom: 10px;
  border-left: 4px solid var(--wd2de-accent);
}

.wd2de-feature h3 {
  color: var(--wd2de-cream);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.wd2de-feature p {
  font-size: 1.28rem;
  color: var(--wd2de-text);
}

.wd2de-bonus-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.wd2de-bonus {
  background: rgba(255, 191, 0, 0.08);
  border: 1px solid rgba(255, 191, 0, 0.25);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.wd2de-bonus b {
  display: block;
  color: var(--wd2de-accent);
  font-size: 1.6rem;
}

.wd2de-bonus span {
  font-size: 1.1rem;
  color: var(--wd2de-text-dim);
}

/* ===== Testimonial / winners ===== */
.wd2de-review {
  background: var(--wd2de-bg-alt);
  border-radius: 11px;
  padding: 11px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--wd2de-line);
}

.wd2de-review-head {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  color: var(--wd2de-cream);
  margin-bottom: 4px;
}

.wd2de-stars {
  color: var(--wd2de-accent);
}

.wd2de-review p {
  font-size: 1.22rem;
  color: var(--wd2de-text);
}

/* ===== Payment ===== */
.wd2de-pay-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.wd2de-pay {
  background: var(--wd2de-bg-alt);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  font-size: 1rem;
  color: var(--wd2de-text-dim);
  border: 1px solid var(--wd2de-line);
}

.wd2de-pay i {
  font-size: 2rem;
  color: var(--wd2de-accent);
}

/* ===== CTA ===== */
.wd2de-cta {
  background: linear-gradient(135deg, var(--wd2de-primary), #6e0c36);
  border-radius: var(--wd2de-radius);
  padding: 18px 14px;
  text-align: center;
  margin: 14px 0;
  border: 1px solid rgba(255, 191, 0, 0.3);
}

.wd2de-cta h3 {
  color: var(--wd2de-accent);
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.wd2de-cta p {
  color: var(--wd2de-cream);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.wd2de-cta .wd2de-btn {
  width: 100%;
  min-height: 44px;
  font-size: 1.5rem;
}

/* ===== Footer ===== */
.wd2de-footer {
  background: #160c14;
  border-top: 1px solid var(--wd2de-line);
  padding: 18px 14px 90px;
  margin-top: 18px;
}

.wd2de-footer h4 {
  color: var(--wd2de-accent);
  font-size: 1.35rem;
  margin: 12px 0 6px;
}

.wd2de-footer p {
  color: var(--wd2de-text-dim);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.wd2de-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 10px;
}

.wd2de-footer-links a {
  color: var(--wd2de-text);
  font-size: 1.15rem;
}

.wd2de-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.wd2de-footer-cta .wd2de-btn {
  flex: 1 1 auto;
  min-height: 36px;
  padding: 0 10px;
  font-size: 1.15rem;
}

.wd2de-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--wd2de-text-dim);
  padding-top: 10px;
  border-top: 1px solid var(--wd2de-line);
}

/* ===== Mobile bottom nav ===== */
.wd2de-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 62px;
  background: linear-gradient(180deg, #2a1322, #160c14);
  border-top: 1px solid var(--wd2de-line);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.45);
}

.wd2de-nav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--wd2de-text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.wd2de-nav-item i,
.wd2de-nav-item span.material-icons-outlined,
.wd2de-nav-item ion-icon {
  font-size: 22px;
}

.wd2de-nav-item ion-icon {
  width: 22px;
  height: 22px;
}

.wd2de-nav-item span {
  font-size: 1rem;
}

.wd2de-nav-item:active {
  transform: scale(0.92);
}

.wd2de-nav-item.wd2de-nav-active,
.wd2de-nav-item:hover {
  color: var(--wd2de-accent);
}

.wd2de-nav-promo {
  color: var(--wd2de-accent);
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .wd2de-bottom-nav {
    display: none;
  }
  .wd2de-footer {
    padding-bottom: 24px;
  }
}

@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}
