/* 🌸 Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Great+Vibes&display=swap');

/* 🌸 Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(180deg, #ffb6ff, #b347ff, #6100ff);
  background-attachment: fixed;
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 🌸 Container */
.container {
  flex: 1;
  padding: 2rem;
  text-align: center;
}

/* 🌸 Header */
.site-header {
  margin-bottom: 2rem;
}

.site-title {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  font-weight: 500;
  background: linear-gradient(90deg, #ff87ff, #ff48c4, #f0a3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 150, 255, 0.6);
}

.site-sub {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-top: 0.3rem;
  transform: translateX(15px); /* moves slightly right */
  text-shadow: 0 0 6px rgba(255, 160, 255, 0.6);
}

.code-text {
  font-style: italic;
  color: #ffd6ff;
  font-weight: 500;
  margin-top: 0.5rem;
  text-shadow: 0 0 6px rgba(255, 150, 255, 0.8);
}

/* 🐔 Cards */
.cards {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 1rem;
  text-decoration: none;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 160, 255, 0.3);
}

.card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(255, 130, 255, 0.4);
}

.card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255,255,255,0.3);
  object-fit: contain;
}

.card-left h2 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 6px rgba(255, 200, 255, 0.5);
}

.card-sub {
  font-size: 0.95rem;
  opacity: 0.9;
  text-shadow: 0 0 5px rgba(255, 150, 255, 0.4);
}

.card-btn {
  background: linear-gradient(90deg, #ff6ec4, #7873f5);
  color: white;
  padding: 0.7rem 1.4rem;
  border-radius: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.card-btn:hover {
  background: linear-gradient(90deg, #ff87ff, #b347ff);
  transform: scale(1.05);
}

/* 🌈 Leaderboard */
.leaderboard-wrap {
  margin-top: 2rem;
}

.leaderboard {
  margin: 1rem auto;
  max-width: 850px;
  width: 95%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 150, 255, 0.3);
  backdrop-filter: blur(8px);
}

.lb-head,
.lb-row {
  display: grid;
  grid-template-columns: 0.5fr 2fr 1fr 1fr;
  align-items: center;
  padding: 0.9rem 1rem;
}

.lb-head {
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 160, 255, 0.6);
}

.lb-row {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.lb-row:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 160, 255, 0.3);
}

.lb-rank.gold { color: gold; font-weight: bold; text-shadow: 0 0 8px gold; }
.lb-rank.silver { color: silver; font-weight: bold; text-shadow: 0 0 8px silver; }
.lb-rank.bronze { color: #cd7f32; font-weight: bold; text-shadow: 0 0 8px #cd7f32; }

.lb-wager, .lb-prize {
  text-align: center;
}

.lb-wager .label, .lb-prize .label {
  font-size: 0.8rem;
  opacity: 0.8;
  text-shadow: 0 0 6px rgba(255,255,255,0.5);
}

/* ✨ Info Boxes */
.info-box {
  max-width: 850px;
  margin: 2rem auto;
  padding: 1.2rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
  box-shadow: 0 0 12px rgba(255, 150, 255, 0.4);
  text-shadow: 0 0 6px rgba(255,255,255,0.3);
}

.info-box.glow {
  border: 1px solid rgba(255, 200, 255, 0.4);
}

.dual-info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.dual-info .info-box.small {
  flex: 1 1 400px;
}

/* 🕒 Countdown */
.countdown-section {
  margin: 1.5rem auto;
  text-align: center;
}

.countdown-label {
  font-size: 1.1rem;
  opacity: 0.85;
  text-shadow: 0 0 6px rgba(255,160,255,0.7);
}

.countdown-timer {
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 0.3rem;
  color: #ffd6ff;
  text-shadow: 0 0 15px #ffb6ff;
}

/* 🌟 Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(90deg, #ff6ec4, #7873f5);
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.4);
  background: linear-gradient(90deg, #ff87ff, #b347ff);
}

.register {
  display: inline-block;
  margin: 2rem auto;
}

.cta-row {
  display: flex;
  justify-content: center;
}

/* 💞 Socials Section */
.socials-box {
  margin-top: 3rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(255, 150, 255, 0.4);
  padding: 1.5rem;
  width: 90%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.socials-box h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  background: linear-gradient(90deg, #ffb6ff, #b347ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Great Vibes', cursive;
  text-shadow: 0 0 10px rgba(255, 180, 255, 0.6);
}

.social-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  opacity: 0.85;
  transition: all 0.3s ease;
  font-weight: 500;
  text-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.social:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.social img {
  width: 26px;
  height: 26px;
}

/* 🌀 Discord Floating Button */
.discord-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #5865f2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  border-radius: 2rem;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(88,101,242,0.7);
  text-shadow: 0 0 6px rgba(0,0,0,0.4);
}

.discord-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(88,101,242,0.9);
}

.discord-float img {
  width: 22px;
  height: 22px;
}

/* 📜 Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: auto;
  opacity: 0.9;
  font-size: 0.9rem;
  color: #ffd6ff;
  text-shadow: 0 0 6px rgba(255,150,255,0.8);
}
/* 🌸 Header Titles with White Stroke */
.site-title,
.socials-box h2,
.chicken-title {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  font-weight: 500;
  background: linear-gradient(90deg, #ff87ff, #ff48c4, #f0a3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-shadow:
    0 0 10px rgba(255, 150, 255, 0.6),
    0 0 2px rgba(255, 255, 255, 0.8); /* fallback glow */
  -webkit-text-stroke: 0.8px white; /* subtle white outline */
}

/* 🐔 Chicken Page Title */
.chicken-title {
  font-size: 2.8rem;
  -webkit-text-stroke: 0.8px white;
}

/* 🏆 Podium for Top 3 */
.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1.2rem;
  margin: 1rem auto 3.5rem auto;
  max-width: 720px;
  text-align: center;
  position: relative;
}

.podium div {
  flex: 1;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(255, 150, 255, 0.25);
  color: #fff;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  transition: all 0.3s ease;
  transform-origin: bottom center;
  animation: podiumPop 0.8s ease forwards;
}

@keyframes podiumPop {
  0% { transform: scaleY(0.3) translateY(50px); opacity: 0; }
  60% { transform: scaleY(1.15) translateY(-10px); opacity: 1; }
  100% { transform: scaleY(1) translateY(0); opacity: 1; }
}

.podium .first {
  height: 190px;
  background: linear-gradient(180deg, gold, #e0b200);
  color: #000;
  box-shadow: 0 0 30px gold;
  animation-delay: 0.1s;
}

.podium .second {
  height: 160px;
  background: linear-gradient(180deg, silver, #a0a0a0);
  color: #000;
  box-shadow: 0 0 30px silver;
  animation-delay: 0.2s;
}

.podium .third {
  height: 150px;
  background: linear-gradient(180deg, #cd7f32, #8b4513);
  color: #000;
  box-shadow: 0 0 30px #cd7f32;
  animation-delay: 0.3s;
}

.podium div span.name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.podium div .wager,
.podium div .prize {
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.3;
}

.podium div .prize {
  font-weight: 600;
  margin-top: 0.2rem;
}

/* 🟩 Mobile: stack podium vertically */
@media (max-width: 600px) {
  .podium {
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin: 0.6rem auto 2rem auto;
    max-width: 420px;
    width: 94%;
  }

  .podium div {
    width: 100%;
    max-width: 420px;
    height: auto;
    padding: 1rem 1.1rem;
    transform-origin: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .podium .first  { order: 0; }
  .podium .second { order: 1; }
  .podium .third  { order: 2; }

  .podium div span.name { font-size: 1.15rem; margin-bottom: 0.35rem; }
  .podium div .wager,
  .podium div .prize { font-size: 0.95rem; opacity: 0.9; }
}

/* 🌌 Darker Background Theme */
body {
  background: linear-gradient(180deg, #3a006b, #230046, #12002a);
}
.lb-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

.podium-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.4rem;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}
/* ===== Fix avatar sizing and podium safe styles ===== */
.lb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  object-fit: cover;
  box-shadow: 0 0 6px rgba(255,255,255,0.25);
  border: 2px solid rgba(255,255,255,0.06);
}

/* Podium avatars */
.podium img,
.podium-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 0.5rem;
  border: 3px solid rgba(255,255,255,0.15);
}

/* Ensure podium columns keep original classes and styles (first/second/third are already in CSS) */
.podium .first, .podium .second, .podium .third {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

/* Leaderboard row adjustments to match your grid */
.lb-row {
  display: grid;
  grid-template-columns: 0.5fr 2fr 1fr 1fr;
  align-items: center;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Keep leaderboard header style if present */
.lb-head {
  display: grid;
  grid-template-columns: 0.5fr 2fr 1fr 1fr;
  align-items: center;
  padding: 0.9rem 1rem;
}
.main-content {
  margin-top: 50px;
}
