/* Lucky Play 777 — layout bridge on top of Pickwin style.local.css */

/* Emerald and gold on ink */
:root {
  --lp7-bg: #0b0d10; /* page */
  --lp7-surface: #12151a; /* cards/panels */
  --lp7-surface-2: #181c24; /* elevated */
  --lp7-border: rgba(255, 255, 255, 0.08);
  --lp7-border-strong: rgba(5, 150, 105, 0.45); /* soft emerald */
  --lp7-text: #f3f4f6;
  --lp7-muted: #9ca3af;
  --lp7-accent: #059669; /* emerald */
  --lp7-accent-2: #e8b923; /* gold hover */
  --lp7-accent-ink: #0b0d10;
  --lp7-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --lp7-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.35);
  --lp7-radius: 12px;

  /* Motion polish — tweak here */
  --lp7-hero-interval: 4500ms; /* JS reads this for autoplay */
  --lp7-hero-fade: 0.75s;
  --lp7-wins-speed: 42s; /* lower = faster marquee */
  --lp7-wins-mask: var(--lp7-bg);
  --lp7-reveal-duration: 0.55s;
}

html[data-theme="pw"] body {
  margin: 0;
  background: var(--lp7-bg);
  color: var(--lp7-text);
}

.lp7-layout {
  display: flex;
  min-height: 100vh;
  background: var(--lp7-bg);
  color: var(--lp7-text);
  font-family: Poppins, sans-serif;
}

.lp7-layout-menu {
  width: 240px;
  flex-shrink: 0;
  background: var(--lp7-surface);
  border-right: 1px solid var(--lp7-border);
  box-shadow: var(--lp7-shadow-soft);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 12px 10px 24px;
  z-index: 40;
}

.lp7-layout-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--lp7-bg);
}

.header.lp7-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px 16px;
  background: var(--lp7-surface);
  border-bottom: 1px solid var(--lp7-border);
  box-shadow: var(--lp7-shadow-soft);
}

.header-logo img,
.header-logo svg {
  height: 36px;
  width: auto;
  display: block;
}

.lp7-mode-tabs {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--lp7-border);
  border-radius: 999px;
  padding: 4px;
}

.lp7-mode-tabs .tabs-slider-btn {
  border: 0;
  background: transparent;
  color: var(--lp7-text);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lp7-mode-tabs .tabs-slider-btn--active {
  background: var(--lp7-accent);
  color: var(--lp7-accent-ink);
}

.lp7-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lp7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: calc(var(--lp7-radius) - 4px);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  padding: 10px 16px;
  transition: background 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.lp7-btn-ghost {
  background: transparent;
  color: var(--lp7-text);
}

.lp7-btn-ghost:hover {
  color: var(--lp7-accent-2);
}

.lp7-btn-primary,
.tabs-slider-btn--active,
.lp7-chip.is-active {
  background: var(--lp7-accent);
  color: var(--lp7-accent-ink);
}

.lp7-btn-primary:hover {
  background: var(--lp7-accent-2);
}

.lp7-icon-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--lp7-border);
  border-radius: 10px;
  background: var(--lp7-surface-2);
  color: var(--lp7-text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: var(--lp7-shadow-soft);
}

.lp7-icon-btn:hover {
  border-color: var(--lp7-border-strong);
  color: var(--lp7-accent-2);
}

.lp7-menu-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp7-muted);
  margin: 4px 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lp7-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp7-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--lp7-surface-2);
  border: 1px solid var(--lp7-border);
  box-shadow: var(--lp7-shadow-soft);
  color: var(--lp7-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.lp7-nav a:hover {
  border-color: var(--lp7-border-strong);
  background: #1c212b;
}

.lp7-nav a.is-active {
  background: var(--lp7-accent);
  border-color: var(--lp7-border-strong);
  color: var(--lp7-accent-ink);
  font-weight: 700;
}

.lp7-nav a.is-active .ng-icon-wrapper svg {
  filter: brightness(0);
}

.ng-icon-wrapper svg {
  width: 18px;
  height: 18px;
  display: block;
}

.lp7-sidebar-note {
  margin: 16px 6px 0;
  padding: 12px;
  border-radius: var(--lp7-radius);
  background: var(--lp7-surface-2);
  border: 1px solid var(--lp7-border);
  box-shadow: var(--lp7-shadow-soft);
  font-size: 12px;
  line-height: 1.45;
  color: var(--lp7-muted);
}

.lp7-sidebar-note strong {
  color: var(--lp7-accent);
}

.lp7-main {
  padding: 16px 20px 40px;
}

.lp7-notice {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: var(--lp7-radius);
  background: rgba(5, 150, 105, 0.12);
  border: 1px solid var(--lp7-border-strong);
  color: var(--lp7-accent-2);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--lp7-shadow-soft);
}

/* Hero / mainbanner mirror — fade + soft scale */
.mainbanner-wrapper {
  position: relative;
  border-radius: var(--lp7-radius);
  overflow: hidden;
  background: var(--lp7-surface-2);
  border: 1px solid var(--lp7-border);
  box-shadow: var(--lp7-shadow);
}

.lp7-hero-track {
  position: relative;
  display: block;
  /* Match dominant banner assets (1500×414 / 2280×630 ≈ 3.62) */
  aspect-ratio: 1500 / 414;
  width: 100%;
  background: #0b0d10;
  overflow: hidden;
}

.mainbanner-wrapper .lp7-hero-track > .lp7-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
}

.mainbanner-wrapper .lp7-hero-track > .lp7-hero-slide.is-active {
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.mainbanner-wrapper .lp7-hero-track > .lp7-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0b0d10;
}

.ng-slider-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
}

.ng-slider-nav button {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--lp7-border);
  background: rgba(11, 13, 16, 0.65);
  color: var(--lp7-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--lp7-shadow-soft);
}

.ng-slider-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.ng-slider-pagination span,
.ng-slider-pagination button {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
}

.ng-slider-pagination .is-active,
.swiper-pagination-bullet-active {
  background: var(--lp7-accent) !important;
  width: 18px;
}

.lp7-section {
  margin-top: 28px;
}

.lp7-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.lp7-section-head h2 {
  margin: 0;
  font-family: Montserrat, Poppins, sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--lp7-text);
}

.lp7-section-head h2.accent {
  color: var(--lp7-accent);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.lp7-chips {
  display: inline-flex;
  gap: 4px;
  background: var(--lp7-surface-2);
  border: 1px solid var(--lp7-border);
  padding: 3px;
  border-radius: 8px;
}

.lp7-chip {
  border: 0;
  background: transparent;
  color: var(--lp7-text);
  min-width: 32px;
  height: 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

/* Players Wins — infinite marquee + edge dissolve */
.lp7-wins-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -4px;
  padding: 2px 0 6px;
}

.lp7-wins-wrap::before,
.lp7-wins-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 6vw, 56px);
  z-index: 2;
  pointer-events: none;
}

.lp7-wins-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--lp7-wins-mask), transparent);
}

.lp7-wins-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--lp7-wins-mask), transparent);
}

.lp7-wins {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 4px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.lp7-wins::-webkit-scrollbar {
  display: none;
}

.lp7-wins.is-marquee {
  width: max-content;
  overflow: visible;
  padding-bottom: 2px;
  animation: lp7-wins-scroll var(--lp7-wins-speed) linear infinite;
  will-change: transform;
}

.lp7-wins-wrap:hover .lp7-wins.is-marquee,
.lp7-wins-wrap:focus-within .lp7-wins.is-marquee {
  animation-play-state: paused;
}

@keyframes lp7-wins-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.lp7-win-card {
  flex: 0 0 110px;
  background: var(--lp7-surface);
  border: 1px solid var(--lp7-border);
  border-radius: calc(var(--lp7-radius) - 2px);
  overflow: hidden;
  box-shadow: var(--lp7-shadow-soft);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

.lp7-win-card:hover {
  transform: translateY(-3px);
  border-color: var(--lp7-border-strong);
}

.lp7-win-card img {
  width: 100%;
  aspect-ratio: 139 / 189;
  object-fit: cover;
  display: block;
}

.lp7-win-meta {
  padding: 8px;
}

.lp7-win-meta .amt {
  color: var(--lp7-accent);
  font-weight: 700;
  font-size: 13px;
}

.lp7-win-meta .user {
  margin-top: 4px;
  font-size: 11px;
  color: var(--lp7-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lp7-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lp7-promo-card {
  position: relative;
  min-height: 180px;
  border-radius: var(--lp7-radius);
  overflow: hidden;
  background: var(--lp7-surface-2);
  border: 1px solid var(--lp7-border);
  box-shadow: var(--lp7-shadow);
}

.lp7-promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp7-promo-card .veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 13, 16, 0.85));
}

.lp7-promo-body {
  position: relative;
  z-index: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
}

.lp7-promo-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-family: Montserrat, sans-serif;
  color: var(--lp7-text);
}

.lp7-promo-body p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--lp7-muted);
  max-width: 280px;
}

.lp7-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.lp7-game-card {
  position: relative;
  border-radius: var(--lp7-radius);
  overflow: hidden;
  background: var(--lp7-surface);
  border: 1px solid var(--lp7-border);
  box-shadow: var(--lp7-shadow-soft);
  text-decoration: none;
  color: var(--lp7-text);
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.2s ease,
    filter 0.28s ease;
}

.lp7-game-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--lp7-shadow);
  border-color: var(--lp7-border-strong);
  filter: brightness(1.04);
}

.lp7-game-card img {
  width: 100%;
  aspect-ratio: 139 / 189;
  object-fit: cover;
  display: block;
}

.lp7-game-card .label {
  padding: 8px 10px 10px;
  font-size: 12px;
  font-weight: 600;
}

.lp7-game-card .play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 13, 16, 0.6);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lp7-game-card:hover .play-overlay {
  opacity: 1;
}

.lp7-game-card .play-overlay span {
  background: var(--lp7-accent);
  color: var(--lp7-accent-ink);
  font-weight: 800;
  font-size: 12px;
  padding: 8px 14px;
  border-radius: 8px;
}

.lp7-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.lp7-tabs button {
  border: 1px solid var(--lp7-border);
  background: var(--lp7-surface-2);
  color: var(--lp7-text);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: var(--lp7-shadow-soft);
}

.lp7-tabs button.is-active {
  background: var(--lp7-accent);
  border-color: var(--lp7-border-strong);
  color: var(--lp7-accent-ink);
}

.lp7-activity {
  background: var(--lp7-surface);
  border: 1px solid var(--lp7-border);
  border-radius: var(--lp7-radius);
  overflow: hidden;
  box-shadow: var(--lp7-shadow-soft);
}

.lp7-activity-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--lp7-border);
}

.lp7-activity-row:last-child {
  border-bottom: 0;
}

.lp7-activity-row img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--lp7-border);
}

.lp7-activity-row .score {
  color: var(--lp7-accent);
  font-weight: 700;
}

.lp7-activity-row small {
  display: block;
  color: var(--lp7-muted);
  margin-top: 2px;
}

.lp7-footer {
  background: #07080a;
  border-top: 1px solid var(--lp7-border);
  padding: 36px 20px 28px;
  margin-top: auto;
}

.lp7-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.lp7-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 16px 0;
  font-size: 13px;
}

.lp7-footer-links a {
  color: var(--lp7-text);
  text-decoration: none;
}

.lp7-footer-links a:hover {
  color: var(--lp7-accent);
}

.lp7-footer-legal {
  border-top: 1px solid var(--lp7-border);
  padding-top: 16px;
  font-size: 12px;
  color: var(--lp7-muted);
  line-height: 1.55;
}

.lp7-footer-legal a {
  color: var(--lp7-accent-2);
}

.lp7-cookie {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 200;
  width: min(520px, calc(100% - 24px));
  background: var(--lp7-surface-2);
  border: 1px solid var(--lp7-border);
  border-radius: var(--lp7-radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--lp7-shadow);
  color: var(--lp7-text);
}

.lp7-cookie p {
  margin: 0;
  font-size: 13px;
  flex: 1;
  color: var(--lp7-muted);
}

.lp7-cookie.is-hidden {
  display: none;
}

.lp7-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  height: 64px;
  background: var(--lp7-surface);
  border-top: 1px solid var(--lp7-border);
  box-shadow: var(--lp7-shadow);
  grid-template-columns: repeat(5, 1fr);
}

.lp7-bottom-nav a,
.lp7-bottom-nav button {
  background: transparent;
  border: 0;
  color: var(--lp7-muted);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
}

.lp7-bottom-nav .is-active {
  color: var(--lp7-accent);
}

.lp7-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 90;
}

body.sidebar-open .lp7-sidebar-backdrop {
  display: block;
}

.lp7-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(0, 0, 0, 0.72);
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px;
}

.lp7-modal.is-open {
  display: flex;
}

.lp7-modal-panel {
  width: min(560px, 100%);
  background: var(--lp7-surface-2);
  border: 1px solid var(--lp7-border);
  border-radius: var(--lp7-radius);
  padding: 16px;
  box-shadow: var(--lp7-shadow);
}

.lp7-demo-modal .lp7-modal-panel {
  width: min(980px, 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp7-demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lp7-demo-toolbar strong {
  font-size: 14px;
}

.lp7-demo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lp7-demo-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--lp7-border);
}

.lp7-demo-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lp7-modal-panel input {
  width: 100%;
  border: 1px solid var(--lp7-border);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--lp7-bg);
  color: var(--lp7-text);
  outline: none;
  box-sizing: border-box;
}

.lp7-modal-panel input:focus {
  border-color: var(--lp7-accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.22);
}

.lp7-page {
  padding: 28px 20px 48px;
}

.lp7-page-card,
.lp7-legal {
  width: min(820px, 100%);
  margin: 0 auto;
  background: var(--lp7-surface);
  border: 1px solid var(--lp7-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--lp7-shadow);
  color: var(--lp7-text);
}

.lp7-page-card {
  width: min(480px, 100%);
}

.lp7-page-card h1,
.lp7-legal h1 {
  margin: 0 0 8px;
  font-family: Montserrat, sans-serif;
}

.lp7-field {
  margin-bottom: 14px;
}

.lp7-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--lp7-muted);
}

.lp7-field input {
  width: 100%;
  border: 1px solid var(--lp7-border);
  background: var(--lp7-bg);
  color: var(--lp7-text);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  box-sizing: border-box;
}

.lp7-field input:focus {
  border-color: var(--lp7-accent);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.22);
}

.lp7-form-actions {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.lp7-form-actions .lp7-btn {
  width: 100%;
}

.lp7-form-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--lp7-muted);
}

.lp7-form-foot a {
  color: var(--lp7-accent);
  font-weight: 600;
}

.lp7-alert {
  display: none;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(5, 150, 105, 0.14);
  border: 1px solid var(--lp7-border-strong);
  color: var(--lp7-accent-2);
  font-size: 13px;
}

.lp7-alert.is-visible {
  display: block;
}

.lp7-legal h2 {
  margin: 22px 0 8px;
  font-size: 17px;
  color: var(--lp7-accent);
}

.lp7-legal p,
.lp7-legal li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--lp7-muted);
}

.lp7-age-pill {
  display: none;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.12);
  color: var(--lp7-accent-2);
  border: 1px solid var(--lp7-border-strong);
}

.lp7-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (min-width: 992px) {
  .lp7-mode-tabs {
    display: inline-flex;
  }
  .lp7-age-pill {
    display: inline-flex;
  }
  .lp7-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .lp7-layout-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 86vw);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    z-index: 100;
    box-shadow: var(--lp7-shadow);
  }
  body.sidebar-open .lp7-layout-menu {
    transform: translateX(0);
  }
  .lp7-main {
    padding: 14px 12px 88px;
  }
  .lp7-promo-grid {
    grid-template-columns: 1fr;
  }
  .lp7-bottom-nav {
    display: grid;
  }
  .lp7-cookie {
    bottom: 76px;
  }
  .lp7-games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .lp7-hero-track {
    /* Keep wide banner ratio on mobile — do not force 16/9 */
    aspect-ratio: 1500 / 414;
  }

  .lp7-wins-wrap::before,
  .lp7-wins-wrap::after {
    width: 24px;
  }
}

/* Framer-lite section reveals */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--lp7-reveal-duration) cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--lp7-reveal-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

[data-reveal] .lp7-game-card,
[data-reveal] .lp7-promo-card,
[data-reveal] .lp7-activity-row {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    border-color 0.2s ease,
    filter 0.28s ease;
  transition-delay: 0s;
}

[data-reveal].is-inview .lp7-game-card,
[data-reveal].is-inview .lp7-promo-card,
[data-reveal].is-inview .lp7-activity-row {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--lp7-stagger, 0) * 55ms);
}

[data-reveal].is-inview .lp7-game-card:hover {
  transform: translateY(-4px) scale(1.02);
}

@media (max-width: 420px) {
  .lp7-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .mainbanner-wrapper .lp7-hero-track > .lp7-hero-slide {
    visibility: hidden;
  }

  .mainbanner-wrapper .lp7-hero-track > .lp7-hero-slide.is-active {
    visibility: visible;
  }

  .lp7-wins.is-marquee {
    animation: none !important;
    transform: none !important;
    width: auto;
    overflow-x: auto;
  }

  [data-reveal],
  [data-reveal] .lp7-game-card,
  [data-reveal] .lp7-promo-card,
  [data-reveal] .lp7-activity-row {
    opacity: 1 !important;
    transform: none !important;
  }
}
