/* ============================================================
 * bunny gaming - design.css
 * Mobile-first gaming website styles (max-width: 430px)
 * All classes use prefix: w8276-
 * Palette: #8A2BE2 | #E0E0E0 | #2C2C2C | #E6E6FA
 * ============================================================ */

:root {
  --w8276-primary: #8A2BE2;       /* Blue Violet - brand accent */
  --w8276-text: #E0E0E0;          /* Light gray - text color */
  --w8276-bg: #2C2C2C;            /* Dark - background */
  --w8276-lavender: #E6E6FA;      /* Lavender - soft highlight */
  --w8276-gold: #F2C14E;
  --w8276-bg-deep: #1d1d1d;
  --w8276-bg-card: #3a3a3a;
  --w8276-radius: 1.2rem;
  --w8276-shadow: 0 .4rem 1.2rem rgba(0,0,0,.35);
}

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

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--w8276-bg);
  color: var(--w8276-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

/* ------------------------------------------------------------
 * Layout helpers
 * ------------------------------------------------------------ */
.w8276-container { width: 100%; padding: 0 1.2rem; }
.w8276-wrapper { max-width: 430px; margin: 0 auto; padding: 0 1rem; }
.w8276-grid { display: flex; flex-wrap: wrap; gap: 1rem; }
.w8276-section { padding: 2rem 1rem; }
.w8276-section-alt { background: var(--w8276-bg-deep); }

/* ------------------------------------------------------------
 * Header
 * ------------------------------------------------------------ */
.w8276-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--w8276-bg-deep) 0%, var(--w8276-primary) 200%);
  border-bottom: .2rem solid var(--w8276-primary);
  box-shadow: var(--w8276-shadow);
}
.w8276-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  min-height: 5.2rem;
}
.w8276-brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; color: var(--w8276-text);
  font-size: 1.6rem;
}
.w8276-brand img { width: 2.8rem; height: 2.8rem; border-radius: .6rem; }
.w8276-brand .w8276-brand-accent { color: var(--w8276-primary); }

.w8276-header-actions { display: flex; align-items: center; gap: .6rem; }
.w8276-menu-btn {
  background: transparent; border: none; color: var(--w8276-text);
  font-size: 1.8rem; cursor: pointer; padding: .4rem .6rem;
  min-width: 44px; min-height: 44px;
}

/* ------------------------------------------------------------
 * Buttons
 * ------------------------------------------------------------ */
.w8276-btn {
  display: inline-block;
  padding: .8rem 1.4rem;
  border-radius: var(--w8276-radius);
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  border: none;
  min-height: 44px;
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: center;
}
.w8276-btn:hover { transform: translateY(-1px); }
.w8276-btn-primary {
  background: linear-gradient(90deg, var(--w8276-primary), #b455ff);
  color: #fff;
  box-shadow: 0 .3rem .8rem rgba(138,43,226,.45);
}
.w8276-btn-outline {
  background: transparent;
  color: var(--w8276-lavender);
  border: .15rem solid var(--w8276-primary);
}
.w8276-btn-gold {
  background: linear-gradient(90deg, var(--w8276-gold), #ff8a3d);
  color: #2C2C2C;
}
.w8276-btn-block { display: block; width: 100%; }
.w8276-link-text {
  color: var(--w8276-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ------------------------------------------------------------
 * Mobile dropdown menu
 * ------------------------------------------------------------ */
.w8276-mobile-menu {
  position: fixed;
  top: 5.2rem; left: 0; right: 0;
  background: var(--w8276-bg-deep);
  border-bottom: .2rem solid var(--w8276-primary);
  z-index: 9999;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.w8276-mobile-menu.w8276-menu-open { max-height: 60rem; }
.w8276-mobile-menu ul { list-style: none; padding: .6rem 1rem; }
.w8276-mobile-menu li { border-bottom: .1rem solid rgba(255,255,255,.06); }
.w8276-mobile-menu a {
  display: block;
  padding: 1rem .4rem;
  color: var(--w8276-text);
  font-size: 1.4rem;
  min-height: 44px;
}

/* ------------------------------------------------------------
 * Carousel
 * ------------------------------------------------------------ */
.w8276-carousel {
  position: relative;
  margin-top: 5.2rem;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 1.5rem 1.5rem;
}
.w8276-slide {
  display: none;
  position: relative;
}
.w8276-slide.w8276-slide-active { display: block; }
.w8276-slide img { width: 100%; height: 18rem; object-fit: cover; }
.w8276-slide-caption {
  position: absolute;
  left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(44,44,44,.7);
  padding: .8rem 1rem;
  border-radius: 1rem;
}
.w8276-slide-caption h2 { color: var(--w8276-lavender); font-size: 1.5rem; }
.w8276-slide-caption p { color: var(--w8276-text); font-size: 1.2rem; margin-top: .3rem; }

/* ------------------------------------------------------------
 * Headings
 * ------------------------------------------------------------ */
.w8276-h1 {
  font-size: 2rem; line-height: 2.4rem;
  color: var(--w8276-lavender);
  padding: 1.5rem 0 .5rem;
}
.w8276-h1 span { color: var(--w8276-primary); }
.w8276-h2 {
  font-size: 1.7rem; line-height: 2.2rem;
  color: var(--w8276-lavender);
  margin: 1.8rem 0 .8rem;
  border-left: .4rem solid var(--w8276-primary);
  padding-left: .8rem;
}
.w8276-h3 {
  font-size: 1.5rem; color: var(--w8276-text);
  margin: 1.2rem 0 .5rem;
}
.w8276-lead { color: var(--w8276-text); font-size: 1.35rem; margin-bottom: 1rem; }

/* ------------------------------------------------------------
 * Card
 * ------------------------------------------------------------ */
.w8276-card {
  background: var(--w8276-bg-card);
  border-radius: var(--w8276-radius);
  padding: 1.2rem;
  box-shadow: var(--w8276-shadow);
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------
 * Game grid (compact)
 * ------------------------------------------------------------ */
.w8276-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .6rem;
  margin: .8rem 0;
}
.w8276-game-item {
  text-align: center;
  background: var(--w8276-bg-card);
  border-radius: .8rem;
  padding: .5rem;
  transition: transform .15s ease;
}
.w8276-game-item:hover { transform: translateY(-2px); }
.w8276-game-item img {
  width: 100%; height: 5.5rem; object-fit: cover; border-radius: .6rem;
}
.w8276-game-name {
  display: block;
  font-size: 1rem;
  color: var(--w8276-text);
  margin-top: .3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ------------------------------------------------------------
 * Category badge
 * ------------------------------------------------------------ */
.w8276-cat-label {
  display: inline-block;
  background: var(--w8276-primary);
  color: #fff;
  font-size: 1.1rem;
  padding: .3rem .8rem;
  border-radius: 1rem;
  margin: 1rem 0 .4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05rem;
}

/* ------------------------------------------------------------
 * Feature / list
 * ------------------------------------------------------------ */
.w8276-feature-list { list-style: none; padding-left: 0; }
.w8276-feature-list li {
  padding: .6rem 0 .6rem 2.4rem;
  position: relative;
  font-size: 1.3rem;
  border-bottom: .1rem dashed rgba(255,255,255,.08);
}
.w8276-feature-list li:before {
  content: "\f005"; /* font awesome star */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: .4rem; top: .6rem;
  color: var(--w8276-gold);
}

/* ------------------------------------------------------------
 * FAQ
 * ------------------------------------------------------------ */
.w8276-faq-item {
  background: var(--w8276-bg-card);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: .8rem;
}
.w8276-faq-q { font-weight: 700; color: var(--w8276-lavender); font-size: 1.35rem; }
.w8276-faq-a { color: var(--w8276-text); font-size: 1.25rem; margin-top: .4rem; }

/* ------------------------------------------------------------
 * Testimonial / winner
 * ------------------------------------------------------------ */
.w8276-testi {
  background: var(--w8276-bg-card);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: .8rem;
  border-left: .3rem solid var(--w8276-gold);
}
.w8276-testi b { color: var(--w8276-lavender); }

/* ------------------------------------------------------------
 * Payment badges
 * ------------------------------------------------------------ */
.w8276-pay-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.w8276-pay-badge {
  background: var(--w8276-bg-deep);
  border: .15rem solid var(--w8276-primary);
  color: var(--w8276-text);
  padding: .6rem 1rem;
  border-radius: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

/* ------------------------------------------------------------
 * Stats row
 * ------------------------------------------------------------ */
.w8276-stats { display: flex; gap: .8rem; flex-wrap: wrap; }
.w8276-stat {
  flex: 1 1 30%;
  background: var(--w8276-bg-card);
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}
.w8276-stat .w8276-stat-num {
  display: block;
  color: var(--w8276-primary);
  font-size: 1.8rem;
  font-weight: 800;
}
.w8276-stat .w8276-stat-label { font-size: 1.1rem; color: var(--w8276-text); }

/* ------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------ */
.w8276-footer {
  background: var(--w8276-bg-deep);
  padding: 2rem 1rem 9rem;
  border-top: .3rem solid var(--w8276-primary);
}
.w8276-footer p { color: var(--w8276-text); font-size: 1.2rem; margin-bottom: .8rem; }
.w8276-footer-links {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: .8rem 0;
}
.w8276-footer-links a {
  background: var(--w8276-bg-card);
  padding: .5rem .9rem;
  border-radius: .8rem;
  font-size: 1.15rem;
  color: var(--w8276-lavender);
}
.w8276-footer-copy {
  color: rgba(255,255,255,.5);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* ------------------------------------------------------------
 * Bottom navigation (mobile)
 * ------------------------------------------------------------ */
.w8276-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  height: 6rem;
  background: linear-gradient(180deg, var(--w8276-bg-deep), #000);
  border-top: .2rem solid var(--w8276-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -.3rem .8rem rgba(0,0,0,.4);
}
.w8276-bottomnav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--w8276-text);
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s ease, color .15s ease;
  text-decoration: none;
  padding: .3rem;
}
.w8276-bottomnav-btn:active { transform: scale(.92); }
.w8276-bottomnav-btn i,
.w8276-bottomnav-btn span.material-icons-outlined,
.w8276-bottomnav-btn ion-icon {
  font-size: 2.4rem;
  margin-bottom: .2rem;
  color: var(--w8276-lavender);
}
.w8276-bottomnav-btn span:not(.material-icons-outlined) {
  font-size: 1rem;
  color: var(--w8276-text);
}
.w8276-bottomnav-btn.w8276-bottomnav-active i,
.w8276-bottomnav-btn.w8276-bottomnav-active span,
.w8276-bottomnav-btn.w8276-bottomnav-active ion-icon {
  color: var(--w8276-primary);
}
.w8276-bottomnav-btn.w8276-bottomnav-active {
  transform: translateY(-.2rem);
}

/* Desktop: hide bottom nav, show wider header */
@media (min-width: 769px) {
  .w8276-bottomnav { display: none; }
  body { max-width: 430px; }
  .w8276-footer { padding-bottom: 2rem; }
}

/* ------------------------------------------------------------
 * Mobile breakpoint - ensure no overflow on small screens
 * ------------------------------------------------------------ */
@media (max-width: 430px) {
  body { font-size: 1.35rem; }
  .w8276-game-grid { grid-template-columns: repeat(4, 1fr); gap: .5rem; }
  .w8276-game-item img { height: 5rem; }
  .w8276-slide img { height: 16rem; }
  .w8276-h1 { font-size: 1.8rem; }
  main { padding-bottom: 80px; }
}

@media (max-width: 360px) {
  .w8276-game-grid { grid-template-columns: repeat(3, 1fr); }
  .w8276-game-item img { height: 4.5rem; }
  .w8276-bottomnav-btn { min-width: 50px; }
}

/* Desktop padding for main */
main { padding-bottom: 80px; }
