.games-section {
  padding: 0 16px;
}
.games-section {
  background: radial-gradient(
      120% 80% at 10% 0%,
      rgba(124, 58, 237, 0.15),
      transparent
    ),
    linear-gradient(180deg, #1a1236, #0e0a1d);
  border-radius: 18px;
}
.games-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.section-title {
  color: #e6f0ff;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.section-title {
  color: #fff;
  text-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}
.btn {
  padding: 15px 20px;
  font-weight: 800;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.btn-outline {
  background: transparent;
  border: 1px solid #e61e2a;
  color: #e61e2a;
}
.btn-outline.view-all {
  border-color: #e61e2a !important;
  color: #e61e2a !important;
  border-radius: 10px;
  padding: 8px 12px;
}
.btn-outline.view-all:hover {
  background: rgba(230, 30, 42, 0.12) !important;
  border-color: #ff4d5a !important;
  color: #ff4d5a !important;
}
.games-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 8px 4px 12px;
  width: 100%;
}
.games-grid-optimized,
.provider-grid {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}
.games-row {
  position: relative;
}
.games-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #8b5cf6);
  opacity: 0.25;
}
.games-row::-webkit-scrollbar {
  height: 8px;
}
.games-row::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.games-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #dc2626, #991b1b) !important;
  border-radius: 8px;
}
.games-row::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #ef4444, #dc2626) !important;
}
.games-row {
  scrollbar-color: #dc2626 rgba(255, 255, 255, 0.08) !important;
}
.game-card-optimized {
  background: linear-gradient(160deg, #241a3b 0%, #130e24 100%);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.25s ease;
  border: 1px solid rgba(99, 102, 241, 0.35);
  position: relative;
  box-shadow: 0 10px 28px rgba(76, 29, 149, 0.35);
}
.game-card-optimized::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  background: conic-gradient(
    from 0deg,
    rgba(124, 58, 237, 0.35),
    rgba(248, 113, 113, 0.25),
    rgba(212, 175, 55, 0.25),
    rgba(124, 58, 237, 0.35)
  );
  filter: blur(14px);
  opacity: 0.25;
  z-index: 0;
}
.game-card-optimized:hover::after {
  opacity: 0.45;
  animation: spinGlow 8s linear infinite;
}
.game-card-optimized::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    145deg,
    rgba(220, 38, 38, 0.1),
    rgba(212, 175, 55, 0.1)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.game-card-optimized:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px rgba(76, 29, 149, 0.4);
  border-color: #7c3aed;
}
.game-card-optimized:hover::before {
  opacity: 1;
}
.game-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/9;
  height: 170px;
}
.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
  border-radius: 18px 18px 0 0;
}
.game-image-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(10, 8, 20, 0.55) 100%
  );
  z-index: 3;
}
.game-card-optimized:hover .game-image {
  transform: scale(1.05);
}
.provider-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.provider-badge {
  animation: pulseBadge 2.4s ease-in-out infinite;
}
.provider-badge.gsp {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
}
.provider-badge.veritral {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
}
.game-info {
  padding: 12px 12px 14px;
}
.game-title {
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #f7f7fb;
  font-weight: 800;
}
.game-vendor {
  font-size: 12px;
  margin-bottom: 10px;
  color: #cbd5e1;
}
.game-actions-optimized {
  background-color: transparent;
}
.btn-play {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);
  color: #fff;
  border: none;
  padding: 10px 12px;
  font-size: 12px;
  border-radius: 12px;
  display: inline-block;
  width: 100%;
  text-align: center;
}
.btn-play {
  position: relative;
  overflow: hidden;
}
.btn-play::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 40%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-20deg);
  opacity: 0;
}
.btn-play:hover::after {
  animation: shine 1.2s ease forwards;
}
.game-card-optimized:hover .game-title {
  color: #fff;
}
.game-card-optimized:hover .btn-play {
  transform: translateY(-1px);
}
@keyframes spinGlow {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulseBadge {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.3);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.45);
  }
}
@keyframes shine {
  0% {
    left: -40%;
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  100% {
    left: 120%;
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .game-card-optimized,
  .provider-badge,
  .btn-play::after {
    animation: none;
    transition: none;
  }
}
.btn-play:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.4);
}
.btn-play:active {
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}
@media screen and (max-width: 600px) {
  .games-section {
    padding: 0 12px;
    width: 100vw !important;
  }
  .section-header {
    width: 100vw;
    padding: 0 2px;
    margin-bottom: 8px;
  }
  .section-title {
    font-size: 18px;
  }
  .section-header .view-all {
    font-size: 12px;
    padding: 6px 10px;
  }
  .games-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
    width: 100vw;
  }
  .games-row .game-card-optimized {
    flex: 0 0 72vw;
    max-width: 46vw;
    scroll-snap-align: start;
    border-radius: 12px;
  }
  .game-image-container {
    height: 150px !important;
  }
  .game-card-optimized .game-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
  .game-card-optimized .provider-badge {
    top: 8px;
    left: 8px;
    font-size: 11px;
    padding: 3px 6px;
  }
  .game-card-optimized .game-info {
    padding: 8px 8px 10px;
  }
  .game-card-optimized .game-title {
    font-size: 12px;
  }
  .game-card-optimized .game-vendor {
    font-size: 11px;
    opacity: 0.85;
  }
  .game-card-optimized .btn-play {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 8px;
  }
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(21, 10, 36, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: 0 10px 28px rgba(19, 10, 36, 0.6);
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 80% at 5% 0%,
      rgba(124, 58, 237, 0.18),
      transparent
    ),
    radial-gradient(100% 60% at 95% 0%, rgba(255, 77, 255, 0.12), transparent);
  pointer-events: none;
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #8b5cf6);
  opacity: 0.6;
}
.topbar-inner {
  max-width: 100%;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffe38a;
  font-weight: 900;
  letter-spacing: 0.4px;
}
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  border-radius: 10px;
  filter: drop-shadow(0 6px 14px rgba(124, 58, 237, 0.35));
}
.nav-menu {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(124, 58, 237, 0.45);
  color: #fff;
  /* font-weight: 800; */
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 10px 20px rgba(19, 10, 36, 0.4);
}
.nav-item:hover,
.nav-item.active {
  background: linear-gradient(
    180deg,
    rgba(124, 58, 237, 0.28),
    rgba(124, 58, 237, 0.18)
  );
  border-color: rgba(168, 85, 247, 0.95);
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font-weight: 900;
}
.nav-badge {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, #7c3aed, #8b5cf6);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.35);
  line-height: 1;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-actions .btn-compact,
.nav-actions .balance-pill {
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
}
.nav-actions .btn-compact.btn-primary {
  background: linear-gradient(180deg, #7c3aed, #8b5cf6);
}
.btn-compact {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-compact.btn-primary {
  background: linear-gradient(180deg, #7c3aed, #8b5cf6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35);
  border-color: rgba(168, 85, 247, 0.6);
}
.btn-compact.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: #e6f0ff;
  border: 1px solid rgba(168, 85, 247, 0.45);
}
.btn-compact.btn-outline:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.85);
}
.btn-compact.btn-login {
  background: linear-gradient(180deg, #7c3aed, #8b5cf6);
  color: #fff;
  border: 1px solid rgba(168, 85, 247, 0.7);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.4);
  font-weight: 900;
  padding: 12px 18px;
}
.btn-circle {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-compact.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(124, 58, 237, 0.5);
}
.balance-pill {
  padding: 8px 14px;
  background: rgba(243, 201, 105, 0.18);
  border: 1px solid #f3c969;
  border-radius: 20px;
  font-weight: 900;
  color: #f3c969;
  box-shadow: 0 0 30px rgba(243, 201, 105, 0.25);
}
.login-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.72) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3000 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.login-modal {
  will-change: opacity;
}
.login-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.login-content {
  background: linear-gradient(180deg, #0e1320 0%, #0a0f1a 100%);
  border-radius: 22px;
  width: 920px;
  max-width: 95vw;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 28px rgba(18, 12, 30, 0.5),
    0 0 16px rgba(124, 58, 237, 0.18);
  display: grid;
  grid-template-columns: 400px 1fr;
  overflow: hidden;
  contain: layout paint;
  transform: translateZ(0);
  content-visibility: auto;
  contain-intrinsic-size: 920px 420px;
}
.login-illustration {
  background: none;
  min-height: 420px;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  will-change: opacity;
}
.login-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: none;
}
.login-body {
  padding: 28px 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.login-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}
.login-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0 0 18px;
  text-align: left;
  color: #fff;
}
.login-meta {
  font-size: 14px;
  color: rgba(223, 231, 245, 0.8);
  margin-bottom: 12px;
}
.login-meta a {
  color: #50a7ff;
  text-decoration: underline;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-label {
  font-size: 13px;
  color: rgba(223, 231, 245, 0.9);
  margin-bottom: 6px;
}
.login-links {
  margin-top: 6px;
  margin-bottom: 8px;
}
.login-links a {
  color: #50a7ff;
  text-decoration: underline;
  font-size: 13px;
}
.form-input {
  padding: 14px 16px;
  background: rgba(27, 22, 48, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 14px;
  color: #e9eef7;
  font-size: 14px;
  outline: none;
}
.form-input:focus {
  border-color: #a78bfa;
  box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.25);
}
.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.btn-login {
  background: linear-gradient(90deg, #7c3aed 0%, #a855f7 50%, #7c3aed 100%);
  border: 1px solid rgba(168, 85, 247, 0.65);
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.6px;
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.35);
  border-radius: 14px;
  padding: 14px 18px;
  width: 100%;
}
.only-mobile {
  display: none;
}
@media (max-width: 900px) {
  .container-fluid {
    padding: 0px 10px;
  }
  .providers-modern {
    display: none !important;
  }
  .section[aria-label="Promos"] {
    display: none !important;
  }
  .quick-cats.only-mobile {
    display: block !important;
  }
  .quick-cats {
    margin: 6px 0 8px;
  }
  .quick-cats .quick-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 6px 8px !important;
  }
  .quick-cats .quick-card {
    min-height: 110px !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #320548 0%, #1f073a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    position: relative;
    overflow: hidden;
    padding: 12px !important;
  }
  .quick-cats .quick-image {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 74px;
    height: 74px;
    object-fit: contain;
    opacity: 0.98;
  }
  .quick-cats .quick-content {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    color: #fff;
  }
  .quick-cats h3 {
    font-size: 15px !important;
    font-weight: 900 !important;
    margin: 0 0 4px !important;
    color: #fff !important;
  }
  .quick-cats p {
    font-size: 12px !important;
    margin: 0 !important;
    opacity: 0.9 !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }
  .quick-cats .quick-card::after {
    content: "\203A";
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
    font-size: 18px;
  }
  /* .bucket-strip { margin: 6px 0 8px; } */
  .bucket-grid {
    display: flex !important;
    gap: 12px !important;
    padding: 6px 8px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .bucket-grid > .bucket-card {
    flex: 0 0 auto;
    width: 31% !important;
    min-height: 46px !important;
    border-radius: 14px !important;
    scroll-snap-align: start;
    background: linear-gradient(180deg, #320548 0%, #1f073a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 8px 20px rgba(122, 60, 255, 0.25) !important;
  }
  .bucket-card .bucket-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px !important;
    gap: 8px !important;
  }
  .bucket-card .bucket-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .bucket-card .bucket-logo {
    width: 46px !important;
    height: 46px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35)) !important;
  }
  .bucket-card .bucket-title {
    font-size: 12px !important;
    text-align: center !important;
  }
  .bucket-card .bucket-cta {
    display: none !important;
  }
  .providers-carousel {
    padding: 0px;
    position: relative;
    margin: 6px 0 12px;
    width: 100vw;
  }
  .providers-carousel .scroll {
    gap: 4px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-left: 8px;
  }

  .providers-carousel .item {
    gap: 6px;
    padding: 6px 10px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
  }
  .providers-carousel .item img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }
  .providers-carousel .providers-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 6px 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #7c3aed, #8b5cf6);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
    cursor: pointer;
    position: sticky;
    left: 0;
    z-index: 5;
    margin-right: 8px;
    backdrop-filter: blur(8px);
  }
  .providers-carousel .providers-more:hover {
    filter: brightness(1.06);
  }
  .login-content {
    grid-template-columns: 1fr;
    width: 92vw;
  }
  .login-illustration {
    display: none;
  }
  .only-mobile {
    display: inline-flex !important;
    height: auto !important;
    align-items: center;
  }
  .topbar .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .topbar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .topbar .btn-compact.only-mobile {
    width: auto !important;
    padding: 8px 12px !important;
  }
  .nav-menu {
    display: none;
  }
  .nav-actions {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 60px);
    background: rgba(10, 4, 20, 0.98);
    backdrop-filter: blur(8px);
    border-right: 1px solid rgba(168, 85, 247, 0.35);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 12px;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }
  .nav-actions.active {
    left: 0;
  }
  .nav-actions .btn-compact,
  .nav-actions .balance-pill {
    width: 100%;
    justify-content: center;
  }
}
.modal-open {
  overflow: hidden;
}
@media (min-width: 901px) {
  .login-content {
    width: 920px;
    grid-template-columns: 400px 1fr;
    border-radius: 22px;
  }
}
.login-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 60% at 50% 50%,
    rgba(124, 58, 237, 0.12),
    transparent
  );
}
.login-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
}
.login-content::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -20%;
  height: 40%;
  filter: blur(16px);
  background: radial-gradient(
    60% 80% at 50% 100%,
    rgba(124, 58, 237, 0.22),
    transparent
  );
  pointer-events: none;
}
.login-illustration {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 22px;
}
.login-illustration::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      2px 2px at 10% 20%,
      rgba(255, 255, 255, 0.4),
      transparent
    ),
    radial-gradient(
      1.5px 1.5px at 30% 60%,
      rgba(255, 255, 255, 0.35),
      transparent
    ),
    radial-gradient(
      1.8px 1.8px at 80% 30%,
      rgba(255, 255, 255, 0.3),
      transparent
    );
  opacity: 0.35;
}
.login-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.login-close:hover {
  filter: brightness(1.08);
}
.login-close:active {
  transform: scale(0.98);
}
.form-input:hover {
  filter: brightness(1.04);
}
.form-input:-webkit-autofill {
  box-shadow: 0 0 0 30px #1b1630 inset;
  color: #fff;
}
.btn-login {
  position: relative;
  overflow: hidden;
}
.btn-login::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 30%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-20deg);
  opacity: 0;
}
.btn-login:hover::after {
  animation: shine 1.2s ease forwards;
}
.btn-login:hover {
  filter: brightness(1.06);
}
.btn-login:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.38);
}
.login-modal.open .login-content {
  animation: modalEnter 0.18s ease both;
}
@keyframes modalEnter {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 768px) {
  .login-content {
    width: 94vw;
  }
  .login-title {
    text-align: center;
  }
  .btn-login {
    font-size: 15px;
  }
}
.prefers-reduced-motion .login-modal.open .login-content {
  animation: none;
}
.login-content {
  backdrop-filter: none;
}
.login-meta a:hover {
  color: #93c5fd;
}
.login-label {
  font-weight: 700;
}
.login-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-main {
  position: relative;
  overflow: hidden;
}
.hero-carousel-wrapper {
  position: relative;
  height: 340px;
  max-height: 45vh;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 6, 22, 0.4),
    rgba(21, 10, 36, 0.7)
  );
  pointer-events: none;
}
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}
.hero-prev {
  left: 14px;
}
.hero-next {
  right: 14px;
}
.hero-indicators {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.15);
}
.hero-dot.active {
  background: #fff;
}
.section,
.providers-modern,
.bucket-strip {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}
.login-modal {
  contain: layout paint;
}
.login-content {
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .login-modal.open .login-content {
    animation: none;
  }
}
.mv-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  background: rgba(10, 4, 4, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(220, 38, 38, 0.3);
  z-index: 100;
  /* padding: 6px 10px; */
}
.mv-bottom a {
  color: #e6e6e6;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 800;
}
.mv-bottom a span {
  font-size: 12px;
  opacity: 0.9;
}
.mv-bottom a.is-active {
  color: #ffd27c;
}
@media (max-width: 900px) {
  .hero-carousel-wrapper {
    height: 200px;
  }
  .hero-main {
    height: 200px;
  }
  .mv-bottom {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    /* padding: 10px 12px; */
    overflow: visible;
    background: linear-gradient(
      180deg,
      rgba(76, 29, 149, 0.95),
      rgba(30, 13, 69, 0.98)
    );
    border-top: 1px solid rgba(124, 58, 237, 0.35);
    box-shadow: 0 -6px 18px rgba(124, 58, 237, 0.25);
  }
  .mv-bottom::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    width: 180px;
    height: 60px;
    background: radial-gradient(
      110px 50px at 50% 100%,
      rgba(168, 85, 247, 0.55),
      rgba(168, 85, 247, 0)
    );
    filter: blur(6px);
    border-radius: 999px;
    pointer-events: none;
  }
  .mv-bottom a {
    color: #eee;
    align-items: center;
  }
  .mv-bottom a .mv-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: transparent;
    filter: drop-shadow(0 4px 10px rgba(124, 58, 237, 0.25));
  }
  .mv-bottom a[data-nav="home"] {
    position: relative;
    z-index: 2;
  }
  .mv-bottom a[data-nav="home"] .mv-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    transform: translateY(-26px);
    filter: drop-shadow(0 12px 26px rgba(124, 58, 237, 0.45));
  }
  .mv-bottom a span:last-child {
    font-size: 11px;
    line-height: 1.2;
  }
  .mv-bottom a[data-nav="home"] span:last-child {
    font-weight: 900;
    color: #ffd27c;
  }
}
/* Forzar última regla: ocultar hero en móvil para mejorar LCP */
@media (max-width: 900px) {
  .hero-main {
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
@media (max-width: 900px) {
  .mv-bottom::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -14px;
    width: 220px;
    height: 70px;
    background: radial-gradient(
      130px 60px at 50% 100%,
      rgba(168, 85, 247, 0.6),
      rgba(168, 85, 247, 0)
    );
    filter: blur(8px);
    border-radius: 999px;
    pointer-events: none;
  }
  .mv-bottom a {
    align-items: center;
    justify-content: flex-end;
    padding: 0;
  }
  .mv-bottom a .mv-icon {
    width: 32px;
    height: 32px;
    display: block;
    margin-bottom: 6px;
    object-fit: contain;
    image-rendering: auto;
    background: transparent;
    transform: translateY(0);
  }
  .mv-bottom a span {
    display: block;
    font-size: 12px;
    line-height: 1.1;
    margin-top: 0;
  }
  .mv-bottom a[data-nav="home"] {
    padding-top: 0;
    position: relative;
    z-index: 3;
  }
  .mv-bottom a[data-nav="home"] .mv-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    transform: translateY(-40px);
    filter: drop-shadow(0 16px 34px rgba(124, 58, 237, 0.55));
  }
  .mv-bottom a[data-nav="home"] span {
    margin-top: -28px;
    font-weight: 900;
    color: #ffd27c;
  }
  .mv-bottom a[data-nav="crash"] .mv-icon {
    transform: translateY(-1px);
  }
}
