/**
 * Stable, non-hashed brand stylesheet.
 * Loaded from /brand.css so the home page never falls back to raw browser
 * styles if the hashed Next.js CSS chunk fails (mobile caches, stale deploys).
 */
html {
  background-color: #0a1428 !important;
  color-scheme: dark;
}

/* Screen-reader only — without Tailwind this was showing a giant white H1 */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #0a1428 !important;
  color: #ffffff !important;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #ffd700;
}

/* Gold-filled controls (auth tabs, CTAs) need dark text — global `a` gold would hide it. */
a.bolovo-auth-tab-active,
.bolovo-auth-tab-active {
  color: #0a1428 !important;
  background: #ffd700 !important;
  text-decoration: none !important;
}

a.bolovo-auth-tab-idle,
.bolovo-auth-tab-idle {
  color: rgba(255, 215, 0, 0.8) !important;
  text-decoration: none !important;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

/* Logo must always paint even if other CSS fails */
img.bolovo-logo-hero {
  display: block !important;
  position: static !important;
  width: auto !important;
  max-width: min(100%, 18rem) !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

img.bolovo-logo-nav {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: 3.35rem !important;
  max-height: 5rem !important;
  max-width: min(46vw, 12.5rem) !important;
  object-fit: contain !important;
}

@media (min-width: 640px) {
  img.bolovo-logo-nav {
    height: 4rem !important;
    max-width: 16.5rem !important;
  }
}

@media (min-width: 1024px) {
  img.bolovo-logo-nav {
    height: 5rem !important;
    max-width: 21rem !important;
  }
}

.bolovo-hero-carousel {
  position: relative;
  width: 100%;
  min-height: 22rem;
  background: #0d1528;
  overflow: hidden;
}

.bolovo-hero-carousel-img {
  display: block !important;
  max-width: 100% !important;
  max-height: min(74vh, 680px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

.bg-navy,
.min-h-screen.bg-navy,
.bolovo-page {
  background-color: #0a1428 !important;
  color: #ffffff;
}

.bolovo-page {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.bolovo-ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bolovo-navbar {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
  background: rgba(10, 20, 40, 0.95);
}

.bolovo-navbar a {
  color: #ffd700;
  text-decoration: none;
}

.bolovo-navbar a:hover {
  color: #ffe44d;
}

.bolovo-navbar button {
  color: #ffd700;
}

.bolovo-footer {
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  background: rgba(0, 27, 61, 0.95);
  position: relative;
  /* Stay below fixed mobile cart/checkout bars */
  z-index: 0;
  margin-top: auto;
  flex-shrink: 0;
}

.bolovo-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.bolovo-search {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 9999px;
  border: 1px solid rgba(255, 215, 0, 0.4);
  background: rgba(0, 27, 61, 0.7);
  padding: 0.55rem 0.75rem 0.55rem 2.4rem;
  color: #ffd700;
  font-size: 0.85rem;
  outline: none;
}

@media (min-width: 640px) {
  .bolovo-search {
    padding: 0.85rem 1.25rem 0.85rem 3.25rem;
    font-size: 0.95rem;
  }
}

.bolovo-search::placeholder {
  color: rgba(255, 215, 0, 0.65);
}

.bolovo-logo-hero {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 18rem);
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.25));
}

.bolovo-page-eyebrow {
  display: inline-block;
  max-width: min(100%, 22rem);
  box-sizing: border-box;
  border-radius: 9999px;
  border: 1px solid rgba(255, 215, 0, 0.28);
  background: rgba(255, 215, 0, 0.08);
  padding: 0.4rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
  color: #ffd700;
  white-space: normal;
}

.bolovo-page-lead {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(156, 163, 175, 0.95);
}

.bolovo-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: -0.01em;
}

.bolovo-card,
.bolovo-card-lg {
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 215, 0, 0.18);
  background: linear-gradient(
    180deg,
    rgba(19, 33, 60, 0.95) 0%,
    rgba(10, 20, 40, 0.98) 100%
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  color: #ffffff;
  text-decoration: none;
}

.bolovo-btn-primary,
.bolovo-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.bolovo-btn-primary {
  background: #ffd700;
  color: #0a1428 !important;
  box-shadow: 0 10px 24px rgba(255, 215, 0, 0.18);
  border: none;
}

.bolovo-btn-secondary {
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.04);
  color: #ffd700 !important;
}

.bolovo-link {
  color: #ffd700 !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bolovo-game-tile {
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 215, 0, 0.18);
  background: linear-gradient(
    180deg,
    rgba(19, 33, 60, 0.95) 0%,
    rgba(10, 20, 40, 0.98) 100%
  );
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  color: #ffd700 !important;
  text-decoration: none !important;
}

.bolovo-game-tile-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #10162c;
}

/* Never force position:absolute on tile images — zero-height parents show broken-image icons. */
.bolovo-game-tile-img,
.bolovo-game-tile-media > img {
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 10rem;
  max-width: 100% !important;
  object-fit: cover;
  border: 0;
  vertical-align: middle;
}

.bolovo-game-tile-label {
  padding: 1rem 1.25rem 1.15rem;
}

.bolovo-game-tile-label p,
.bolovo-game-tile-label .text-bolovo-gold {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffd700 !important;
}

.text-white {
  color: #ffffff !important;
}

.text-gray-400 {
  color: #9ca3af !important;
}

.text-bolovo-gold {
  color: #ffd700 !important;
}

/* Basic layout helpers used on the home shell when Tailwind chunk is missing */
.relative {
  position: relative;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-1 {
  flex: 1 1 0%;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.text-center {
  text-align: center;
}
.w-full {
  width: 100%;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.pt-14 {
  padding-top: 3.5rem;
}
.pb-16 {
  padding-bottom: 4rem;
}
.pb-20 {
  padding-bottom: 5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.gap-6 {
  gap: 1.5rem;
}
.grid {
  display: grid;
}
.p-6 {
  padding: 1.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-3xl {
  font-size: 1.875rem;
}
.font-bold {
  font-weight: 700;
}
.no-underline {
  text-decoration: none !important;
}
.block {
  display: block;
}
.z-10 {
  z-index: 10;
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:w-auto {
    width: auto;
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bolovo-page-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }
}

@media (min-width: 768px) {
  .bolovo-logo-hero {
    max-width: min(100%, 21rem);
  }
  .md\:pt-20 {
    padding-top: 5rem;
  }
  .md\:pb-20 {
    padding-bottom: 5rem;
  }
  .md\:text-xl {
    font-size: 1.25rem;
  }
  .md\:gap-6 {
    gap: 1.5rem;
  }
  .md\:gap-x-10 {
    column-gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
