:root {
  color-scheme: dark;
  --bg: #030805;
  --surface: rgba(5, 14, 10, 0.84);
  --surface-strong: rgba(8, 22, 15, 0.96);
  --line: rgba(134, 255, 72, 0.22);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f8fff8;
  --muted: rgba(241, 255, 242, 0.64);
  --neon: #8dff47;
  --neon-deep: #55db26;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(1, 7, 4, 0.22), rgba(1, 7, 4, 0.78)),
    url("rick-trader-background-v2.webp") center / auto 100% no-repeat fixed,
    var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  justify-content: center;
  min-height: 100svh;
  padding: 44px 18px 30px;
}

.landing {
  width: min(100%, 520px);
}

.hero {
  text-align: center;
}

.avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
}

.avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(141, 255, 71, 0.28);
  border-radius: 50%;
}

.avatar {
  width: 100%;
  height: 100%;
  display: block;
  border: 2px solid var(--neon);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(105, 255, 54, 0.36);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--neon);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  text-shadow: 0 0 24px rgba(119, 255, 65, 0.2);
}

.intro {
  width: min(100%, 390px);
  margin: 14px auto 26px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

.telegram-cta {
  min-height: 94px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 14px 18px 14px 15px;
  border: 1px solid rgba(181, 255, 137, 0.68);
  border-radius: 8px;
  color: #071003;
  background: var(--neon);
  box-shadow: 0 14px 34px rgba(89, 229, 39, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.telegram-cta:hover,
.telegram-cta:focus-visible {
  transform: translateY(-2px);
  background: #b2ff78;
  box-shadow: 0 18px 40px rgba(89, 229, 39, 0.38);
  outline: none;
}

.telegram-badge,
.link-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--neon);
  background: #071003;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.telegram-badge {
  background: #2aabee;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.telegram-badge .brand-icon {
  width: 29px;
  height: 29px;
}

.brand-icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.telegram-copy {
  display: grid;
  gap: 2px;
}

.cta-kicker {
  color: rgba(7, 16, 3, 0.68);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.8px;
  line-height: 1.2;
  text-transform: uppercase;
}

.cta-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.15;
}

.cta-arrow,
.secondary-arrow {
  font-size: 31px;
  font-weight: 900;
  line-height: 1;
}

.cta-note {
  margin: 12px 0 26px;
  color: rgba(236, 255, 230, 0.6);
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.community-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.community-points div {
  min-width: 0;
  padding: 15px 10px;
  text-align: center;
}

.community-points div + div {
  border-left: 1px solid var(--line-soft);
}

.community-points strong,
.community-points span {
  display: block;
}

.community-points strong {
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.community-points span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
}

.secondary-links {
  display: grid;
  gap: 10px;
}

.secondary-link {
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 12px 15px 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(141, 255, 71, 0.7);
  background: var(--surface-strong);
  outline: none;
}

.link-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(141, 255, 71, 0.32);
  font-size: 14px;
}

.link-mark-gpt {
  border-color: transparent;
  background: transparent;
}

.product-icon {
  width: 46px;
  height: 46px;
  border-radius: 0;
}

.link-mark-youtube {
  border: 0;
  border-radius: 10px;
  background: #ff0000;
}

.youtube-play {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #ffffff;
}

.secondary-link strong,
.secondary-link small {
  display: block;
}

.secondary-link strong {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
}

.secondary-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.secondary-arrow {
  color: var(--neon);
  font-size: 21px;
}

.legal {
  margin-top: 22px;
  color: rgba(241, 255, 242, 0.52);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 750;
}

.legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.legal-links span {
  color: rgba(255, 255, 255, 0.3);
}

.legal p {
  margin: 0;
}

@media (max-width: 420px) {
  .page {
    padding: 32px 14px 24px;
  }

  .avatar-wrap {
    width: 86px;
    height: 86px;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 38px;
  }

  .intro {
    margin-bottom: 23px;
    font-size: 14px;
  }

  .telegram-cta {
    min-height: 88px;
  }

  .community-points div {
    padding: 13px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}
