/* =========================
   Fonts
========================= */

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap");
@font-face {
  font-family: "Intro Bold Caps";
  src: url("../fonts/Intro-Bold-Caps.eot");
  src:
    url("../fonts/Intro-Bold-Caps.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Intro-Bold-Caps.woff") format("woff"),
    url("../fonts/Intro-Bold-Caps.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  
}

/* =========================
   Base / Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  outline: none;
}

a:visited,
a:active,
a:hover,
a:focus {
  outline: none;
}

html[lang="uk"] {
  margin-top: 0 !important;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
}
body.landing {
  margin: 0;
  font-family:
    "Open Sans",
    system-ui,
    -apple-system,
    sans-serif;
  color: #143a2b;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

/* =========================
   Header
========================= */
div#wpadminbar {
  display: none !important;
}
html {
  margin-top: 0 !important;
}
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
header.landing-header {
  width: 100%;
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translate(-50%, -200%);
  z-index: 110;
  transition: 0.3s;
}
html.ready header.landing-header {
  transform: translate(-50%, 0);
}
header.landing-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.landing-header.hero-scrolled {
  position: fixed;
  background: #fff;
  max-width: 100%;
  top: 0;
  padding: 10px 0;
  transition-delay: 0s !important;
}
header.landing-header.hero-scrolled .container {
  max-width: 1248px;
}
header.landing-header {
  transition: 0.02s !important;
}
a.logo img {
  width: 100%;
  max-width: 90px;
}
/* =========================
   Energy types (tabs)
========================= */

.energy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.energy-card {
  padding: 24px;
  border-radius: 20px;
  background: #f4faf7;
  cursor: pointer;
  transition: 0.2s ease;
}

.energy-card.active {
  background: #e3f5ea;
}

/* =========================
   Steps
========================= */
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 47px;
}

.step {
  background: #f7fbf9;
  border-radius: 16px;
  padding: 20px;
}

.step span {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #9adf3b;
  color: #0b2e1f;
  text-align: center;
  line-height: 32px;
  font-weight: 700;
}
.step > img {
  border-radius: 32px;
}
.step_number {
  display: none !important;
}
/* =========================
   Video
========================= */
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: #9adf3b;
  cursor: pointer;
}

/* =========================
   Benefits
========================= */
.benefits-grid {
  display: flex;
  align-items: baseline;
  gap: 20px;
  text-align: center;
}

.benefit {
  font-weight: 600;
}

/* =========================
   Game CTA
========================= */
.game-cta {
  background: #f0f5f2;
  text-align: center;
}

/* =========================
   Footer
========================= */
.landing-footer {
  padding: 10px 0;
  background: #0f3f2b;
  color: #ffffff;
  text-align: center;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
}

nav.landing-nav a {
  color: #fff;
  text-align: center;
  font-family: "Intro Bold Caps";
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
section#hero {
  width: calc(100% - 28px);
  max-width: 1920px;
  margin: 14px auto 0;
  display: flex;
  border-radius: 60px;
  position: relative;
}
.ready section#hero:before {
  opacity: 1;
}
section#hero:before {
  border-radius: 60px;
  position: absolute;
  content: "";
  background: url(/content/themes/sdar/landing-page/assets/img/greenchyk-hero.png);
  background-repeat: no-repeat;
  background-size: cover;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
  z-index: -1;
}
nav.landing-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
nav.landing-nav a:last-child {
  border-radius: 100px;
  background: #77bb26;
  display: flex;
  padding: 16px 30px;
  justify-content: center;
  align-items: center;
}
.hero-image > img {
  min-width: calc(100vw - 28px);
}

section#hero img.greenchyk-hero {
  position: relative;
  right: -70px;
  bottom: -94px;
}
body h1 {
  color: #fff;
  font-family: "Intro Bold Caps";
  font-size: 120px;
  font-style: normal;
  font-weight: 700;
  line-height: 128px;
  margin: 0;
}
.hero-content p {
  color: #fff;
  font-family: "Roboto";
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  margin-top: 20px;
}
#icon_energy {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 1;
}
#hero .container.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section#energy_types {
  margin-top: 84px;
  margin-bottom: 84px;
}

.energy_types_wrapper {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}
.energy_types_column {
  width: 100%;
  max-width: calc(50% - 10px);
}
h2 {
  color: #14542e;
  font-family: "Intro Bold Caps";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
}
section#video .container,
section#how_its_work .container,
section#benefits .container,
section#energy_types .container {
  max-width: 1248px;
}
ul.energy_types_nav {
  margin: 0;
  padding: 0 2px 0 3px;
  list-style: none;
  display: flex;
  gap: 30px;
}
ul.energy_types_nav li {
  width: 100%;
  border-radius: 32px 32px 0 0;
}
ul.energy_types_nav li.active button {
  background: #f8f8f3;
  border-radius: 32px 32px 0 0;
}
ul.energy_types_nav li button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 24px;
  border: 0;
  background: transparent;
  width: 100%;
  cursor: pointer;
}
.energy-types h2 {
  margin-top: 60px;
  margin-bottom: 54px;
}
.energy_types_tabs {
  border-radius: 32px 32px 32px 32px;
  background: #f8f8f3;
}
.energy_types_tab {
  padding: 30px 32px;
}
.energy_types_tabs h3 {
  color: #14542e;
  font-family: "Intro Bold Caps";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 24px;
}

.energy_types_tabs p {
  color: #5d6761;
  font-family: "Roboto";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  margin: 0;
}
.energy_types_tabs + img {
  margin-top: 18px;
}

.energy_types_tabs {
  position: relative;
  overflow: hidden;
  transition: height 0.4s ease;
}

.energy_types_tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.energy_types_tab.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.energy_types_nav li.active button {
  opacity: 1;
  transform: scale(1.05);
}

.energy_types_nav button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 1;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
ul.energy_types_nav:has(li.active:last-child) ~ .energy_types_tabs {
  border-radius: 32px 0 32px 32px;
}
ul.energy_types_nav:has(li.active:first-child) ~ .energy_types_tabs {
  border-radius: 0px 0 32px 32px;
}
section#how_its_work {
  margin-top: 84px;
  margin-bottom: 84px;
}
section#how_its_work h2 {
  text-align: center;
}

.step {
  width: 100%;
  max-width: calc((100% - 40px) / 3);
  border-radius: 36px;
  border: 1px solid #f2f2f2;
  background: #f8f8f3;
  display: flex;
  padding: 6px 6px 20px 6px;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.step_number {
  color: #77bb26;
  text-align: center;
  font-family: "Intro Bold Caps";
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  width: 68px;
  height: 68px;
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="68" height="68" viewBox="0 0 68 68" fill="none"><rect width="68" height="68" rx="26" fill="black" fill-opacity="0.01"/></svg>');
}
.step_title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 18px 12px;
}
.step p {
  color: #5d6761;
  font-family: "Roboto";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  padding: 0 18px 0;
  margin: 0;
}
section#benefits {
  margin-top: 85px;
  margin-bottom: 85px;
  text-align: center;
}
section#benefits h2 {
  margin-bottom: 54px;
}
.benefit {
  display: flex;
  flex-direction: column;
  width: calc(100% / 4 - 15px);
  color: #14542e;
  text-align: center;
  font-family: "Intro Bold Caps";
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
}

.benefit img {
  max-width: 196px;
  margin: 0 auto;
}
.f-video-container {
  z-index: 1;
  position: relative;
  display: block;
  width: 100%;
}
.f-video-player {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 56.25%;
}
.f-video-cover {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  filter: drop-shadow(0 15px 56px rgb(1 1 1 / 0.4));
  height: 100%;
}
.f-video-cover > div {
  overflow: hidden;
  position: relative;
  background: #0d0e0f;
  line-height: 0;
  height: 100%;
  border-radius: 40px;
}
.f-video-cover > div img {
  width: 100%;
  transition: 0.7s;
  opacity: 0.8;
}
.f-video-cover > div svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.f-video-cover.hidden {
  opacity: 0;
  pointer-events: auto;
}
.post_content_video .f-video-cover img {
  height: 100%;
}
.post_content_video:hover .f-video-cover img {
  transition: 0.4s;
  transform: scale(1.1);
}
.post_content_video .f-video-cover img {
  transition: 0.4s;
  transform: scale(1);
}
section#video .container {
  position: relative;
}
img.greenchyk_video {
  position: absolute;
  top: calc(50% - 30px);
  z-index: 1;
  left: calc(50% - 30px);
}
#icon_energy {
  animation: spin 20s linear infinite;
  transform-origin: 50% 50%;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
header.landing-header.hero-scrolled nav.landing-nav a {
  transition: 0.3s;
  color: #15542e;
}
header.landing-header.hero-scrolled nav.landing-nav a:last-child {
  transition: 0.3s;
  color: #fff;
}
header.landing-header.hero-scrolled {
  transform: translate(-50%, -26px);
  transition: 0.3s;
}
header.landing-header.hero-scrolled a.logo img {
  transition: 0.3s;
}
iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 100%;
}
section#game iframe {
  aspect-ratio: unset !important;
  min-height: 600px;
  width: 100%;
  min-width: 100%;
}
footer.landing-footer hr {
  opacity: 0.2;
}
footer.landing-footer svg {
  max-width: 140px;
  width: 100%;
  padding-top: 10px;
}
span.manufactured {
  padding-bottom: 0px;
  display: block;
  font-size: 14px;
  text-transform: lowercase;
  font-family: "Roboto";
  letter-spacing: 2.3px;
  max-width: 150px;
}
.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright p {
  font-size: 12px;
  margin: 0;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.burger {
  display: none;
  width: 30px;
  cursor: pointer;
  z-index: 1001;
}
.burger span {
  display: block;
  height: 3px;
  background: #fff;
  margin: 6px 0;
  transition: 0.3s;
}

@media (max-width: 992px) {
  .burger {
    display: block;
  }

  .landing-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    height: calc(100vh + 36px);
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 80px 20px;
    transition: right 0.4s ease;
    z-index: 1000;
    top: -36px;
    box-shadow: 0 -3px 7px 0 rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    transition: 0.3s;
  }

  .landing-nav.active {
    transition: 0.3s;
    transform: translateX(0%);
  }

  .landing-nav a {
    margin-bottom: 20px;
    font-size: 20px;
  }
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

section#hero img.greenchyk-hero {
  transition: transform 2s cubic-bezier(0.175, 0.885, 0.32, 1.175);
  transform: translate(550px, -10%) scale(0.3) rotate(40deg);
  pointer-events: auto;
}
.ready section#hero img.greenchyk-hero {
  animation-delay: 3s;
  transform: translate(0, 0) scale(1) rotate(0deg);
}
.post_content_video:hover img.greenchyk_video {
  transition: 0.4s;
  transform: scale3d(1.02, 1.02, 1.1) translateY(-4px);
}
img.greenchyk_video {
  transition: 0.4s;
  transform: scale3d(1, 1, 1) translateY(0);
}
section#game-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  background-color: transparent;
}
.energy_types_column a img {
  transition: 0.3s;
}
.energy_types_column a:hover img {
  transition: 0.3s;
  transform: scale(1.03);
}
svg#play {
  z-index: 10;
  cursor: pointer;
}
.post_content_video:has(.active) img.greenchyk_video {
  opacity: 0;
  transition: 0.4s;
}
.greenchyk_video {
  cursor: pointer;
}

@media screen and (max-width: 1520px) {
  .container {
    max-width: 1248px;
  }
  body h1 {
    font-size: 100px;
    line-height: 108px;
  }
  .hero-content p {
    font-size: 30px;
  }
}

@media screen and (max-width: 1340px) {
  .container {
    max-width: 1120px;
  }
  body h1 {
    font-size: 80px;
    line-height: 88px;
  }
  .hero-content p {
    font-size: 24px;
  }
  #energy_types,
  #benefits,
  #video,
  #how_its_work {
    padding-left: 14px;
    padding-right: 14px;
  }
  .energy_types_column:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  img.greenchyk-hero {
    max-width: 450px;
  }
}

@media screen and (max-width: 1200px) {
  div#icon_energy_wrap:before {
    bottom: -100px;
  }
  #icon_energy {
    position: absolute;
    right: 50px;
    bottom: 10px;
    z-index: 1;
    max-width: 130px;
  }
  .container {
    max-width: 900px;
  }
  body h1 {
    font-size: 80px;
    line-height: 88px;
  }
  .hero-content p {
    font-size: 24px;
  }
  section#hero img.greenchyk-hero {
    max-width: 400px;
  }

  img.greenchyk_video {
    max-width: 174px;
  }

  img.greenchyk_video {
    top: unset;
    bottom: -10px;
  }
}

@media screen and (max-width: 992px) {
  body h1 {
    font-size: 50px;
    line-height: 58px;
  }
  .hero-content p {
    font-size: 18px;
  }
  #hero .container {
    padding-left: 28px;
    padding-right: 28px;
  }
  nav.landing-nav {
    flex: 100%;
    justify-content: flex-start;
    gap: 30px;
    padding-top: 120px;
  }
  section#hero img.greenchyk-hero {
    max-width: 270px;
    bottom: -60px;
    right: 0;
  }
  #icon_energy {
    max-width: 70px;
    max-height: 70px;
  }
  header.landing-header .container {
    padding: 0 42px;
  }
  #hero .container.hero-grid {
    padding-top: 62px;
  }
  header.landing-header > .container > div:last-child {
    display: none;
  }

  .burger.active span {
    background: #14542e;
  }
  nav.landing-nav.active a {
    color: #14542e;
  }
  header.landing-header.hero-scrolled .burger span {
    background-color: #14542e;
  }
  header.landing-header.hero-scrolled {
    box-shadow: 0 0.375rem 1.5rem 0 rgba(140, 152, 164, 0.125);
  }
  .energy_types_wrapper {
    flex-direction: column-reverse;
  }
  .energy_types_column {
    width: 100%;
    max-width: 100%;
  }
  img.how_its_work_image {
    margin: 0 auto;
  }
  .step {
    width: 100%;
    max-width: calc((100% - 20px) / 2);
  }
  .step img {
    width: 100%;
  }
  .benefits-grid {
    flex-wrap: wrap;
  }
  .benefit {
    width: calc(100% / 2 - 10px);
  }
  img.greenchyk_video {
    max-width: 124px;
  }
  footer.landing-footer {
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  #icon_energy {
    max-width: 110px;
    max-height: 110px;
    right: 30px;
    bottom: 30px;
  }
  #icon_energy_wrap:after {
    right: 0px;
    bottom: -30px;
  }
  div#icon_energy_wrap:before {
    bottom: -70px;
    right: 20px;
  }
  section#energy_types {
    padding-top: 50px;
  }
  span.manufactured {
    margin: 0 auto;
  }

  ul.energy_types_nav li button {
    padding: 16px 14px;
  }
  #hero .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  body h1 {
    font-size: 30px;
    line-height: 38px;
  }
  .hero-content p {
    font-size: 14px;
    line-height: 1.2;
  }
  section#hero img.greenchyk-hero {
    max-width: 260px;
    bottom: 0;
    right: -60px;
  }
  .hero-content {
    min-width: 182px;
  }
  section#game h2 {
    padding: 0 20px;
  }
  svg#play {
    max-width: 90px;
  }
  img.greenchyk_video {
    max-width: 94px;
  }
  img.greenchyk_video {
    left: calc(50% - 10px);
  }
  h2 {
    font-size: 30px;
    line-height: 36px;
  }
  section#energy_types h2 {
    margin-top: 0;
  }
  section#energy_types {
    margin-top: 44px;
    margin-bottom: 44px;
  }
  section#how_its_work {
    margin-top: 44px;
    margin-bottom: 44px;
  }
  section#benefits {
    margin-top: 44px;
    margin-bottom: 44px;
    text-align: center;
  }
  section#energy_types img.greenchyk-hero {
    max-width: 240px;
  }

  ul.energy_types_nav {
    gap: 10px;
  }
  .energy_types_tab {
    padding: 14px;
  }
  section#hero {
    min-height: 500px;
  }
  section#hero:before {
    border-radius: 30px;
  }
  .copyright {
    flex-direction: column;
    align-items: baseline;
    gap: 15px;
  }
}
@media screen and (max-width: 560px) {
  .step {
    width: 100%;
    max-width: 100%;
  }
  .benefit {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  img.greenchyk_video {
    max-width: 55px;
  }
  section#hero img.greenchyk-hero {
    max-width: 200px;
    bottom: 0;
    right: 0;
    left: 0;
  }
}

@media screen and (max-width: 400px) {
  div#icon_energy_wrap:before {
    bottom: -50px;
    right: 20px;
    font-size: 14px;
  }
}

.stage {
  position: relative;
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  aspect-ratio: 1248 / 764;
}

#game {
  width: 100%;
  height: 100%;
  display: block;
  background: #87ceeb;
}

@media (max-width: 768px) {
  .stage {
    aspect-ratio: 3 / 4;
    max-width: 400px;
    margin: 0 auto;
  }

  #game-hud {
    font-size: 14px;
  }

  .pill {
    padding: 4px 8px;
  }

  #btnRestart {
    padding: 4px 8px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .stage {
    aspect-ratio: 2 / 3;
  }
}

#leaderboard {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f8faf8 0%, #f0f5f0 100%);
  position: relative;
  overflow: hidden;
  height: 100vh;
}

#leaderboard::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(20, 84, 46, 0.03) 0%,
    rgba(20, 84, 46, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

#leaderboard::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(20, 84, 46, 0.03) 0%,
    rgba(20, 84, 46, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

#leaderboard h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #14542e;
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: -0.5px;
}

#leaderboard h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #14542e, #2ecc71);
  margin: 15px auto 0;
  border-radius: 2px;
}

.leaderboard-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(20, 84, 46, 0.15);
  position: relative;
  z-index: 1;
  border-collapse: separate;
  border-spacing: 0;
  backdrop-filter: blur(10px);
}

.leaderboard-table thead {
  background: #14542e;
  color: white;
}

.leaderboard-table thead tr {
  border-bottom: 2px solid #1a6b3a;
}

.leaderboard-table th {
  padding: 20px 16px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  position: relative;
}

.leaderboard-table th:first-child {
  padding-left: 24px;
  border-top-left-radius: 24px;
}

.leaderboard-table th:last-child {
  padding-right: 24px;
  border-top-right-radius: 24px;
}

.leaderboard-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(20, 84, 46, 0.1);
  transition: all 0.3s ease;
  text-align: left;
}

.leaderboard-table td:first-child {
  padding-left: 24px;
}

.leaderboard-table td:last-child {
  padding-right: 24px;
}

.leaderboard-table tbody tr {
  transition: all 0.3s ease;
  background: white;
}

.leaderboard-table tbody tr:hover {
  background: rgba(20, 84, 46, 0.02);
  transform: scale(1.01);
  box-shadow: 0 5px 15px rgba(20, 84, 46, 0.1);
}
.leaderboard-table tbody tr:nth-child(1) td:first-child {
  position: relative;
}
.empty_table  tr:nth-child(1) td:first-child::before {
    display: none;
}
.leaderboard-table tbody tr:nth-child(1) td:first-child::before {
  content: "🥇";
  position: absolute;
  right: 25px;
  top: 48%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.leaderboard-table tbody tr:nth-child(2) td:first-child::before {
  content: "🥈";
  position: absolute;
  right: 25px;
  top: 48%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.leaderboard-table tbody tr:nth-child(3) td:first-child::before {
  content: "🥉";
  position: absolute;
  right: 25px;
  top: 48%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.leaderboard-rank {
  font-weight: 700;
  color: #14542e;
  width: 80px;
  position: relative;
  padding-left: 35px !important;
}

.leaderboard-table td:nth-child(2) {
  font-weight: 500;
  color: #2c3e50;
}

.leaderboard-table td:nth-child(3) {
  font-weight: 700;
  color: #14542e;
  font-size: 1.1rem;
  font-family: "Courier New", monospace;
}

.leaderboard-table td:nth-child(4) {
  color: #7f8c8d;
  font-family: "Courier New", monospace;
  letter-spacing: 0.5px;
}

.leaderboard-table td:nth-child(5) {
  color: #95a5a6;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  #leaderboard {
    padding: 40px 15px;
  }

  #leaderboard h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .leaderboard-table {
    border-radius: 16px;
  }

  .leaderboard-table th {
    padding: 15px 12px;
    font-size: 0.85rem;
  }

  .leaderboard-table td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }

  .leaderboard-table td:first-child {
    padding-left: 30px;
  }

  .leaderboard-table td:nth-child(5) {
    font-size: 0.75rem;
  }

  .leaderboard-rank {
    padding-left: 30px !important;
  }
}

@media (max-width: 480px) {
  .leaderboard-table {
    font-size: 0.85rem;
  }

  .leaderboard-table th {
    padding: 12px 8px;
    font-size: 0.75rem;
  }

  .leaderboard-table td {
    padding: 10px 6px;
  }

  .leaderboard-table td:first-child {
    padding-left: 25px;
  }

  .leaderboard-rank {
    padding-left: 25px !important;
  }

  .leaderboard-table td:nth-child(3) {
    font-size: 0.9rem;
  }

  .leaderboard-table tbody tr:nth-child(1) td:first-child::before,
  .leaderboard-table tbody tr:nth-child(2) td:first-child::before,
  .leaderboard-table tbody tr:nth-child(3) td:first-child::before {
    font-size: 1rem;
    left: -3px;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leaderboard-table tbody tr {
  animation: slideIn 0.5s ease forwards;
  opacity: 0;
}

.leaderboard-table tbody tr:nth-child(1) {
  animation-delay: 0.1s;
}
.leaderboard-table tbody tr:nth-child(2) {
  animation-delay: 0.15s;
}
.leaderboard-table tbody tr:nth-child(3) {
  animation-delay: 0.2s;
}
.leaderboard-table tbody tr:nth-child(4) {
  animation-delay: 0.25s;
}
.leaderboard-table tbody tr:nth-child(5) {
  animation-delay: 0.3s;
}
.leaderboard-table tbody tr:nth-child(6) {
  animation-delay: 0.35s;
}
.leaderboard-table tbody tr:nth-child(7) {
  animation-delay: 0.4s;
}
.leaderboard-table tbody tr:nth-child(8) {
  animation-delay: 0.45s;
}
.leaderboard-table tbody tr:nth-child(9) {
  animation-delay: 0.5s;
}
.leaderboard-table tbody tr:nth-child(10) {
  animation-delay: 0.55s;
}

.leaderboard-table tbody tr td[colspan] {
  padding: 60px;
  text-align: center;
  color: #95a5a6;
  font-style: italic;
}

@media (max-width: 768px) {
  #leaderboard {
    overflow-x: auto;
  }

  .leaderboard-table {
    min-width: 600px;
  }
}

.leaderboard-table tbody tr:first-child {
  background: linear-gradient(90deg, rgba(20, 84, 46, 0.02), transparent);
  border-left: 3px solid #14542e;
}

.leaderboard-table tbody tr:first-child td:first-child {
  position: relative;
  overflow: hidden;
}

.leaderboard-table tbody tr:first-child td:first-child::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(20, 84, 46, 0.1) 0%,
    rgba(20, 84, 46, 0) 70%
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}
th {
  color: #fff !important;
  font-family: "Intro Bold Caps";
}
td {
  color: #333 !important;
  font-family: "Intro Bold Caps";
}
