/* ==========================================================
   77win slot - theme-df0e.css
   All custom classes use prefix "wdf0e-".
   Palette: #000080 #00BFFF #87CEFA #CED4DA #D8BFD8 #34495E
   Mobile-first. Max width 430px.
   ========================================================== */

:root {
  --wdf0e-primary: #00BFFF;
  --wdf0e-navy: #000080;
  --wdf0e-navy-dark: #050530;
  --wdf0e-sky: #87CEFA;
  --wdf0e-mist: #CED4DA;
  --wdf0e-lilac: #D8BFD8;
  --wdf0e-slate: #34495E;
  --wdf0e-text: #CED4DA;
  --wdf0e-text-strong: #ffffff;
  --wdf0e-bg: #060624;
  --wdf0e-card: #0d0d3a;
  --wdf0e-card-2: #131356;
  --wdf0e-gold: #FFD700;
  --wdf0e-radius: 14px;
  --wdf0e-shadow: 0 6px 18px rgba(0, 0, 128, 0.35);
}

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

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Roboto", "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 0%, #0d0d3a 0%, var(--wdf0e-bg) 55%);
  color: var(--wdf0e-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--wdf0e-primary); text-decoration: none; }
a:hover { color: var(--wdf0e-sky); }
img { max-width: 100%; display: block; }

/* ---------- Layout containers ---------- */
.wdf0e-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
}

.wdf0e-container {
  padding: 0 1.2rem;
  width: 100%;
}

main { padding-bottom: 90px; }

/* ---------- Header ---------- */
.wdf0e-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(5,5,48,0.98), rgba(13,13,58,0.92));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 191, 255, 0.25);
}
.wdf0e-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.6rem;
}
.wdf0e-brand {
  display: flex; align-items: center; gap: 0.6rem;
  min-width: 0;
}
.wdf0e-logo {
  width: 30px; height: 30px; border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--wdf0e-primary);
}
.wdf0e-brand-text {
  color: var(--wdf0e-text-strong);
  font-weight: 800;
  font-size: 1.5rem;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.wdf0e-brand-text span { color: var(--wdf0e-primary); }

.wdf0e-actions { display: flex; align-items: center; gap: 0.5rem; }
.wdf0e-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.wdf0e-btn:active { transform: scale(0.96); }
.wdf0e-btn-primary {
  background: linear-gradient(135deg, var(--wdf0e-primary), var(--wdf0e-navy));
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 191, 255, 0.35);
}
.wdf0e-btn-gold {
  background: linear-gradient(135deg, var(--wdf0e-gold), #ff9d00);
  color: #2a1a00;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
}
.wdf0e-btn-outline {
  background: transparent;
  color: var(--wdf0e-text-strong);
  border: 1px solid var(--wdf0e-primary);
}

.wdf0e-menu-btn {
  background: transparent;
  border: 0;
  color: var(--wdf0e-primary);
  font-size: 2rem;
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
}
.wdf0e-menu-btn.wdf0e-active { background: rgba(0,191,255,0.15); }

/* ---------- Mobile menu ---------- */
.wdf0e-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #0a0a40, #050523);
  z-index: 9999;
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
  transition: right 0.28s ease;
  border-left: 1px solid rgba(0,191,255,0.25);
  box-shadow: -10px 0 30px rgba(0,0,0,0.6);
}
.wdf0e-mobile-menu.wdf0e-open { right: 0; }
.wdf0e-mobile-menu a {
  display: block;
  color: var(--wdf0e-mist);
  padding: 1rem 0.4rem;
  border-bottom: 1px solid rgba(135, 206, 250, 0.15);
  font-size: 1.45rem;
  font-weight: 600;
}
.wdf0e-mobile-menu a:hover { color: var(--wdf0e-primary); padding-left: 0.8rem; }
.wdf0e-menu-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: transparent; border: 0; color: #fff;
  font-size: 2.4rem; cursor: pointer;
}
.wdf0e-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  display: none;
}
.wdf0e-overlay.wdf0e-open { display: block; }

/* ---------- Hero carousel ---------- */
.wdf0e-hero {
  margin-top: 60px;
  padding: 0.8rem 1.2rem 0;
}
.wdf0e-carousel {
  position: relative;
  border-radius: var(--wdf0e-radius);
  overflow: hidden;
  box-shadow: var(--wdf0e-shadow);
}
.wdf0e-slide { display: none; }
.wdf0e-slide img {
  width: 100%; height: 180px; object-fit: cover; cursor: pointer;
}
.wdf0e-dots {
  position: absolute; bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.wdf0e-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
}
.wdf0e-dot.wdf0e-active { background: var(--wdf0e-primary); }

/* ---------- Section heads ---------- */
.wdf0e-section { padding: 1.6rem 1.2rem; }
.wdf0e-section-title {
  color: var(--wdf0e-text-strong);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.wdf0e-section-title i, .wdf0e-section-title span.material-icons {
  color: var(--wdf0e-primary);
}
.wdf0e-section-title em { color: var(--wdf0e-primary); font-style: normal; }
.wdf0e-subtitle {
  color: var(--wdf0e-sky);
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

h1.wdf0e-h1 {
  font-size: 1.85rem; font-weight: 800;
  color: var(--wdf0e-text-strong);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
h2.wdf0e-h2 {
  font-size: 1.6rem; font-weight: 700;
  color: var(--wdf0e-text-strong);
  margin: 1.2rem 0 0.6rem;
}
h3.wdf0e-h3 {
  font-size: 1.35rem; font-weight: 700;
  color: var(--wdf0e-sky);
  margin: 0.9rem 0 0.5rem;
}
.wdf0e-p { margin-bottom: 0.9rem; color: var(--wdf0e-text); }

/* ---------- Category chip ---------- */
.wdf0e-cat-head {
  display: flex; align-items: center; gap: 0.6rem;
  margin: 1.4rem 0 0.8rem;
}
.wdf0e-cat-head .wdf0e-cat-bar {
  width: 4px; height: 22px; border-radius: 2px;
  background: linear-gradient(180deg, var(--wdf0e-primary), var(--wdf0e-lilac));
}
.wdf0e-cat-head h3 {
  color: var(--wdf0e-text-strong);
  font-size: 1.5rem; font-weight: 800;
}
.wdf0e-cat-head .wdf0e-cat-icon { color: var(--wdf0e-gold); }

/* ---------- Game grid ---------- */
.wdf0e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.wdf0e-card {
  background: var(--wdf0e-card);
  border: 1px solid rgba(0,191,255,0.18);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}
.wdf0e-card:active { transform: scale(0.96); border-color: var(--wdf0e-primary); }
.wdf0e-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  background: #0a0a30;
}
.wdf0e-card-name {
  padding: 0.4rem 0.5rem;
  font-size: 1.1rem;
  color: var(--wdf0e-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Info / feature cards ---------- */
.wdf0e-panel {
  background: linear-gradient(135deg, var(--wdf0e-card), var(--wdf0e-card-2));
  border: 1px solid rgba(0,191,255,0.18);
  border-radius: var(--wdf0e-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--wdf0e-shadow);
}
.wdf0e-feature-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 0.7rem;
}
.wdf0e-feature {
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  padding: 0.9rem;
  text-align: center;
  border: 1px solid rgba(135,206,250,0.15);
}
.wdf0e-feature i, .wdf0e-feature span.material-icons {
  font-size: 1.8rem; color: var(--wdf0e-primary); margin-bottom: 0.3rem;
}
.wdf0e-feature strong { color: var(--wdf0e-text-strong); display: block; font-size: 1.2rem; }
.wdf0e-feature small { color: var(--wdf0e-mist); font-size: 1.05rem; }

/* ---------- Steps ---------- */
.wdf0e-steps { list-style: none; counter-reset: step; }
.wdf0e-steps li {
  position: relative;
  padding: 0.6rem 0.6rem 0.6rem 3rem;
  margin-bottom: 0.6rem;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  counter-increment: step;
}
.wdf0e-steps li::before {
  content: counter(step);
  position: absolute; left: 0.6rem; top: 0.6rem;
  width: 2rem; height: 2rem;
  background: linear-gradient(135deg, var(--wdf0e-primary), var(--wdf0e-navy));
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
}

/* ---------- Testimonials ---------- */
.wdf0e-testi {
  background: rgba(0,0,0,0.25);
  border-radius: 10px; padding: 0.9rem;
  margin-bottom: 0.7rem;
  border-left: 3px solid var(--wdf0e-lilac);
}
.wdf0e-testi-stars { color: var(--wdf0e-gold); font-size: 1.1rem; margin-bottom: 0.3rem; }
.wdf0e-testi cite { color: var(--wdf0e-sky); font-style: normal; font-weight: 700; font-size: 1.2rem; }

/* ---------- Winners ---------- */
.wdf0e-winner-list li {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0.2rem;
  border-bottom: 1px dashed rgba(135,206,250,0.15);
  font-size: 1.2rem;
}
.wdf0e-winner-list .wdf0e-amount { color: var(--wdf0e-gold); font-weight: 700; }

/* ---------- Payment ---------- */
.wdf0e-pay-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.wdf0e-pay {
  flex: 1 1 30%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(135,206,250,0.2);
  border-radius: 8px;
  padding: 0.6rem; text-align: center;
  color: var(--wdf0e-mist); font-size: 1.1rem; font-weight: 600;
}

/* ---------- CTA band ---------- */
.wdf0e-cta {
  background: linear-gradient(135deg, var(--wdf0e-navy), var(--wdf0e-primary));
  border-radius: var(--wdf0e-radius);
  padding: 1.2rem; text-align: center;
  margin: 1rem 0;
}
.wdf0e-cta h3 { color: #fff; margin-bottom: 0.4rem; }
.wdf0e-cta p { color: var(--wdf0e-mist); margin-bottom: 0.8rem; font-size: 1.25rem; }

/* ---------- Footer ---------- */
.wdf0e-footer {
  background: linear-gradient(180deg, #060624, #020210);
  border-top: 1px solid rgba(0,191,255,0.2);
  padding: 1.6rem 1.2rem 2rem;
  color: var(--wdf0e-mist);
  font-size: 1.2rem;
}
.wdf0e-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
  margin: 0.8rem 0;
}
.wdf0e-footer-links a { color: var(--wdf0e-sky); font-size: 1.15rem; }
.wdf0e-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.8rem 0;
}
.wdf0e-footer-copy {
  text-align: center; color: #5a6175;
  font-size: 1.1rem; margin-top: 0.8rem;
}

/* ---------- Mobile bottom nav ---------- */
.wdf0e-bnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 62px;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(13,13,58,0.96), rgba(5,5,32,0.99));
  border-top: 1px solid rgba(0,191,255,0.3);
  display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.2rem;
}
.wdf0e-bnav-btn {
  flex: 1;
  min-width: 60px; min-height: 60px;
  background: transparent; border: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  color: var(--wdf0e-mist);
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}
.wdf0e-bnav-btn i, .wdf0e-bnav-btn span.material-icons, .wdf0e-bnav-btn ion-icon {
  font-size: 22px;
}
.wdf0e-bnav-btn span { font-size: 1.05rem; font-weight: 600; }
.wdf0e-bnav-btn:active { transform: scale(0.92); }
.wdf0e-bnav-btn.wdf0e-current { color: var(--wdf0e-primary); }
.wdf0e-bnav-promo {
  background: linear-gradient(135deg, var(--wdf0e-gold), #ff8a00);
  color: #1a1000;
  border-radius: 50%;
  width: 48px; height: 48px;
  margin-top: -22px;
  box-shadow: 0 4px 12px rgba(255,215,0,0.45);
  border: 3px solid #050530;
}
.wdf0e-bnav-promo i { font-size: 22px; }
.wdf0e-bnav-promo span { font-size: 0.95rem; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
  .wdf0e-wrapper { max-width: 760px; }
  .wdf0e-bnav { display: none; }
  .wdf0e-header-inner { max-width: 760px; }
  main { padding-bottom: 2rem; }
  .wdf0e-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Helpers ---------- */
.wdf0e-text-grad {
  background: linear-gradient(90deg, var(--wdf0e-primary), var(--wdf0e-lilac));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; font-weight: 800;
}
.wdf0e-link-text {
  color: var(--wdf0e-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wdf0e-link-text:hover { color: var(--wdf0e-gold); }
