/* nyecasino toplist — inspired by pokerstrategy.com/online-casinos
   Colors adapted to danske-casino theme (--color-dark-red #A90101) */

.nye-toplist {
  --nye-accent: #A90101;
  --nye-accent-hover: #8B0000;
  --nye-text: #425363;
  --nye-muted: #8FA8AE;
  --nye-border: #E1E4E3;
  --nye-bg: #E8EDF0;
  --nye-card: #FFFFFF;
  padding: 48px 0 56px;
  background: var(--nye-bg);
  color: var(--nye-text);
  font-family: inherit;
}

.nye-toplist__container {
  width: min(720px, calc(100% - 32px));
  margin: 0 auto;
}

.nye-toplist__header {
  margin-bottom: 28px;
  text-align: left;
}

.nye-toplist__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  font-weight: 800;
  color: #1a2430;
}

.nye-toplist__intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--nye-text);
}

.nye-toplist__offers {
  display: grid;
  gap: 20px;
}

.nye-toplist__offer {
  position: relative;
  background: var(--nye-card);
  border: 1px solid var(--nye-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(66, 83, 99, 0.06);
}

.nye-toplist__rank {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2c3640;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 0 0 6px 0;
}

.nye-toplist__inner {
  padding: 0 0 16px;
}

.nye-toplist__logo-row {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 16px 16px 8px;
  background: #111827;
}

.nye-toplist__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  width: 100%;
  text-decoration: none;
}

.nye-toplist__logo img {
  max-height: 72px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.nye-toplist__brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}

.nye-toplist__logo--nv {
  background: linear-gradient(135deg, #0b1220, #1e293b 55%, #7a00df33);
  border-radius: 6px;
  min-height: 100px;
}

.nye-toplist__logo--vinder {
  background: linear-gradient(135deg, #052e16, #14532d);
  border-radius: 6px;
  min-height: 100px;
}

.nye-toplist__rating {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.nye-toplist__star {
  color: #f5b942;
  font-size: 1.1rem;
  line-height: 1;
}

.nye-toplist__score {
  font-size: 1.35rem;
  font-weight: 800;
}

.nye-toplist__score-of {
  font-size: 0.9rem;
  opacity: 0.85;
}

.nye-toplist__bonus-row {
  padding: 16px 16px 8px;
  text-align: center;
}

.nye-toplist__bonus {
  margin: 0;
  font-size: clamp(1.15rem, 3.2vw, 1.4rem);
  line-height: 1.3;
  font-weight: 700;
  color: #1a2430;
}

.nye-toplist__bonus strong {
  color: var(--nye-accent);
}

.nye-toplist__review {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--nye-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nye-toplist__extra {
  padding: 8px 16px 0;
  display: grid;
  gap: 14px;
}

.nye-toplist__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--nye-accent);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 0.15s ease;
}

.nye-toplist__cta:hover,
.nye-toplist__cta:focus {
  background: var(--nye-accent-hover);
  color: #fff !important;
}

.nye-toplist__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.nye-toplist__features li {
  position: relative;
  padding-left: 1.4em;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--nye-text);
}

.nye-toplist__features li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--nye-accent);
  font-weight: 800;
}

.nye-toplist__terms {
  margin: 0;
  padding: 10px 16px 14px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--nye-muted);
  border-top: 1px solid var(--nye-border);
}

.nye-toplist__terms a {
  color: inherit;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .nye-toplist {
    padding: 56px 0 64px;
  }
  .nye-toplist__container {
    width: min(680px, calc(100% - 48px));
  }
}
