* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: linear-gradient(
    to right,
    #0f0f0f 0%,
    #121212 50%,
    #0f0f0f 100%
  );
  color: #e0e0e0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
.main-header {
  background: rgba(15, 15, 15, 0.92);
  border-bottom: 1px solid #1e1e1e;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: grid;
  grid-template-columns: minmax(auto, max-content) 1fr minmax(auto, max-content);
  align-items: center;
  gap: 24px;
}
.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}
.header-left { justify-content: flex-start; }
.header-center { justify-content: center; }
.header-right { justify-content: flex-end; }
.logo-img {
  height: 54px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c0c0c0;
  font-weight: 500;
  padding: 12px 16px;
  transition: color 0.25s ease;
  text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
  color: #f6ae05;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #f6ae05;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-icon {
  width: 22px;
  height: 22px;
  transition: filter 0.25s ease;
}
.nav-link .nav-icon {
  filter:
    brightness(0)
    saturate(0%)
    invert(72%)
    sepia(8%)
    saturate(205%)
    hue-rotate(175deg)
    brightness(90%)
    contrast(88%);
}
.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
  filter:
    brightness(0)
    saturate(100%)
    invert(74%)
    sepia(85%)
    saturate(1412%)
    hue-rotate(352deg)
    brightness(102%)
    contrast(102%);
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.hero {
  height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.floating-items {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.floating-item {
  position: absolute;
  width: 150px;
  height: auto;
  opacity: 0.75;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.33));
  will-change: transform;
}
.floating-item img {
  width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain;
}
.floating-item.left.row-1 { left: clamp(50px, 17vw, 326.4px); top: 15vh; }
.floating-item.right.row-1 { right: clamp(50px, 17vw, 326.4px); top: 15vh; }
.floating-item.left.row-2 { left: clamp(30px, 25vw, 480px); top: 30vh; }
.floating-item.right.row-2 { right: clamp(30px, 25vw, 480px); top: 30vh; }
.floating-item.left.row-3 { left: clamp(40px, 13vw, 270px); top: 45vh; }
.floating-item.right.row-3 { right: clamp(40px, 13vw, 270px); top: 45vh; }
.floating-item.left.row-4 { left: clamp(35px, 22vw, 422px); top: 60vh; }
.floating-item.right.row-4 { right: clamp(35px, 22vw, 422px); top: 60vh; }
.floating-item.row-1 { animation: float-row1 12s ease-in-out infinite; }
.floating-item.row-2 { animation: float-row2 13s ease-in-out infinite; }
.floating-item.row-3 { animation: float-row3 11s ease-in-out infinite; }
.floating-item.row-4 { animation: float-row4 14s ease-in-out infinite; }
@keyframes float-row1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(14px, -10px) rotate(5deg); }
  50% { transform: translate(-8px, -16px) rotate(-4deg); }
  75% { transform: translate(10px, 6px) rotate(3deg); }
}
@keyframes float-row2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(16px, -12px) rotate(-6deg); }
  60% { transform: translate(-12px, -8px) rotate(5deg); }
  90% { transform: translate(8px, 10px) rotate(-3deg); }
}
@keyframes float-row3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(12px, -14px) rotate(7deg); }
  50% { transform: translate(-10px, 8px) rotate(-5deg); }
  80% { transform: translate(6px, 12px) rotate(4deg); }
}
@keyframes float-row4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  35% { transform: translate(18px, -8px) rotate(-5deg); }
  70% { transform: translate(-14px, -12px) rotate(6deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}
.breathing-logo-wrapper {
  perspective: 1000px;
  width: 420px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -22vh;
  position: relative;
}
.breathing-logo {
  width: 262px;
  height: auto;
  animation: breathe 10s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(200, 20, 20, 0.4));
  will-change: transform;
}
@keyframes breathe {
  0%, 100% { transform: scale(1.00); }
  50% { transform: scale(1.065); }
}
.dust-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.promo-text {
  margin-top: 12px;
  text-align: center;
}
.use-code {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.use-code .grey,
.use-code .orange {
  font-style: italic;
}
.use-code .grey { color: #b0b0b0; font-weight: 400; }
.use-code .orange { color: #f6ae05; font-weight: 700; }
.subtitle {
  font-size: 1.05rem;
  color: #888888;
  font-weight: 300;
  letter-spacing: 0.3px;
  margin-bottom: 32px;
}
.action-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 235px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  border-radius: 50px;
  text-decoration: none;
  background: #f6ae05;
  color: #ffffff;
  transition: all 0.25s ease;
}
.btn-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(100%);
}
.btn:hover {
  transform: scale(1.08);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.75);
}
.btn:hover .btn-icon {
  filter: brightness(0) invert(100%);
}
.btn span {
  text-shadow: none;
}
.btn:hover span {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.75);
}
.leaderboards-section {
  padding: 60px 0 100px;
  background: #0f0f0f;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.section-title .amount {
  color: #f6ae05;
}
.section-title .casino-name.rustmagic {
  color: white;
}
.section-title .casino-name.rustmagic .red-part {
  color: #d90057;
  font-weight: 700;
}

.purple-part {
  color: #cf26fe;
  font-weight: 700;     
}

.section-title .casino-name.rustclash {
  color: white;
}
.casino-switcher {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.casino-btn {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 12px 24px;
  width: 250px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
}
.casino-btn.active {
  border-color: #f6ae05;
  background: rgba(246, 174, 5, 0.12);
}
.casino-btn:hover:not(.active) {
  border-color: #555;
  transform: translateY(-3px);
}
.casino-logo {
  max-width: 99%;
  max-height: 125%;
  object-fit: contain;
}
.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;        /* bottoms stay aligned to the "ground" */
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.podium-card.place-2,
.podium-card.place-3 {
  align-self: center;           /* this centers them vertically relative to #1 */
}
.podium-card {
  width: 300px;
  background: linear-gradient(
    to bottom,
    #141414 0%,
    #1a1a1a 50%,
    #202020 100%
  );
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease;
}
.podium-card.place-1 {
  width: 300px;
  border-top: 5px solid #f6ae05;
  z-index: 2;
}
.podium-card.place-2,
.podium-card.place-3 {
  width: 275px;
  transition: transform 0.25s ease;
}
.podium-card.place-2:hover,
.podium-card.place-3:hover {
  transform: translateY(-9px);
}
.podium-card.place-1:hover {
  transform: scale(1.03);
}
.podium-card.place-1 {
  border-top: 5px solid #f6ae05;
}
.podium-card.place-2 {
  border-top: 4px solid #c0c0c0;
}
.podium-card.place-3 {
  border-top: 4px solid #cd7f32;
}
.podium-rank {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #888888;
  opacity: 0.7;
  z-index: 5;
}
.podium-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 45px auto 16px;
  border: 4px solid;
  background: #222;
}
.podium-card.place-1 .podium-avatar {
  border-color: #f6ae05;
  width: 120px;
  height: 120px;
}
.podium-card.place-2 .podium-avatar,
.podium-card.place-3 .podium-avatar {
  width: 100px;
  height: 100px;
}
.podium-username {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  padding: 0 12px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}
.podium-wagered-label {
  font-size: 0.95rem;
  color: #888;
}
.podium-wagered {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e0e0e0;
}
.podium-reward-box {
  background: #111;
  border-radius: 12px;
  padding: 12px 24px;
  margin: 16px auto 16px;
  display: inline-block;
  width: 90%;
  text-align: center;
}
.podium-reward {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f6ae05;
  margin: 0;
  line-height: 1;
}
.podium-card.place-1 .podium-reward {
  font-size: 1.65rem;
}
.countdown-wrapper {
  text-align: center;
  margin: 40px 0 60px;
}
.countdown-label {
  font-size: 1.25rem;
  color: #aaa;
  margin-bottom: 12px;
}
.countdown-timer {
  font-size: 2.8rem;
  font-weight: 700;
  color: #f6ae05;
  letter-spacing: 2px;
  text-shadow: 0 0 50px #a75120c4;
}
.leaderboard-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.leaderboard-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
}
.leaderboard-table th,
.leaderboard-table td {
  padding: 14px 20px;
  text-align: center;
  border-bottom: 1px solid #222;
}
.leaderboard-table th {
  background: #1a1a1a;
  color: #f6ae05;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
.leaderboard-table td {
  color: #e0e0e0;
  font-size: 1.05rem;
}
.leaderboard-table tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}
.leaderboard-table .place {
  color: #e0e0e0;
  width: 80px;
}
.leaderboard-table .player {
  width: 220px;
}
.leaderboard-table .wagered {
  width: 140px;
}
.leaderboard-table .reward {
  width: 120px;
  color: #e0e0e0;
  font-weight: 600;
}
:root {
  --accent-orange: #f6ae05;
  --accent-red: #ff5555;
  --text-light: #e0e0e0;
  --text-muted: #b0b0b0;
  --bg-dark: #0f0f0f;
  --bg-darker: #0a0a0a;
}
.scroll-down-indicator {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 50px;
  height: 50px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.scroll-down-indicator:hover {
  opacity: 0.9;
}
.chevron-down {
  position: relative;
  width: 100%;
  height: 100%;
  animation: bounce-down 2.4s infinite ease-in-out;
}
.chevron-down::before,
.chevron-down::after {
  content: '';
  position: absolute;
  bottom: 75px;
  width: 60%;
  height: 6px;
  background: #f6ae05;
  border-radius: 4px;
}
.chevron-down::before {
  left: 5.25px;
  transform: translateY(50%) rotate(45deg);
  transform-origin: left center;
}
.chevron-down::after {
  right: 5.25px;
  transform: translateY(50%) rotate(-45deg);
  transform-origin: right center;
}
@keyframes bounce-down {
  0%, 100% {
    transform: translateY(-15px);
    opacity: 0.55;
  }
  50% {
    transform: translateY(18px);
    opacity: 1;
  }
}

/* Crown on #1 avatar */
.avatar-wrapper {
  position: relative;
  display: inline-block;
  margin: 45px auto 16px;   /* same as before so layout doesn't jump */
}

.podium-avatar {
  display: block;
}

.crown-icon {
  position: absolute;
  top: -10%;                /* main adjustment — how high above the head */
  left: 50%;
  transform: translateX(-50%);
  width: 97px;              /* size of crown — adjust as needed */
  height: auto;
  pointer-events: none;
  z-index: 2;

  /* Optional: slight tilt or shadow for realism */
  /* transform: translateX(-50%) rotate(-8deg); */
  /* filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6)); */
}

/* Available Bonuses Section */
.bonuses-section {
  padding: 0px 0 60px;
  background: #0f0f0f;
}

.bonuses-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-light);     /* #e0e0e0 */
  margin-bottom: 50px;
}

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.bonus-card {
  width: 320px;
  height: 430px;
  background: linear-gradient(to bottom, #141414 0%, #1a1a1a 50%, #202020 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #222;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.bonus-banner {
  background: #111;
  text-align: center;
  border-bottom: 1px solid #222;
  flex-shrink: 0;
}

.bonus-casino-logo {
    max-width: 180px;
    height: 100%;
  object-fit: contain;
}

.bonus-content {
  flex: 1;
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;           /* ensure all text inside is centered */
}

.bonus-main {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.bonus-sub {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;          /* more space before code section */
}
.bonus-sub2 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-muted);
}

.bonus-code-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #888888;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bonus-code-box {
  background: #0f0f0f;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 14px;
  font-size: 1.65rem;
  font-weight: 700;
  color: #f6ae05;
  letter-spacing: 3px;
    max-width: 100%;       /* prevent it from being too wide */
        margin-bottom: 15px;
}

.btn-claim {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  background: #f6ae05;
  color: #ffffff;
  transition: all 0.25s ease;
  margin-top: 5px;             /* pushes to bottom */
  text-align: center;
}

.btn-claim:hover {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.75);
}

.btn-claim .btn-icon {
  display: none;
}

.podium-card.place-1 .podium-username {
  color: #ffd700;           /* gold */
  text-shadow: 0 0 10px #ffd70055;
}

.podium-card.place-2 .podium-username {
  color: #c0c0c0;           /* silver */
  text-shadow: 0 0 10px #c0c0c055;
}

.podium-card.place-3 .podium-username {
  color: #cd7f32;           /* bronze */
  text-shadow: 0 0 10px #cd7f3255;
}

.leaderboard-particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;           /* behind content, but above background */
}

/* Make sure the container can act as positioning context */
.leaderboards-section .container {
  position: relative;
  overflow: hidden;     /* optional – prevents particles escaping on edges */
}

.socials-section {
  padding: 60px 0 80px;
  background: #0f0f0f;
}

.socials-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 50px;
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.social-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: linear-gradient(to bottom, #1a1a1a 0%, #141414 100%);
  border: 1px solid #222;
  border-radius: 12px;
  text-decoration: none;
  color: #e0e0e0;
  transition: all 0.3s ease;
  min-height: 110px;
  position: relative;
  overflow: hidden;
}

.social-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* Normal state: only top border colored (simple accent) */
.social-badge.kick    { border-top: 3px solid #53fc18; }
.social-badge.discord { border-top: 3px solid #5865f2; }
.social-badge.twitter { border-top: 3px solid #ffffff; }   /* white for X */
.social-badge.tiktok  { border-top: 3px solid #fe2c55; }
.social-badge.instagram { border-top: 3px solid #d62976; }  /* pink-purple from IG gradient */

/* Hover: full border in platform color (thicker for emphasis) */
.social-badge:hover.kick {
  border: 3px solid #53fc18;
}
.social-badge:hover.discord {
  border: 3px solid #5865f2;
}
.social-badge:hover.twitter {
  border: 3px solid #ffffff;
}
.social-badge:hover.tiktok {
  border: 3px solid #fe2c55;
}
.social-badge:hover.instagram {
  border: 3px solid #d62976;     /* or #c13584, #833ab4, etc. */
}
/* Text styles (unchanged) */
.social-badge .platform {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.social-badge .handle {
  font-size: 1rem;
  color: #b0b0b0;
  font-weight: 500;
}

/* ────────────────────────────────────────────────
   Footer
───────────────────────────────────────────────── */
.main-footer {
  background: rgba(15, 15, 15, 0.92);
  border-top: 1px solid #1e1e1e;
  padding: 60px 0 40px;
  color: #b0b0b0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
}

.copyright {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-right {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 140px;
}

.footer-column h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e0e0e0;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #f6ae05;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-left {
    align-items: center;
  }
  .footer-right {
    justify-content: center;
  }
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;                    /* space between logo and text */
  margin-bottom: 12px;          /* space before copyright text */
}

.footer-logo {
  height: 64px;
  width: auto;
}

.footer-username {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-light);     /* #e0e0e0 */
  letter-spacing: 0.5px;
}

/* Optional: subtle glow/hover effect on username */
.footer-username:hover {
  color: #f6ae05;               /* your accent orange */
  text-shadow: 0 0 12px rgba(246, 174, 5, 0.5);
  transition: all 0.25s ease;
}

/* Make sure mobile stays centered/nice */
@media (max-width: 768px) {
  .footer-logo-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .footer-username {
    font-size: 1.4rem;
  }
}

.disclaimer-text {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);       /* #b0b0b0 as requested */
    margin: -24px auto 24px;        /* small top margin + auto horizontal for safety */
  max-width: 760px;               /* optional: prevents it from stretching too wide on large screens */
  line-height: 1.4;
}

.leaderboards-section .container {
  position: relative;
  overflow: hidden;           /* prevents particles from visually escaping edges */
}

.bonuses-title2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-light);     /* #e0e0e0 */
  margin-bottom: 50px;
}


/* Available Bonuses Section */
.bonuses-section2 {
  padding: 60px 0 60px;
  background: #0f0f0f;
}

.legal-section {
  padding: 80px 0 120px;
  background: #0f0f0f;
}

.legal-section h1.section-title {
  font-size: 2.8rem;
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.55rem;
  margin: 40px 0 16px;
  color: #f6ae05;
}

.legal-section p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #e0e0e0;
}

.legal-notice {
  margin-top: 60px;
  text-align: center;
  font-style: italic;
  color: #888888;
}

/* Make GambleAware link muted gray, no underline by default */
a[href*="gambleaware.org"] {
  color: #b0b0b0 !important;          /* muted gray */
  text-decoration: none;              /* remove underline */
  transition: color 0.2s ease;
}

a[href*="gambleaware.org"]:hover {
  color: #f6ae05;                     /* your accent orange on hover, or change to whatever you prefer */
  text-decoration: underline;         /* optional: underline only on hover */
}

/* ────────────────────────────────────────────────
   Mobile / Small screens (phones - portrait & landscape)
───────────────────────────────────────────────── */

/* Extra small phones (≤ 480px) */
@media (max-width: 480px) {

  .header-container {
    padding: 0 16px;
    height: 70px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .logo-img {
    height: 42px;
  }

  .main-nav ul {
    gap: 8px;
  }

  .nav-link {
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .nav-icon {
    width: 20px;
    height: 20px;
  }

  .hero {
    height: 85vh;
    min-height: 580px;
  }

  .breathing-logo-wrapper {
    width: 300px;
    height: 300px;
    margin-top: -18vh;
  }

  .breathing-logo {
    width: 200px;
  }

  .use-code {
    font-size: 1.35rem;
  }

  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .action-buttons {
    flex-direction: column;
    gap: 16px;
  }

  .btn {
    min-width: 220px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .floating-item {
    width: 110px;
  }

  .floating-item.left.row-1 { left: 5vw; top: 12vh; }
  .floating-item.right.row-1 { right: 5vw; top: 12vh; }
  .floating-item.left.row-2 { left: 8vw; top: 28vh; }
  .floating-item.right.row-2 { right: 8vw; top: 28vh; }
  .floating-item.left.row-3 { left: 6vw; top: 44vh; }
  .floating-item.right.row-3 { right: 6vw; top: 44vh; }
  .floating-item.left.row-4 { left: 7vw; top: 58vh; }
  .floating-item.right.row-4 { right: 7vw; top: 58vh; }

  .section-title {
    font-size: 1.8rem;
    padding: 0 10px;
  }

  .casino-switcher {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .casino-btn {
    width: 140px;
    height: 60px;
    padding: 10px 16px;
  }

  .podium {
    gap: 20px;
    margin-bottom: 40px;
  }

  .podium-card {
    width: 260px !important;
  }

  .podium-card.place-1 {
    width: 280px !important;
  }

  .podium-avatar {
    width: 90px;
    height: 90px;
    margin: 35px auto 12px;
  }

  .podium-card.place-1 .podium-avatar {
    width: 100px;
    height: 100px;
  }

  .countdown-timer {
    font-size: 2.1rem;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 12px 10px;
    font-size: 0.95rem;
  }

  .bonus-card {
    width: 100%;
    max-width: 340px;
    height: auto;
    min-height: 420px;
  }

  .bonus-main {
    font-size: 1.4rem;
  }

  .bonus-code-box {
    font-size: 1.45rem;
    letter-spacing: 2.5px;
  }

  .socials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .social-badge {
    padding: 18px 14px;
    min-height: 100px;
  }

  .footer-container {
    padding: 0 20px;
    gap: 32px;
  }

  .footer-logo {
    height: 52px;
  }

  .footer-username {
    font-size: 1.45rem;
  }
}

/* Phones & small tablets (≤ 768px) */
@media (max-width: 768px) {

  .container {
    padding: 0 20px;
  }

  .main-header {
    height: 70px;
  }

  .header-container {
    height: 70px;
  }

  .main-nav ul {
    gap: 6px;
  }

  .nav-link {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .hero {
    height: 90vh;
    padding-top: 70px;        /* give space for fixed header */
  }

  .breathing-logo-wrapper {
    margin-top: -15vh;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .podium {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .podium-card {
    width: 320px !important;
  }

  .podium-card.place-1,
  .podium-card.place-2,
  .podium-card.place-3 {
    width: 320px !important;
  }

  .leaderboard-table-wrapper {
    overflow-x: auto;
  }

  .leaderboard-table {
    min-width: 600px;     /* forces horizontal scroll on very narrow phones */
  }

  .bonuses-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bonus-card {
    margin: 0 auto;
  }

  .socials-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-right {
    justify-content: center;
    gap: 40px;
  }

  .footer-column {
    text-align: center;
  }
}

/* Landscape phones & very small tablets (560–768px) */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    height: 110vh;
  }

  .breathing-logo-wrapper {
    margin-top: -10vh;
  }

  .floating-item {
    width: 90px;
  }
}



/* Table avatar styling */
.table-avatar {
  width: 28px;              /* small size – adjust between 24–36px as needed */
  height: 28px;
  border-radius: 50%;       /* makes it perfectly round */
  object-fit: cover;        /* ensures the image fills the circle without distortion */
  vertical-align: middle;   /* aligns nicely with text */
  margin-right: 8px;        /* space between avatar and player name */
  border: 1px solid rgba(255, 255, 255, 0.15); /* subtle border – optional */
  background-color: rgba(0, 0, 0, 0.3); /* fallback bg if image fails */
}

/* Optional: make sure the table cell doesn't break layout */
.leaderboard-table td {
  padding: 12px 8px;        /* give a bit more breathing room if needed */
}

/* Optional: hover effect for better interactivity */
.leaderboard-table tr:hover .table-avatar {
  transform: scale(1.1);
  transition: transform 0.15s ease;
  border-color: rgba(255, 255, 255, 0.4);
}

.dev-link {
    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

.dev-link:hover {
    opacity: 0.8; /* optional subtle hover */
}