body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
  overflow-x: hidden;
}

:root {
  --lb-bg: #050508;
  --lb-bg-soft: #151118;
  --lb-gold: #f5b400;
  --lb-gold-soft: #ffc94a;
  --lb-text-main: #f5f5f5;
  --lb-text-muted: #9b9b9b;
  --lb-card-bg: #15151b;
  --lb-card-border: rgba(255, 255, 255, 0.06);
  --lb-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.65);
}

/* -------------------- NAVBAR -------------------- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
}

.nav-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 48px;
  box-sizing: border-box;
}

/* ✅ Small logo image */
.nav-logo {
  width: auto;
  display: block;
  object-fit: contain;
}

/* ensure logo doesn’t increase navbar height */
.logo {
  display: flex;
  align-items: center;
  height: 40px;
  width: 0;
  margin-left: 90px;
}

.logo img {
  max-width: 60px;
  border-radius: 400px;
}

/* CENTERED NAV LINKS (DESKTOP) */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #bcbcbc;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.25s ease;
}
.nav-links a.active {
  filter: brightness(1.6);
}

.nav-links a:hover {
  color: #f8b700;
}

/* ✅ Discord button (DESKTOP ONLY) */
.nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #f8b700, #dfa300);
  border: none;
  color: #0e0e0e;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  font-family: 'Sora', sans-serif;
}

.nav-btn i {
  font-size: 1.1rem;
}

.nav-btn:hover {
  box-shadow: 0 0 12px rgba(255, 174, 1, 0.5);
  background: linear-gradient(90deg, #ffd451, #f0b800);
}

.discord-btn-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: invert(1) brightness(0);
  transition: filter 0.3s ease;
}

.chips-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chips-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.6;
}


/* -------------------- HAMBURGER BUTTON -------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 28px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.nav-toggle span {
  display: block;
  width: 70%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* -------------------- MOBILE NAV (<= 820px) -------------------- */
@media (max-width: 1150px) {
  .nav-container {
    padding: 15px 20px;
  }

  .logo {
    margin-left: 0;
    width: auto;
  }

  .nav-logo {
    height: 50px;
    width: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .join-discord {
    display: none;
  }

  /* 🔧 UPDATED HERE */
  .nav-links {
    position: absolute;       /* was fixed */
    top: 100%;                /* sit right under navbar */
    left: 0;
    right: 0;
    transform: translateX(0);
    flex-direction: column;
    align-items: center;
    gap: 20px;

    background: rgba(5, 5, 8, 0.96);
    padding: 22px 16px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    opacity: 0;
    pointer-events: none;
    transform-origin: top;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-links.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}


/* ========= LEADERBOARD HERO ========= */
.lb-hero {
  position: relative;
  padding: 80px 6vw 36px;
  background:
    radial-gradient(circle at 20% 0%, #262015 0, #0f0f0f 40%, #0f0f0f 80%);
  color: var(--lb-text-main);
  overflow: hidden;
}

.lb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}

.lb-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.lb-hero-copy.centered {
  max-width: 700px;
  text-align: center;
}

.lb-top3.stacked {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}

.lb-card {
  width: 200px;
}

.lb-card--1 {
  transform: translateY(-38px);
}

.lb-hero-copy {
  max-width: 520px;
}

.lb-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lb-text-muted);
  margin-bottom: 14px;
}

.lb-title {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.1rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 18px;
}

.lb-title img {
  max-width: 220px;
  display: block;
}

.lb-title span {
  display: block;
  color: var(--lb-text-main)
}

.lb-title .lb-title-casino-name {
  display: block;
  color: var(--lb-gold);
}

.lb-subtitle {
  font-size: 0.98rem;
  color: var(--lb-text-muted);
  max-width: 30rem;
  line-height: 1.6;
  margin-bottom: 20px;
}





/* ==== CASINO SWITCH BAR (DESKTOP) ==== */
.lb-casino-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 28px;
  margin-bottom: 95px;

  padding: 8px 10px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;

  background: radial-gradient(circle at 0% 0%, #272331 0, #14121b 40%, #0a0a0f 100%);
  border-radius: 12px;
  border: 1px solid rgba(252, 248, 248, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
}

/* pills */
.casino-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  min-width: 90px;
  padding: 0 18px;
  border-radius: 8px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 30% 0,
              rgba(255, 255, 255, 0.08) 0,
              rgba(0, 0, 0, 0.9) 55%);
  backdrop-filter: blur(6px);

  cursor: pointer;
  outline: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease,
    opacity 0.18s ease;
}

/* default logo images */
.casino-pill img {
  display: block;
  max-height: 22px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.4);
  opacity: 0.6;
}

/* hover */
.casino-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.casino-pill:hover img {
  filter: grayscale(0.1);
  opacity: 1;
}

/* ACTIVE */
.casino-pill.is-active {
  border-color: var(--lb-gold);
  background:
    radial-gradient(circle at 20% 0,
      rgba(245, 180, 0, 0.35) 0,
      rgba(0, 0, 0, 0.95) 60%);
  box-shadow:
    0 0 0 1px rgba(245, 180, 0, 0.4),
    0 0 22px rgba(245, 180, 0, 0.55);
}
.casino-pill.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 210, 120, 0.55);
  pointer-events: none;
}
.casino-pill.is-active img {
  filter: none;
  opacity: 1;
}

/* ==== MOBILE DROPDOWN (< 500px) ==== */

.lb-casino-switch-mobile {
  display: none;
  max-width: 380px;
  margin: 20px auto 40px;
  padding: 0 16px;
}

/* Main toggle bar */
.lb-casino-mobile-toggle {
  width: 100%;
  height: 58px; /* smaller button */
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: radial-gradient(circle at 0% 0%, #272331 0, #14121b 40%, #0a0a0f 100%);
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

/* Bigger logo on toggle */
#lb-casino-mobile-logo {
  width: 100px;
  height: 38px;
  object-fit: contain;
  display: block;
}

/* Arrow */
.lb-casino-mobile-toggle i {
  font-size: 1.1rem;
  color: var(--lb-gold-soft);
}


.chicken-mobile-toggle {
  width: 150px !important;
}
.clash-mobile-toggle {
  width: 140px !important;
}
.csbattle-mobile-toggle {
  width: 120px !important;
}
.csgold-mobile-toggle {
  width: 120px !important;
}






/* Dropdown */
.lb-casino-mobile-menu {
  margin-top: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #15121c;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.75);

  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-height 0.2s ease, opacity 0.2s ease;
}

.lb-casino-switch-mobile.is-open .lb-casino-mobile-menu {
  max-height: 300px;
  opacity: 1;
  pointer-events: auto;
}

/* Each option */
.lb-casino-mobile-option {
  width: 100%;
  padding: 12px 0;

  background: transparent;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-casino-mobile-option img {
  width: 100px;    /* increased size */
  height: 46px;   /* increased size */
  object-fit: contain;
}

.lb-casino-mobile-option .clash-img {
  width: 120px !important;
}

.lb-casino-mobile-option .chicken-img {
  width: 125px !important;
}

.lb-casino-mobile-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Enable mobile dropdown, disable desktop pills */
@media (max-width: 664px) {
  .lb-casino-switch {
    display: none;
  }
  .lb-casino-switch-mobile {
    display: block;
  }
  .lb-participants {
    background: #0f0f0f !important;
  }
}








.lb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lb-btn-primary,
.lb-btn-ghost {
  position: relative;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
              color 0.16s ease;
}

.lb-btn-primary {
  background: linear-gradient(135deg, var(--lb-gold), var(--lb-gold-soft));
  color: #1a1203;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.lb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.9);
}

.lb-btn-ghost {
  background: transparent;
  color: var(--lb-text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lb-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

/* Top 3 cards */
.lb-top3 {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: flex-end;
}





/* ===== TOP 3 SKELETON LOADING ===== */

.lb-card--skeleton {
  position: relative;
  overflow: hidden;
  background: #15151b;
  border-radius: 20px;
  padding: 18px 16px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.lb-skel-badge,
.lb-skel-rank,
.lb-skel-avatar,
.lb-skel-line {
  display: block;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.12) 20%,
    rgba(255,255,255,0.04) 40%
  );
  background-size: 200% 100%;
  animation: lb-shimmer 1.1s linear infinite;
  border-radius: 12px;
  margin-left: auto;
  margin-right: auto;
}

/* Badge */
.lb-skel-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Rank rectangle */
.lb-skel-rank {
  width: 45px;
  height: 14px;
  margin-bottom: 14px;
  border-radius: 4px;
}

/* Avatar placeholder */
.lb-skel-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 16px;
}

/* Name / wagered / prize lines */
.lb-skel-line {
  height: 12px;
  border-radius: 4px;
  margin: 6px 0;
}

.lb-skel-name { width: 60%; }
.lb-skel-wagered { width: 70%; }
.lb-skel-prize { width: 50%; }

/* Shimmer animation */
@keyframes lb-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}





/* badge */
.lb-card-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #202028, #14141b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.7);
  color: #f5f5f5;
}

.lb-card-badge i {
  font-size: 15px;
}

.lb-card-badge--gold i {
  color: #f6c75a;
}

.lb-card-badge--silver i {
  color: #d6dde8;
}

.lb-card-badge--bronze i {
  color: #e49a5a;
}

.lb-card {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  max-width: 220px;
  padding: 24px 20px 22px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(245, 180, 0, 0.04) 0, transparent 55%),
    var(--lb-card-bg);
  box-shadow: var(--lb-shadow-soft);
  border: 1px solid var(--lb-card-border);
  text-align: center;
  transform-origin: center bottom;
}

.lb-card--1 {
  transform: translateY(-20px) scale(1.06);
  background:
    linear-gradient(160deg, rgba(192, 158, 4, 0.15), rgba(15, 15, 15, 0.9)),
    var(--lb-card-bg);
}

.lb-card--2 {
  background:
    linear-gradient(160deg, rgba(99, 98, 98, 0.18), rgba(15, 15, 15, 0.9)),
    var(--lb-card-bg);
  opacity: 1;
}

.lb-card--3 {
  background:
    linear-gradient(160deg, rgba(59, 41, 2, 0.2), rgba(15, 15, 15, 0.9)),
    var(--lb-card-bg);
  opacity: 1;
}

.lb-card--2,
.lb-card--3 {
  opacity: 0.9;
}

.lb-card-rank {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 4px;
}

/* OUTER RING */
.lb-card-avatar-wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* allow pseudo border to show */
}

/* THIN BORDER (base style) */
.lb-card-avatar-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;           /* controls gap between avatar + ring */
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}




/* INNER AVATAR CIRCLE */
.lb-card-avatar {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  overflow: hidden;

  background: #000; /* fallback */
}

/* IMAGE */
.lb-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}


.lb-card-name {
  font-size: 0.98rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--lb-text-main);
  margin-bottom: 18px;
}

.lb-card-prize {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 18px;
  height: 25px;
  margin-top: 25px;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}
.lb-card-prize::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 70%;
  height: 100%;
  
  /* Stronger shiny streak */
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.85) 40%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.85) 60%,
    rgba(255, 255, 255, 0) 100%
  );

  filter: brightness(1.7);   /* BOOST visibility on bright gold/silver */
  mix-blend-mode: screen;    /* Makes shine pop even on light colors */

  transform: skewX(-20deg);
  animation: prizeShine 2.2s ease-in-out infinite;
  animation-delay: 1.5s;
  pointer-events: none;
}

@keyframes prizeShine {
  0% {
    transform: translateX(-150%) skewX(-20deg);
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(250%) skewX(-20deg);
    opacity: 0;
  }
}

.lb-card--1 .lb-card-prize::after {
  animation-delay: 0s;
}

.lb-card--2 .lb-card-prize::after {
  animation-delay: 1.2s;
}

.lb-card--3 .lb-card-prize::after {
  animation-delay: 2.4s;
}

/* GOLD – 1st place */
.lb-card--1 .lb-card-prize {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 75% 45%, rgba(255, 240, 200, 0.45) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(circle at 20% 85%, rgba(0, 0, 0, 0.35) 0%, transparent 65%),
    linear-gradient(110deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 22%),
    linear-gradient(135deg, #ffecb3, #f5c238, #d5981f, #8a5410);
  border: 1px solid var(--lb-gold);
  color: #1b1306;
}

/* SILVER – 2nd place */
.lb-card--2 .lb-card-prize {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9) 0%, transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(210, 220, 240, 0.45) 0%, transparent 60%),
    radial-gradient(circle at 25% 80%, rgba(0, 0, 0, 0.35) 0%, transparent 65%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 23%),
    linear-gradient(135deg, #f9fbff, #dde2ec, #bfc6d4, #8b93a0);
  border: 1px solid rgb(255, 252, 252);
  color: #1a1d27;
}

/* BRONZE – 3rd place */
.lb-card--3 .lb-card-prize {
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.75) 0%, transparent 55%),
    radial-gradient(circle at 70% 45%, rgba(255, 180, 120, 0.35) 0%, transparent 65%),
    radial-gradient(circle at 22% 82%, rgba(0, 0, 0, 0.38) 0%, transparent 60%),
    linear-gradient(112deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 20%),
    linear-gradient(135deg, #ffe3c0, #f2a85c, #d2742a, #823814);
  border: 1px solid rgb(119, 64, 1);
  color: #1a110a;
}

.lb-card-prize-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.lb-card-prize-amount {
  font-size: 1.2rem;
  font-weight: 700;
}


.lb-card-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lb-card-meta-label {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lb-text-muted);
}

.lb-card-meta-value {
  font-size: 0.92rem;
}

/* ====================================
   COUNTDOWN WITH LEFT + RIGHT LINES
==================================== */

.credits-info {
  text-align: center;
  color: var(--lb-text-muted);
  font-size: 14px;
} 

.credits-info i {
  color: var(--lb-gold);
  margin-right: 3px;
}

.lb-countdown-bar {
  max-width: 760px;
  margin: 40px auto 0;
  padding: 0 24px;
  margin-bottom: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.lb-countdown-bar::before,
.lb-countdown-bar::after {
  content: "";
  flex: 1 1 140px;
  height: 1px;
  opacity: 0.9;
  filter: drop-shadow(0 0 6px rgba(245, 180, 0, 0.6));
}

.lb-countdown-bar::before {
  background: linear-gradient(
    to left,
    rgba(245, 180, 0, 0.8),
    rgba(245, 180, 0, 0.25),
    rgba(245, 180, 0, 0)
  );
}

.lb-countdown-bar::after {
  background: linear-gradient(
    to right,
    rgba(245, 180, 0, 0.8),
    rgba(245, 180, 0, 0.25),
    rgba(245, 180, 0, 0)
  );
}

.lb-countdown {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: baseline;
  z-index: 1;
}

.lb-countdown-item {
  min-width: 48px;
  text-align: center;
}

.lb-count-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.lb-count-label {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lb-gold);
}

@media (max-width: 640px) {
  .lb-countdown-bar {
    max-width: 100%;
    margin-top: 28px;
    padding: 0 16px;
    gap: 12px;
  }

  .lb-countdown-bar::before,
  .lb-countdown-bar::after {
    flex: 1 1 80px;
  }

  .lb-countdown {
    gap: 16px;
  }

  .lb-count-number {
    font-size: 1.1rem;
  }

  .lb-count-label {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }
}

/* ========= PARTICIPANTS LIST ========= */
.lb-participants {
  padding: 10px 6vw 80px;
  background:
    radial-gradient(circle 450px at 110% 50%, rgba(255,200,80,0.2) 0%, rgba(14,13,13,0) 90%),
    radial-gradient(circle 450px at -10% 50%, rgba(255,200,80,0.2) 0%, rgba(14,13,13,0) 90%),
    #0f0f0f;
}

.lb-participants-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.lb-participants-header {
  display: grid;
  grid-template-columns: 0.94fr 350px 110px;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--lb-text-main);
}

.lb-participants-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.lb-participants-header-left i {
  font-size: 1rem;
  color: var(--lb-text-muted)
}

.lb-participants-header-wagered {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.lb-participants-header-prize {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  font-size: 1rem;
  font-weight: 500;
  justify-self: end;
}

.lb-participant-row {
  display: grid;
  grid-template-columns: 1fr 360px 110px;
  align-items: center;
  gap: 18px;
  padding: 12px 20px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.lb-participant-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.lb-participant-rank {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 42px;
  padding: 3px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  background: #0d0d13;
  color: var(--lb-text-muted);
}

.lb-participant-wagered .lb-part-value {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 6px 16px;
  width: 80px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 0, rgba(0, 0, 0, 0.32) 0, transparent 55%),
    linear-gradient(135deg, #0f0f0f, #0f0f0f);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lb-text-main);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lb-participant-prize .lb-part-prize-amount {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  padding: 6px 4px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 0, rgba(77, 76, 76, 0.32) 0, transparent 55%),
    linear-gradient(135deg, #0f0f0f, #0f0f0f);
  border: 1px solid rgba(255, 255, 255, 0.2 );
  font-size: 1rem;
  font-weight: 700;
  color: var(--lb-text-main);
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.5),
    0 0 14px rgba(255, 255, 255, 0.4);
}

.lb-participant-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lb-participant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lb-participant-name {
  font-size: 1rem;
  color: var(--lb-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-participant-wagered,
.lb-participant-prize {
  display: flex;
  align-items: center;
}

.lb-participant-wagered {
  justify-content: center;
  text-align: center;
}

.lb-participant-prize {
  justify-content: flex-end;
  text-align: right;
}

.lb-part-prize-amount {
  font-size: 0.9rem;
  font-weight: 700;
}

.decimal-gray {
  color: #888888;
}


/* Credits info under subtitle */
#lb-history-credits .credits-info {
  margin-top: 6px;
  font-size: 13px;
  color: #9b9b9b;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

#lb-history-credits .credits-info i {
  color: #f5b400;       /* gold icon */
  font-size: 14px;
}



/* --- YouTube Section --- */
.youtube-section {
  padding: 64px 5%;
  background: #0f0f0f;
  color: #fff;
  font-family: "Sora", sans-serif;
  position: relative;
}

/* subtle top divider */
.youtube-section::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  opacity: 0.6;
}

/* HEADER */
.youtube-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 20px auto;
  padding: 0 20px;
}

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

.youtube-logo {
  height: 26px;
  border-radius: 6px;
}

.youtube-header h2 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5f5f5;
}

/* "Visit Channel" pill */
.visit-channel-btn {
  font-size: 0.78rem;
  color: #d0d0d0;
  background: radial-gradient(circle at top left, #272935 0, #14141a 60%, #101018 100%);
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease,
    background 0.15s ease;
}

.visit-channel-btn::after {
  content: "↗";
  font-size: 0.7rem;
  opacity: 0.7;
}

.visit-channel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
  background: radial-gradient(circle at top left, #343744 0, #171722 70%, #11111a 100%);
  color: #ffffff;
}

/* CAROUSEL WRAPPER */
.youtube-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 20px 0;
}

/* track with thumbnails */
.videos-container {
  display: flex;
  gap: 18px;
  overflow: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

/* video card */
.youtube-video-card {
  min-width: 230px;
  max-width: 260px;
  background: radial-gradient(circle at 0 0, #252733 0, #15151b 55%, #101015 100%);
  border-radius: 14px;
  padding: 10px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.65);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease, background 0.22s ease;
  text-align: left;
  flex-shrink: 0;
}



/* hover only on devices that support it */
@media (hover: hover) {
  .youtube-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at 0 0, #2b2f3c 0, #171721 55%, #101017 100%);
  }
}

.youtube-video-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* thumbnail */
.youtube-video-thumbnail {
  width: 100%;
  height: 130px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* title & meta */
.youtube-video-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: #f3f3f3;
  margin-top: 8px;
  line-height: 1.2em;
  height: 2.4em;            /* 2 lines */
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.youtube-video-date {
  font-size: 0.7rem;
  color: #8f93a1;
  margin-top: 4px;
  text-align: left;
}

/* ARROW BUTTON */
.arrow-yt {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 0 0, #262834 0, #15151d 70%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e6e6e6;
  font-size: 1.5rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease;
  z-index: 3;
}

.arrow-yt:hover {
  transform: translateY(-50%) translateX(1px);
  background: radial-gradient(circle at 0 0, #343744 0, #171722 70%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.arrow-yt-right {
  right:-3%;
}

.arrow-yt-left {
  left: -3%;
}

/* hidden/disabled state for left arrow */
.arrow-yt.is-disabled {
  opacity: 0;
  pointer-events: none;
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .youtube-section {
    padding: 48px 4%;
  }

  .youtube-header {
    padding: 0 8px;
  }

  .youtube-carousel {
    padding: 4px 8px 0;
  }

  .youtube-video-card {
    min-width: 210px;
  }

  .arrow-2 {
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}

@media (max-width: 640px) {
  .youtube-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .visit-channel-btn {
    align-self: flex-start;
  }

  .videos-container {
    gap: 14px;
  }

  .arrow-2 {
    right: 10px;
    top: 46%;
  }
}





/* --- YouTube slide animation --- */
.videos-container {
  position: relative;
  overflow: hidden;
}

.youtube-video-card {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.youtube-video-card.show {
  opacity: 1;
  transform: translateX(0);
}
 



/* Socials */
.socials-section {
  padding: 60px 5%;
  background: #0f0f0f;
  color: white;
  font-family: 'Sora', sans-serif;
}

.socials-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.socials-header h2 {
  font-size: 1.3rem;
  font-weight: 600;
}

.socials-icon {
  font-size: 1.2rem;
  color: #8a8988;
}

.socials-wrapper {
  max-width: 950px;
  margin: 0 auto;
}

.socials-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 45px;
  flex-wrap: wrap;
}

.socials-left {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-card {
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: #ccc;
  transition: all 0.3s ease;
  min-height: 55px;
}

.social-card:hover {
  background: #1b1b1b;
  transform: translateY(-2px);
}

.social-logo {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  margin-right: 12px;
}

.social-info {
  flex-grow: 1;
}

.social-info h3 {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 1px;
}

.social-info p {
  font-size: 0.72rem;
  color: #aaa;
}

.social-arrow {
  color: #999;
  font-size: 1rem;
  transition: transform 0.25s ease, color 0.25s ease;
}

.social-card:hover .social-arrow {
  transform: translateX(4px);
  color: #ffae00;
}

.socials-right {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  margin-top: -80px;
}

.socials-about {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding-bottom: 22px;
  color: #ccc;
  width: 100%;
}

.about-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}

.socials-about h3 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.socials-about p {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 15px;
  color: #aaa;
}

.about-stats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-stats li {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 5px;
}

.about-stats span {
  color: #ffae00;
  font-weight: 600;
  margin-right: 4px;
}

.socials-right {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.community-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  padding-left: 4px;
  margin-top: -6px;
  margin-bottom: 10px;
}

.community-header h2 {
  font-size: 1.3rem;
  font-weight: 600;
}

.community-icon {
  font-size: 1.4rem;
  color: #8a8988;
}

.socials-about {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px 24px 55px;
  color: #ccc;
  box-sizing: border-box;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: -3px;
}

.about-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-actions a {
  background: #ffae00;
  color: #000;
  text-align: center;
  padding: 8px 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.3s;
}

.about-actions a:hover {
  background: #ffcc4d;
}

footer {
  background-color: #111;
  color: #aaa;
  padding: 40px 20px;
  border-top: 1px solid #222;
}

.footer-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 900px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.footer-logo img {
  width: 45px;
  height: 45px;
  border-radius: 6px;
}

.footer-logo h2 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-section h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 6px;
}

.footer-section ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-center {
  max-width: 350px;
  text-align: center;
  background-color: #1a1a1a;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #222;
}

.footer-center h4 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-center p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #bbb;
}

.footer-right {
  text-align: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 0px;
  margin-bottom: 12px;
}

.footer-icons a {
  color: #aaa;
  transition: color 0.3s;
}

.footer-icons a:hover {
  color: #fff;
}

.footer-icons svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-icons img {
  padding: 10px;
}

.footer-icons img:hover {
  background-color: #424242;
  border-radius: 50px;
  padding: 10px;
}

.madeby {
  font-size: 0.9rem;
  color: #777;
}

.madeby a {
  color: #ccc;
  text-decoration: none;
  font-weight: 600;
}

.madeby a:hover {
  color: #fff;
}

/* --- PRELOADER WITH PROGRESS BAR --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  animation: pulse 1.6s ease-in-out infinite;
}

.loader-text {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

.progress-bar {
  width: 180px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin-top: 6px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f8b700, #ffdb4d);
  border-radius: 6px;
  transition: width 0.2s ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}











/* ===== HISTORY SECTION ===== */
/* ===== CONTAINER + HEADER ===== */

.lb-history {
  max-width: 1100px;
  margin: 48px auto 0;     /* distance from top10 */
  padding: 0 24px;
}

.lb-history-header {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
}

.lb-history-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lb-text-main);
  margin-left: 30px;       /* small nudge to the right */
}

.lb-history-title-row i {
  font-size: 0.9rem;
  color: var(--lb-text-muted)
}

/* ===== GRID + CARD ===== */

.lb-history-grid {
  display: flex;
  flex-wrap: wrap;         /* allow wrapping */
  justify-content: center; /* center cards */
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.lb-history-card {
  flex: 0 0 300px;         /* ~300px wide card */
  max-width: 300px;
  background: radial-gradient(circle at top left, #252733 0, #15151d 46%, #111118 100%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.lb-history-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  border-color: var(--lb-gold);
}

/* top row: chip + end date */

.lb-history-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.lb-history-chip {
  padding: 3px 8px;
  font-size: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lb-history-date {
  font-size: 0.7rem;
  color: #8f92a1;
}

/* title + pool */

.lb-history-title {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}

.lb-history-sub {
  font-size: 0.75rem;
  color: #8f92a1;
  margin-top: -6px;
}

.lb-history-pool {
  padding: 8px 10px;
  border-radius: 8px;
  background: #191924;
  border: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lb-history-pool-label {
  font-size: 0.75rem;
  color: #a3a6b4;
}

.lb-history-pool-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8b700;
}

/* ===== WINNER HIGHLIGHT ===== */

.lb-history-winner {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #191924;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* left side: big avatar + text */

.lb-history-winner-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;           /* take remaining width */
  min-width: 0;      /* prevent overflow */
}

.lb-history-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/* text wrapper */

.lb-history-winner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* label “Top winner” */

.lb-history-winner-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #a3a6b4;
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: 4px;
}

.lb-history-winner-label i {
  color: #f8b700;
  font-size: 0.9rem;
}

/* row: tiny avatar + name */

.lb-history-winner-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lb-history-avatar-xs {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.lb-history-winner-name {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: normal; /* allow wrapping */
}

/* right side: wager meta */

.lb-history-winner-meta {
  text-align: right;
  flex-shrink: 0;
}

.lb-history-wager-label {
  font-size: 0.7rem;
  color: #a3a6b4;
}

.lb-history-wager-value {
  font-size: 0.82rem;
  font-weight: 600;
}

/* ===== CARD FOOTER ===== */

.lb-history-footer {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lb-history-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #a3a6b4;
}

.lb-history-mini .dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #f8b700;
}

.lb-history-btn {
  padding: 5px 10px;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #f5f5f5;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.lb-history-btn-icon {
  font-size: 0.8rem;
}

.lb-history-btn:hover {
  background: #ffd54b;
  border-color: #ffd54b;
  color: #111;
  transform: translateY(-1px);
}

/* ===== RESPONSIVE (SMALL SCREENS) ===== */

@media (max-width: 768px) {
  .lb-history {
    padding: 0 16px;
  }

  .lb-history-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .lb-history-card {
    max-width: 100%;
    flex: 1 1 auto;
  }
}

/* ===== MODAL ===== */

.lb-history-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lb-history-modal.is-open {
  display: flex;
}

.lb-history-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.lb-history-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  background: #13141c;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
}

.lb-history-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #8f92a1;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
}

.lb-history-close:hover {
  color: #ffffff;
}

.lb-history-dialog-header {
  margin-bottom: 12px;
}

.lb-history-dialog-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8f92a1;
}

.lb-history-dialog-title {
  font-size: 1.2rem;
  margin-top: 4px;
  margin-bottom: 2px;
}

.lb-history-dialog-sub {
  font-size: 0.82rem;
  color: #a3a6b4;
}

.lb-history-table-wrapper {
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: #151623;
  overflow: hidden;
  overflow-y: auto;
}

.lb-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.lb-history-table thead {
  background: rgba(0, 0, 0, 0.25);
}

.lb-history-table th,
.lb-history-table td {
  padding: 9px 12px;
  text-align: left;
}

.lb-history-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8f92a1;
}

.lb-history-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.2);
}

.lb-history-table tbody tr:first-child td {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.lb-history-player {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lb-history-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.lb-history-name {
  font-weight: 500;
}

.lb-history-wager,
.lb-history-prize {
  white-space: nowrap;
}
















/* 1120px–641px: mid-range participants grid */
@media (max-width: 1120px) and (min-width: 641px) {
  .lb-participants-header {
    grid-template-columns: 0.92fr 241px 100px;
    gap: 14px;
    font-size: 0.95rem;
  }

  .lb-participant-row {
    grid-template-columns: 1fr 300px 100px;
    gap: 14px;
    padding: 10px 16px;
  }
}

/* 992px: rewards grid 2 columns */
@media (max-width: 992px) {
  .rewards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* 960px: hero layout stack */
@media (max-width: 960px) {
  .lb-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .lb-hero-copy {
    max-width: none;
  }

  .lb-top3 {
    max-width: 660px;
    margin-inline: auto;
  }
}

/* 950px: socials stack */
@media (max-width: 950px) {
  .socials-body {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .socials-left,
  .socials-right {
    flex: 1 1 100%;
    width: 100%;
    max-width: 500px;
  }
  .social-card {
    width: 100%;
  }
  .socials-about {
    text-align: center;
  }
  .about-stats li {
    justify-content: center;
  }
  .community-header {
    margin-top: 65px;
  }
}

/* 720px: top 3 stacking + hero padding */
@media (max-width: 720px) {
  .lb-top3.stacked {
    flex-direction: column;
    align-items: center;
  }
  .lb-card,
  .lb-card--1 {
    transform: none !important;
    width: 90%;
    max-width: 360px;
  }

  .lb-hero {
    padding: 64px 18px 80px;
  }

  .lb-top3 {
    flex-direction: column;
    align-items: stretch;
  }

  .lb-card,
  .lb-card--1 {
    transform: none;
  }
}

/* 640px: participants mobile grid */
@media (max-width: 640px) {
  .lb-participants-header {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.8fr;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .lb-participants-header-left {
    gap: 6px;
  }

  .lb-participants-header-left i {
    font-size: 0.8rem;
  }

  .lb-participants-header-wagered {
    font-size: 0.8rem;
    text-align: center;
    justify-self: center;
  }

  .lb-participants-header-prize {
    font-size: 0.8rem;
    text-align: right;
  }

  .lb-participant-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.8fr;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
  }

  .lb-participant-main {
    gap: 8px;
  }

  .lb-participant-rank {
    min-width: 32px;
    padding: 2px 6px;
    font-size: 0.75rem;
  }

  .lb-participant-avatar {
    width: 28px;
    height: 28px;
  }

  .lb-participant-name {
    font-size: 0.8rem;
  }

  .lb-participant-wagered {
    justify-content: center;
    text-align: center;
  }

  .lb-participant-prize {
    justify-content: flex-end;
    text-align: right;
  }

  .lb-part-value,
  .lb-part-prize-amount {
    font-size: 0.8rem;
  }
}

/* 600px: rewards + socials tweaks */
@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
  }

  section.rewards {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    left: auto;
    transform: none;
  }

  .rewards-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    padding: 0 18px;
    box-sizing: border-box;
  }

  .reward-card {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .social-card {
    padding: 8px 12px;
    min-height: 50px;
  }

  .social-logo {
    width: 26px;
    height: 26px;
  }

  .social-info h3 {
    font-size: 0.85rem;
  }

  .social-info p {
    font-size: 0.7rem;
  }
}

/* 500px: participants tiny screens */
@media (max-width: 500px) {
  .lb-participant-avatar {
    display: none;
  }

  .lb-participant-main {
    gap: 8px;
  }

  .lb-participant-prize .lb-part-prize-amount {
    font-size: 0.75rem;
    padding: 3px 2px;
    width: 80px;
  }

  .lb-participant-wagered .lb-part-value {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .lb-participant-rank {
    min-width: 12px;
    padding: 2px 4px;
    font-size: 0.7rem;
  }
}

/* 420px: hero title + CTA stacking */
@media (max-width: 420px) {
  .lb-title {
    font-size: 2.1rem;
  }

  .lb-hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .lb-participant-wagered .lb-part-value {
 
  width: 60px;
  
}

}

/* ===== UNIFIED 768px BREAKPOINT (all previous 768 rules merged here) ===== */
@media (max-width: 768px) {
  /* navbar sizing only, NO display: none on nav-links */
  .nav-container {
    padding: 10px 20px;
  }

  .nav-logo {
    height: 40px;
  }

  /* youtube layout */
  .youtube-header,
  .videos-container {
    width: 95%;
  }

  .arrow {
    right: 3%;
  }

  /* socials layout */
  .socials-section {
    padding: 40px 5%;
  }

  .socials-wrapper {
    align-items: center;
  }

  .socials-header {
    justify-content: center;
  }

  .social-card {
    width: 90%;
  }

  /* misc older hero styles (if used on this page) */
  .logo-text {
    font-size: 40px;
  }

  .description {
    font-size: 16px;
  }

  .floating-images img {
    width: 64px;
  }
}











/* Container Logic */
.lb-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
     font-family: 'Outfit', sans-serif;
}

/* Banner Styling */
.lb-policy-banner {
    background: #141414;
    border: 1px solid #141414;
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.policy-text {
    color: #94969b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-text strong { color: #fff; }
.warning-icon { font-size: 18px; }

.rules-btn {
    background: #2d3037;
    color: #fff;
    border: 1px solid #40444f;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.rules-btn:hover { border-color: #f2bc23; }

/* Modal Styling */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1d23;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    border: 1px solid #33363d;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: #24272e;
    padding: 20px 25px;
    border-bottom: 1px solid #33363d;
}

.modal-header h2 { margin: 0; font-size: 18px; color: #f2bc23; }

.modal-body { padding: 25px; color: #94969b; font-size: 15px; line-height: 1.6; }

.main-warning { color: #fff; font-weight: 600; margin-bottom: 15px; }

.rule-box {
    background: rgba(242, 188, 35, 0.05);
    border-left: 3px solid #f2bc23;
    padding: 15px;
    margin: 20px 0;
    color: #ccc;
    font-size: 14px;
}

.disclaimer-text {
    font-size: 12px;
    border-top: 1px solid #33363d;
    padding-top: 15px;
    font-style: italic;
}

.confirm-btn {
    width: 100%;
    background: #f2bc23;
    color: #000;
    border: none;
    padding: 14px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 650px) {
    .lb-policy-banner { flex-direction: column; text-align: center; gap: 15px; }
    .rules-btn { width: 100%; }
}