/* Dodo Payout League homepage module */

.dpl-home {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 20px;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 58, 164, 0.18), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(255, 194, 61, 0.10), transparent 30%),
    linear-gradient(180deg, #110c13 0%, #09070b 100%);
  color: #ffffff;
}

.dpl-home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.dpl-home__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.dpl-home__header {
  max-width: 780px;
  margin: 0 auto 38px;
  text-align: center;
}

.dpl-home__eyebrow {
  margin: 0 0 13px;
  color: #ff55b5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.dpl-home__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.dpl-home__intro {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.dpl-home__status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.84rem;
}

.dpl-home__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #41e38b;
  box-shadow: 0 0 14px rgba(65, 227, 139, 0.82);
}

.dpl-ranking {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.dpl-ranking__row {
  position: relative;
  display: grid;
  grid-template-columns: 48px 58px minmax(180px, 1fr) minmax(150px, auto) minmax(150px, auto);
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(105deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.dpl-ranking__row:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 77, 178, 0.46);
  background:
    linear-gradient(105deg, rgba(255,75,177,0.12), rgba(255,255,255,0.035));
}

.dpl-ranking__row-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
}

.dpl-ranking__rank {
  color: rgba(255, 255, 255, 0.38);
  font-size: 1.15rem;
  font-weight: 800;
  text-align: center;
}

.dpl-ranking__logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 15px;
  background: linear-gradient(145deg, #2a222e, #161118);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dpl-ranking__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.dpl-ranking__name {
  margin: 0;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 800;
}

.dpl-ranking__count {
  margin-top: 5px;
  color: rgba(255,255,255,0.52);
  font-size: 0.81rem;
}

.dpl-ranking__amount {
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  text-align: right;
}

.dpl-ranking__eggs {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  min-width: 135px;
}

.dpl-egg {
  display: inline-block;
  width: 20px;
  height: 25px;
  border: 1px solid rgba(255, 236, 150, 0.95);
  border-radius: 52% 52% 46% 46% / 61% 61% 40% 40%;
  background:
    radial-gradient(circle at 34% 25%, #fff8bd 0 8%, transparent 9%),
    linear-gradient(145deg, #fff1a3 0%, #f7bf32 38%, #b96f00 100%);
  box-shadow:
    0 0 9px rgba(255, 197, 47, 0.35),
    inset -3px -4px 5px rgba(124, 66, 0, 0.25);
  transform: rotate(3deg);
}

.dpl-home__actions {
  margin-top: 34px;
  text-align: center;
}

.dpl-home__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #ff36a2, #c81f7b);
  box-shadow: 0 12px 30px rgba(228, 36, 139, 0.28);
  color: #ffffff;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.dpl-home__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(228, 36, 139, 0.38);
}

.dpl-home__action-copy {
  margin: 13px 0 0;
  color: rgba(255,255,255,0.54);
  font-size: 0.87rem;
}

.dpl-home__disclaimer {
  max-width: 900px;
  margin: 34px auto 0;
  color: rgba(255,255,255,0.42);
  font-size: 0.75rem;
  line-height: 1.55;
  text-align: center;
}

.dpl-ranking__message {
  padding: 34px 24px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.62);
  text-align: center;
}

@media (max-width: 760px) {
  .dpl-ranking__row {
    grid-template-columns: 38px 48px minmax(0, 1fr);
    gap: 11px;
    padding: 14px;
  }

  .dpl-ranking__logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .dpl-ranking__amount {
    grid-column: 3;
    margin-top: -8px;
    text-align: left;
  }

  .dpl-ranking__eggs {
    grid-column: 3;
    justify-content: flex-start;
    min-width: 0;
  }

  .dpl-egg {
    width: 17px;
    height: 21px;
  }
}

/* Dodo Payout League homepage placement refinement v2 */

.dpl-home {
  isolation: isolate;
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(58px, 7vw, 92px);
  background: #07080d;
}

.dpl-home::before {
  z-index: -2;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      #000 14%,
      #000 88%,
      transparent
    );
}

.dpl-home::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -140px 0 -100px;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 48% 38% at 72% 32%,
      rgba(255, 31, 139, 0.19),
      transparent 72%
    ),
    radial-gradient(
      ellipse 34% 32% at 18% 68%,
      rgba(240, 170, 41, 0.10),
      transparent 76%
    ),
    radial-gradient(
      ellipse 38% 34% at 51% 54%,
      rgba(91, 34, 122, 0.10),
      transparent 75%
    );
  filter: blur(6px);
}

.dpl-home__inner {
  z-index: 2;
}

.dpl-home + .section {
  border-top-color: transparent;
  background-color: #07080d;
}

/* Dodo Payout League visual corrections v3 */

.dpl-home {
  background: #07080d;
}

/* Remove the checked grid completely */
.dpl-home::before {
  display: none !important;
  background: none !important;
}

/* Retain glows only */
.dpl-home::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -130px 0 -100px;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 46% 40% at 75% 30%,
      color-mix(in srgb, var(--pink) 22%, transparent),
      transparent 72%
    ),
    radial-gradient(
      ellipse 34% 34% at 17% 72%,
      rgba(236, 176, 55, 0.11),
      transparent 74%
    ),
    radial-gradient(
      ellipse 32% 28% at 52% 54%,
      color-mix(in srgb, var(--pink) 9%, transparent),
      transparent 76%
    );
  filter: blur(9px);
}

.dpl-home__eyebrow {
  color: var(--pink);
}

.dpl-home__button {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow:
    0 12px 30px
    color-mix(in srgb, var(--pink) 28%, transparent);
}

.dpl-home__button:hover {
  box-shadow:
    0 17px 39px
    color-mix(in srgb, var(--pink) 40%, transparent);
}

.dpl-ranking__row:hover {
  border-color:
    color-mix(in srgb, var(--pink) 48%, transparent);
  background:
    linear-gradient(
      105deg,
      color-mix(in srgb, var(--pink) 11%, transparent),
      rgba(255, 255, 255, 0.035)
    );
}

/* Flashing live status LED */
.dpl-home__status-dot {
  animation: dpl-status-pulse 1.25s ease-in-out infinite;
}

@keyframes dpl-status-pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.82);
    box-shadow: 0 0 5px rgba(65, 227, 139, 0.35);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
    box-shadow:
      0 0 8px rgba(65, 227, 139, 0.95),
      0 0 19px rgba(65, 227, 139, 0.55);
  }
}

/* Golden egg scoring and winner treatment v5 */

.home-payout-discounts-band::before {
  background:
    radial-gradient(
      ellipse 46% 30% at 84% 10%,
      rgba(255, 192, 48, 0.16),
      transparent 72%
    ),
    radial-gradient(
      ellipse 39% 34% at 14% 69%,
      rgba(111, 48, 190, 0.17),
      transparent 74%
    ),
    radial-gradient(
      ellipse 34% 24% at 52% 24%,
      color-mix(in srgb, var(--pink) 8%, transparent),
      transparent 76%
    );
}

.dpl-home__egg-guide {
  max-width: 760px;
  margin: 0 auto 23px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  line-height: 1.55;
  text-align: center;
}

.dpl-ranking-head {
  display: grid;
  grid-template-columns:
    48px
    58px
    minmax(180px, 1fr)
    minmax(150px, auto)
    minmax(150px, auto);
  gap: 16px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto 9px;
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dpl-ranking-head__rank {
  text-align: center;
}

.dpl-ranking-head__firm {
  grid-column: 2 / 4;
}

.dpl-ranking-head__amount,
.dpl-ranking-head__eggs {
  text-align: right;
}

.dpl-ranking__rank {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.dpl-ranking__trophy {
  font-size: 1.05rem;
  line-height: 1;
  filter:
    drop-shadow(
      0 0 7px
      rgba(255, 194, 45, 0.62)
    );
}

.dpl-ranking__row:first-child {
  border-color:
    rgba(255, 199, 66, 0.28);
  background:
    linear-gradient(
      105deg,
      rgba(255, 196, 56, 0.08),
      color-mix(
        in srgb,
        var(--pink) 8%,
        rgba(255, 255, 255, 0.025)
      )
    );
}

/* Slower and calmer live pulse */
.dpl-home__status-dot {
  animation-duration: 5s !important;
}

@media (max-width: 760px) {
  .dpl-ranking-head {
    display: none;
  }

  .dpl-home__egg-guide {
    margin-bottom: 18px;
  }
}

/* Final shared background and winner corrections v6 */

/*
 * The shared wrapper owns the complete visual background.
 * Gold is upper right.
 * Purple is lower left.
 * Both child sections remain transparent.
 */
.home-payout-discounts-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse 48% 31% at 88% 8%,
      rgba(255, 193, 50, 0.18) 0%,
      rgba(255, 193, 50, 0.09) 34%,
      transparent 72%
    ),
    radial-gradient(
      ellipse 42% 35% at 11% 63%,
      rgba(113, 46, 196, 0.20) 0%,
      rgba(113, 46, 196, 0.09) 37%,
      transparent 75%
    ),
    linear-gradient(
      180deg,
      #07080d 0%,
      #07080d 52%,
      #05060a 78%,
      #030407 100%
    ) !important;
}

/* Disable previous glow layers */
.home-payout-discounts-band::before,
.home-payout-discounts-band::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Both sections share the wrapper background */
.home-payout-discounts-band > .dpl-home,
.home-payout-discounts-band > .section,
.home-payout-discounts-band > section {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Remove section-level decorative backgrounds */
.home-payout-discounts-band > .dpl-home::before,
.home-payout-discounts-band > .dpl-home::after,
.home-payout-discounts-band > .section::before,
.home-payout-discounts-band > .section::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Remove the visual gap between the two sections */
.home-payout-discounts-band > .dpl-home {
  padding-bottom: clamp(38px, 4vw, 58px);
}

.home-payout-discounts-band > .section {
  padding-top: clamp(38px, 4vw, 58px);
}

/* Sharp first-place trophy */
.dpl-ranking__rank.is-winner {
  color: #f6c746;
}

.dpl-ranking__trophy {
  display: grid;
  place-items: center;
  line-height: 1;
  filter: none !important;
  text-shadow: none !important;
}

.dpl-ranking__trophy svg {
  display: block;
  width: 25px;
  height: 25px;
  overflow: visible;
  fill: none;
  stroke: #f6c746;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

.dpl-ranking__trophy .trophy-cup {
  fill: rgba(246, 199, 70, 0.14);
}

/* Keep the winner trophy centred in the rank column */
.dpl-ranking__rank.is-winner {
  min-height: 32px;
  justify-content: center;
}

/* Restrained homepage league row hover v7 */

.dpl-ranking__row {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.dpl-ranking__row:hover {
  transform: none !important;

  background:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    ) !important;

  border-color:
    color-mix(
      in srgb,
      var(--pink) 72%,
      transparent
    ) !important;

  box-shadow:
    0 0 0 1px
      color-mix(
        in srgb,
        var(--pink) 20%,
        transparent
      ),
    0 0 18px
      color-mix(
        in srgb,
        var(--pink) 24%,
        transparent
      ),
    0 12px 36px rgba(0, 0, 0, 0.24);
}

/* Shared prop firm vector logos */

.dpl-ranking__logo img,
.dpl-ranking__logo-image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px;
  object-fit: contain;
}
/* Direct prop firm logo rendering v9 */

/*
 * Real SVG/image logos are displayed directly.
 * The surrounding initials tile is removed only when an image exists.
 */
.dpl-ranking__logo:has(img) {
  padding: 0 !important;
  overflow: hidden;

  background: transparent !important;
  background-color: transparent !important;

  border: 0 !important;
  outline: 0 !important;

  box-shadow: none !important;
}

.dpl-ranking__logo:has(img) img,
.dpl-ranking__logo-image {
  display: block !important;

  width: 100% !important;
  height: 100% !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: contain !important;

  background: transparent !important;
  background-color: transparent !important;

  border: 0 !important;
  border-radius: 12px !important;

  outline: 0 !important;
  box-shadow: none !important;
}
