@font-face {
    font-family: 'Retroica';
    src: url('Retroica.woff2') format('woff2'),
        url('Retroica.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geogrotesque Sharp';
    src: url('Geogrotesque_Sharp_VF_TRIAL.woff2') format('woff2'),
         url('Geogrotesque_Sharp_VF_TRIAL.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  font-family: 'Retroica', sans-serif;
  font-size: 1.5em;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #e4f4f1;
}

.canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.snowflake {
  position: fixed;
  top: -10px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.5;
  color: #FFF;
  z-index: -1;
}

.hidden {
  display: block;
  opacity: 0.0;
  pointer-events: none;
}

.hidethis {
  opacity: 0.0;
  pointer-events: none;
}

@keyframes snowflakes {
    0% {
        top: -20px;
        opacity: 1;
    }
    50% {
        top: 100%;
        opacity: 0.5;
    }
    100% {
        top: -20px;
        opacity: 1;
    }
}

main {
  flex-grow: 1;
}

.sticky-header { 
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 75rem;
  background: linear-gradient(to right, #699ed2, #5989b9, #466e95);
  height: 125px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  font-size: 24px;
  --borderWidth: 0px 0px 250px 250px;
  border-radius: var(--borderWidth);
  transition: height 0.3s ease;
}

.header-border { 
  content: ''; 
  position: fixed; 
  top: -5px; 
  left: 50%; 
  transform: translateX(-50%); 
  width: calc(100% + 10px); 
  max-width: calc(75rem + 10px); 
  height: calc(125px + 10px); 
  background: linear-gradient(60deg, #103355, #193a5b, #2c4761, #325577, #1b4b7a, #113960, #0c2741, #213b54);
  border-radius: 0px 0px 250px 250px;
  z-index: -1; 
  animation: animatedgradient 5s ease alternate infinite;
  background-size: 300% 300%;
  transition: height 0.3s ease; 
  opacity: 1;
}

@keyframes animatedgradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.sticky-header.shrink {
  height: 30px;
  padding: 0.25rem 1.25rem;
  font-size: 18px;
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.2);
  opacity: 1;
  justify-content: center;
}

.sticky-header.shrink .logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: none;
}

.nav-left.shrink, .nav-right.shrink {
  justify-content: center;
  flex: 0;
  transition: justify-content 0.3s ease, flex 0.3s ease;
}

.sticky-header.shrink nav {
  justify-content: center;
}

.header-border.shrink {
  height: 40px;
  opacity: 1;
}

.sticky-header .home, 
.sticky-header .csgold, 
.sticky-header .offers, 
.sticky-header .socials {
  transition: font-size 0.3s ease, visibility 0.3s ease;
}

.sticky-header.shrink .home, 
.sticky-header.shrink .csgold, 
.sticky-header.shrink .offers, 
.sticky-header.shrink .socials {
  font-size: 18px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 75rem;
  position: relative;
}

.nav-left, 
.nav-right {
  display: flex;
  align-items: center;
  flex: 1;
  transition: justify-content 0.3s ease;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
}

.logo {
  flex: none;
  text-align: center;
}

.logo img {
  height: auto;
  width: 6.25rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 0.5rem;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  padding: 0.625rem 0.9375rem;
  display: block;
  font-size: 1.2vw;
}

nav ul li a:hover {
  background-color: #4774a0;
}

.hidden {
  opacity: 0.0;
  pointer-events: none;
}

.dropdown {
  position: relative;
  z-index: 5000;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #2b292f, #3e3b45, #4e4a56);
  border: 0.25rem solid transparent;
  border-image: linear-gradient(135deg, rgba(214, 96, 213, 1), rgba(110, 112, 206, 1), rgba(35, 62, 116, 1));
  border-image-slice: 1;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
  border-radius: 0.9375rem;
  min-width: 10rem;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.2s ease-in-out;
}

.dropdown:hover .dropdown-content {
  display: block;
  visibility: visible;
  opacity: 1;
}

.dropdown:hover .dropbtn {
  background-color: #8f5d49;
}

.dropdown-content a img {
  width: 152px;
  height: 39px;
  object-fit: cover;
}

.dropdown-content a {
  color: #000000;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  text-align: center;
}

.dropdown-content a:hover {
  background-color: #232127;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #8f5d49;
}

ul li a i {
  font-size: 1rem;
}

.nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
    background-color: #333;
    border-radius: 5px;
	color: black;
}


::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.6);
}

::-webkit-scrollbar-corner {
  background: rgba(255, 255, 255, 0.1);
}

:root {
  font-size: 16px;
}

ul li a i {
	font-size: 2rem; 
}

footer {
  background: linear-gradient(to right, #699ed2, #5989b9, #466e95);
  color: #fff;
  padding: 20px 0;
  width: 100%;
  position: relative;
  z-index: 1;
  border-top: 0.250rem solid;
  border-image: linear-gradient(to right, #103355, #193a5b, #2c4761, #325577, #1b4b7a) 1;
  text-shadow: 0 0 2px black, 0 0 5px black;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1 1 48%;
  text-align: center;
  border-radius: 8px;
  transition: background-color 0.3s;
  position: relative;
  box-sizing: border-box;
}

.footer-container .socials,
.footer-container .offers {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-container .socials {
  margin-right: 2%;
  padding-bottom: 20px;
}

.footer-container .disclaimer {
  width: 100%;
  text-align: center;
  clear: both;
}

.footer-section .disclaimer a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  display: block;
  text-align: center;
}

.footer-section .disclaimer a:hover {
  color: #be80cb;
  text-decoration: underline;
}

.footer-section .made-by-steph {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.85rem;
}

.footer-section .made-by-steph .steph {
    font-weight: bold;
}

.footer-section .made-by-steph:hover {
	transform: scale(1.10);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
}

.footer-section ul li {
  margin: 0 10px;
}

.footer-section ul li a {
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-section ul li img {
  width: 200px;
  height: auto;
}

.footer-section h4 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: white;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section p {
  margin: 10px 0;
  text-shadow: 0 0 4px black, 0 0 10px black;
  font-size: 14px;
}

.footer-section.offers img {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  height: 70px;
  width: 270px;
  padding: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-section.offers img:hover {
  transform: scale(1.1);
}

/* Leaderboard */

.leaderboard-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10rem;
  padding-bottom: 2rem;
  z-index: 1
}

.leaderboard-title {
    position: relative;
    text-align: center;
}

.leaderboard-image {
    opacity: 0.9;
    width: auto;
    max-height: 150px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) 
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
    animation: shadowFade 5s ease-in-out;
}

@keyframes shadowFade {
    0% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) 
                drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) 
                drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
        opacity: 0.7;
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1)) 
                drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)) 
                drop-shadow(0 0 50px rgba(255, 255, 255, 0.6));
        opacity: 1;
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8)) 
                drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) 
                drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
        opacity: 0.7;
    }
}

.leaderboard-text {
    position: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-top: -10px;
    z-index: 1;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.leaderboard-subtext {
    position: block;
    font-size: 1.5rem; /* Smaller size for the subtext */
    font-weight: bold;
    color: #ffffff;
    margin-top: 10px; /* Adds space between the main text and subtext */
    z-index: 1;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.7),
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
	margin-bottom: 20px;
}

.coin-title {
  width: 2.5rem;
  height: 2.5rem;
  margin-left: 15px;
  vertical-align: middle;
}

.logo-title {
  width: auto;
  height: 48px;
  margin-left: 15px;
  margin-right: 15px;
  vertical-align: middle;
}

.leaderboard-box {
  background: linear-gradient(180deg, rgba(19, 34, 52, 1), rgba(24, 43, 65, 1), rgba(30, 54, 82, 1));
  width: 900px;
  height: auto;
  font-size: 1rem;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  position: relative;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 0.25rem solid #103355;
  border-radius: 25px;
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
    gap: 1rem;
}

.tab-link {
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: linear-gradient(180deg, rgba(60, 79, 101, 0.6), rgba(68, 90, 115, 0.4), rgba(70, 97, 128, 0.2));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 200px;
}

.tab-link:hover {
    background: linear-gradient(180deg, rgba(90, 123, 161, 0.6), rgba(80, 122, 171, 0.4), rgba(35, 104, 184, 0.2));
    transform: scale(1.10);
    transform-origin: center;
}

@keyframes snake-border {
  0% {
    border-color: #335471;
  }
  50% {
    border-color: #0c223a;
  }
  100% {
    border-color: #335471;
  }
}

.date-container {
  display: none;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-family: 'Geogrotesque Sharp', sans-serif;
  color: white;
  font-size: 2.5rem;
  letter-spacing: 1px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.countdown-box {
  background-color: rgba(10, 23, 38, 0.7);
  font-family: 'Poppins', sans-serif;
  color: white;
  padding: 15px;
  font-size: 2rem;
  text-align: center;
  border-radius: 10px;
  width: 80px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.countdown-box:hover {
  transform: translateY(-5px);
  background-color: rgba(22, 48, 79, 0.9);
}

.countdown-box p {
  font-size: 1rem;
  margin: 0;
  color: #ccc;
}

.countdown-box span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
}

.countdown-container {
  text-align: center;
  margin: 30px;
}

.countdown-timer {
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.countdown-labels {
  font-size: 18px;
  color: #ddd;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.countdown-labels span {
  margin: 0 10px;
  font-weight: 600;
}

.leaderboard {
  display: none;
  text-align: left;
}

.leaderboard.active {
  display: block;
}

.leaderboard-header {
  display: flex;
  padding: 10px;
  font-weight: bold;
  text-align: left;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.leaderboard-header .header {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  left: 5px;
  position: absolute;
}

.leaderboard-header .position {
  left: 20px;
  position: absolute;
  margin-bottom: 2px;
}


.leaderboard-header .name {
  left: 310px;
  position: absolute;
  margin-bottom: 2px;
}

.leaderboard-header .wagered {
  left: 545px;
  position: absolute;
  margin-bottom: 2px;
}

.leaderboard-header .prize {
  left: 735px;
  position: absolute;
  margin-bottom: 2px;
}

.leaderboard-row {
  font-family: 'Geogrotesque';
  display: flex;
  padding: 10px;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
}

.leaderboard-row .position {
}

.leaderboard-row.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out 200ms, transform 1s ease-in-out 200ms;
}

.leaderboard-row.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.podium-row {
  font-family: 'Geogrotesque';
  display: flex;
  justify-content: center;
  align-items: flex-end; 
  margin-bottom: 30px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.podium-row.fade-in {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out 200ms, transform 1s ease-in-out 200ms;
}

.podium-row.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.podium-box {
  width: 500px;
  height: auto;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease-in-out;
  align-items: center;
  margin: 0 15px;
  text-align: center; 
  margin-top: 40px;
}

.podium-box.first-place {
  border: 5px solid gold;
  top: -40px;
}

.podium-box.second-place {
  border: 5px solid silver;
}

.podium-box.third-place {
  border: 5px solid #CD7F32;
}

.podium-box .position-avatar-container {
  display: flex;
  align-items: center;
  justify-content: center; 
  position: relative; 
  gap: 10px; 
  height: 100%; 
}

.podium-box .avatar-container img {
  width: 40px; 
  height: 40px;
  border-radius: 20px;
  border: 3px solid #fff;
}

.podium-box .avatar img {
  align-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 10px 0;
  border: 3px solid #fff;
}

.podium-box .name,
.podium-box .wagered,
.podium-box .tickets,
.podium-box .prize {
  font-size: 1.2rem;
  color: #fff;
  margin-top: 10px;
  display: inline-block; 
  text-align: center; 
  width: 100%;
  align-items: center;
}

.podium-box .name {
	align-items: center;
	text-align: center; 
}

.podium-box .wagered img {
  width: 20px; 
  height: 20px;
  vertical-align: middle; 
  margin-left: 5px; 
}

.podium-box .position {
  width: 100%; 
  text-align: center; 
}

.podium-box img.position-image {
  width: 100px; 
  height: auto; 
  display: block; 
  margin: 0 auto; 
  margin-bottom: 1rem;
}

.avatar-container {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.avatar-image {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

@keyframes fall {
  0% {
    transform: translateX(0) translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateY(50px) translateX(var(--randomX));
    opacity: 0;
  }
}

/* Particle variations */
.particle:nth-child(1) { --randomX: 5px; animation-delay: 0s; }
.particle:nth-child(2) { --randomX: -15px; animation-delay: 0.3s; }
.particle:nth-child(3) { --randomX: 15px; animation-delay: 0.6s; }
.particle:nth-child(4) { --randomX: -5px; animation-delay: 0.9s; }
.particle:nth-child(5) { --randomX: 20px; animation-delay: 1.2s; }
.particle:nth-child(6) { --randomX: -25px; animation-delay: 1.5s; }
.particle:nth-child(7) { --randomX: 30px; animation-delay: 1.8s; }
.particle:nth-child(8) { --randomX: -10px; animation-delay: 2.1s; }
.particle:nth-child(9) { --randomX: 40px; animation-delay: 2.4s; }
.particle:nth-child(10) { --randomX: -35px; animation-delay: 2.7s; }
.particle:nth-child(11) { --randomX: 10px; animation-delay: 3s; }
.particle:nth-child(12) { --randomX: -40px; animation-delay: 3.3s; }
.particle:nth-child(13) { --randomX: 35px; animation-delay: 3.6s; }
.particle:nth-child(14) { --randomX: -20px; animation-delay: 3.9s; }
.particle:nth-child(15) { --randomX: 25px; animation-delay: 4.2s; }
.particle:nth-child(16) { --randomX: -30px; animation-delay: 4.5s; }

.second-place-shadow {
  box-shadow: 0px 0px 10px 3px #FFD700;
}

.third-place-shadow {
  box-shadow: 0px 0px 8px 2px #DAA520;
}

.eighth-to-tenth-place .position {
  background-image: none;
}

.position, .name, .wagered, .prize {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-shadow: 0 0 2px black, 0 0 5px black;
}

.position {
  width: 10%;
  text-align: left;
}

.avatar-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.name {
  width: 20%;
  text-align: left;
}

.wagered {
  width: 14%;
  text-align: left;
}

.prize {
  width: 15%;
  text-align: left;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #fff;
}

.coin-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.mobile-header {
	display: none;
}

.gold-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #1a1300;
  background: linear-gradient(180deg, #ffd76a, #f3b923 60%, #d79b12);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.gold-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.1);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.6);
}
.gold-btn:active {
  transform: translateY(0);
}
.gold-btn i { font-size: 0.95em; }

.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 2rem;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.65);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  max-width: 720px;
  width: 100%;
  border-radius: 18px;
  padding: 24px 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(19, 34, 52, 0.96), rgba(24, 43, 65, 0.96), rgba(30, 54, 82, 0.96));
  border: 0.25rem solid #103355;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  animation: modalIn 200ms ease-out;
}
@keyframes modalIn {
  from { transform: translateY(6px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.modal__close:hover { background: rgba(255,255,255,0.14); }

.modal__header {
  text-align: center;
  margin-bottom: 10px;
}
.modal__header h2 {
  margin: 0;
  font-size: 1.6rem;
  text-shadow: 0 0 6px rgba(0,0,0,0.8), 0 0 14px rgba(255,255,255,0.35);
}
.modal__subtitle {
  margin-top: 6px;
  opacity: 0.85;
  font-size: 0.95rem;
}

.modal__content {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}

.modal__section h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 2px #000, 0 0 5px #000;
}
.modal__list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.modal__list li {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 12px;
  text-shadow: 0 0 2px black, 0 0 5px black;
}

.modal__cta {
  margin-top: 0.5rem;
  text-align: center;
}
.modal__cta .boom {
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.modal__cta .boom span { color: #ffd76a; text-shadow: 0 0 6px rgba(255,215,106,0.4); }

.cta-btn {
  display: inline-block;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  color: #1a1300;
  background: linear-gradient(180deg, #ffe07e, #f2bd33 60%, #dba51d);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.55);
}
.cta-btn:hover { filter: saturate(1.1); transform: translateY(-1px); }
.cta-btn:active { transform: translateY(0); }

@media (max-width: 768px) {
  .modal { padding: 1rem; }
  .modal__dialog { padding: 18px 16px; }
  .modal__header h2 { font-size: 1.25rem; }
}

body.no-scroll { overflow: hidden; }

@media (max-width: 768px) {
  body {
	font-family: 'Geogrotesque';
    font-size: 1em;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: black;
  }

  .sticky-header {
    display: none;
  }

  .header-border {
    display: none;
  }
  
  .mobile-header {
	height: 5rem;
    display: flex;
	top: 0;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(to right, #2b292f, #3e3b45, #4e4a56);
    border-bottom: 0.250rem solid;
    border-image: linear-gradient(to right, #4b2d51, #784b82, #be80cb, #784b82, #4b2d51) 1;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 5;
  }

  .mobile-header .logo img {
    height: auto;
    width: 3rem;
    max-height: auto;
  }

  .mobile-header .menu-icon {
    cursor: pointer;
    font-size: 1.5rem;
    color: #fff;
  }

  .nav-menu {
	top: 0;
    position: relative;
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: left;
    background: linear-gradient(to right, #2b292f, #3e3b45, #4e4a56);
    border-radius: 5px;
	z-index: 5000;
  }

  .nav-menu.active {
    display: flex; 
  }

  .nav-menu li {
    width: 100%;
    margin: 0.5rem 0;
    position: relative;
    border-bottom: 0.125rem solid transparent;
	border-image: linear-gradient(135deg, rgba(214, 96, 213, 1), rgba(110, 112, 206, 1), rgba(35, 62, 116, 1));
	border-image-slice: 1;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
	color: #fff;
    transition: background-color 0.3s, transform 0.2s;
  }

  .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
  }

  .responsive-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }

  .responsive-links li {
    margin-right: 10px;
  }

  .responsive-links li img {
    max-width: 100%;
    height: auto;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    justify-content: center;
    align-items: center;
    background-color: #222;
    z-index: 1001;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .dropdown-content a {
    color: #ffffff !important;
    padding: 1rem;
    display: block;
    text-align: left;
    background-color: #333;
    border-bottom: 1px solid #555;
  }

  .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
  }

  .dropdown-content a:hover {
    background-color: rgba(200, 200, 200, 0.1);
  }
  
  .leaderboard-title {
    font-size: 2rem;
    margin: 20px 0;
  }
  
  .leaderboard-image {
	max-height: 100px;
	width: 100%;
   }
  
  .leaderboard-text {
	font-size: 1rem;
  }
  
  .podium-row {
    flex-direction: column; 
    justify-content: flex-start;
  }
  
  .podium-box {
    width: 100%; 
    margin: 10px 0; 
	margin-top: 20px;
  }

  .podium-box.first-place {
	top: 0px;
  }
  
  .leaderboard-header {
    margin-top: -20px;
  }
  
  .leaderboard-header .position, .leaderboard-header .name, .leaderboard-header .wagered, .leaderboard-header .prize {
	display: none;
  }
  
  .leaderboard-box {
    width: 95%;
    height: auto;
    font-size: 0.7rem;
    text-align: center;
    position: relative;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 1rem;
  }
  
  .coin-icon {
	display: none;
  }
  
  .countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: 'Geogrotesque Sharp', sans-serif;
    color: white;
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .date-row {
	align-items: center;
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
  }

  .countdown-box {
    font-size: 1rem;
    width: 50px;
    height: 80px;
  }

  .footer {
    width: 100%;
    padding: 1rem;
    background-color: #333;
    color: #fff;
    text-align: center;
    position: relative;
    box-sizing: border-box;
  }
  
  .responsive-links li.desktop {
	display: none;
  }

  .responsive-links li.mobile {
	display: block;
  }

  .leaderboard-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
 
  .leaderboard-container {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .avatar-image {
    width: 40px;
    height: 40px;
  }

  .header .leaderboard-title {
   display: none;
  }

  .header .title-text {
    display: none;
  }

  .header .logo {
    display: block;
    max-width: 100%;
    margin: 0 auto;
  }

  .logo-container {
    text-align: center;
    margin-bottom: 20px;
  }

  .main-logo {
    max-width: 60%;
    height: auto;
  }
  .gambleaware-logo {
    width: 120px;
  }
}

@media (min-width: 769px) {
  .responsive-links li.mobile {
	display: none;
  }
}