/* Font stack per brief */
:root {
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bg: #0a0c0b;
  --panel: rgba(9, 12, 11, 0.86);
  --stroke: rgba(255, 255, 255, 0.10);

  --mint: #27e0c1;
  --mint2: #16bda3;
  --yellow: #efe06a;
  --white: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);

  --radius: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background-color: #333;
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #000;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  z-index: 9999;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.45) 0px,
      rgba(25, 120, 102, 1.15) 40%,
      rgba(25, 120, 102, 0.65) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.topbar__inner {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 12px 16px;
}

.topbar__logo {
  height: 26px;
  width: auto;
  display: block;
}

.page {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: #333;
}

@media (min-width: 768px) {

  .page,
  .topbar__inner {
    max-width: 1024px;
  }
}

@media (max-width: 320px) {
  .page {
    padding-left: 0;
    padding-right: 0;
  }
}

.card {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0.82), rgba(8, 10, 9, 0.88));
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.48);
}

.section {
  position: relative;
}

/* Buttons */
.btn {
  appearance: none;
  border: 0;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.btn:active {
  transform: translateY(0px) scale(0.99);
}

.btn:focus {
  outline: 3px solid rgba(39, 224, 193, 0.45);
  outline-offset: 2px;
}

.btn--offer {
  background: var(--yellow);
  color: #0a0c0b;
  max-width: 160px;
  margin: 12px auto;
}

.btn--play {
  background: var(--mint2);
  color: #06110d;
  max-width: 140px;
  margin: 0 auto;
  display: block;
}

.btn--market {
  background: var(--yellow);
  color: #0a0c0b;
  max-width: 160px;
  margin: 0 auto;
  display: block;
}

.btn--join {
  background: var(--mint2);
  color: #06110d;
  max-width: 140px;
  margin: 0 auto;
  display: block;
}

.tcs {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.tcs--repeat {
  opacity: .65;
  font-size: 11px;
  letter-spacing: .02em;
  line-height: 1.2;
  color: #fff;
}

/* HERO */
.hero__media {
  height: 245px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.78)),
    url("./assets/OffersHeroBanner.jpg");

  background-size: cover;
  background-position: center;
}

.hero__body {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 16px;
  background: linear-gradient(180deg, #040807 0%, #111111 100%);
}

.sb__badge {
  width: 76px;
  border-radius: 12px;
  background: rgba(39, 224, 193, 0.10);
  border: 1px solid rgba(39, 224, 193, 0.22);
  padding: 10px 8px;
  text-align: center;
}

.sb__badgeNum {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--mint);
}

.sb__badgeTxt {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  color: rgba(255, 255, 255, 0.72);
}

.sb__main {
  flex: 1;
  text-align: center;
}

.sb__title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .06em;
  color: rgba(39, 224, 193, 0.92);
  line-height: 1.05;
}

.sb__score {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.sb__box {
  width: 86px;
  height: 66px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 44px;
  font-weight: 900;
}

.sb__home {
  color: var(--mint);
  border-color: rgba(39, 224, 193, 0.25);
}

.sb__away {
  color: rgba(255, 255, 255, 0.92);
}

.sb__dash {
  color: rgba(255, 255, 255, 0.52);
  font-size: 26px;
  font-weight: 900;
}

.sb__time {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.72);
}

.kicker {
  margin: 10px 0 6px;
  text-align: center;
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.hero__title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 30px;
  line-height: 1.06;
  letter-spacing: .02em;
  font-weight: 900;
}

.hero__title span {
  color: var(--mint);
}

/* LUCKY SPADES */
.lucky {
  padding: 0;
}

.lucky__frame {
  position: relative;
  min-height: 250px;
}

.lucky__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.lucky__oval {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: min(520px, 150%);
  opacity: .88;
}

.lucky__line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(620px, 170%);
  opacity: .7;
}

.lucky__line--green {
  top: 92px;
}

.lucky__line--grey {
  top: 124px;
  opacity: .55;
}

.lucky__content {
  position: relative;
  z-index: 1;
  padding: 16px;
  text-align: center;
}

.lucky__logoWrap {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.lucky__logo {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.45));
}

.lucky__jackpot {
  margin: 25px auto;
}

.pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  /* border: 1px solid rgba(39, 224, 193, 0.28); */
  background: rgb(4 74 62);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(46, 227, 198, 0.65);
  box-shadow: 0 0 0 0 rgba(46, 227, 198, 0.20), 0 0 7px rgba(46, 227, 198, 1);
}

.lucky__amount {
  margin: 8px 0 8px;
  font-size: 25px;
  font-weight: 900;
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.lucky__amount:before {
  content: "";
  width: 100%;
  height: 2px;
  background: #aaa;
  left: 0;
  position: absolute;
  margin-top: 15px;
}

.lucky__amount div {
  color: #fff;
  width: 158px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  border-radius: 4px;
}

.lucky__tiers {
  position: relative;
  margin: 10px auto 14px;
  width: min(460px, 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-direction: column;
}

.lucky__spade--wrapper .pill:after {
  content: "";
  height: 2px;
  background: #05a16e;
  width: 100%;
  position: absolute;
  margin-top: 5px;
  z-index: -1;
  box-shadow: 0 0 0 0 rgba(46, 227, 198, 0.20), 0 0 7px rgba(46, 227, 198, 1);
}

.lucky__spade--wrapper .pill:before {
  content: "";
  height: 2px;
  background: #05a16e;
  margin-top: 5px;
  margin-left: -25px;
  z-index: -1;
  width: 70px;
  position: absolute;
  box-shadow: 0 0 0 0 rgba(46, 227, 198, 0.20), 0 0 7px rgba(46, 227, 198, 1);
}

.tier {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
}

.tier--left,
.tier--right {
  display: flex;
  flex-direction: column;
}

.tier--right {
  margin-left: auto;
}

.tier--left {
  margin-right: auto;
}

.tier--left .lucky__spade--wrapper .pill:after {
  content: "";
  height: 2px;
  background: #05a16e;
  width: 80px;
  position: absolute;
  margin-top: 5px;
  z-index: -1;
}

.tier--left .lucky__spade--wrapper .pill:before {
  content: "";
  height: 2px;
  background: #05a16e;
  margin-top: 5px;
  margin-left: -25px;
  z-index: -1;
  width: 110px;
  left: -70px;
  position: absolute;
}

.tier--right .lucky__spade--wrapper .pill:after {
  content: "";
  height: 2px;
  background: #05a16e;
  width: 100%;
  position: absolute;
  margin-top: 5px;
  z-index: -1;
}

.tier--right .lucky__spade--wrapper .pill:before {
  content: "";
  height: 2px;
  background: #05a16e;
  margin-top: 5px;
  margin-left: -75px;
  z-index: -1;
  width: 120px;
  position: absolute;
}

.tier__pill {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  color: rgba(39, 224, 193, 0.88);
}

.tier__value {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  margin-top: 3px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.tier__value:after {
  content: "";
  height: 2px;
  background: #aaa;
  width: 200%;
  position: absolute;
  margin-top: 7px;
  left: -100px;
  z-index: -1;
}

.lucky__spade {
  width: 18px;
  height: 18px;
  opacity: 1;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.lucky__spade--right {
  right: 40%;
  top: 6px;
  transform: scale(0.95);
  opacity: .70;
}

.lucky__spade--wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.lucky__jackpot .lucky__spade--wrapper {
  gap: 10px;
}

.tier--left .lucky__spade--wrapper img {
  position: absolute;
  margin-right: -185px;
}

.tier--right .lucky__spade--wrapper img {
  position: absolute;
  margin-right: 170px;
}

/* PLAYER STATS */
.stats {
  padding: 40px 16px;
}

.sectionTitle {
  margin: 0 0 30px;
  text-align: center;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .08em;
}

.tabs {
  display: flex;
  gap: 18px;
  overflow: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  padding: 6px 0;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
  white-space: nowrap;
}

.tab.is-active {
  color: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--mint);
}

.players {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.playerRow {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgb(36 58 48 / 39%);
  border-radius: 5px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--white);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.playerRow:hover {
  transform: translateY(-1px);
  border-color: rgba(39, 224, 193, 0.25);
  background: rgba(0, 0, 0, 0.24);
}

.playerRow:focus {
  outline: 3px solid rgba(39, 224, 193, 0.42);
  outline-offset: 2px;
}

.playerRow__role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.playerRow__name {
  font-size: 14px;
  font-weight: 900;
  margin-top: 2px;
}

.playerRow__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag {
  width: 30px;
  height: 18px;
}

.chev {
  width: 18px;
  height: 18px;
  opacity: .75;
  transition: transform .18s ease, opacity .18s ease;
}

.playerRow[aria-expanded="true"] .chev {
  transform: rotate(180deg);
  opacity: .95;
  margin-top: 4px;
  margin-left: 5px;
}

.showMore {
  margin: 10px auto 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  cursor: pointer;
}

.showMore img {
  width: 16px;
  height: 16px;
  opacity: .7;
}

/* NEWS */
.news {
  padding: 40px 16px;
}

.newsGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.newsCard {
  position: relative;
  min-width: 210px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
  transition: transform .18s ease, border-color .18s ease;
}

.playerRow__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}



.playerName {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.playerName img {
  width: 17px;
  padding-top: 2px;
  padding-left: 5px;
}

.newsCard:hover {
  transform: translateY(-2px);
  border-color: rgba(39, 224, 193, 0.24);
}

.newsCard__img {
  height: 190px;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.newsCard__body {
  padding: 12px;
  background: transparent;
  position: absolute;
  bottom: 0;
}

.newsCard__tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  color: rgba(39, 224, 193, 0.90);
  margin-bottom: 6px;
}

.newsCard__title {
  font-weight: 900;
  margin-bottom: 6px;
}

.newsCard__text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

/* MEMBERS */
.members {
  padding: 0;
}

.members__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.55)),
    url("./assets/MembersJoinNowGradientx2.png");
  background-size: cover;
  background-position: center;
}

.members__content {
  position: relative;
  z-index: 1;
  padding: 40px 16px;
  text-align: center;
}

.members__kicker {
  letter-spacing: .18em;
  font-weight: 900;
  font-size: 12px;
  color: rgba(239, 224, 106, 0.92);
  margin-bottom: 8px;
}

.members__title {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.02;
  font-weight: 900;
  color: rgba(39, 224, 193, 0.92);
}

.members__text {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
}

/* Responsive tweaks: keep mobile look, widen on desktop */
@media (min-width: 760px) {
  .page {
    padding-bottom: 44px;
  }

  .hero__media {
    height: 280px;
  }

  .newsCard__img {
    height: 220px;
  }
}