/*!
 * ll99.click theme stylesheet (mobile-first)
 * Class prefix     : w0bf8-
 * CSS variables    : --w0bf8-*
 * Color palette    : #141414 / #CD853F / #FF1493 / #CD5C5C
 * Comments in English per project convention.
 */

:root {
  --w0bf8-bg:        #141414;
  --w0bf8-bg-soft:   #1f1a17;
  --w0bf8-surface:   #261d18;
  --w0bf8-primary:   #CD853F;   /* gold accent */
  --w0bf8-accent:    #FF1493;   /* deep pink */
  --w0bf8-danger:    #CD5C5C;   /* indian red */
  --w0bf8-text:      #fff6ec;
  --w0bf8-text-mute: #b7a394;
  --w0bf8-border:    rgba(205, 133, 63, .25);
  --w0bf8-shadow:    0 8px 22px rgba(0, 0, 0, .35);
  --w0bf8-radius:    14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, system-ui, sans-serif;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 20, 147, .15), transparent 60%),
    radial-gradient(120% 60% at 100% 100%, rgba(205, 133, 63, .12), transparent 60%),
    var(--w0bf8-bg);
  color: var(--w0bf8-text);
  line-height: 1.5rem;
  font-size: 1.6rem;
  overflow-x: hidden;
}

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

/* ----- Layout primitives ----- */
.w0bf8-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
}

.w0bf8-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 64px 12px 96px;
}

.w0bf8-section { margin: 28px 0; }

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

.w0bf8-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ----- Header / top nav ----- */
.w0bf8-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20, 20, 20, .96), rgba(20, 20, 20, .82));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--w0bf8-border);
}

.w0bf8-header-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.w0bf8-brand img { width: 28px; height: 28px; border-radius: 6px; }

.w0bf8-brand-name {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--w0bf8-text);
  letter-spacing: .3px;
}
.w0bf8-brand-name b { color: var(--w0bf8-primary); }

.w0bf8-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 0; border-radius: 999px;
  font-weight: 700;
  font-size: 1.35rem;
  color: #1a0f08;
  cursor: pointer;
  background: linear-gradient(135deg, var(--w0bf8-primary), #f0b574);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 4px 12px rgba(205, 133, 63, .35);
}
.w0bf8-btn:hover { color: #1a0f08; transform: translateY(-1px); }
.w0bf8-btn:active { transform: scale(.96); }

.w0bf8-btn-ghost {
  background: transparent;
  color: var(--w0bf8-text);
  border: 1px solid var(--w0bf8-border);
  box-shadow: none;
}
.w0bf8-btn-ghost:hover { color: var(--w0bf8-accent); border-color: var(--w0bf8-accent); }

.w0bf8-btn-pink {
  background: linear-gradient(135deg, var(--w0bf8-accent), #ff5fb0);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 20, 147, .35);
}
.w0bf8-btn-pink:hover { color: #fff; }

.w0bf8-icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  color: var(--w0bf8-text);
  border: 1px solid var(--w0bf8-border);
  cursor: pointer;
}
.w0bf8-icon-btn:hover { color: var(--w0bf8-accent); }

/* ----- Mobile slide-down menu ----- */
.w0bf8-mobile-menu {
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
  background: var(--w0bf8-bg-soft);
  border-bottom: 1px solid var(--w0bf8-border);
  padding: 8px 12px 14px;
  transform: translateY(-130%);
  transition: transform .28s ease;
  box-shadow: var(--w0bf8-shadow);
}
.w0bf8-mobile-menu.w0bf8-menu-open { transform: translateY(0); }

.w0bf8-mobile-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--w0bf8-text);
  border-bottom: 1px dashed var(--w0bf8-border);
  font-size: 1.45rem;
}
.w0bf8-mobile-menu a:hover { background: rgba(205, 133, 63, .12); color: var(--w0bf8-primary); }

/* ----- Carousel ----- */
.w0bf8-carousel {
  position: relative;
  border-radius: var(--w0bf8-radius);
  overflow: hidden;
  box-shadow: var(--w0bf8-shadow);
  margin: 12px 0 4px;
}
.w0bf8-carousel-track {
  display: flex;
  transition: transform .45s ease;
}
.w0bf8-carousel-track a {
  flex: 0 0 100%;
  display: block;
}
.w0bf8-carousel-track img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.w0bf8-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
}
.w0bf8-dots [data-w0bf8-dot] {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  border: 0; cursor: pointer; padding: 0;
}
.w0bf8-dot-active { background: var(--w0bf8-accent) !important; width: 20px !important; border-radius: 6px !important; }

/* ----- Hero / titles ----- */
.w0bf8-hero {
  text-align: center;
  padding: 18px 6px 8px;
}
.w0bf8-hero h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 0 0 8px;
  background: linear-gradient(90deg, var(--w0bf8-primary), var(--w0bf8-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.w0bf8-hero p { color: var(--w0bf8-text-mute); margin: 0 0 12px; font-size: 1.4rem; }

.w0bf8-h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin: 22px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.w0bf8-h2::before {
  content: ""; width: 5px; height: 20px; border-radius: 3px;
  background: linear-gradient(180deg, var(--w0bf8-primary), var(--w0bf8-accent));
}
.w0bf8-h3 { font-size: 1.6rem; margin: 14px 0 6px; color: var(--w0bf8-primary); }

/* ----- Game cards ----- */
.w0bf8-card {
  background: var(--w0bf8-surface);
  border: 1px solid var(--w0bf8-border);
  border-radius: var(--w0bf8-radius);
  padding: 10px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.w0bf8-card:hover {
  transform: translateY(-2px);
  border-color: var(--w0bf8-accent);
  box-shadow: var(--w0bf8-shadow);
}
.w0bf8-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 6px;
}
.w0bf8-card-name {
  font-size: 1.15rem;
  color: var(--w0bf8-text);
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ----- Category chip row ----- */
.w0bf8-cats {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 12px;
}
.w0bf8-cat {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(205, 133, 63, .12);
  color: var(--w0bf8-primary);
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid var(--w0bf8-border);
}

/* ----- Info / feature blocks ----- */
.w0bf8-panel {
  background: var(--w0bf8-bg-soft);
  border: 1px solid var(--w0bf8-border);
  border-radius: var(--w0bf8-radius);
  padding: 14px;
  margin: 10px 0;
}
.w0bf8-panel p { margin: 6px 0; color: var(--w0bf8-text-mute); }
.w0bf8-panel strong { color: var(--w0bf8-primary); }

.w0bf8-features { display: grid; gap: 10px; }
.w0bf8-feature {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--w0bf8-surface);
  border-radius: 12px; padding: 12px;
  border-left: 3px solid var(--w0bf8-primary);
}
.w0bf8-feature .material-icons,
.w0bf8-feature i { font-size: 26px; color: var(--w0bf8-accent); }

.w0bf8-list { padding-left: 18px; margin: 8px 0; color: var(--w0bf8-text-mute); }
.w0bf8-list li { margin: 4px 0; }

/* ----- Testimonials ----- */
.w0bf8-testi {
  background: var(--w0bf8-surface);
  border-radius: 12px;
  padding: 12px;
  margin: 8px 0;
  border-top: 3px solid var(--w0bf8-accent);
}
.w0bf8-testi b { color: var(--w0bf8-primary); }
.w0bf8-stars { color: #ffd166; letter-spacing: 2px; }

/* ----- Payment / app CTA ----- */
.w0bf8-pay { display: flex; flex-wrap: wrap; gap: 8px; }
.w0bf8-pay span {
  padding: 8px 12px; border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--w0bf8-border);
  font-size: 1.25rem;
}

.w0bf8-cta {
  display: block;
  text-align: center;
  margin: 14px 0;
  padding: 14px;
  border-radius: var(--w0bf8-radius);
  background: linear-gradient(135deg, var(--w0bf8-accent), var(--w0bf8-primary));
  color: #fff; font-weight: 800; font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(255, 20, 147, .35);
}
.w0bf8-cta:hover { color: #fff; opacity: .94; }

/* ----- Footer ----- */
.w0bf8-footer {
  background: var(--w0bf8-bg-soft);
  border-top: 1px solid var(--w0bf8-border);
  padding: 20px 12px 14px;
  margin-top: 24px;
  color: var(--w0bf8-text-mute);
  font-size: 1.25rem;
}
.w0bf8-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0;
}
.w0bf8-footer-links a {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--w0bf8-border);
  color: var(--w0bf8-text);
  font-size: 1.2rem;
}
.w0bf8-footer-links a:hover { color: var(--w0bf8-accent); border-color: var(--w0bf8-accent); }
.w0bf8-copy { text-align: center; padding: 10px 0 4px; font-size: 1.15rem; opacity: .7; }

/* ----- Bottom mobile nav ----- */
.w0bf8-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, rgba(31, 26, 23, .98), rgba(20, 20, 20, .99));
  border-top: 1px solid var(--w0bf8-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, .35);
}
.w0bf8-bottomnav a {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  color: var(--w0bf8-text-mute);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color .15s ease, transform .15s ease;
  min-width: 60px; min-height: 60px;
}
.w0bf8-bottomnav a i,
.w0bf8-bottomnav a .material-icons,
.w0bf8-bottomnav a ion-icon { font-size: 24px; }
.w0bf8-bottomnav a:hover { color: var(--w0bf8-accent); }
.w0bf8-bottomnav a:active { transform: scale(.92); }
.w0bf8-bottomnav .w0bf8-nav-promo { color: var(--w0bf8-primary); }
.w0bf8-bottomnav .w0bf8-nav-active { color: var(--w0bf8-accent); }
.w0bf8-nav-badge {
  position: absolute; top: 8px; transform: translateX(14px);
  background: var(--w0bf8-accent); color: #fff;
  font-size: .9rem; padding: 1px 6px; border-radius: 999px;
  font-weight: 700;
}

/* ----- Reveal animation ----- */
.w0bf8-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.w0bf8-reveal.w0bf8-visible { opacity: 1; transform: translateY(0); }

/* ----- Desktop: hide bottom nav, widen container ----- */
@media (min-width: 769px) {
  .w0bf8-bottomnav { display: none; }
  .w0bf8-container { padding-top: 80px; }
  .w0bf8-wrapper { max-width: 430px; }
}

@media (max-width: 768px) {
  main, .w0bf8-container { padding-bottom: 90px; }
}
