/* ============================================================
   bigbunnyapk.homes - Core stylesheet
   Prefix: w1238-
   Palette: #141414 / #FF5722 / #FF1493 / #FFB6C1 / #FFB3FF
   Mobile-first (max 430px), rem root 62.5%
   ============================================================ */

:root {
  --w1238-bg:        #141414;
  --w1238-bg-2:      #1e1a1f;
  --w1238-bg-3:      #2a232e;
  --w1238-orange:    #FF5722;
  --w1238-pink:      #FF1493;
  --w1238-rose:      #FFB6C1;
  --w1238-lilac:     #FFB3FF;
  --w1238-text:      #ffffff;
  --w1238-muted:     #c9bfc9;
  --w1238-line:      rgba(255, 182, 193, 0.14);
  --w1238-glow:      0 0 18px rgba(255, 20, 147, 0.45);
  --w1238-grad:      linear-gradient(135deg, #FF5722 0%, #FF1493 100%);
  --w1238-grad-soft: linear-gradient(135deg, #FFB3FF 0%, #FFB6C1 100%);
  --w1238-radius:    1.4rem;
}

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

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

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

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

/* ===== Header ===== */
.w1238-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(20,20,20,0.98) 0%, rgba(20,20,20,0.88) 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--w1238-line);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.w1238-brand { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.w1238-logo {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--w1238-grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: var(--w1238-glow);
}
.w1238-brand-name {
  font-size: 1.65rem; font-weight: 800; letter-spacing: 0.3px;
  background: var(--w1238-grad-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.w1238-brand-sub { display: block; font-size: 1rem; color: var(--w1238-muted); font-weight: 400; }

.w1238-head-actions { display: flex; align-items: center; gap: 0.6rem; }
.w1238-icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--w1238-bg-3); border: 1px solid var(--w1238-line);
  color: var(--w1238-rose); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; cursor: pointer;
}
.w1238-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem; border-radius: 999px; font-weight: 700;
  font-size: 1.4rem; border: none; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.w1238-btn:hover { transform: translateY(-1px); }
.w1238-btn-login { background: var(--w1238-bg-3); color: var(--w1238-text); border: 1px solid var(--w1238-line); }
.w1238-btn-register { background: var(--w1238-grad); color: #fff; box-shadow: var(--w1238-glow); }

/* ===== Mobile menu ===== */
.w1238-menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
}
.w1238-menu-backdrop.w1238-active { opacity: 1; visibility: visible; }
.w1238-side-menu {
  position: fixed; top: 0; right: -85%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--w1238-bg-2); z-index: 9999; padding: 2rem 1.5rem;
  transform: translateX(0); transition: right 0.3s ease;
  overflow-y: auto; border-left: 1px solid var(--w1238-line);
}
.w1238-side-menu.w1238-active { right: 0; }
.w1238-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.8rem; }
.w1238-menu-head h3 { font-size: 1.8rem; color: var(--w1238-lilac); }
.w1238-menu-close { font-size: 2.2rem; color: var(--w1238-rose); cursor: pointer; background: none; border: none; }
.w1238-menu-list { list-style: none; }
.w1238-menu-list li { border-bottom: 1px solid var(--w1238-line); }
.w1238-menu-list a {
  display: flex; align-items: center; gap: 1rem; padding: 1.3rem 0.5rem;
  color: var(--w1238-text); font-size: 1.5rem; font-weight: 600;
}
.w1238-menu-list a i { color: var(--w1238-orange); font-size: 1.7rem; width: 22px; }
.w1238-menu-cta { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }

/* ===== Hero / Carousel ===== */
.w1238-hero {
  position: relative; padding: 1.5rem 1.2rem 0.5rem;
}
.w1238-carousel { position: relative; border-radius: var(--w1238-radius); overflow: hidden; }
.w1238-slides { display: flex; transition: transform 0.5s ease; }
.w1238-slide {
  min-width: 100%; padding: 2.4rem 2rem; min-height: 200px;
  display: flex; flex-direction: column; justify-content: center; gap: 1rem;
  position: relative; overflow: hidden;
}
.w1238-slide-1 { background: linear-gradient(135deg, #FF5722 0%, #FF1493 100%); }
.w1238-slide-2 { background: linear-gradient(135deg, #FF1493 0%, #6b1d57 100%); }
.w1238-slide-3 { background: linear-gradient(135deg, #FFB3FF 0%, #FF5722 100%); }
.w1238-slide-tag { font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: 1px; }
.w1238-slide h2 { font-size: 2.4rem; line-height: 1.15; color: #fff; font-weight: 800; }
.w1238-slide p { font-size: 1.35rem; color: rgba(255,255,255,0.92); }
.w1238-slide .w1238-btn { background: #fff; color: #FF1493; align-self: flex-start; margin-top: 0.5rem; }
.w1238-dots { display: flex; justify-content: center; gap: 0.6rem; padding: 1.2rem 0; }
.w1238-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--w1238-bg-3); cursor: pointer; transition: all 0.25s; }
.w1238-dot.w1238-active { background: var(--w1238-orange); width: 22px; border-radius: 4px; }

/* ===== Marquee ===== */
.w1238-marquee {
  background: var(--w1238-bg-2); margin: 0.8rem 0; padding: 0.9rem 0;
  overflow: hidden; white-space: nowrap; border-top: 1px solid var(--w1238-line);
  border-bottom: 1px solid var(--w1238-line);
}
.w1238-marquee span {
  display: inline-block; padding-left: 100%;
  font-size: 1.3rem; color: var(--w1238-lilac); font-weight: 600;
  animation: w1238scroll 22s linear infinite;
}
@keyframes w1238scroll { to { transform: translateX(-100%); } }

/* ===== Section ===== */
.w1238-section { padding: 1.6rem 1.2rem; }
.w1238-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem;
}
.w1238-section-title {
  font-size: 1.85rem; font-weight: 800; display: flex; align-items: center; gap: 0.7rem;
}
.w1238-section-title i { color: var(--w1238-orange); font-size: 2rem; }
.w1238-section-more { font-size: 1.25rem; color: var(--w1238-rose); font-weight: 600; }

/* ===== Game grid ===== */
.w1238-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
}
.w1238-card {
  background: var(--w1238-bg-2); border-radius: 1rem; overflow: hidden;
  border: 1px solid var(--w1238-line); transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.w1238-card:active { transform: scale(0.96); }
.w1238-card-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--w1238-bg-3);
}
.w1238-card-body { padding: 0.6rem 0.7rem 0.8rem; }
.w1238-card-name {
  font-size: 1.15rem; font-weight: 700; color: var(--w1238-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.w1238-card-tag {
  font-size: 1rem; color: var(--w1238-muted); text-transform: capitalize;
}
.w1238-card-hot {
  position: absolute; top: 6px; left: 6px;
  background: var(--w1238-grad); color: #fff; font-size: 0.95rem; font-weight: 700;
  padding: 0.15rem 0.55rem; border-radius: 999px;
}
.w1238-card-play {
  position: absolute; inset: 0; background: rgba(20,20,20,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.w1238-card:hover .w1238-card-play { opacity: 1; }
.w1238-card-play i { font-size: 3rem; color: var(--w1238-lilac); }

/* Category filter */
.w1238-filters {
  display: flex; gap: 0.6rem; overflow-x: auto; padding-bottom: 0.6rem;
  margin-bottom: 0.4rem; scrollbar-width: none;
}
.w1238-filters::-webkit-scrollbar { display: none; }
.w1238-chip {
  padding: 0.6rem 1.4rem; border-radius: 999px; background: var(--w1238-bg-2);
  border: 1px solid var(--w1238-line); color: var(--w1238-muted);
  font-size: 1.3rem; font-weight: 600; white-space: nowrap; cursor: pointer;
}
.w1238-chip.w1238-active { background: var(--w1238-grad); color: #fff; border-color: transparent; }

/* ===== Feature / promo cards ===== */
.w1238-promo-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
.w1238-promo-card {
  background: var(--w1238-bg-2); border-radius: var(--w1238-radius); padding: 1.5rem 1.2rem;
  border: 1px solid var(--w1238-line); text-align: center;
}
.w1238-promo-card i { font-size: 2.6rem; color: var(--w1238-orange); margin-bottom: 0.6rem; }
.w1238-promo-card h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.3rem; }
.w1238-promo-card p { font-size: 1.15rem; color: var(--w1238-muted); }

/* ===== SEO content ===== */
.w1238-seo { padding: 1.6rem 1.2rem; }
.w1238-seo h2 { font-size: 1.9rem; font-weight: 800; margin-bottom: 1rem; color: var(--w1238-lilac); }
.w1238-seo h3 { font-size: 1.55rem; font-weight: 700; margin: 1.4rem 0 0.7rem; color: var(--w1238-rose); }
.w1238-seo p { font-size: 1.35rem; color: var(--w1238-muted); margin-bottom: 1rem; line-height: 1.7; }
.w1238-seo ul { list-style: none; margin: 0.5rem 0 1.2rem; }
.w1238-seo li { padding-left: 1.8rem; position: relative; margin-bottom: 0.6rem; color: var(--w1238-muted); font-size: 1.3rem; line-height: 1.6; }
.w1238-seo li::before { content: "\f005"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--w1238-orange); position: absolute; left: 0; }

/* FAQ */
.w1238-faq-item {
  background: var(--w1238-bg-2); border: 1px solid var(--w1238-line);
  border-radius: 1rem; margin-bottom: 0.9rem; overflow: hidden;
}
.w1238-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.3rem; font-size: 1.35rem; font-weight: 700; cursor: pointer;
}
.w1238-faq-q i { color: var(--w1238-orange); transition: transform 0.25s; }
.w1238-faq-item.w1238-active .w1238-faq-q i { transform: rotate(45deg); }
.w1238-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.3rem; }
.w1238-faq-item.w1238-active .w1238-faq-a { max-height: 400px; padding-bottom: 1.2rem; }
.w1238-faq-a p { font-size: 1.25rem; color: var(--w1238-muted); line-height: 1.6; }

/* CTA banner */
.w1238-cta {
  background: var(--w1238-grad); border-radius: var(--w1238-radius);
  padding: 2rem 1.5rem; text-align: center; margin: 1.5rem 1.2rem;
  box-shadow: var(--w1238-glow);
}
.w1238-cta h3 { font-size: 2rem; color: #fff; margin-bottom: 0.5rem; }
.w1238-cta p { font-size: 1.3rem; color: rgba(255,255,255,0.92); margin-bottom: 1.2rem; }
.w1238-cta .w1238-btn { background: #fff; color: #FF1493; font-size: 1.5rem; padding: 1rem 2.5rem; }

/* ===== Footer ===== */
.w1238-footer {
  background: var(--w1238-bg-2); padding: 2.4rem 1.2rem 6rem;
  border-top: 1px solid var(--w1238-line); margin-top: 1.5rem;
}
.w1238-footer h4 { font-size: 1.5rem; color: var(--w1238-lilac); margin-bottom: 0.9rem; }
.w1238-footer ul { list-style: none; margin-bottom: 1.6rem; }
.w1238-footer li { margin-bottom: 0.6rem; }
.w1238-footer a { font-size: 1.25rem; color: var(--w1238-muted); }
.w1238-footer a:hover { color: var(--w1238-orange); }
.w1238-footer-bottom {
  text-align: center; font-size: 1.1rem; color: var(--w1238-muted);
  border-top: 1px solid var(--w1238-line); padding-top: 1.4rem; margin-top: 0.5rem;
}
.w1238-pay-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.8rem 0 1.4rem; }
.w1238-pay-tag {
  background: var(--w1238-bg-3); padding: 0.45rem 0.9rem; border-radius: 0.6rem;
  font-size: 1.1rem; color: var(--w1238-rose); border: 1px solid var(--w1238-line);
}

/* ===== Bottom nav ===== */
.w1238-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 64px;
  background: linear-gradient(180deg, rgba(30,26,31,0.98) 0%, rgba(20,20,20,1) 100%);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--w1238-line);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 0 0.3rem;
}
.w1238-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px;
  background: none; border: none; color: var(--w1238-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; cursor: pointer; font-size: 1rem; font-weight: 600;
  position: relative; transition: color 0.2s;
}
.w1238-nav-btn i { font-size: 2.2rem; }
.w1238-nav-btn .material-icons-outlined,
.w1238-nav-btn .bi { font-size: 2.1rem; }
.w1238-nav-btn.w1238-active { color: var(--w1238-orange); }
.w1238-nav-btn.w1238-active::before {
  content: ""; position: absolute; top: 0; width: 32px; height: 3px;
  background: var(--w1238-grad); border-radius: 0 0 4px 4px;
}
.w1238-nav-btn:hover { color: var(--w1238-rose); }

/* Floating menu FAB */
.w1238-fab {
  position: fixed; bottom: 78px; right: 16px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--w1238-grad); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; cursor: pointer; z-index: 1001;
  box-shadow: var(--w1238-glow);
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  body { max-width: 100%; }
  .w1238-bottom-nav, .w1238-fab { display: none; }
  .w1238-grid { grid-template-columns: repeat(6, 1fr); }
  .w1238-promo-row { grid-template-columns: repeat(4,1fr); }
  .w1238-header { padding: 1rem 3rem; }
  .w1238-section, .w1238-hero, .w1238-seo, .w1238-footer { padding-left: 3rem; padding-right: 3rem; }
  .w1238-footer { padding-bottom: 3rem; }
}
@media (max-width: 768px) {
  .w1238-main { padding-bottom: 80px; }
}
