@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Effects */
.background-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(30, 144, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.08) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(2px 2px at 20px 30px, rgba(30, 144, 255, 0.4), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(30, 144, 255, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(30, 144, 255, 0.5), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(30, 144, 255, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: particleFloat 15s ease-in-out infinite;
}

/* Floating Images */
.floating-image {
  position: fixed;
  pointer-events: none;
  z-index: -2;
  opacity: 0.6;
  filter: drop-shadow(0 0 15px rgba(30, 144, 255, 0.7));
  transition: transform 0.1s ease-out, filter 0.5s ease-in-out;
}

@keyframes floatingImageGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(30, 144, 255, 1));
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 0.5rem 0;
  border-bottom: 2px solid rgba(30, 144, 255, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-glow {
  position: relative;
}

.logo {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  border: 3px solid #1e90ff;
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.6), 0 0 30px rgba(30, 144, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 25px rgba(30, 144, 255, 0.8), 0 0 40px rgba(30, 144, 255, 0.4);
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: #1e90ff;
  text-shadow: 0 0 10px rgba(30, 144, 255, 0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(30, 144, 255, 0.2);
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.3);
  transform: translateY(-2px);
}

/* Neon Effects */
.neon-text {
  color: #1e90ff;
  text-shadow: 0 0 5px rgba(30, 144, 255, 0.5), 0 0 10px rgba(30, 144, 255, 0.3), 0 0 15px rgba(30, 144, 255, 0.2);
}

.neon-border {
  border: 2px solid #1e90ff;
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.3), inset 0 0 10px rgba(30, 144, 255, 0.1);
  position: relative;
}

.neon-btn {
  background: linear-gradient(45deg, rgba(30, 144, 255, 0.2), rgba(0, 191, 255, 0.2));
  border: 2px solid #1e90ff;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.neon-btn:hover {
  background: linear-gradient(45deg, rgba(30, 144, 255, 0.4), rgba(0, 191, 255, 0.4));
  box-shadow: 0 0 20px rgba(30, 144, 255, 0.4), inset 0 0 20px rgba(30, 144, 255, 0.1);
  transform: translateY(-3px);
}

/* Main Content */
.main-content {
  margin-top: 80px;
  min-height: 100vh;
  padding: 2rem;
  flex: 1;
}

.hero-section {
  max-width: 1400px;
  margin: 0 auto;
}

.hero-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title-line {
  display: block;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 4rem;
  font-weight: 400;
}

/* Content Grid - Stacked Layout */
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Sign Up Card */
.signup-card {
  background: #0a0a0a;
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 144, 255, 0.3);
  max-width: 100%;
}

.signup-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(30, 144, 255, 0.2);
}

.rainbet-section {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.rainbet-logo {
  height: 100px;
  filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.1));
  margin-bottom: 1.5rem;
}

.exclusive-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: linear-gradient(45deg, #ff6b00, #ff8500);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  animation: badgePulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
}

.casino-tagline {
  color: #1e90ff;
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(30, 144, 255, 0.08);
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(30, 144, 255, 0.15);
  border-color: rgba(30, 144, 255, 0.3);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(30, 144, 255, 0.1);
}

.benefit-icon {
  font-size: 1.5rem;
  min-width: 30px;
  color: #1e90ff;
  text-align: center;
}

.benefit-text {
  flex: 1;
}

.benefit-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.benefit-desc {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.4;
}

.signup-cta {
  text-align: center;
}

.cta-text {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.affiliate-btn {
  width: 100%;
  padding: 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  position: relative;
  background: linear-gradient(45deg, #1e90ff, #00bfff);
  border: none;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.affiliate-btn:hover {
  background: linear-gradient(45deg, #0080e6, #00a6ff);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30, 144, 255, 0.4);
}

.btn-lightning {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.affiliate-btn:hover .btn-lightning {
  left: 100%;
}

/* CTA Buttons Section */
.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.leaderboard-cta,
.discord-cta {
  text-align: center;
}

.leaderboard-btn,
.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.discord-btn {
  background: linear-gradient(45deg, rgba(114, 137, 218, 0.2), rgba(88, 101, 242, 0.2));
  border: 2px solid #7289da;
}

.discord-btn:hover {
  background: linear-gradient(45deg, rgba(114, 137, 218, 0.4), rgba(88, 101, 242, 0.4));
  box-shadow: 0 0 20px rgba(114, 137, 218, 0.4), inset 0 0 20px rgba(114, 137, 218, 0.1);
}

.btn-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.leaderboard-btn:hover .btn-arrow,
.discord-btn:hover .btn-arrow {
  transform: translateX(10px) rotate(15deg);
}

/* Stream Section */
.stream-section {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.stream-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.stream-header h3 {
  color: #1e90ff;
  font-size: 1.5rem;
  font-weight: 700;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid #ff0000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff0000;
  border-radius: 50%;
  animation: livePulse 1s ease-in-out infinite;
}

.embed-container {
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: #111;
}

.embed-container iframe {
  width: 100%;
  height: 100%;
}

.stream-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.viewer-count {
  color: #1e90ff;
  font-weight: 700;
}

/* Leaderboard Page */
.leaderboard-main {
  margin-top: 80px;
  padding: 2rem;
  min-height: 100vh;
  flex: 1;
}

.leaderboard-container {
  max-width: 1400px;
  margin: 0 auto;
}

.leaderboard-title {
  text-align: center;
  font-size: 3.5rem;
  font-weight: 900;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 0 1rem;
}

.prize-amount {
  margin-bottom: -1rem;


  font-size: 4rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 212, 170, 0.5), 0 0 20px rgba(0, 212, 170, 0.3);
}

/* Timer */
.timer-container {
  text-align: center;
  margin-bottom: 3rem;
  transition: all 0.5s ease;
}

.timer-container.hidden {
  opacity: 0;
  transform: translateY(-50px);
  height: 0;
  margin: 0;
  overflow: hidden;
}

.timer {
  background: linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(20, 20, 50, 0.9));
  border-radius: 20px;
  padding: 2rem 3rem;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.timer-label {
  color: #1e90ff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.timer-display {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Controls */
.leaderboard-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.control-btn {
  padding: 1rem 2.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(30, 144, 255, 0.1);
  border: 2px solid rgba(30, 144, 255, 0.3);
  color: #ccc;
}

.control-btn.active {
  background: linear-gradient(45deg, #1e90ff, #00bfff);
  border-color: #1e90ff;
  color: #fff;
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.4);
  transform: translateY(-2px);
}

.control-btn:hover:not(.active) {
  background: rgba(30, 144, 255, 0.2);
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.2);
  transform: translateY(-1px);
}

/* Podium Section */
.podium-section {
  margin-bottom: 4rem;
}

.podium-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-end;
  perspective: 1000px;
}

.podium-card {
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.1s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
}

.podium-card:hover {
  box-shadow: 0 0 30px rgba(30, 144, 255, 0.6), 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: #00bfff;
}

.first-place {
  transform: scale(1.1);
  background: rgb(196 181 61 / 25%) !important;
  border: 3px solid #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
  min-height: 400px;
}

.second-place {
  background: rgb(84 84 84 / 65%) !important;
  border: 3px solid #c0c0c0;
  box-shadow: 0 0 15px rgba(192, 192, 192, 0.2), 0 10px 25px rgba(0, 0, 0, 0.2);
  min-height: 350px;
}

.third-place {
  background: rgb(42 32 21 / 75%) !important;
  border: 3px solid #cd7f32;
  box-shadow: 0 0 15px rgba(205, 127, 50, 0.2), 0 10px 25px rgba(0, 0, 0, 0.2);
  min-height: 300px;
}

.rank-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 auto 1.5rem;
  background: #1e90ff;
  color: #fff;
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.4);
}

.rank-badge.champion {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #000;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.player-avatar {
  margin-bottom: 1.5rem;
  position: relative;
}

.avatar-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #1e90ff;
  margin: 0 auto;
  position: relative;
  animation: avatarSpin 10s linear infinite;
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.3);
}

.champion-ring {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.avatar-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #1e90ff, #00bfff);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
}

.player-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.champion-name {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.player-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prize-stat {
  background: rgba(0, 212, 170, 0.1);
  border-color: rgba(0, 212, 170, 0.3);
}

.champion-prize {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
}

.stat-label {
  font-size: 0.8rem;
  color: #ccc;
  font-weight: 700;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
}

.champion-prize .stat-value {
  color: #ffd700;
}

/* Leaderboard Table */
.leaderboard-table {
  background: linear-gradient(135deg, rgba(10, 10, 30, 0.9), rgba(20, 20, 50, 0.9));
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.table-header {
  background: linear-gradient(45deg, #1e90ff, #00bfff);
  padding: 1.5rem;
  text-align: center;
}

.table-header h3 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.leaderboard-table table {
  width: 100%;
  border-collapse: collapse;
}

.leaderboard-table th {
  background: rgba(30, 144, 255, 0.2);
  padding: 1.5rem;
  text-align: left;
  color: #1e90ff;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(30, 144, 255, 0.5);
}

.leaderboard-table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(30, 144, 255, 0.2);
  transition: all 0.3s ease;
}

.leaderboard-table tr:hover {
  background: rgba(30, 144, 255, 0.1);
  transform: scale(1.02);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #1e90ff;
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.username {
  color: #1e90ff;
  font-weight: 700;
}

.wagered {
  color: #fff;
  font-weight: 700;
}

.prize {
  color: #00d4aa;
  font-weight: 900;
}

/* Footer - Improved and Cleaner */
.footer {
  background: rgba(0, 0, 0, 0.95);
  border-top: 2px solid rgba(30, 144, 255, 0.2);
  padding: 2rem;
  text-align: center;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.social-icon {
  color: #fff;
  font-size: 2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0.8rem;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.1);
  border: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
}

.social-icon:hover {
  color: #1e90ff;
  background: rgba(30, 144, 255, 0.2);
  border-color: #1e90ff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(30, 144, 255, 0.3);
}

.email-icon:hover {
  color: #00d4aa;
  border-color: #00d4aa;
  box-shadow: 0 10px 25px rgba(0, 212, 170, 0.3);
}

.footer-text {
  text-align: center;
}

.footer-text p {
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

.gamble-aware-link {
  color: #1e90ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gamble-aware-link:hover {
  color: #00bfff;
  text-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

/* Animations */
@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(-60px) rotate(240deg); }
}

@keyframes logoGlow {
  0% { box-shadow: 0 0 15px rgba(30, 144, 255, 0.4); }
  100% { box-shadow: 0 0 25px rgba(30, 144, 255, 0.6); }
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes crownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes avatarSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .podium-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .first-place {
    order: -1;
    transform: none;
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-logo-group {
    gap: 0.5rem;
  }

  .brand-text {
    font-size: 1rem;
  }

  .logo {
    height: 50px;
    width: 50px;
  }

  .main-content,
  .leaderboard-main {
    padding: 1rem;
  }

  .signup-card,
  .stream-section {
    padding: 2rem;
    max-width: 100%;
  }

  .footer-links {
    gap: 1.5rem;
  }

  .social-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
  }

  .footer-text p {
    font-size: 0.8rem;
  }

  .timer {
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
  }

  .timer-label {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    letter-spacing: 1px;
  }

  .timer-display {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .leaderboard-table {
    margin: 0 -0.5rem 1rem -0.5rem;
    border-radius: 15px;
    margin: 0.5%;
  }

  .leaderboard-container {
    padding-bottom: 1rem;
  }

  .leaderboard-main {
    margin-top: 80px;
    padding: 1rem 1rem 1rem 1rem;
    min-height: auto;
    flex: 1;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 0.8rem 0.4rem;
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .table-header {
    padding: 1.2rem 1rem;
  }

  .podium-section {
    margin-bottom: 1.5rem;
  }

  .timer-container {
    margin-bottom: 1.5rem;
  }

  .leaderboard-controls {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .control-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .timer-container {
    margin-bottom: 2rem;
  }

  .leaderboard-title {
    font-size: 2.5rem;
    padding: 0 0.5rem;
  }

  .prize-amount {
    font-size: 2.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }

  .leaderboard-btn,
  .discord-btn {
    padding: 1.2rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .leaderboard-main {
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  }

  .leaderboard-container {
    padding-bottom: 0.5rem;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 0.7rem 0.3rem;
    line-height: 1.5;
  }

  .timer-display {
    font-size: 1.5rem;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 1rem 0.3rem;
    font-size: 0.7rem;
  }

  .rank-number {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }

  .username,
  .wagered,
  .prize {
    font-size: 0.75rem;
  }

  .leaderboard-table th:nth-child(2),
  .leaderboard-table td:nth-child(2) {
    width: 30%;
  }

  .leaderboard-table th:nth-child(3),
  .leaderboard-table td:nth-child(3) {
    width: 27.5%;
  }

  .leaderboard-table th:nth-child(4),
  .leaderboard-table td:nth-child(4) {
    width: 27.5%;
  }

  .brand-text {
    display: none;
  }

  .nav-menu {
    gap: 1rem;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .leaderboard-title {
    font-size: 2rem;
    padding: 0 0.25rem;
    margin-bottom: 2rem;
  }

  .prize-amount {
    font-size: 2.2rem;
  }

  .footer-links {
    gap: 1rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}

@media (max-width: 360px) {
  .leaderboard-title {
    font-size: 1.8rem;
  }

  .prize-amount {
    font-size: 2rem;
  }
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: red;
  font-weight: bold;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}
/* Existing styles.css content */
.gamble-aware-link:hover {
  color: #ff0000;
}

/* New styles for footer section */
.made-by {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  font-weight: 500;
}

.heart {
  color: #ff4757;
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

.creator {
  color: #1e90ff;
  font-weight: 700;
  transition: all 0.3s ease;
}

.creator:hover {
  color: #00bfff;
  text-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

  @media (max-width: 768px) {
    #promoCode {
      scale: 0.8;
    }
  }
  @media (max-width: 480px) {
    #promoCode {
      scale: 1;
    }
  }
/* Rest of the existing styles.css content */