:root {
  --bg-dark: #000c04;
  --gold: #f1d25f;
  --green-border: #1b5f30;
  --neon-green: #3fe460;
  --surface-dark: rgba(4, 22, 10, 0.76);
  --surface-soft: rgba(6, 32, 13, 0.62);
  --text-main: #ffffff;
  --text-soft: #d8ebd8;
  --led-gold: rgba(246, 219, 111, 0.95);
  --led-green: rgba(110, 255, 141, 0.95);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, Arial, sans-serif;
}

html,
body {
  background-color: #000;
  color: var(--text-main);
  height: 100%;
  margin: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

body.promo-open {
  overflow: hidden;
}

#app-container {
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #000;
}

.header {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: rgba(1, 19, 7, 0.88);
  border-bottom: 1px solid rgba(92, 148, 108, 0.45);
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-left img {
  width: 44px;
  border-radius: 8px;
}

.header-title h1 {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.2px;
}

.header-title p {
  font-size: 10px;
  color: #f1f7f1;
  font-weight: 600;
}

.header-right img {
  width: 38px;
}

.scrollable-content {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 480px;
  width: 100%;
  background: url("images/bg.webp") top center/cover no-repeat;
  overflow: hidden;
}

.bottom-bg-section {
  background: url("images/bg.webp") bottom center/cover no-repeat;
  padding: 10px 0 20px;
  position: relative;
}

.hero-character {
  position: absolute;
  height: 470px;
  width: auto;
  right: -60px;
  bottom: 0;
  z-index: 3;
  filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.78));
}

.hero-phone {
  position: absolute;
  height: 170%;
  width: auto;
  left: 40%;
  transform: translateX(-50%);
  top: -140px;
  z-index: 2;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.78));
}

.social-sidebar {
  position: absolute;
  left: 3.5%;
  right: auto;
  top: 13%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 8px;
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid rgba(241, 210, 95, 0.55);
  border-radius: 18px;
  box-shadow: 0 0 12px rgba(241, 210, 95, 0.25), inset 0 0 8px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 25;
}

.join-here-tag {
  align-self: center;
  margin-bottom: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 237, 137, 0.78);
  background: linear-gradient(180deg, rgba(13, 77, 26, 0.95) 0%, rgba(8, 51, 17, 0.95) 100%);
  color: #fff2a6;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-shadow: 0 0 8px rgba(255, 238, 136, 0.6);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35), 0 0 10px rgba(101, 255, 114, 0.3);
  animation: join-here-pulse 1.15s ease-in-out infinite;
}

.social-sidebar a,
.social-sidebar .promo-icon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 auto;
  cursor: pointer;
  width: 52px;
  height: 52px;
}

.social-sidebar img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.52), 0 0 10px rgba(121, 255, 131, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
  display: block;
  object-fit: cover;
}

.soc-wa img {
  border-color: rgba(148, 255, 146, 0.8);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.52), 0 0 12px rgba(74, 244, 98, 0.5);
  animation: wa-neon-pulse 1.8s ease-in-out infinite;
}

.soc-tel,
.soc-wa,
.promo-code-icon {
  margin: 0 auto;
}

.promo-code-icon img {
  border: none;
  box-shadow: none;
  animation: promo-icon-pulse 1.4s ease-in-out infinite;
}

@keyframes promo-icon-pulse {
  0%   { transform: scale(1);    filter: drop-shadow(0 0 4px rgba(255, 160, 30, 0.6)) drop-shadow(0 0 8px rgba(255, 100, 0, 0.3)); }
  50%  { transform: scale(1.1);  filter: drop-shadow(0 0 10px rgba(255, 180, 40, 0.95)) drop-shadow(0 0 18px rgba(255, 120, 0, 0.6)); }
  100% { transform: scale(1);    filter: drop-shadow(0 0 4px rgba(255, 160, 30, 0.6)) drop-shadow(0 0 8px rgba(255, 100, 0, 0.3)); }
}

.social-sidebar a:hover img,
.social-sidebar .promo-icon-btn:hover img {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.social-sidebar .promo-icon-btn:focus-visible,
.social-sidebar a:focus-visible {
  outline: 2px solid #f4dc6a;
  outline-offset: 2px;
  border-radius: 12px;
}

.feature-cta-hint {
  position: absolute;
  left: 50%;
  bottom: 74px;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #ffe97b;
  text-shadow: 0 0 10px rgba(255, 233, 123, 0.8), 0 0 16px rgba(131, 255, 110, 0.5), 0 1px 3px rgba(0, 0, 0, 0.75);
  animation: hint-bounce 1.05s ease-in-out infinite, hint-pulse-strong 1.4s ease-in-out infinite;
}

.promo-horizontal-hero {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  z-index: 5;
}

.promo-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-dark);
  border: 1.2px solid rgba(99, 187, 120, 0.55);
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(1px);
  transition: transform 0.2s ease;
  --led-speed: 2.8s;
}

.promo-card:hover {
  transform: translateY(-1px);
}

.promo-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.promo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-text .small {
  font-size: 10px;
  color: #eff8ef;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  font-family: "Verdana", "Segoe UI", Tahoma, Arial, sans-serif;
}

.tap-here-btn {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6c200 0%, #ff7b00 100%);
  color: #1a0a00;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 8px rgba(255, 180, 0, 0.7), 0 2px 6px rgba(0,0,0,0.4);
  animation: tap-here-glow 1.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes tap-here-glow {
  0%   { box-shadow: 0 0 6px rgba(255, 180, 0, 0.6), 0 2px 6px rgba(0,0,0,0.4); transform: scale(1); }
  50%  { box-shadow: 0 0 14px rgba(255, 200, 0, 1), 0 0 20px rgba(255, 120, 0, 0.6); transform: scale(1.06); }
  100% { box-shadow: 0 0 6px rgba(255, 180, 0, 0.6), 0 2px 6px rgba(0,0,0,0.4); transform: scale(1); }
}

.promo-text .large {
  font-size: 12px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.08;
  letter-spacing: 0.3px;
  font-family: "Segoe UI Black", "Arial Black", "Segoe UI", Tahoma, Arial, sans-serif;
}

.text-green {
  color: #a8ff95 !important;
  text-shadow: 0 0 8px rgba(168, 255, 149, 0.75), 0 0 14px rgba(168, 255, 149, 0.45);
  animation: pulse-callout 1.05s ease-in-out infinite;
}

.pulse-scale {
  animation: pulse-animation 1.8s ease-in-out infinite;
}

.main-logo {
  text-align: center;
  margin: 14px 0;
}

.main-logo img {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.62));
}

.games-panel {
  border: 1px solid rgba(85, 146, 98, 0.6);
  border-radius: 12px;
  margin: 0 10px 18px;
  padding: 14px 10px;
  background: var(--surface-soft);
}

.section-title {
  text-align: center;
  font-size: 12px;
  color: #f5faf5;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.game-item-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(237, 200, 86, 0.82);
  aspect-ratio: 1/1;
  width: 100%;
}

.game-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stars {
  color: #f7cf62;
  font-size: 10px;
  margin-top: 4px;
}

.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.bonus-img {
  width: 100%;
  margin-bottom: -8px;
  z-index: 1;
}

.daily-promo-wrap {
  width: 90%;
  margin: 10px 0 14px;
  padding: 11px 10px 13px;
  border-radius: 12px;
  border: 1.2px solid rgba(232, 203, 90, 0.55);
  background: linear-gradient(180deg, rgba(13, 74, 17, 0.88) 0%, rgba(7, 42, 12, 0.86) 100%);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
  text-align: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s ease;
  --led-speed: 3.2s;
}

.daily-promo-wrap:hover {
  transform: translateY(-1px);
}

.daily-promo-wrap:focus-visible {
  outline: 2px solid #f4dd6f;
  outline-offset: 2px;
}

.daily-promo-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.daily-promo-title {
  font-size: 11px;
  font-weight: 700;
  color: #f3e58f;
  letter-spacing: 0.7px;
}

.daily-promo-code {
  margin: 8px auto 10px;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 233, 140, 0.78);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.daily-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 134px;
  height: 32px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(107, 234, 101, 0.86);
  background: linear-gradient(180deg, #2bbf2a 0%, #1d9120 100%);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.neon-sweep {
  position: relative;
  border: 1.2px solid rgba(246, 229, 134, 0.55);
  background: linear-gradient(180deg, rgba(8, 56, 18, 0.95) 0%, rgba(6, 39, 13, 0.95) 100%);
  --led-speed: 2.6s;
}

.copy-code-btn {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 32px;
  padding: 0 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.copy-code-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.copy-code-btn:focus-visible {
  outline: 2px solid #f4dd6f;
  outline-offset: 2px;
}

.download-btn-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 75%;
  background: linear-gradient(180deg, #34cb2a 0%, #218f16 100%);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 0;
  border-radius: 24px;
  border: 1px solid rgba(137, 244, 123, 0.78);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.32), 0 0 10px rgba(95, 255, 102, 0.35);
  z-index: 2;
  position: relative;
  transition: transform 0.2s ease;
  animation: download-glow-pulse 1.5s ease-in-out infinite;
}

.download-btn-pill::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 28px;
  background: radial-gradient(ellipse at center, rgba(102, 255, 113, 0.5) 0%, rgba(102, 255, 113, 0.22) 45%, rgba(102, 255, 113, 0) 75%);
  filter: blur(3px);
  z-index: -1;
  pointer-events: none;
  animation: download-aura-pulse 1.5s ease-in-out infinite;
}

.download-btn-pill:hover {
  transform: translateY(-1px);
}

.download-btn-pill svg {
  width: 18px;
  height: 18px;
}

.bottom-nav {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(1, 18, 6, 0.9);
  z-index: 100;
  border-top: 1px solid rgba(92, 148, 108, 0.55);
}

.nav-item {
  text-decoration: none;
}

.nav-item img {
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.42));
}

.f-small img {
  height: 45px;
}

.f-medium img {
  height: 55px;
}

.f-large img {
  height: 65px;
  transform: scale(1.08);
  filter: drop-shadow(0 4px 9px rgba(247, 205, 94, 0.42));
}

.footer-promo-bar {
  flex: 0 0 auto;
  background: #071f09;
  color: #e6f76f;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-top: 1px solid rgba(250, 250, 250, 0.4);
  cursor: pointer;
}

.footer-promo-bar:focus-visible {
  outline: 2px solid #f4dd6f;
  outline-offset: -2px;
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.promo-modal.is-open {
  display: block;
}

.promo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.promo-modal-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(88vw, 360px);
  transform: translate(-50%, -50%);
  border-radius: 14px;
  border: 1.2px solid rgba(241, 210, 95, 0.55);
  background: linear-gradient(180deg, #0a3714 0%, #07260f 100%);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.45);
  padding: 16px 14px 18px;
  text-align: center;
  --led-speed: 3s;
}

.promo-card,
.daily-promo-wrap,
.neon-sweep,
.promo-modal-panel {
  position: relative;
  isolation: isolate;
}

.promo-card::before,
.daily-promo-wrap::before,
.neon-sweep::before,
.promo-modal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0) 8%,
    var(--led-gold) 24%,
    var(--led-green) 42%,
    rgba(0, 0, 0, 0) 58%,
    var(--led-gold) 74%,
    rgba(0, 0, 0, 0) 92%
  );
  background-size: 220% 220%;
  animation: led-edge var(--led-speed, 3s) linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.promo-modal-close {
  position: absolute;
  right: 8px;
  top: 6px;
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.promo-modal-kicker {
  font-size: 11px;
  color: #f2dc7a;
  font-weight: 700;
  letter-spacing: 0.7px;
  margin-bottom: 4px;
}

.promo-modal-panel h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}

.promo-modal-code {
  margin: 10px auto 12px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 235, 148, 0.78);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.promo-modal .copy-code-btn {
  margin-bottom: 12px;
}

.promo-modal-timer-label {
  font-size: 12px;
  color: #c8f1bf;
  margin-bottom: 4px;
}

.promo-modal-timer {
  font-size: 21px;
  color: #ffe97b;
  font-weight: 800;
  margin-bottom: 14px;
}

.promo-modal-download {
  display: inline-block;
  width: 100%;
  border-radius: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(120, 236, 110, 0.8);
  background: linear-gradient(180deg, #34cb2a 0%, #1f8f17 100%);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

@keyframes pulse-animation {
  0% { transform: scale(1); }
  50% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

@keyframes pulse-callout {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

@keyframes hint-bounce {
  0% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
  100% { transform: translateX(-50%) translateY(0); }
}

@keyframes hint-pulse-strong {
  0% { opacity: 0.78; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
  100% { opacity: 0.78; transform: translateX(-50%) scale(1); }
}

@keyframes led-edge {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

@keyframes join-here-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

@keyframes wa-neon-pulse {
  0% {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.52), 0 0 10px rgba(74, 244, 98, 0.38);
  }
  50% {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.56), 0 0 18px rgba(74, 244, 98, 0.7);
  }
  100% {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.52), 0 0 10px rgba(74, 244, 98, 0.38);
  }
}

@keyframes download-glow-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.32), 0 0 8px rgba(95, 255, 102, 0.32);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.36), 0 0 18px rgba(95, 255, 102, 0.58), 0 0 30px rgba(95, 255, 102, 0.3);
    filter: brightness(1.08);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.32), 0 0 8px rgba(95, 255, 102, 0.32);
    filter: brightness(1);
  }
}

@keyframes download-aura-pulse {
  0% {
    opacity: 0.48;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.06);
  }
  100% {
    opacity: 0.48;
    transform: scale(0.98);
  }
}

::-webkit-scrollbar {
  width: 0;
}

.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1080 / 3000;
  overflow: hidden;
}
