/* BetVisa BD — shared styles (extends design system) */

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.material-symbols-outlined.filled {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.gloss-card {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 1) 100%);
  border: 1px solid rgba(42, 42, 42, 1);
  position: relative;
  overflow: hidden;
}

.gloss-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  pointer-events: none;
}

.gold-glow {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
}

.gold-glow:hover {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.text-gradient-gold {
  background: linear-gradient(to right, #ffe16d, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Bengali readability */
body {
  font-feature-settings: "kern" 1;
}

/* E-E-A-T editorial byline (injected by site.js) */
.eeat-box .gloss-card {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.06) 0%,
    rgba(20, 20, 20, 1) 55%
  );
}
.eeat-box a {
  text-underline-offset: 2px;
}

.font-bn {
  font-family: "Noto Sans Bengali", "Inter", system-ui, sans-serif;
}

/* Hero ambient glow */
.hero-glow {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(245, 197, 24, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(0, 238, 252, 0.04), transparent 50%);
}

/* Media cards */
.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/**
 * Official promo / UI reference screenshots
 * Keep readable as proof, not wall-sized (tall monthly T&C, wide commission tables).
 */
.ref-shot {
  display: block;
  width: 100%;
  max-width: 18rem; /* ~288px — phone-card scale */
  height: auto;
  margin-inline: auto;
}
.ref-shot--md {
  max-width: 22rem; /* ~352px */
}
.ref-shot--wide {
  max-width: min(100%, 36rem); /* commission / landscape UI */
}
/* Tall full-page promo UI (e.g. Monthly Achievement T&C) */
.ref-shot-scroll {
  max-height: min(26rem, 58vh);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 215, 0, 0.35) transparent;
}
.ref-shot-scroll::-webkit-scrollbar {
  width: 6px;
}
.ref-shot-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.35);
  border-radius: 999px;
}
.ref-shot-hint {
  font-size: 12px;
  line-height: 1.3;
  color: #999077;
  text-align: center;
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(77, 71, 50, 0.35);
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: #1c1b1b;
}

.media-frame img {
  transition: transform 0.5s ease;
}

.group:hover .media-frame img,
.group:hover > .media-frame img {
  transform: scale(1.08);
}

/* Game tile label bar */
.game-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
  z-index: 2;
  pointer-events: none;
  transition: padding-bottom 0.3s ease, transform 0.3s ease;
}

.group:hover .game-label {
  padding-bottom: 48px;
}

.game-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 12px 12px;
  z-index: 10;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.group:hover .game-cta {
  transform: translateY(0);
  opacity: 1;
}

/* Fallback gradients if image fails */
.game-tile-1 { background: linear-gradient(145deg, #3d2a00 0%, #1a1200 50%, #0e0e0e 100%); }
.game-tile-2 { background: linear-gradient(145deg, #1a2a3d 0%, #0a1520 50%, #0e0e0e 100%); }
.game-tile-3 { background: linear-gradient(145deg, #1a3d2a 0%, #0a2015 50%, #0e0e0e 100%); }
.game-tile-4 { background: linear-gradient(145deg, #3d1a2a 0%, #200a15 50%, #0e0e0e 100%); }
.game-tile-5 { background: linear-gradient(145deg, #2a1a3d 0%, #150a20 50%, #0e0e0e 100%); }
.game-tile-6 { background: linear-gradient(145deg, #3d3a1a 0%, #201e0a 50%, #0e0e0e 100%); }

/* Mobile nav */
#mobile-menu {
  display: none;
}

#mobile-menu.open {
  display: block;
}

/* Unified desktop dropdown */
.nav-dropdown-panel {
  display: none;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  display: block;
}

.nav-dropdown > a {
  white-space: nowrap;
}

/* Desktop nav: use xl breakpoint for many items */
@media (min-width: 1280px) {
  #mobile-menu.open {
    display: none;
  }
}

/* Tables on small screens */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}
