/* ===========================================================
   BALAK6 WEBSITE
   VERSION   : V1,0
   POWEREDBY : M. Shandy Rizal R JS
=========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: "Inter", sans-serif;
  background: #000;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* ===========================================================
   BACKGROUND
=========================================================== */
.hero-bg {
  position: fixed;
  inset: 0;
  background: url("../img/heromask.webp") center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    rgba(0, 0, 0, 0.6) 100%
  );
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 17, 38, 0.6);
}
/* ===========================================================
   HEADER
=========================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
}
/* ===========================================================
   BRAND
=========================================================== */
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  height: 90px;
}
.brand img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.3));
  transition: 0.3s ease;
}
.brand:hover img {
  transform: scale(1.03);
}
/* ===========================================================
   MENU
=========================================================== */
.menu-btn {
  width: 52px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}
/* ===========================================================
   MENU ICON
=========================================================== */

.menu-icon {
  display: block;

  width: 34px;
  height: 34px;

  object-fit: contain;

  user-select: none;

  pointer-events: none;

  opacity: 1;

  transform: scale(1) rotate(0deg);

  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));

  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;

  will-change: transform, opacity, filter;
}

/* ===========================================================
   MENU BUTTON HOVER
=========================================================== */

.menu-btn:hover .menu-icon {
  transform: scale(1.08) rotate(2deg);

  filter: brightness(1.08) drop-shadow(0 0 10px rgba(212, 175, 55, 0.35))
    drop-shadow(0 0 18px rgba(212, 175, 55, 0.18));
}

/* ===========================================================
   MENU BUTTON ACTIVE
=========================================================== */

.menu-btn:active .menu-icon {
  transform: scale(0.94);
}

/* ===========================================================
   MENU OPEN
=========================================================== */

.menu-overlay.active + main ~ .copyright {
  transition: opacity 0.35s ease;
}
/* ===========================================================
   HERO
=========================================================== */
.hero {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* ===========================================================
   MEMBER
=========================================================== */
.member {
  color: #d4af37;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
/* ===========================================================
   ORADO
=========================================================== */
.hero h2 {
  color: #ffffff;
  font-size: 46px;
  font-weight: 200;
  letter-spacing: 14px;
  margin-bottom: 48px;
}
/* ===========================================================
   HERO TITLE
=========================================================== */
.hero-title {
  position: relative;
  display: inline-block;
  margin: 0;
  z-index: 5;
  font-family: "Anton", sans-serif;
  font-size: clamp(195px, 15vw, 300px);
  line-height: 0.92;
  letter-spacing: 2px;
  font-weight: 400;
  text-transform: uppercase;
  background: url("../img/hero-mask.webp");
  background-size: 200%;
  background-position: center 25%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #15182c;
  /* GOLD OUTLINE */
  -webkit-text-stroke: 0.1px #d4af37;
  /* PREMIUM EMBOSS */
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.18))
    drop-shadow(0 4px 0 rgba(0, 0, 0, 0.2))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28))
    drop-shadow(0 18px 35px rgba(0, 0, 0, 0.2));

  transition: background-position 0.25s ease-out;
}
.hero-title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.28);
  transform: translateY(2px);
  z-index: -1;
}
/* ===========================================================
   HERO BRAND
=========================================================== */
.herobrand {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0 auto;
}
.hero-logo {
  display: block;
  width: auto;
  height: 330px;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  animation:
    heroFloat 7s ease-in-out infinite,
    heroGlow 4.5s ease-in-out infinite;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3))
    drop-shadow(0 20px 42px rgba(0, 0, 0, 0.35));
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.herobrand:hover .hero-logo {
  transform: scale(1.03);
}
/* ===========================================================
   FLOAT
=========================================================== */
@keyframes heroFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}
/* ===========================================================
   GOLD GLOW
=========================================================== */
@keyframes heroGlow {
  0% {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3))
      drop-shadow(0 20px 42px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 0 rgba(255, 215, 0, 0));
  }
  45% {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3))
      drop-shadow(0 20px 42px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 8px rgba(255, 215, 0, 0.18))
      drop-shadow(0 0 18px rgba(255, 215, 0, 0.12));
  }
  50% {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3))
      drop-shadow(0 20px 42px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 16px rgba(255, 230, 120, 0.45))
      drop-shadow(0 0 32px rgba(255, 215, 0, 0.28));
  }
  55% {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3))
      drop-shadow(0 20px 42px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 8px rgba(255, 215, 0, 0.18));
  }
  100% {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.3))
      drop-shadow(0 20px 42px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 0 rgba(255, 215, 0, 0));
  }
}
/* ===========================================================
   TAGLINE
=========================================================== */

.tagline {
  margin-top: 38px;
  color: #d4af37;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 8px;
  text-transform: uppercase;
}
/* ===========================================================
   SOCIAL
=========================================================== */
.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
  margin-top: 46px;
}
.social a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 22px;
  transition: 0.35s ease;
}
.social a:hover {
  color: #d4af37;
  transform: translateY(-4px) scale(1.08);
}
/* ===========================================================
   COPYRIGHT
=========================================================== */
.copyright {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  user-select: none;
}
.copyright p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  white-space: nowrap;
}
.copyright .author {
  color: #d4af37;
  font-weight: 600;
  transition: 0.35s ease;
}
.copyright:hover .author {
  color: #ffd86a;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.45);
}
/* ===========================================================
    MENU OVERLAY
=========================================================== */

.menu-overlay {
  position: fixed;

  inset: 0;

  background: rgba(3, 17, 38, 0.96);

  backdrop-filter: blur(0px);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.35s ease,
    backdrop-filter 0.5s ease,
    visibility 0.35s ease;

  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;

  backdrop-filter: blur(18px);
}

/* =========================================================== */

.menu-wrapper {
  width: 100%;

  max-width: 1200px;

  height: 100%;

  margin: auto;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  padding: 80px;
}

/* ===========================================================
   MENU BRAND
=========================================================== */

.menu-brand {
  display: flex;

  flex-direction: column;

  align-items: center;

  margin-bottom: 70px;
}

.menu-brand img {
  width: auto;

  height: 120px;

  margin-bottom: 24px;

  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
}

.menu-brand span {
  color: #d4af37;

  font-size: 13px;

  letter-spacing: 8px;

  text-transform: uppercase;
}

/* ===========================================================
   MENU NAVIGATION
=========================================================== */

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  margin-bottom: 70px;
}

.menu-nav a {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 22px;

  color: #fff;

  text-decoration: none;

  transform: translateX(0);

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.menu-nav a small {
  width: 40px;

  text-align: right;

  font-size: 15px;

  font-weight: 500;

  letter-spacing: 2px;

  color: #d4af37;

  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.menu-nav a span {
  position: relative;

  font-family: "Anton", sans-serif;

  font-size: 64px;

  line-height: 1;

  letter-spacing: 2px;

  color: #ffffff;

  transition:
    color 0.35s ease,
    letter-spacing 0.35s ease;
}

/* ===========================================================
   GOLD LINE
=========================================================== */

.menu-nav a span::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -10px;

  width: 0;

  height: 2px;

  background: #d4af37;

  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===========================================================
   HOVER
=========================================================== */

.menu-nav a:hover {
  transform: translateX(14px);
}

.menu-nav a:hover small {
  color: #ffffff;

  transform: translateX(-6px);
}

.menu-nav a:hover span {
  color: #d4af37;

  letter-spacing: 4px;
}

.menu-nav a:hover span::after {
  width: 100%;
}

/* ===========================================================
   ACTIVE
=========================================================== */

.menu-nav a.active {
  pointer-events: none;
}

.menu-nav a.active small {
  color: #ffffff;
}

.menu-nav a.active span {
  color: #d4af37;
}

.menu-nav a.active span::after {
  width: 100%;
}
/* =========================================================== */

/* ===========================================================
   MENU SOCIAL
=========================================================== */

.menu-social {
  display: flex;

  gap: 42px;

  margin-bottom: 55px;
}

.menu-social a {
  position: relative;

  color: rgba(255, 255, 255, 0.65);

  text-decoration: none;

  font-size: 15px;

  letter-spacing: 2px;

  transition: 0.35s ease;
}

.menu-social a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 0;

  height: 1px;

  background: #d4af37;

  transition: 0.35s ease;
}

.menu-social a:hover {
  color: #d4af37;
}

.menu-social a:hover::after {
  width: 100%;
}
/* =========================================================== */

/* ===========================================================
   MENU FOOTER
=========================================================== */

.menu-footer {
  color: rgba(255, 255, 255, 0.42);

  font-size: 12px;

  letter-spacing: 4px;

  text-transform: uppercase;
}

.page-hide {
  opacity: 0;

  transition: 0.25s;
}

#page-container {
  opacity: 1;

  transition: 0.25s;
}

/* ===========================================================
   MENU STAGGER
=========================================================== */

.reveal {
  opacity: 0;

  transform: translateY(35px) scale(0.98);

  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.show {
  opacity: 1;

  transform: translateY(0) scale(1);
}

/* ========================================== */

.reveal-top {
  transform: translateY(-35px) scale(0.98);
}

.reveal-top.show {
  transform: translateY(0) scale(1);
}

/* ===========================================================
   ABOUT PAGE
=========================================================== */

.about-page {
  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 120px 60px 80px;
}

.about-content {
  width: 100%;
  max-width: 980px;

  text-align: center;
}

/* ===========================================================
   TITLE
=========================================================== */

.page-label {
  display: block;

  color: #d4af37;

  font-size: 13px;

  font-weight: 500;

  letter-spacing: 12px;

  text-transform: uppercase;

  margin-bottom: 34px;
}

.about-mask {
  margin: 0;

  font-family: "Anton", sans-serif;

  font-size: clamp(140px, 12vw, 210px);

  font-weight: 400;

  line-height: 0.9;

  letter-spacing: 1px;

  text-transform: uppercase;

  background: url("../img/about.webp");

  background-position: center top;
  background-size: 72%;
  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;

  color: transparent;

  /* jauh lebih tipis */

  -webkit-text-stroke: 1.75px rgba(212, 175, 55, 0.95);

  /* cukup satu shadow */

  filter: grayscale(100%) contrast(1.2)
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.about-tagline {
  margin-top: 26px;

  margin-bottom: 55px;

  color: #ffffff;

  font-size: 23px;

  font-weight: 300;

  letter-spacing: 4px;
}

/* ===========================================================
   CONTENT
=========================================================== */

.about-text {
  width: 100%;

  max-width: 820px;

  margin: 55px auto 0;
}

.about-text p {
  color: rgba(255, 255, 255, 0.86);

  font-size: 20px;

  line-height: 2;
}

/* ===========================================================
   DIVIDER
=========================================================== */

.about-divider {
  width: 120px;

  height: 1px;

  background: #d4af37;

  margin: 40px auto;

  opacity: 0.35;
}

/* ===========================================================
   VISION
=========================================================== */

.about-vision span {
  display: block;

  color: #d4af37;

  font-size: 23px;
  font-weight: 500;

  letter-spacing: 8px;

  text-transform: uppercase;

  margin-bottom: 18px;
}

.about-vision p {
  color: #ffffff;

  font-size: 22px;

  line-height: 1.8;
}

/* ===========================================================
   VALUES
=========================================================== */

.about-values {
  display: flex;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  gap: 50px;

  margin-top: 10px;
}

.about-values span {
  position: relative;

  color: #ffffff;

  font-size: 14px;

  letter-spacing: 4px;

  text-transform: uppercase;

  transition: 0.35s;

  cursor: default;
}

.about-values span::after {
  content: "";

  position: absolute;

  left: 50%;

  bottom: -12px;

  width: 0;

  height: 1px;

  background: #d4af37;

  transform: translateX(-50%);

  transition: 0.35s;
}

.about-values span:hover {
  color: #d4af37;
}

.about-values span:hover::after {
  width: 100%;
}

/* ===========================================================
   CONTACT PAGE
=========================================================== */

.contact-page {
  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 120px 60px 80px;
}

.contact-content {
  width: 100%;
  max-width: 900px;

  text-align: center;
}

/* ===========================================================
   TITLE
=========================================================== */

.contact-mask {
  margin: 0;

  font-family: "Anton", sans-serif;

  font-size: clamp(150px, 13vw, 220px);

  font-weight: 400;

  line-height: 0.9;

  letter-spacing: 2px;

  text-transform: uppercase;

  background: url("../img/jakarta.svg");
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;

  color: transparent;

  -webkit-text-stroke: 1.45px rgba(212, 175, 55, 0.95);

  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.contact-tagline {
  margin-top: 26px;
  margin-bottom: 70px;

  color: #ffffff;

  font-size: 24px;

  font-weight: 300;

  letter-spacing: 4px;
}

/* ===========================================================
   SOCIAL MEDIA
=========================================================== */

.contact-social {
  display: flex;

  justify-content: center;
  align-items: center;

  gap: 34px;

  margin-bottom: 60px;
}

.contact-social a {
  width: 68px;
  height: 68px;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;

  color: #d4af37;

  text-decoration: none;

  font-size: 30px;

  transition:
    color 0.35s ease,
    transform 0.35s ease;
}

.contact-social a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -10px;

  width: 0;
  height: 1px;

  background: #d4af37;

  transform: translateX(-50%);

  transition: 0.35s ease;
}

.contact-social a:hover {
  color: #ffffff;

  transform: translateY(-6px);
}

.contact-social a:hover::after {
  width: 36px;
}

/* ===========================================================
   WHATSAPP BUTTON
=========================================================== */

.contact-whatsapp {
  display: flex;

  justify-content: center;
}

.contact-whatsapp a {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  gap: 14px;

  padding: 16px 34px;

  border: 1px solid rgba(212, 175, 55, 0.45);

  border-radius: 50px;

  color: #d4af37;

  text-decoration: none;

  font-size: 18px;

  font-weight: 500;

  letter-spacing: 1px;

  transition:
    background 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-whatsapp a i {
  font-size: 24px;
}

.contact-whatsapp a:hover {
  background: #d4af37;

  color: #07111f;

  transform: translateY(-4px);

  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.25);
}

/* ===========================================================
   GOOGLE MAP
=========================================================== */

.contact-map {
  display: flex;

  justify-content: center;

  margin-top: 18px;
}

.contact-map a {
  display: inline-flex;

  justify-content: center;

  align-items: center;

  gap: 14px;

  padding: 16px 34px;

  border: 1px solid rgba(255, 255, 255, 0.18);

  border-radius: 50px;

  color: #ffffff;

  text-decoration: none;

  font-size: 18px;

  font-weight: 400;

  letter-spacing: 1px;

  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.contact-map a i {
  color: #d4af37;

  font-size: 22px;
}

.contact-map a:hover {
  background: rgba(255, 255, 255, 0.08);

  border-color: #d4af37;

  transform: translateY(-4px);
}

/* ===========================================================
   RESPONSIVE
=========================================================== */

@media (max-width: 768px) {
  .contact-page {
    padding: 110px 30px 60px;
  }

  .contact-mask {
    font-size: clamp(80px, 20vw, 120px);
  }

  .contact-tagline {
    font-size: 18px;

    margin-bottom: 50px;
  }

  .contact-social {
    gap: 18px;

    margin-bottom: 40px;
  }

  .contact-social a {
    width: 54px;
    height: 54px;

    font-size: 24px;
  }

  .contact-whatsapp a {
    width: 100%;

    max-width: 320px;

    padding: 15px 20px;

    font-size: 16px;
  }
}

/* ===========================================================
   SCOREBOARD
   PART 1
=========================================================== */

.scoreboard-page {
  width: 100%;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 110px 40px 55px;
}

.scoreboard-wrapper {
  width: 100%;
  max-width: 1500px;

  display: flex;
  flex-direction: column;

  gap: 26px;
}

/* ===========================================================
   HEADER
=========================================================== */

.scoreboard-header {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 6px;
}

.scoreboard-header .page-label {
  margin: 0;

  color: #d4af37;

  font-size: 13px;

  font-weight: 500;

  letter-spacing: 8px;

  text-transform: uppercase;
}

.scoreboard-title {
  margin: 0;

  font-family: "Anton", sans-serif;

  font-size: clamp(74px, 5vw, 96px);

  line-height: 0.9;

  letter-spacing: 2px;

  color: #ffffff;

  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.scoreboard-subtitle {
  margin: 0;

  color: #d4af37;

  font-size: 13px;

  letter-spacing: 4px;

  text-transform: uppercase;
}

/* ===========================================================
   MAIN
=========================================================== */

.scoreboard-main {
  display: grid;

  grid-template-columns:
    1fr
    120px
    1fr;

  align-items: center;

  gap: 28px;
}

/* ===========================================================
   TEAM CARD
=========================================================== */

.scoreboard-card {
  position: relative;

  overflow: hidden;

  border-radius: 28px;

  padding: 34px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* accent line */

.scoreboard-card::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 4px;
}

.red-card::before {
  background: linear-gradient(90deg, #ff5050, #ff7878);

  box-shadow: 0 0 18px #ff5050;
}

.blue-card::before {
  background: linear-gradient(90deg, #43b8ff, #74d3ff);

  box-shadow: 0 0 18px #43b8ff;
}

/* ===========================================================
   TEAM
=========================================================== */

.team-header {
  display: flex;

  justify-content: center;
}

.team-title {
  color: #ffffff;

  font-size: 18px;

  font-weight: 700;

  letter-spacing: 3px;

  text-transform: uppercase;
}
.red-card .team-title {
  color: #ff6666;
}

.blue-card .team-title {
  color: #69c4ff;
}
.team-set {
  margin-top: 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 10px;
}

.team-set span {
  color: #d4af37;

  font-size: 13px;

  letter-spacing: 3px;
}

.set-indicator {
  display: flex;

  gap: 12px;
}

.set-indicator i {
  width: 14px;

  height: 14px;

  border-radius: 50%;

  border: 2px solid #d4af37;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.set-indicator i.active {
  background: #d4af37;

  box-shadow:
    0 0 8px rgba(212, 175, 55, 0.45),
    0 0 20px rgba(212, 175, 55, 0.25);

  animation: setPop 0.45s ease;
}

/* ===========================================================
   SET POP ANIMATION
=========================================================== */

@keyframes setPop {
  0% {
    transform: scale(0.4);
  }

  55% {
    transform: scale(1.45);
  }

  100% {
    transform: scale(1);
  }
}

/* ===========================================================
   SCORE
=========================================================== */

.team-score {
  margin: 26px 0;

  text-align: center;

  font-family: "Anton", sans-serif;

  font-size: 92px;

  line-height: 1;

  color: #ffffff;

  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.team-score.score-update {
  transform: scale(1.08);

  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

.red-card .team-score {
  color: #ff6666;
}

.blue-card .team-score {
  color: #62b8ff;
}

/* ===========================================================
   INPUT
=========================================================== */

.team-input {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.team-input label {
  color: #b5b5b5;

  font-size: 12px;

  letter-spacing: 3px;

  text-align: center;
}

.team-input input {
  width: 100%;

  height: 56px;

  border: none;

  outline: none;

  border-radius: 16px;

  background: #111b29;

  border: 1px solid rgba(255, 255, 255, 0.08);

  color: #ffffff;

  text-align: center;

  font-size: 22px;

  font-weight: 600;

  transition: 0.25s;
}

.team-input input:focus {
  border-color: #d4af37;

  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

/* ===========================================================
   VS
=========================================================== */

.scoreboard-vs {
  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  gap: 18px;
}

/* ===========================================================
   UNDO BUTTON
=========================================================== */

.vs-text {
  font-family: "Anton", sans-serif;

  font-size: 48px;

  letter-spacing: 3px;

  color: #d4af37;

  line-height: 1;
}

/* ===========================================================
   UNDO BUTTON
=========================================================== */

.undo-btn {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 8px;

  width: 112px;

  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.06);

  color: #fff;

  cursor: pointer;

  transition: 0.25s;

  backdrop-filter: blur(12px);
}

.undo-icon {
  color: #ffb84d;

  font-size: 18px;
}

.undo-label {
  font-size: 13px;

  font-weight: 600;

  letter-spacing: 1px;
}

.undo-btn:hover {
  background: #ffb84d;

  border-color: #ffb84d;

  color: #081623;

  transform: translateY(-2px);
}

.undo-btn:hover .undo-icon {
  color: #081623;
}

.undo-btn:disabled {
  opacity: 0.35;

  cursor: not-allowed;

  transform: none;
}

.undo-btn:disabled .undo-icon {
  color: #888;
}

/* END PART 1 */

/* ===========================================================
   MATCH INFORMATION
   PART 2
=========================================================== */

.match-info {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.info-box {
  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  height: 92px;

  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.04)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.info-box span {
  color: #d4af37;

  font-size: 12px;

  letter-spacing: 3px;

  text-transform: uppercase;

  margin-bottom: 8px;
}

.info-box strong {
  color: #ffffff;

  font-size: 26px;

  font-weight: 700;
}

/* ===========================================================
   CONDITION
=========================================================== */

.condition-section {
  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 18px;
}

.condition-btn {
  height: 54px;

  border: none;

  outline: none;

  cursor: pointer;

  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  color: #ffffff;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  transition:
    transform 0.2s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.condition-btn:hover {
  transform: translateY(-3px);

  border-color: #d4af37;

  color: #d4af37;

  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
}

.condition-btn:active {
  transform: scale(0.97);
}

.condition-btn.active {
  background: #d4af37;

  color: #111827;

  border-color: #d4af37;

  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

/* ===========================================================
   BATU MACET MODAL
=========================================================== */

.macet-modal {
  position: fixed;

  inset: 0;

  display: none;

  justify-content: center;

  align-items: center;

  background: rgba(0, 0, 0, 0.72);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);

  z-index: 10000;
}

.macet-modal.show {
  display: flex;
}

.macet-card {
  width: min(430px, 92vw);

  border-radius: 26px;

  padding: 32px;

  background: #0f1723;

  border: 1px solid rgba(212, 175, 55, 0.25);

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);

  animation: modalUp 0.25s ease;
}

.macet-card h2 {
  margin: 0;

  text-align: center;

  color: #ffffff;

  font-family: "Anton", sans-serif;

  font-size: 34px;

  letter-spacing: 2px;
}

.macet-card p {
  margin: 16px 0 24px;

  text-align: center;

  color: #b5b5b5;

  line-height: 1.8;

  font-size: 14px;
}

.macet-card button {
  width: 100%;

  height: 56px;

  margin-bottom: 14px;

  border: none;

  outline: none;

  cursor: pointer;

  border-radius: 16px;

  background: #131f31;

  border: 1px solid rgba(255, 255, 255, 0.08);

  color: #ffffff;

  font-size: 15px;

  font-weight: 600;

  transition: 0.25s ease;
}

.macet-card button:last-child {
  margin-bottom: 0;
}

.macet-card button:hover {
  background: #d4af37;

  color: #111827;

  border-color: #d4af37;

  transform: translateY(-2px);
}

/* ===========================================================
   ANIMATION
=========================================================== */

@keyframes modalUp {
  from {
    opacity: 0;

    transform: translateY(20px) scale(0.96);
  }

  to {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

/* ===========================================================
   RESPONSIVE
=========================================================== */

/* ==========================
   DESKTOP
========================== */

@media (max-width: 1600px) {
  .scoreboard-wrapper {
    max-width: 1320px;
  }
}

/* ==========================
   LAPTOP
========================== */

@media (max-width: 1366px) {
  .scoreboard-page {
    padding: 92px 22px 24px;
  }

  .scoreboard-main {
    grid-template-columns: 1fr 90px 1fr;

    gap: 18px;
  }

  .scoreboard-card {
    padding: 26px;
  }

  .team-score {
    font-size: 76px;
  }

  .match-info {
    gap: 14px;
  }
}

/* ==========================
   TABLET
========================== */

@media (max-width: 992px) {
  .scoreboard-page {
    padding: 82px 16px 16px;
  }

  .scoreboard-main {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .scoreboard-vs {
    font-size: 32px;
  }

  .match-info {
    grid-template-columns: repeat(3, 1fr);
  }

  .condition-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================================================
   MOBILE
=========================================================== */

@media (max-width: 768px) {
  header {
    height: 62px;
    padding: 0 14px;
  }

  .brand {
    height: 62px;
  }

  .brand img {
    height: 30px;
  }

  .menu-btn {
    width: 42px;
    height: 42px;
  }

  .menu-icon {
    width: 22px;
    height: 22px;
  }

  .scoreboard-page {
    min-height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 72px 10px 8px;
  }

  .scoreboard-wrapper {
    gap: 10px;
    width: 100%;
    transform: translateY(-1px);
  }

  .scoreboard-header {
    gap: 2px;
    margin: 0;
  }

  .page-label,
  .scoreboard-header .page-label {
    font-size: 9px;
    letter-spacing: 5px;
  }

  .scoreboard-title {
    font-size: 34px;
    line-height: 0.92;
  }

  .scoreboard-subtitle {
    font-size: 10px;

    letter-spacing: 3px;
  }

  .scoreboard-main {
    grid-template-columns: 1fr;

    gap: 6px;
  }

  .scoreboard-vs {
    flex-direction: row;

    justify-content: center;

    align-items: center;

    gap: 12px;
  }

  .vs-text {
    font-size: 24px;

    line-height: 1;
  }

  .undo-btn {
    width: 36px;

    height: 36px;

    border-radius: 50%;

    padding: 0;

    gap: 0;
  }

  .undo-label {
    display: none;
  }

  .undo-icon {
    font-size: 18px;
  }

  .scoreboard-card {
    padding: 12px 14px;

    border-radius: 18px;
  }

  .team-title {
    font-size: 13px;

    letter-spacing: 2px;
  }

  .team-set {
    margin-top: 2px;

    gap: 2px;
  }

  .team-set span {
    font-size: 9px;
  }

  .set-indicator {
    gap: 5px;
  }

  .set-indicator i {
    width: 9px;

    height: 9px;
  }

  .team-score {
    margin: 6px 0;

    font-size: 42px;
  }

  .team-input {
    gap: 4px;
  }

  .team-input label {
    font-size: 9px;

    letter-spacing: 2px;
  }

  .team-input input {
    height: 36px;

    font-size: 16px;

    border-radius: 10px;
  }

  .match-info {
    gap: 6px;
  }

  .info-box {
    height: 54px;

    border-radius: 12px;
  }

  .info-box span {
    font-size: 8px;

    margin-bottom: 2px;
  }

  .info-box strong {
    font-size: 15px;
  }

  .condition-section {
    grid-template-columns: repeat(2, 1fr);

    gap: 6px;
  }

  .condition-btn {
    height: 44px;

    border-radius: 10px;

    font-size: 10px;

    letter-spacing: 0;
  }

  .copyright {
    bottom: 10px;

    width: 100%;

    text-align: center;
  }

  .copyright p {
    font-size: 9px;

    letter-spacing: 1px;
  }

  .macet-card {
    width: 94%;

    padding: 20px;
  }
}

/* ==========================
   SMALL MOBILE
========================== */

@media (max-width: 420px) {
  .scoreboard-page {
    padding: 78px 8px 6px;
  }

  .scoreboard-title {
    font-size: 30px;
  }

  .team-title {
    font-size: 14px;
  }

  .team-score {
    font-size: 42px;

    margin: 6px 0;
  }

  .team-input input {
    height: 38px;

    font-size: 16px;
  }

  .info-box {
    height: 52px;
  }

  .info-box strong {
    font-size: 15px;
  }

  .condition-btn {
    height: 44px;

    font-size: 10px;
  }
}

/* ===========================================================
   UTILITIES
=========================================================== */

.hidden {
  display: none !important;
}

.disabled {
  opacity: 0.45;

  pointer-events: none;
}

.text-red {
  color: #ff6464;
}

.text-blue {
  color: #5ab9ff;
}

.text-gold {
  color: #d4af37;
}

.fade-in {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;

    transform: translateY(8px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* ===========================================================
   RESULT MODAL
=========================================================== */

.result-modal {
  position: fixed;

  inset: 0;

  display: none;

  justify-content: center;

  align-items: center;

  padding: 24px;

  background: rgba(0, 0, 0, 0.78);

  backdrop-filter: blur(14px);

  -webkit-backdrop-filter: blur(14px);

  z-index: 99999;

  opacity: 0;

  transition:
    opacity 0.55s ease,
    background 0.8s ease,
    backdrop-filter 0.8s ease;
}

.result-modal.show {
  display: flex;

  opacity: 1;
}

/* ===========================================================
   RED THEME
=========================================================== */

.result-modal.theme-red {
  background: rgba(95, 0, 0, 0.7);
  animation: redAmbient 4s ease-in-out infinite;
}

/* ===========================================================
   BLUE THEME
=========================================================== */

.result-modal.theme-blue {
  background: rgba(0, 35, 95, 0.7);
  animation: blueAmbient 4s ease-in-out infinite;
}

/* ===========================================================
   RESULT MODAL STAGGER ANIMATION
=========================================================== */

.result-modal.animate .result-card {
  animation: cinematicPopup 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.result-modal.animate .result-icon {
  opacity: 0;

  transform: translateY(18px);

  animation:
    trophyBounce 0.9s ease,
    revealItem 0.55s ease forwards;

  animation-delay: 0s, 0.15s;
}

.result-modal.animate .result-label {
  opacity: 0;

  transform: translateY(18px);

  animation: revealItem 0.55s ease forwards;

  animation-delay: 0.3s;
}

.result-modal.animate .result-title {
  opacity: 0;

  transform: translateY(18px);

  animation: revealItem 0.55s ease forwards;

  animation-delay: 0.5s;
}

.result-modal.animate .result-score {
  opacity: 0;

  transform: translateY(18px);

  animation: revealItem 0.55s ease forwards;

  animation-delay: 0.7s;
}

.result-modal.animate .result-final-score {
  animation: heroScore 1s cubic-bezier(0.18, 1, 0.28, 1) forwards;

  animation-delay: 0.72s;
}

.result-modal.animate .result-description {
  opacity: 0;

  transform: translateY(18px);

  animation: revealItem 0.55s ease forwards;

  animation-delay: 0.9s;
}

.result-modal.animate .result-actions {
  opacity: 0;

  transform: translateY(18px);

  animation: revealItem 0.55s ease forwards;

  animation-delay: 1.15s;
}

/* ===========================================================
   RESULT MODAL FOOTER
=========================================================== */

.result-footer {
  margin-top: 28px;

  padding-top: 18px;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 8px;
}

.result-footer-line {
  width: 100%;

  height: 1px;

  background: rgba(255, 255, 255, 0.08);
}

.result-footer-title {
  color: rgba(255, 255, 255, 0.72);

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.result-footer-powered {
  color: rgba(255, 255, 255, 0.45);

  font-size: 10px;

  letter-spacing: 1px;
}

.result-footer-powered span {
  color: #d4af37;

  font-weight: 600;
}

/* ===========================================================
   CARD
=========================================================== */

/* ===========================================================
   RESULT CARD
=========================================================== */

.result-card {
  position: relative;

  overflow: hidden;

  isolation: isolate;

  width: 100%;

  max-width: 470px;

  padding: 42px;

  border-radius: 26px;

  text-align: center;

  background: linear-gradient(
    180deg,
    rgba(17, 27, 40, 0.98),
    rgba(8, 14, 24, 0.98)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);

  transition:
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s ease;
}
.result-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background-repeat: no-repeat;

  background-position: center;

  background-size: 280px;

  opacity: 0.08;

  pointer-events: none;

  z-index: 0;
}
/* ===========================================================
   RESULT CARD THEME
=========================================================== */

.result-modal.theme-red .result-card {
  background: linear-gradient(
    180deg,
    rgba(42, 16, 16, 0.98),
    rgba(18, 8, 8, 0.98)
  );

  border-color: rgba(255, 95, 95, 0.28);

  box-shadow:
    0 0 18px rgba(255, 90, 90, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.55);
}

.result-modal.theme-red .result-card::before {
  background-image: url("../img/srr.png");
}

.result-modal.theme-blue .result-card {
  background: linear-gradient(
    180deg,
    rgba(15, 28, 48, 0.98),
    rgba(8, 14, 24, 0.98)
  );

  border-color: rgba(105, 196, 255, 0.3);

  box-shadow:
    0 0 18px rgba(90, 180, 255, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.55);
}

.result-modal.theme-blue .result-card::before {
  background-image: url("../img/srb.png");
}
/* ===========================================================
   TROPHY
=========================================================== */

.result-icon {
  font-size: 68px;

  line-height: 1;

  margin-bottom: 18px;

  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.45));
}

/* ===========================================================
   LABEL
=========================================================== */

.result-label {
  display: block;

  margin-bottom: 12px;

  color: #d4af37;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 5px;

  text-transform: uppercase;
}

/* ===========================================================
   TITLE
=========================================================== */

/* ===========================================================
   RESULT TITLE
=========================================================== */

.result-title {
  margin: 0;

  font-family: "Anton", sans-serif;

  font-size: 54px;

  line-height: 1;

  letter-spacing: 2px;

  text-transform: uppercase;

  color: #ffffff;

  transition:
    color 0.45s ease,
    text-shadow 0.45s ease;
}

/* ===========================================================
   RESULT TITLE THEME
=========================================================== */

.result-modal.theme-red .result-title {
  color: #ff6666;

  text-shadow:
    0 0 18px rgba(255, 90, 90, 0.45),
    0 0 36px rgba(255, 90, 90, 0.18);
}

.result-modal.theme-blue .result-title {
  color: #69c4ff;

  text-shadow:
    0 0 18px rgba(90, 180, 255, 0.45),
    0 0 36px rgba(90, 180, 255, 0.18);
}
/* ===========================================================
   DESCRIPTION
=========================================================== */

.result-description {
  font-size: 17px;

  line-height: 1.8;

  color: rgba(255, 255, 255, 0.88);
}

/* ===========================================================
   RESULT FINAL SCORE
=========================================================== */

.result-final-score {
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 18px;

  margin: 26px 0 20px;

  font-family: "Anton", sans-serif;

  font-size: 68px;

  line-height: 1;

  letter-spacing: 2px;

  opacity: 0;

  transform: scale(0.72);
}

.result-score-red {
  color: #ff6666;

  text-shadow:
    0 0 14px rgba(255, 90, 90, 0.45),
    0 0 30px rgba(255, 90, 90, 0.2);
}

.result-score-blue {
  color: #69c4ff;

  text-shadow:
    0 0 14px rgba(90, 180, 255, 0.45),
    0 0 30px rgba(90, 180, 255, 0.2);
}

.result-score-separator {
  color: #ffffff;

  opacity: 0.75;

  transform: translateY(-2px);
}

.result-description-footer {
  margin-top: 8px;

  font-size: 15px;

  color: rgba(255, 255, 255, 0.75);
}
/* ===========================================================
   SCORE
=========================================================== */

.result-score {
  margin: 30px auto;

  width: 160px;

  height: 72px;

  display: flex;

  justify-content: center;
  align-items: center;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(212, 175, 55, 0.18);

  color: #d4af37;

  font-family: "Anton", sans-serif;

  font-size: 38px;

  letter-spacing: 2px;
}

/* ===========================================================
   ACTION
=========================================================== */

.result-actions {
  display: flex;

  flex-direction: column;

  gap: 12px;

  margin-top: 18px;
}

/* ===========================================================
   RESULT BUTTON
=========================================================== */

.result-btn {
  min-width: 260px;

  padding: 14px 28px;

  border: none;

  border-radius: 14px;

  cursor: pointer;

  font-family: "Anton", sans-serif;

  font-size: 18px;

  letter-spacing: 1px;

  text-transform: uppercase;

  color: #ffffff;

  background: linear-gradient(180deg, #d4af37, #b78d22);

  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);

  transition:
    transform 0.25s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.result-btn:hover {
  transform: translateY(-2px);

  filter: brightness(1.08);
}

.result-btn:active {
  transform: translateY(0);
}

.result-btn.secondary {
  background: transparent;

  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===========================================================
   RESULT BUTTON THEME
=========================================================== */

.result-modal.theme-red .result-btn {
  background: linear-gradient(180deg, #ff5c5c, #d63b3b);

  box-shadow: 0 8px 24px rgba(255, 90, 90, 0.35);
}

.result-modal.theme-red .result-btn:hover {
  background: linear-gradient(180deg, #ff7676, #e54848);
}

.result-modal.theme-blue .result-btn {
  background: linear-gradient(180deg, #58b8ff, #2f8fe0);

  box-shadow: 0 8px 24px rgba(90, 180, 255, 0.35);
}

.result-modal.theme-blue .result-btn:hover {
  background: linear-gradient(180deg, #73c6ff, #43a2f0);
}

/* ===========================================================
   APOLLO OVERLAY
   Kemenangan instan, lawan tidak mencetak poin sama sekali
=========================================================== */

.result-modal.theme-red.apollo .result-card,
.result-modal.theme-blue.apollo .result-card {
  border-color: rgba(212, 175, 55, 0.6);

  box-shadow:
    0 0 30px rgba(212, 175, 55, 0.4),
    0 24px 60px rgba(0, 0, 0, 0.55);
}

.result-modal.apollo .result-label {
  color: #ffe28a;

  text-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
}

.result-modal.animate.apollo .result-icon {
  animation:
    trophyBounce 0.9s ease,
    revealItem 0.55s ease forwards,
    apolloPulse 1.6s ease-in-out infinite;

  animation-delay: 0s, 0.15s, 1.1s;

  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.75));
}

@keyframes apolloPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}
/* ===========================================================
   ANIMATION
=========================================================== */

/* ===========================================================
   RESULT MODAL ANIMATION
=========================================================== */

@keyframes cinematicPopup {
  0% {
    opacity: 0;

    transform: translateY(50px) scale(0.82);
  }

  30% {
    opacity: 1;
  }

  65% {
    transform: translateY(-8px) scale(1.04);
  }

  100% {
    opacity: 1;

    transform: translateY(0) scale(1);
  }
}

@keyframes trophyBounce {
  0% {
    opacity: 0;

    transform: translateY(-40px) scale(0.35) rotate(-15deg);
  }

  45% {
    opacity: 1;

    transform: translateY(0) scale(1.25) rotate(8deg);
  }

  65% {
    transform: scale(0.92) rotate(-4deg);
  }

  85% {
    transform: scale(1.05) rotate(2deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes revealItem {
  from {
    opacity: 0;

    transform: translateY(18px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes heroScore {
  0% {
    opacity: 0;

    transform: scale(0.55) translateY(20px);
  }

  55% {
    opacity: 1;

    transform: scale(1.15) translateY(0);
  }

  100% {
    opacity: 1;

    transform: scale(1);
  }
}

@keyframes fadeModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===========================================================
   MOBILE
=========================================================== */

@media (max-width: 768px) {
  .result-card {
    padding: 30px 22px;

    border-radius: 22px;
  }

  .result-icon {
    font-size: 52px;
  }

  .result-title {
    font-size: 40px;
  }

  .result-description {
    font-size: 14px;
  }

  .result-score {
    width: 130px;

    height: 60px;

    font-size: 30px;
  }

  .result-btn {
    min-width: 0;

    width: 100%;

    height: 46px;

    font-size: 12px;
  }
}

/* ===========================================================
   REMOVE NUMBER SPINNER
=========================================================== */

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;

  margin: 0;
}

input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

/* ===========================================================
   MENU MOBILE
=========================================================== */

@media (max-width: 768px) {
  .menu-wrapper {
    padding: 62px 24px 24px;

    justify-content: space-between;
  }

  .menu-brand {
    margin-bottom: 18px;
  }

  .menu-brand img {
    height: 78px;

    margin-bottom: 12px;
  }

  .menu-brand span {
    font-size: 10px;

    letter-spacing: 5px;
  }

  /* ===========================
       MENU
    =========================== */

  .menu-nav {
    width: 100%;

    gap: 18px;

    margin: 0;

    align-items: center;
  }

  .menu-nav a {
    justify-content: center;

    width: 100%;

    gap: 0;
  }

  /* HIDE NUMBER */

  .menu-nav a small {
    display: none;
  }

  .menu-nav a span {
    font-size: 52px;

    letter-spacing: 1px;

    line-height: 1;

    text-align: center;
  }

  .menu-nav a:hover {
    transform: none;
  }

  .menu-nav a:hover span {
    letter-spacing: 1px;
  }

  /* ===========================
       SOCIAL
    =========================== */

  .menu-social {
    gap: 30px;

    margin: 18px 0 12px;
  }

  .menu-social a {
    font-size: 28px;
  }

  /* ===========================
       FOOTER
    =========================== */

  .menu-footer {
    text-align: center;
    font-size: 10px;
    line-height: 1.7;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 3px;
    font-weight: 300;
  }
}

/* ===========================================================
   ABOUT MOBILE
=========================================================== */

@media (max-width: 768px) {
  .about-page {
    min-height: 100vh;

    padding: 72px 20px 24px;

    display: flex;

    align-items: flex-start;

    justify-content: center;
  }

  .about-content {
    width: 100%;

    max-width: 360px;

    margin: 0 auto;

    text-align: center;
  }

  .about-mask {
    font-size: 52px;

    line-height: 0.95;

    margin: 8px 0 12px;
  }

  .about-tagline {
    font-size: 18px;

    line-height: 1.45;

    letter-spacing: 2px;

    margin-bottom: 28px;
  }

  .about-text {
    width: 100%;
  }

  .about-text p {
    font-size: 16px;

    line-height: 1.9;

    text-align: center;

    margin: 0;
  }

  .about-divider {
    width: 120px;

    margin: 34px auto;
  }

  .about-vision span {
    display: block;

    font-size: 14px;

    letter-spacing: 6px;

    margin-bottom: 18px;
  }

  .about-vision p {
    font-size: 18px;

    line-height: 1.8;

    margin: 0;
  }

  .about-values {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-top: 34px;
  }

  .about-values span {
    display: flex;

    justify-content: center;

    align-items: center;

    height: 46px;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 10px;

    font-size: 11px;

    letter-spacing: 1px;
  }
}

/* ===========================================================
   WINNER ENERGY SWEEP
=========================================================== */

.scoreboard-card {
  position: relative;

  overflow: hidden;
}

.scoreboard-card::after {
  content: "";

  position: absolute;

  top: -40%;

  left: -140%;

  width: 80%;

  height: 180%;

  transform: rotate(25deg);

  opacity: 0;

  pointer-events: none;
}

.scoreboard-card.red-card.winner {
  box-shadow:
    0 0 23px rgba(255, 60, 60, 0.35),
    inset 0 0 0 1px rgba(255, 80, 80, 0.35);
}

.scoreboard-card.red-card.winner::before {
  opacity: 1;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 70, 70, 0.08),
    rgba(255, 70, 70, 0.95),
    rgba(255, 70, 70, 0.08),
    transparent
  );

  animation: redSweep 0.77s ease;
}

.scoreboard-card.blue-card.winner {
  box-shadow:
    0 0 23px rgba(60, 150, 255, 0.35),
    inset 0 0 0 1px rgba(80, 170, 255, 0.35);
}

.scoreboard-card.blue-card.winner::before {
  opacity: 1;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(60, 160, 255, 0.08),
    rgba(60, 160, 255, 0.95),
    rgba(60, 160, 255, 0.08),
    transparent
  );

  animation: blueSweep 0.77s ease;
}

@keyframes redSweep {
  from {
    left: -150%;
  }

  to {
    left: 170%;
  }
}

@keyframes blueSweep {
  from {
    left: -150%;
  }

  to {
    left: 170%;
  }
}

/* ===========================================================
   PREMIUM CONFETTI
=========================================================== */

.confetti {
  position: fixed;

  top: -20px;

  width: 10px;

  height: 18px;

  border-radius: 3px;

  pointer-events: none;

  z-index: 999999;

  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  from {
    transform: translateY(0) rotate(0deg);

    opacity: 1;
  }

  to {
    transform: translateY(110vh) rotate(720deg);

    opacity: 0;
  }
}
/* ===========================================================
   AMBIENT PULSE
=========================================================== */

@keyframes redAmbient {
  0% {
    background: rgba(75, 0, 0, 0.62);
  }

  25% {
    background: rgba(110, 0, 0, 0.72);
  }

  50% {
    background: rgba(135, 0, 0, 0.78);
  }

  75% {
    background: rgba(110, 0, 0, 0.72);
  }

  100% {
    background: rgba(75, 0, 0, 0.62);
  }
}

@keyframes blueAmbient {
  0% {
    background: rgba(0, 30, 75, 0.62);
  }

  25% {
    background: rgba(0, 55, 120, 0.72);
  }

  50% {
    background: rgba(0, 80, 155, 0.78);
  }

  75% {
    background: rgba(0, 55, 120, 0.72);
  }

  100% {
    background: rgba(0, 30, 75, 0.62);
  }
}
/* ===========================================================
   AMBIENT PARTICLE
=========================================================== */

.ambient-particle {
  position: absolute;

  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.ambient-particle .particle {
  position: absolute;

  width: 8px;

  height: 8px;

  border-radius: 50%;

  opacity: 0.22;

  animation: particleFloat linear infinite;
}

.particle-red .particle {
  background: #ff6b6b;

  box-shadow: 0 0 12px rgba(255, 90, 90, 0.45);
}

.particle-blue .particle {
  background: #69c4ff;

  box-shadow: 0 0 12px rgba(90, 180, 255, 0.45);
}

@keyframes particleFloat {
  0% {
    transform: translateY(25px) scale(0.6);

    opacity: 0;
  }

  25% {
    opacity: 0.25;
  }

  50% {
    transform: translateY(-10px) translateX(10px) scale(1);
  }

  75% {
    opacity: 0.18;
  }

  100% {
    transform: translateY(-45px) translateX(-8px) scale(0.7);

    opacity: 0;
  }
}
