:root {
  --bg: #030317;
  --bg-soft: #080827;
  --text: #ffffff;
  --muted: #b7b8d2;
  --line: rgba(164, 151, 255, 0.18);
  --blue: #087cff;
  --cyan: #08d8ff;
  --purple: #7537ff;
  --pink: #d729ff;
  --whatsapp: #1fa95b;
  --whatsapp-dark: #13723e;
  --telegram: #158bd4;
  --telegram-dark: #1264aa;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(700px 420px at 50% -5%, rgba(65, 28, 255, 0.24), transparent 68%),
    radial-gradient(520px 460px at 5% 32%, rgba(0, 122, 255, 0.14), transparent 72%),
    radial-gradient(480px 420px at 97% 40%, rgba(216, 29, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #020214 0%, #05051d 52%, #030317 100%);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(112, 93, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 93, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

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

.ticker {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, #087cff 0%, #6b3cff 50%, #d229ff 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 28px rgba(50, 29, 255, 0.24);
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: tickerMove 28s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 26px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker span::before {
  content: "⚡";
  color: #ffe85e;
  font-size: 12px;
  filter: drop-shadow(0 0 5px rgba(255, 232, 94, 0.65));
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: calc(38px + max(30px, env(safe-area-inset-top))) 18px max(22px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(107, 77, 255, 0.13);
  box-shadow:
    0 0 0 34px rgba(86, 62, 255, 0.025),
    0 0 0 72px rgba(0, 138, 255, 0.018);
  pointer-events: none;
}

.ambient--left {
  top: 16%;
  left: -260px;
}

.ambient--right {
  right: -260px;
  bottom: 4%;
}

.content {
  width: 100%;
  max-width: 660px;
  text-align: center;
}

.brand-mark {
  position: relative;
  width: 166px;
  height: 166px;
  margin: 0 auto 18px;
  padding: 2px;
  border-radius: 38px;
  background: linear-gradient(145deg, var(--cyan), var(--purple) 48%, var(--pink));
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(0, 125, 255, 0.28),
    0 0 42px rgba(128, 49, 255, 0.18);
}

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.brand-glow {
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 93, 255, 0.25), rgba(153, 34, 255, 0.12) 46%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #d9dcff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 47px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 850;
  text-wrap: balance;
}

h1 em {
  color: transparent;
  background: linear-gradient(90deg, #40bdff, #7d58ff 55%, #e358ff);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.intro {
  max-width: 540px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  text-wrap: balance;
}

.channel-list {
  display: grid;
  gap: 13px;
  width: 100%;
  max-width: 590px;
  margin: 27px auto 0;
}

.channel-card {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 13px;
  padding: 14px;
  color: #fff;
  text-decoration: none;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 23px;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  overflow: visible;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.channel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.13), transparent 32%, transparent 70%, rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.channel-card--whatsapp {
  background: linear-gradient(135deg, #28b763, var(--whatsapp-dark));
}

.channel-card--telegram {
  background: linear-gradient(135deg, #24a7e8, var(--telegram-dark));
}

.channel-card--channel {
  background: linear-gradient(135deg, #1ea273, #10695c);
}

.channel-card:hover {
  transform: translateY(-3px) scale(1.008);
  filter: brightness(1.06) saturate(1.05);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

.channel-card:active {
  transform: translateY(-1px) scale(0.995);
}

.channel-card:focus-visible {
  outline: 3px solid rgba(104, 211, 255, 0.86);
  outline-offset: 4px;
}

.popular {
  position: absolute;
  top: -11px;
  right: 16px;
  z-index: 2;
  padding: 6px 10px;
  color: #e8fff0;
  background: #0e4b28;
  border: 1px solid rgba(178, 255, 204, 0.2);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.channel-icon,
.channel-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  background: rgba(4, 8, 25, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.channel-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.channel-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.channel-copy strong,
.channel-copy small {
  display: block;
}

.channel-copy strong {
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.channel-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 650;
}

.channel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  transition: transform 180ms ease, background 180ms ease;
}

.channel-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.channel-card:hover .channel-arrow {
  transform: translate(2px, -1px);
  background: rgba(255, 255, 255, 0.17);
}

.stores-section {
  margin: 32px auto 0;
}

.stores-section > p {
  margin: 0 0 13px;
  color: #d7d8eb;
  font-size: 13px;
  font-weight: 650;
}

.stores {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
}

.store-logo {
  width: 52px;
  height: 49px;
  display: grid;
  place-items: center;
  padding: 7px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 15px;
  box-shadow: 0 11px 25px rgba(0, 0, 0, 0.25);
}

.store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

footer {
  margin-top: 21px;
  color: rgba(205, 205, 226, 0.58);
  font-size: 12px;
}

@media (max-width: 560px) {
  .ticker {
    height: 34px;
  }

  .ticker span {
    padding: 0 18px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .site-shell {
    padding: calc(34px + max(18px, env(safe-area-inset-top))) 11px max(15px, env(safe-area-inset-bottom));
  }

  .brand-mark {
    width: 126px;
    height: 126px;
    margin-bottom: 15px;
    border-radius: 30px;
  }

  .brand-mark img {
    border-radius: 28px;
  }

  h1 {
    font-size: clamp(28px, 8.2vw, 38px);
  }

  .intro {
    max-width: 390px;
    font-size: 14px;
    line-height: 1.48;
  }

  .channel-list {
    margin-top: 24px;
  }

  .channel-card {
    min-height: 70px;
    grid-template-columns: 42px minmax(0, 1fr) 39px;
    gap: 11px;
    padding: 12px;
    border-radius: 20px;
  }

  .channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .channel-icon img {
    width: 27px;
    height: 27px;
  }

  .channel-copy strong {
    font-size: 16px;
  }

  .channel-copy small {
    font-size: 12px;
  }

  .channel-arrow {
    width: 39px;
    height: 39px;
    border-radius: 13px;
  }

  .stores-section {
    margin-top: 27px;
  }

  .store-logo {
    width: 47px;
    height: 44px;
    border-radius: 14px;
  }
}

@media (max-height: 760px) and (min-width: 561px) {
  .site-shell {
    padding-top: 54px;
  }

  .brand-mark {
    width: 138px;
    height: 138px;
    margin-bottom: 13px;
  }

  .channel-list {
    margin-top: 20px;
  }

  .stores-section {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }

  .channel-card,
  .channel-arrow {
    transition: none;
  }
}
