/* ============================================================
   ppp login - screen-eeed.css
   Mobile-first canvas (320-430px). Custom classes use "weeed-" prefix.
   Palette: #6C757D | #FF8A80 | #F0F8FF | #1A1A1A | #0000CD | #6495ED
   Comments in English only.
   ============================================================ */

:root {
  --weeed-bg: #1A1A1A;
  --weeed-bg-2: #232327;
  --weeed-bg-3: #2c2c33;
  --weeed-line: #3a3a42;
  --weeed-ink: #F0F8FF;
  --weeed-muted: #b9c2d4;
  --weeed-primary: #0000CD;
  --weeed-primary-2: #1b34d8;
  --weeed-accent: #FF8A80;
  --weeed-accent-2: #6495ED;
  --weeed-gray: #6C757D;
  --weeed-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  --weeed-radius: 14px;
  --weeed-radius-sm: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(120% 60% at 50% 0%, #20203a 0%, var(--weeed-bg) 60%);
  color: var(--weeed-ink);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--weeed-accent-2); text-decoration: none; }
a:active { color: var(--weeed-accent); }
img { max-width: 100%; display: block; }

/* Centered phone canvas on wide screens */
.weeed-shell {
  max-width: 430px;
  margin: 0 auto;
  background: var(--weeed-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: var(--weeed-shadow);
  overflow: hidden;
}

/* ===================== Header ===================== */
.weeed-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, #101051 0%, var(--weeed-primary) 60%, #101051 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.weeed-header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
}
.weeed-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.weeed-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  object-fit: contain;
}
.weeed-brand-text { min-width: 0; }
.weeed-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: 0.2px;
}
.weeed-brand-tag {
  font-size: 11px;
  color: var(--weeed-accent);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.weeed-actions { display: flex; gap: 8px; }
.weeed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  color: #fff;
  font-family: inherit;
}
.weeed-btn:active { transform: scale(0.96); }
.weeed-btn-register {
  background: linear-gradient(135deg, var(--weeed-accent) 0%, #ff5e4d 100%);
  color: #1A1A1A;
}
.weeed-btn-login {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.weeed-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.weeed-icon-btn svg { width: 18px; height: 18px; }

/* Header second row: layered menu trigger + quick links */
.weeed-header-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.weeed-header-sub::-webkit-scrollbar { display: none; }
.weeed-quick {
  font-size: 12px;
  color: #d6dcf5;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.weeed-quick:active { background: rgba(255, 255, 255, 0.18); }

/* Dropdown menu panel */
.weeed-menu-wrap { position: relative; }
.weeed-menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 12px;
  right: 12px;
  background: var(--weeed-bg-2);
  border: 1px solid var(--weeed-line);
  border-radius: var(--weeed-radius);
  padding: 10px;
  z-index: 70;
  box-shadow: var(--weeed-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.weeed-menu-panel.weeed-menu-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.weeed-menu-title {
  font-size: 11px;
  color: var(--weeed-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 6px 4px;
}
.weeed-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.weeed-menu-grid a {
  background: var(--weeed-bg-3);
  border: 1px solid var(--weeed-line);
  border-radius: var(--weeed-radius-sm);
  padding: 9px 6px;
  font-size: 12px;
  color: var(--weeed-ink);
  text-align: center;
}
.weeed-menu-grid a:active { background: var(--weeed-primary); }
.weeed-nav-current { outline: 2px solid var(--weeed-accent); }

/* ===================== Layout ===================== */
.weeed-main { padding: 14px 12px 130px; }

/* ===================== Carousel ===================== */
.weeed-carousel {
  position: relative;
  border-radius: var(--weeed-radius);
  overflow: hidden;
  box-shadow: var(--weeed-shadow);
  background: var(--weeed-bg-2);
}
.weeed-slide {
  position: relative;
  display: none;
  height: 170px;
}
.weeed-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.weeed-slide-active { display: block; }
.weeed-slide-cap {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: #fff;
  padding: 18px 12px 8px;
  border-radius: 0 0 var(--weeed-radius) var(--weeed-radius);
}
.weeed-slide-cap h2 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.weeed-slide-cap p { margin: 0; font-size: 12px; color: #e9eefc; }
.weeed-slide-cta {
  display: inline-block;
  margin-top: 8px;
  background: var(--weeed-accent);
  color: #1A1A1A;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
}
.weeed-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 5;
}
.weeed-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
}
.weeed-dot-active { background: var(--weeed-accent); width: 18px; border-radius: 999px; }

/* ===================== Section heads ===================== */
.weeed-section { margin-top: 22px; }
.weeed-section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.weeed-section-bar {
  width: 4px;
  height: 18px;
  background: linear-gradient(var(--weeed-accent), var(--weeed-primary));
  border-radius: 2px;
}
.weeed-section-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.weeed-section-more {
  margin-left: auto;
  font-size: 12px;
  color: var(--weeed-accent-2);
}

/* ===================== Hero intro ===================== */
.weeed-hero-card {
  background: linear-gradient(135deg, rgba(0, 0, 205, 0.35), rgba(100, 149, 237, 0.18));
  border: 1px solid rgba(100, 149, 237, 0.35);
  border-radius: var(--weeed-radius);
  padding: 14px;
}
.weeed-hero-card h1 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.weeed-hero-card p { margin: 0; color: var(--weeed-muted); font-size: 13px; }
.weeed-hero-cta { display: flex; gap: 8px; margin-top: 12px; }
.weeed-hero-cta .weeed-btn { flex: 1; }

/* ===================== Game grid ===================== */
.weeed-cat-block { margin-top: 18px; }
.weeed-cat-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}
.weeed-cat-pill {
  font-size: 10px;
  background: var(--weeed-accent);
  color: #1A1A1A;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}
.weeed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) {
  .weeed-grid { gap: 9px; }
}
@media (min-width: 400px) {
  .weeed-grid { grid-template-columns: repeat(5, 1fr); }
}
.weeed-game {
  background: var(--weeed-bg-2);
  border: 1px solid var(--weeed-line);
  border-radius: var(--weeed-radius-sm);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.weeed-game:active {
  transform: scale(0.96);
  border-color: var(--weeed-accent);
}
.weeed-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}
.weeed-game-name {
  font-size: 11px;
  color: var(--weeed-ink);
  padding: 5px 4px 6px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================== Info / content blocks ===================== */
.weeed-card {
  background: var(--weeed-bg-2);
  border: 1px solid var(--weeed-line);
  border-radius: var(--weeed-radius);
  padding: 14px;
  margin-top: 14px;
}
.weeed-card h2 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.weeed-card h3 { margin: 14px 0 4px; font-size: 14px; color: var(--weeed-accent-2); }
.weeed-card p { margin: 0 0 8px; color: var(--weeed-muted); font-size: 13px; }
.weeed-card ul { margin: 6px 0 0; padding-left: 18px; color: var(--weeed-muted); font-size: 13px; }
.weeed-card li { margin-bottom: 5px; }

/* How to play steps */
.weeed-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}
.weeed-step {
  display: flex;
  gap: 10px;
  background: var(--weeed-bg-3);
  border: 1px solid var(--weeed-line);
  border-radius: var(--weeed-radius-sm);
  padding: 10px;
}
.weeed-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--weeed-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.weeed-step-body strong { display: block; color: #fff; font-size: 13px; }
.weeed-step-body span { font-size: 12px; color: var(--weeed-muted); }

/* Compact 2-3 col tiles */
.weeed-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}
@media (min-width: 400px) {
  .weeed-tiles { grid-template-columns: repeat(3, 1fr); }
}
.weeed-tile {
  background: var(--weeed-bg-3);
  border: 1px solid var(--weeed-line);
  border-radius: var(--weeed-radius-sm);
  padding: 10px;
  text-align: center;
}
.weeed-tile .weeed-tile-ic {
  font-size: 22px;
  display: block;
  margin-bottom: 4px;
}
.weeed-tile strong { display: block; color: #fff; font-size: 12px; }
.weeed-tile span { font-size: 11px; color: var(--weeed-muted); }

/* Inline text link in body */
.weeed-inlink {
  color: var(--weeed-accent-2);
  border-bottom: 1px dashed rgba(100, 149, 237, 0.55);
}

/* CTA band */
.weeed-cta-band {
  margin-top: 18px;
  background: linear-gradient(135deg, var(--weeed-primary) 0%, var(--weeed-accent-2) 100%);
  border-radius: var(--weeed-radius);
  padding: 16px;
  text-align: center;
}
.weeed-cta-band h3 { margin: 0 0 4px; color: #fff; font-size: 16px; }
.weeed-cta-band p { margin: 0 0 10px; color: #e9eefc; font-size: 12px; }
.weeed-cta-band .weeed-btn { padding: 10px 22px; }

/* ===================== Extended footer ===================== */
.weeed-ext-footer {
  margin-top: 22px;
  border-top: 1px solid var(--weeed-line);
  padding-top: 16px;
}
.weeed-ext-section { margin-bottom: 16px; }
.weeed-ext-section h4 {
  margin: 0 0 8px;
  color: var(--weeed-accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.weeed-promo-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.weeed-promo-list button {
  background: var(--weeed-bg-3);
  border: 1px solid var(--weeed-line);
  color: var(--weeed-ink);
  font-family: inherit;
  font-size: 12px;
  padding: 9px 8px;
  border-radius: var(--weeed-radius-sm);
  cursor: pointer;
}
.weeed-promo-list button:active { background: var(--weeed-primary); }

.weeed-directory { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 12px; }
.weeed-directory a { font-size: 12px; color: var(--weeed-muted); }
.weeed-directory a:active { color: var(--weeed-accent); }

.weeed-disclaimer {
  background: var(--weeed-bg-2);
  border: 1px dashed var(--weeed-line);
  border-radius: var(--weeed-radius-sm);
  padding: 10px;
  font-size: 11px;
  color: var(--weeed-muted);
  margin-top: 12px;
}

/* ===================== Bottom nav ===================== */
.weeed-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.weeed-bottom-inner {
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #181842 0%, #0f0f30 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  pointer-events: auto;
}
.weeed-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  color: var(--weeed-muted);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  position: relative;
  transition: color 0.15s ease;
}
.weeed-bottom-item svg { width: 22px; height: 22px; }
.weeed-bottom-item span { font-size: 10px; line-height: 1; }
.weeed-bottom-item:active { color: var(--weeed-accent); }
.weeed-bottom-current { color: var(--weeed-accent); }
.weeed-bottom-current::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--weeed-accent);
}
.weeed-bottom-promo {
  background: linear-gradient(135deg, var(--weeed-accent), #ff5e4d);
  color: #1A1A1A;
  border-radius: 14px;
  margin: 0 4px;
}
.weeed-bottom-promo span { color: #1A1A1A; font-weight: 700; }

/* ===================== Misc utilities ===================== */
.weeed-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Long-text fallback */
@media (min-width: 430px) {
  body { font-size: 16px; }
}
