/* Base styles for the landing page */
html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: center top / cover no-repeat;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  color: #fff;
  min-height: 100vh;

  /* position: relative; */
}

@media (max-width: 768px) {
  body {
    min-height: 100dvh; /* dynamic viewport only on small screens */
  }
}

@media (max-width: 768px) {
  /* Clamp decorative overflow on small screens */
  section.relative,
  .vip-section,
  .community-section,
  .awards {
    overflow: hidden;
  }
}

main {
  position: relative;
}

/* Ticker styles */
.ticker-container {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(7, 10, 16, 0.82) 0%,
    rgba(10, 19, 30, 0.88) 50%,
    rgba(7, 10, 16, 0.82) 100%
  );
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 24s linear infinite;
}

.ticker-container:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  gap: 24px;
  padding-left: 24px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.ticker-item .coin {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.ticker-item .muted {
  color: #a5a5a5;
}

.ticker-item .text-strong {
  color: #ffffff;
}

.ticker-item:hover {
  transform: scale(1.04);
}

.font-lexend {
  font-family:
    "Lexend",
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

/* Hero bar */
.hero-bar-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding: 18px 16px 10px;
}

.hero-bar {
  /* width: min(1100px, 100%); */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 16px 8px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f0f0f 0%, #10161f 50%, #0d0f15 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: visible;
}

.hero-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-logo {
  height: 50px;
  width: auto;
  display: block;
}

.hero-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
}

.hero-tagline {
  margin: 0;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.01em;
  color: #ffffff;
}

.hero-cta {
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 26px;
  font-weight: 700;
  font-size: 20px;
  color: #2d1b03;
  border-radius: 12.627px;
  background: linear-gradient(90deg, #fea311 3.78%, #fecd11 75.89%);
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  animation: cta-shine 4s ease-in-out infinite;
  -webkit-animation: cta-shine 4s ease-in-out infinite;
}

.hero-cta-delayed {
  display: none;
  opacity: 0;
  pointer-events: none;
  position: relative;
  margin-left: 16px;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero-cta-delayed.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  display: inline-flex;
}

.hero-cta:hover {
  /* transform: translateY(-1px); */
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-cta:active {
  transform: translateY(0);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-cta::after {
  content: "";
  position: absolute;
  inset: -30% -50%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0.45) 55%, transparent 100%);
  transform: translateX(-120%);
  animation: shine-sweep-hero 4.2s ease-in-out infinite;
  -webkit-animation: shine-sweep-hero 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine-sweep-hero {
  0%   { transform: translateX(-120%); opacity: 0.0; }
  12%  { opacity: 0.65; }
  50%  { transform: translateX(120%); opacity: 0.2; }
  100% { transform: translateX(120%); opacity: 0; }
}

@-webkit-keyframes shine-sweep-hero {
  0%   { transform: translateX(-120%); opacity: 0.0; }
  12%  { opacity: 0.65; }
  50%  { transform: translateX(120%); opacity: 0.2; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes cta-shine {
  0%   { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35); }
  50%  { box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42); }
  100% { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35); }
}

@-webkit-keyframes cta-shine {
  0%   { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35); }
  50%  { box-shadow: 0 14px 28px rgba(0, 0, 0, 0.42); }
  100% { box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35); }
}

.mobile-hero {
  padding: 28px 16px 8px;
  text-align: center;
}

.mobile-hero-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mobile-hero-brand {
  font-size: clamp(46px, 18vw, 72px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
}

.mobile-hero-brand .brand-96 {
  /* background: linear-gradient(180deg, #f7c23a 0%, #e49a10 100%); */
  -webkit-background-clip: text;
  color: transparent;
}

.mobile-hero-brand .brand-dotcom {
  color: #e6e6e6;
}

.mobile-hero-tagline {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #f2f2f2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Feature cards */
.feature-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.feature-icon {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  z-index: 10;
}

.feature-card {
  position: relative;
  overflow: visible;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.9) 0%,
    rgba(12, 12, 12, 0.75) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  /* border: 1px solid rgba(255, 255, 255, 0.05); */
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  width: 100%;
  padding-bottom: 10px;
}

.feature-img {
  display: none;
}

.feature-body {
  text-align: center;
}

.feature-text {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: #d8d8d8;
}

/* Welcome reward image tweaks */
.reward-img {
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4));
  /* aspect-ratio: 4 / 5; */
  width: 100%;
  height: auto;
  object-fit: cover;
}

.text-gold-gradient {
  color: transparent;
  background-image: linear-gradient(
    180deg,
    #ffef43 0%,
    #fec511 60%,
    #98580a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.parallax-coin {
  position: absolute;
  right: -4%;
  top: 12%;
  width: 180px;
  max-width: 40vw;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  will-change: transform;
}

.parallax-ghost {
  position: absolute;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.parallax-ghost-left {
  left: -30px;
  bottom: 0;
  width: clamp(72px, 26vw, 110px);
}

.parallax-ghost-left-small {
  left: -40px;
  bottom: 0;
  width: clamp(60px, 22vw, 90px);
}

.parallax-ghost-right {
  right: -40px;
  top: clamp(40px, 18vw, 120px);
  width: clamp(72px, 26vw, 110px);
}

.hero-illustration {
  /* aspect-ratio: 16 / 10; */
  width: 100%;
  height: auto;
  object-fit: contain;
}

.arena-illustration {
  /* aspect-ratio: 4 / 3; */
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .parallax-coin {
    width: 140px;
    right: -2%;
    top: 18%;
  }
}

@media (max-width: 640px) {
  .parallax-coin {
    width: 110px;
    max-width: 32vw;
    right: 6%;
    top: 20%;
  }
}
.category-content {
  text-align: center;
  width: 100%;
  margin-top: -30px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.category-icon {
  width: 130px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.category-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 16px;
  text-transform: uppercase;
}

.gradient-title {
  color: transparent;
  background-image: linear-gradient(
    180deg,
    #ffef43 0%,
    #fec511 60%,
    #98580a 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.category-copy {
  margin: 0 auto;
  color: #a5a5a5;
  line-height: 1.5;
  max-width: 100%;
  text-align: center;
}

.award-card,
.sponsor-card {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 20, 0.9),
    rgba(12, 12, 12, 0.85)
  );
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-img,
.sponsor-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sponsor-card {
  position: relative;
}

.sponsor-coin {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

/* VIP swiper */
.vip-section {
  position: relative;
}

.vip-card-img {
  width: 85%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.35));
}

.vip-coin {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  transform-origin: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal][data-reveal-dir="left"] {
  transform: translateX(-32px);
}

[data-reveal][data-reveal-dir="right"] {
  transform: translateX(32px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.vip-swiper {
  padding-bottom: 32px;
  width: 100%;
  overflow: visible;
}

.vip-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vip-swiper .swiper-pagination-bullet {
  background: #fec511;
  opacity: 0.3;
}

.vip-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.community-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 50px;
}

.community-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.community-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0f1015, #0a0a0d);
  display: grid;
  place-items: center;
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.community-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.community-icon:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.community-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.badge-img {
  width: 56px;
  height: auto;
  object-fit: contain;
}

.badge-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  display: inline-block;
}

.badge-responsible .badge-text {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  white-space: nowrap;
}

/* Mobile sticky CTA */
.mobile-cta-bar {
  /* background: #000; */
/* filter: blur(20px); */
  position: fixed;
  /* left: 12px;
  right: 12px; */
  width: 100%;
  bottom: 0;
  background: url("images/shadow.webp") center/cover no-repeat;
  z-index: 60;
  display: none;
  pointer-events: none;
}

.mobile-cta-button {
  width: 90%;
  padding: 14px 0px;
  border: 1px solid #d28f0a;
  border-radius: 12.627px;
  background: linear-gradient(90deg, #fea311 3.78%, #fecd11 75.89%);
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
  color: #1e1404;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  animation: cta-shine 3.6s linear infinite;
  -webkit-animation: cta-shine 3.6s linear infinite;
  pointer-events: auto;
}

.mobile-cta-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mobile-cta-button:active {
  transform: translateY(0);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.mobile-cta-button::after {
  content: "";
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.45) 55%, transparent 100%);
  transform: translateX(-120%);
  animation: shine-sweep 2.8s ease-in-out infinite;
  -webkit-animation: shine-sweep 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine-sweep {
  0%   { transform: translateX(-120%); opacity: 0.0; }
  10%  { opacity: 0.65; }
  50%  { transform: translateX(120%); opacity: 0.2; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes cta-shine {
  0%   { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35); }
  50%  { box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42); }
  100% { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35); }
}

@-webkit-keyframes shine-sweep {
  0%   { transform: translateX(-120%); opacity: 0.0; }
  10%  { opacity: 0.65; }
  50%  { transform: translateX(120%); opacity: 0.2; }
  100% { transform: translateX(120%); opacity: 0; }
}

@-webkit-keyframes cta-shine {
  0%   { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35); }
  50%  { box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42); }
  100% { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35); }
}

.hero-register {
  width: min(320px, 80%);
  margin: 18px auto 0;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-cta-button {
    animation: none;
    -webkit-animation: none;
  }
  .mobile-cta-button::after {
    animation: none;
    -webkit-animation: none;
  }
}

@media (max-width: 768px) {
  .mobile-cta-bar {
  display: block;
  }
}


@media (max-width: 640px) {
  .community-section {
    padding-bottom: 100px;
  }
  .community-icon {
    width: 56px;
    height: 56px;
  }
  .community-icon img {
    width: 28px;
    height: 28px;
  }
  .badge-img {
    width: 48px;
  }
  .badge-responsible .badge-text {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .feature-icon {
    width: 100px;
    top: -44px;
  }
  .feature-card {
    min-height: 80px;
    padding-bottom: 10px;
    margin-bottom: 20px;
  }
  .feature-text {
    font-size: 12px;
  }
}
@media (max-width: 425) {
  .hero-bar {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border-radius: 16px;
    padding: 12px 14px;
  }
  .hero-left {
    flex-direction: column;
    gap: 4px;
  }
  .hero-text {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .hero-divider {
    width: 120%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.5) 50%,
      transparent 100%
    );
  }
  .hero-tagline,
  .hero-tagline-mobile {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
  }
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .ticker-item {
    font-size: 12px;
  }
  .ticker-group {
    gap: 16px;
    padding-left: 16px;
  }
  .ticker-container {
    padding: 10px 0;
  }
}
