/* ============================================================
   Big Bunny Casino - shared stylesheet
   Mobile-first canvas for 320-430px viewports.
   All custom classes and CSS variables use the w2021- prefix.
   Palette: #E91E63 | #A9A9A9 | #FFB3BA | #2E4057 | #880E4F
   ============================================================ */

:root {
  --w2021-pink: #E91E63;
  --w2021-grey: #A9A9A9;
  --w2021-soft: #FFB3BA;
  --w2021-deep: #2E4057;
  --w2021-plum: #880E4F;
  --w2021-bg: #2E4057;
  --w2021-bg-2: #243648;
  --w2021-card: #2c4458;
  --w2021-text: #ffeef0;
  --w2021-muted: #c8d2da;
  --w2021-line: rgba(255, 179, 186, 0.18);
  --w2021-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --w2021-radius: 14px;
  --w2021-tap: 44px;
  --w2021-max: 480px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--w2021-bg);
  color: var(--w2021-text);
  font-family: "Segoe UI", "Helvetica Neue", Roboto, system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body {
  max-width: var(--w2021-max);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(233, 30, 99, 0.25), transparent 60%),
    linear-gradient(180deg, var(--w2021-bg) 0%, var(--w2021-bg-2) 100%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }

a { color: var(--w2021-soft); text-decoration: none; }
a:focus-visible { outline: 2px solid var(--w2021-soft); outline-offset: 2px; }

.w2021-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); overflow: hidden;
}

/* ---------- Header (edge-aligned functional band) ---------- */
.w2021-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(90deg, var(--w2021-plum) 0%, #6f0a3e 60%, var(--w2021-deep) 100%);
  border-bottom: 2px solid var(--w2021-pink);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

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

.w2021-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #ffd6dc 40%, var(--w2021-soft) 100%);
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
  object-fit: contain;
}

.w2021-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.w2021-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w2021-brand-tag {
  font-size: 10px;
  color: var(--w2021-soft);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.w2021-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.w2021-btn {
  min-height: var(--w2021-tap);
  min-width: var(--w2021-tap);
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

.w2021-btn-login {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.w2021-btn-register {
  background: linear-gradient(135deg, var(--w2021-pink) 0%, #ff4d85 100%);
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.45);
}

.w2021-btn:active { transform: translateY(-2px); }

.w2021-menu-btn {
  min-height: var(--w2021-tap);
  min-width: var(--w2021-tap);
  padding: 0 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
}

.w2021-menu-btn-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.w2021-menu-btn-icon span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- Expandable menu panel (compact route panel) ---------- */
.w2021-menu-panel {
  position: absolute;
  top: 56px;
  left: 12px;
  right: 12px;
  z-index: 55;
  background: var(--w2021-card);
  border: 1px solid var(--w2021-line);
  border-radius: var(--w2021-radius);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  box-shadow: var(--w2021-shadow);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.w2021-menu-panel.w2021-menu-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.w2021-menu-panel a {
  display: block;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--w2021-text);
  border-radius: 10px;
  border-left: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.w2021-menu-panel a:hover,
.w2021-menu-panel a:focus-visible {
  background: rgba(233, 30, 99, 0.16);
  border-left-color: var(--w2021-pink);
  transform: translateY(-1px);
}

.w2021-menu-title {
  grid-column: 1 / -1;
  font-size: 10px;
  color: var(--w2021-grey);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 6px;
}

/* ---------- Main wrapper ---------- */
.w2021-main {
  padding: 12px 12px 110px;
}

/* ---------- Hero carousel ---------- */
.w2021-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--w2021-shadow);
  margin-bottom: 16px;
  aspect-ratio: 16 / 9;
  background: #1a2735;
}

.w2021-hero-track {
  position: absolute;
  inset: 0;
}

.w2021-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  cursor: pointer;
}

.w2021-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w2021-hero-slide.w2021-hero-active { opacity: 1; }

.w2021-hero-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 28px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.w2021-hero-dots {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.w2021-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease, transform 0.2s ease;
}
.w2021-hero-dot.w2021-dot-active {
  background: var(--w2021-pink);
  transform: scale(1.3);
}

/* ---------- Section heading ---------- */
.w2021-section {
  margin: 18px 0 6px;
}

.w2021-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--w2021-line);
}

.w2021-section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--w2021-pink), var(--w2021-plum));
  border-radius: 2px;
}

.w2021-section-more {
  margin-left: auto;
  font-size: 11px;
  color: var(--w2021-soft);
  font-weight: 600;
}

/* ---------- Game grid ---------- */
.w2021-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (min-width: 360px) {
  .w2021-game-grid { gap: 10px; }
}

.w2021-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--w2021-line);
  border-radius: 12px;
  padding: 6px 4px;
  transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.w2021-game:hover,
.w2021-game:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(233, 30, 99, 0.25);
  border-color: rgba(233, 30, 99, 0.45);
}

.w2021-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  background: #1a2735;
}

.w2021-game-name {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.2;
  color: var(--w2021-text);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 26px;
}

/* ---------- Info / content cards ---------- */
.w2021-card {
  background: var(--w2021-card);
  border: 1px solid var(--w2021-line);
  border-radius: var(--w2021-radius);
  padding: 14px;
  margin: 10px 0;
  box-shadow: var(--w2021-shadow);
}

.w2021-card h2 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #fff;
}

.w2021-card h3 {
  margin: 12px 0 4px;
  font-size: 13px;
  color: var(--w2021-soft);
}

.w2021-card p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--w2021-muted);
}

.w2021-card ul {
  margin: 0 0 10px;
  padding-left: 18px;
  color: var(--w2021-muted);
  font-size: 13px;
  line-height: 1.6;
}

.w2021-card li { margin-bottom: 4px; }

.w2021-card a {
  color: var(--w2021-pink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.w2021-card a:hover { color: var(--w2021-soft); }

/* ---------- FAQ ---------- */
.w2021-faq-item {
  border-bottom: 1px solid var(--w2021-line);
  padding: 8px 0;
}
.w2021-faq-item:last-child { border-bottom: none; }
.w2021-faq-q {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.w2021-faq-a {
  font-size: 12px;
  color: var(--w2021-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Feature grid (compact groups) ---------- */
.w2021-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.w2021-feature {
  background: rgba(233, 30, 99, 0.08);
  border: 1px solid var(--w2021-line);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  transition: transform 0.12s ease;
}
.w2021-feature:active { transform: translateY(-2px); }

.w2021-feature-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.w2021-feature-title {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.w2021-feature-text {
  font-size: 11px;
  color: var(--w2021-muted);
  margin-top: 3px;
  line-height: 1.4;
}

/* ---------- Promo entry strip ---------- */
.w2021-promo-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0;
}

.w2021-promo-card {
  background: linear-gradient(135deg, var(--w2021-plum) 0%, var(--w2021-pink) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  color: #fff;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}
.w2021-promo-card:active { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(233, 30, 99, 0.35); }

.w2021-promo-title {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
}
.w2021-promo-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Extended footer ---------- */
.w2021-extended-footer {
  margin-top: 24px;
  padding: 16px 0 8px;
  border-top: 1px solid var(--w2021-line);
}

.w2021-ef-block { margin-bottom: 16px; }

.w2021-ef-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--w2021-soft);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.w2021-ef-text {
  font-size: 12px;
  color: var(--w2021-muted);
  line-height: 1.55;
  margin: 0;
}

.w2021-ef-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.w2021-ef-links a {
  font-size: 11.5px;
  color: var(--w2021-text);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.w2021-ef-links a:hover {
  color: var(--w2021-pink);
  padding-left: 4px;
}

.w2021-disclaimer {
  font-size: 10.5px;
  color: var(--w2021-grey);
  line-height: 1.5;
  padding: 10px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  border-left: 3px solid var(--w2021-plum);
}

/* ---------- Footer copyright ---------- */
.w2021-footer-copy {
  text-align: center;
  font-size: 10.5px;
  color: var(--w2021-grey);
  padding: 8px 0 4px;
  letter-spacing: 0.5px;
}

/* ---------- Bottom navigation (brand-accent band) ---------- */
.w2021-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--w2021-max);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  background: linear-gradient(180deg, rgba(46, 64, 87, 0.96) 0%, #1a2735 100%);
  border-top: 2px solid var(--w2021-pink);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.4);
  padding: 4px 2px calc(env(safe-area-inset-bottom, 0px) + 4px);
}

.w2021-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  min-height: 56px;
  background: transparent;
  border: none;
  color: var(--w2021-muted);
  font-size: 9.5px;
  letter-spacing: 0.3px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: transform 0.14s ease, color 0.18s ease;
}

.w2021-bottom-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.w2021-bottom-item.w2021-bottom-current {
  color: #fff;
}
.w2021-bottom-item.w2021-bottom-current::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--w2021-pink), var(--w2021-soft));
}
.w2021-bottom-item.w2021-bottom-current .w2021-bottom-label {
  color: var(--w2021-soft);
  font-weight: 800;
}

.w2021-bottom-item:hover,
.w2021-bottom-item:focus-visible {
  color: #fff;
  transform: translateY(-3px);
}

.w2021-bottom-item.w2021-bottom-promo {
  color: var(--w2021-soft);
}
.w2021-bottom-item.w2021-bottom-promo svg {
  stroke: var(--w2021-pink);
  stroke-width: 2;
}

.w2021-bottom-label {
  font-size: 9.5px;
  text-align: center;
  line-height: 1;
}

/* Hide bottom nav outside the mobile canvas. */
@media (min-width: 481px) {
  .w2021-bottom-nav { display: grid; }
}

/* ---------- Utility ---------- */
.w2021-spacer-12 { height: 12px; }
.w2021-spacer-20 { height: 20px; }

.w2021-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--w2021-pink);
  background: rgba(233, 30, 99, 0.12);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.w2021-h1 {
  font-size: 22px;
  line-height: 1.25;
  margin: 8px 0 4px;
  color: #fff;
}

.w2021-lead {
  font-size: 13px;
  color: var(--w2021-muted);
  line-height: 1.6;
  margin: 0 0 8px;
}
