#gen-d2fnt4pg {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background-color: var(--mb-bg);
  overflow: hidden;
}

#gen-d2fnt4pg .mockup-container {
  position: relative;
  width: 360px;
  height: 500px;
  display: flex;
  justify-content: center;
}

#gen-d2fnt4pg .hand-wrapper {
  position: absolute;
  bottom: -50px;
  left: -40px;
  width: 400px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  filter: brightness(0.8) contrast(1.2);
}

#gen-d2fnt4pg .hand-image {
  width: 100%;
  height: auto;
  display: block;
  /* Masking would be used here in production to shape the placeholder like a hand */
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

#gen-d2fnt4pg .phone-device {
  position: relative;
  z-index: 2;
  width: 240px;
  height: 480px;
  transform: rotate(-5deg) translateY(20px);
  box-shadow: var(--mb-shadow);
  border-radius: 36px;
}

#gen-d2fnt4pg .phone-bezel {
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  border-radius: 36px;
  padding: 12px;
  border: 2px solid #2a2a2a;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

#gen-d2fnt4pg .phone-screen {
  width: 100%;
  height: 100%;
  background: var(--mb-surface);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

/* Melbet Mockup Styles */
#gen-d2fnt4pg .melbet-app {
  font-family: var(--mb-font-body);
  color: var(--mb-text);
  height: 100%;
  display: flex;
  flex-direction: column;
}

#gen-d2fnt4pg .melbet-header {
  background: var(--mb-surface-2);
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--mb-border);
}

#gen-d2fnt4pg .melbet-logo {
  font-family: var(--mb-font-head);
  font-weight: 900;
  color: var(--mb-yellow);
  font-size: 18px;
  letter-spacing: -0.5px;
}

#gen-d2fnt4pg .melbet-actions {
  display: flex;
  gap: 15px;
  font-size: 14px;
}

#gen-d2fnt4pg .melbet-hero-banner {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://placehold.co/240x180/151515/ffc100?text=Stadium+BG');
  background-size: cover;
  background-position: center;
  padding: 20px 15px;
  color: var(--mb-white);
}

#gen-d2fnt4pg .live-badge {
  background: var(--mb-yellow);
  color: var(--mb-black);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

#gen-d2fnt4pg .banner-content h3 {
  font-family: var(--mb-font-head);
  font-size: 16px;
  margin: 0 0 4px 0;
  font-weight: 800;
}

#gen-d2fnt4pg .banner-content p {
  font-size: 11px;
  margin: 0 0 15px 0;
  color: var(--mb-text-muted);
}

#gen-d2fnt4pg .banner-odds {
  display: flex;
  gap: 8px;
}

#gen-d2fnt4pg .odd-box {
  flex: 1;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  padding: 8px 4px;
  border-radius: var(--mb-radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid rgba(255,193,0,0.3);
}

#gen-d2fnt4pg .odd-box span {
  display: block;
  font-size: 9px;
  color: var(--mb-yellow);
  margin-bottom: 2px;
}

#gen-d2fnt4pg .melbet-quick-links {
  display: flex;
  padding: 15px;
  gap: 10px;
  overflow-x: auto;
  background: var(--mb-surface);
  scrollbar-width: none; /* Firefox */
}
#gen-d2fnt4pg .melbet-quick-links::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

#gen-d2fnt4pg .quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 55px;
  font-size: 10px;
  color: var(--mb-text-muted);
  opacity: 0.6;
}

#gen-d2fnt4pg .quick-link.active {
  opacity: 1;
  color: var(--mb-white);
}

#gen-d2fnt4pg .ql-icon {
  font-size: 18px;
  background: var(--mb-surface-2);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--mb-border);
}

#gen-d2fnt4pg .quick-link.active .ql-icon {
  background: var(--mb-gradient-gold);
  color: var(--mb-black);
  border: none;
}

#gen-d2fnt4pg .melbet-live-list {
  flex: 1;
  background: var(--mb-surface-2);
  padding: 15px;
  overflow-y: auto;
}

#gen-d2fnt4pg .live-event-card {
  background: var(--mb-surface);
  border-radius: var(--mb-radius-sm);
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--mb-border);
}

#gen-d2fnt4pg .event-time {
  font-size: 10px;
  color: var(--mb-yellow);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

#gen-d2fnt4pg .live-dot {
  color: red;
  font-size: 14px;
  line-height: 0;
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink { 50% { opacity: 0; } }

#gen-d2fnt4pg .event-teams {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#gen-d2fnt4pg .event-teams .vs {
  font-size: 9px;
  color: var(--mb-text-muted);
}

#gen-d2fnt4pg .bet-btn-sm {
  width: 100%;
  background: var(--mb-gradient-gold);
  border: none;
  padding: 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--mb-black);
}

#gen-d2fnt4pg .content-filler {
  width: 100%;
  height: auto;
  border-radius: var(--mb-radius-sm);
  opacity: 0.5;
}