/*!
 * heoid.click - Core stylesheet
 * All custom classes use the wd779- prefix to isolate the namespace.
 * Palette: #26A69A | #333333 | #E0F2F1 | #696969 | #708090
 * Mobile-first, max-width 430px, rem units (root 62.5%).
 * Comments in English only.
 */

:root {
  --wd779-primary: #26A69A;
  --wd779-primary-dark: #1c8378;
  --wd779-bg-dark: #333333;
  --wd779-bg-mid: #3f4747;
  --wd779-bg-soft: #E0F2F1;
  --wd779-text-light: #E0F2F1;
  --wd779-text-muted: #696969;
  --wd779-text-slate: #708090;
  --wd779-accent-gold: #FFC857;
  --wd779-accent-red: #E94B3C;
  --wd779-white: #ffffff;
  --wd779-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  --wd779-radius: 12px;
  --wd779-radius-lg: 18px;
  --wd779-header-h: 56px;
  --wd779-bottomnav-h: 64px;
}

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

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

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background: var(--wd779-bg-dark);
  color: var(--wd779-text-light);
  line-height: 1.5rem;
  font-size: 1.6rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

/* ===== Layout ===== */
.wd779-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.wd779-container {
  width: 100%;
  padding: 0 1.4rem;
}

main { padding-bottom: 80px; }

/* ===== Header ===== */
.wd779-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--wd779-header-h);
  background: linear-gradient(90deg, var(--wd779-bg-dark), var(--wd779-bg-mid));
  border-bottom: 2px solid var(--wd779-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  box-shadow: var(--wd779-shadow);
}

.wd779-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.wd779-logo-icon { width: 28px; height: 28px; border-radius: 6px; }
.wd779-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wd779-primary);
  letter-spacing: 0.5px;
}

.wd779-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wd779-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.wd779-btn:active { transform: scale(0.96); }

.wd779-btn-register {
  background: linear-gradient(135deg, var(--wd779-primary), var(--wd779-primary-dark));
  color: var(--wd779-white);
  box-shadow: 0 2px 6px rgba(38, 166, 154, 0.5);
}
.wd779-btn-login {
  background: transparent;
  color: var(--wd779-text-light);
  border: 1px solid var(--wd779-primary);
}

.wd779-menu-toggle {
  background: transparent;
  border: none;
  color: var(--wd779-text-light);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

/* ===== Mobile expandable menu ===== */
.wd779-mobile-menu {
  position: fixed;
  top: var(--wd779-header-h);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--wd779-bg-mid);
  border-bottom: 2px solid var(--wd779-primary);
  padding: 1rem 1.4rem;
  z-index: 9999;
  display: none;
  box-shadow: var(--wd779-shadow);
}
.wd779-mobile-menu.wd779-menu-open { display: block; }
.wd779-mobile-menu a {
  display: block;
  padding: 1rem 0.6rem;
  color: var(--wd779-text-light);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wd779-mobile-menu a:hover { color: var(--wd779-primary); }

/* explanatory comment */
.wd779-hero-spacer { height: var(--wd779-header-h); }

/* ===== Carousel ===== */
.wd779-carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 0 0 var(--wd779-radius-lg) var(--wd779-radius-lg);
}
.wd779-carousel-track { position: relative; width: 100%; height: 100%; }
.wd779-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
  cursor: pointer;
}
.wd779-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.wd779-carousel-slide.wd779-active { opacity: 1; }
.wd779-carousel-overlay {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  color: var(--wd779-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.wd779-carousel-overlay h2 {
  font-size: 2rem;
  font-weight: 800;
}
.wd779-carousel-overlay p { font-size: 1.3rem; margin-top: 0.2rem; }

.wd779-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1.2rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.wd779-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none; cursor: pointer;
  padding: 0;
}
.wd779-carousel-dot.wd779-active { background: var(--wd779-primary); }

/* ===== Section ===== */
.wd779-section {
  padding: 2rem 1.4rem 1rem;
}
.wd779-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--wd779-primary);
  margin-bottom: 0.4rem;
}
.wd779-section-title .wd779-mark { color: var(--wd779-accent-gold); }
.wd779-section-sub {
  font-size: 1.3rem;
  color: var(--wd779-text-slate);
  margin-bottom: 1.4rem;
}

/* ===== H1 ===== */
.wd779-h1 {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--wd779-white);
  padding: 1rem 1.4rem 0.4rem;
}
.wd779-h1 .wd779-hi { color: var(--wd779-primary); }

/* ===== Category tabs ===== */
.wd779-cat-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.6rem 1.4rem 0.4rem;
  scrollbar-width: none;
}
.wd779-cat-tabs::-webkit-scrollbar { display: none; }
.wd779-cat-tab {
  flex: 0 0 auto;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--wd779-bg-mid);
  color: var(--wd779-text-light);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.wd779-cat-tab.wd779-cat-active {
  background: var(--wd779-primary);
  color: var(--wd779-white);
  border-color: var(--wd779-primary);
}

/* ===== Game grid ===== */
.wd779-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  padding: 0.6rem 1.4rem 1rem;
}
.wd779-card {
  background: var(--wd779-bg-mid);
  border-radius: var(--wd779-radius);
  overflow: hidden;
  border: 1px solid rgba(38, 166, 154, 0.18);
  transition: transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
}
.wd779-card:active {
  transform: scale(0.96);
  box-shadow: 0 4px 12px rgba(38, 166, 154, 0.35);
}
.wd779-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #2a2f2f;
}
.wd779-card-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--wd779-text-light);
  padding: 0.5rem 0.6rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wd779-cat-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--wd779-primary);
  margin: 1.4rem 1.4rem 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ===== Info / promo blocks ===== */
.wd779-block {
  background: var(--wd779-bg-mid);
  border-radius: var(--wd779-radius-lg);
  padding: 1.4rem;
  margin: 1rem 1.4rem;
  border-left: 4px solid var(--wd779-primary);
}
.wd779-block h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--wd779-primary);
  margin-bottom: 0.6rem;
}
.wd779-block h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--wd779-accent-gold);
  margin: 1rem 0 0.4rem;
}
.wd779-block p {
  font-size: 1.35rem;
  color: var(--wd779-text-light);
  margin-bottom: 0.6rem;
}
.wd779-block ul {
  list-style: none;
  padding: 0;
}
.wd779-block ul li {
  padding: 0.4rem 0 0.4rem 1.8rem;
  position: relative;
  font-size: 1.3rem;
  color: var(--wd779-text-light);
}
.wd779-block ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--wd779-primary);
}

.wd779-promo-link {
  display: inline-block;
  margin: 0.6rem 0;
  padding: 0.6rem 1.2rem;
  background: var(--wd779-primary);
  color: var(--wd779-white);
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
}
.wd779-text-link {
  color: var(--wd779-primary);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ===== Testimonials ===== */
.wd779-testi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  padding: 0.6rem 1.4rem 1rem;
}
.wd779-testi-item {
  background: var(--wd779-bg-mid);
  border-radius: var(--wd779-radius);
  padding: 1rem 1.2rem;
  border: 1px solid rgba(38, 166, 154, 0.15);
}
.wd779-testi-item .wd779-testi-user {
  font-weight: 800;
  color: var(--wd779-primary);
  font-size: 1.3rem;
}
.wd779-testi-item p { font-size: 1.25rem; color: var(--wd779-text-light); margin-top: 0.3rem; }

/* ===== Winners ===== */
.wd779-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.4rem 1.4rem 1rem;
}
.wd779-winner-row {
  display: flex;
  justify-content: space-between;
  background: var(--wd779-bg-mid);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
}
.wd779-winner-row span:first-child { color: var(--wd779-text-light); font-weight: 600; }
.wd779-winner-row span:last-child { color: var(--wd779-accent-gold); font-weight: 800; }

/* ===== Payments ===== */
.wd779-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.4rem 1.4rem 1rem;
}
.wd779-pay-chip {
  background: var(--wd779-bg-mid);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 1.2rem;
  color: var(--wd779-text-light);
  border: 1px solid rgba(38, 166, 154, 0.25);
}

/* ===== Footer ===== */
.wd779-footer {
  background: #2a2f2f;
  padding: 1.8rem 1.4rem 2.4rem;
  margin-top: 1.5rem;
  border-top: 2px solid var(--wd779-primary);
}
.wd779-footer-brand {
  font-size: 1.3rem;
  color: var(--wd779-text-slate);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.wd779-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.wd779-footer-links a {
  color: var(--wd779-text-light);
  font-size: 1.15rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}
.wd779-footer-links a:hover { color: var(--wd779-primary); border-color: var(--wd779-primary); }
.wd779-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.wd779-footer-promo button {
  background: var(--wd779-primary);
  color: var(--wd779-white);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
}
.wd779-copyright {
  font-size: 1.1rem;
  color: var(--wd779-text-muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

/* ===== Bottom nav ===== */
.wd779-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--wd779-bottomnav-h);
  background: linear-gradient(90deg, var(--wd779-bg-dark), var(--wd779-bg-mid));
  border-top: 2px solid var(--wd779-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
}
.wd779-bottomnav-item {
  background: transparent;
  border: none;
  color: var(--wd779-text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  gap: 0.2rem;
  cursor: pointer;
  transition: transform 0.15s, color 0.2s;
  flex: 1;
}
.wd779-bottomnav-item .material-icons,
.wd779-bottomnav-item .ion,
.wd779-bottomnav-item i { font-size: 24px; line-height: 1; }
.wd779-bottomnav-item span { font-size: 1.05rem; font-weight: 600; }
.wd779-bottomnav-item:active { transform: scale(0.9); }
.wd779-bottomnav-item:hover { color: var(--wd779-primary); }
.wd779-bottomnav-item.wd779-nav-current { color: var(--wd779-primary); }
.wd779-bottomnav-item.wd779-nav-current::after {
  content: '';
  position: absolute;
  top: 0;
  width: 28px;
  height: 3px;
  background: var(--wd779-primary);
  border-radius: 0 0 4px 4px;
}

.wd779-bottomnav-badge {
  position: absolute;
  top: 6px;
  right: 14px;
  background: var(--wd779-accent-red);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0 5px;
  min-width: 16px;
  text-align: center;
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  .wd779-bottomnav { display: none; }
  main { padding-bottom: 0; }
}