/* Yaarwin App — dark Yaar Win+ inspired theme (mobile-first) */
:root {
  --ink: #f3fff8;
  --ink-soft: #c7ddd2;
  --muted: #8aa396;
  --paper: #07140f;
  --paper-2: #0c1f18;
  --surface: #10261d;
  --accent: #1fe08a;
  --accent-2: #12b56c;
  --accent-soft: rgba(31, 224, 138, 0.12);
  --line: rgba(255, 255, 255, 0.1);
  --danger: #ff8d78;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1180px;
  --header-h: 74px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(31, 224, 138, 0.14), transparent 34%),
    radial-gradient(circle at 85% 0%, rgba(18, 120, 80, 0.18), transparent 30%),
    linear-gradient(180deg, #050d0a 0%, var(--paper) 40%, #040b08 100%);
  min-height: 100vh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: #8dffc2;
}

:focus-visible {
  outline: 3px solid rgba(31, 224, 138, 0.45);
  outline-offset: 2px;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(760px, calc(100% - 2rem));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 13, 10, 0.88);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-text strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.1;
  color: #fff;
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease, top 220ms ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.primary-nav {
  display: none;
}

.primary-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.4rem 0.2rem;
  font-size: 0.95rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent);
}

.primary-nav .nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
}

.primary-nav .nav-cta-primary {
  background: var(--accent);
  border-color: transparent;
  color: #04110b;
}

.primary-nav .nav-cta-primary:hover {
  color: #04110b;
  background: #63f0ad;
}

.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(var(--header-h) + 0.35rem);
  background: #0d2219;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
  gap: 0.35rem;
  animation: navIn 180ms ease;
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-web {
  margin: 0.85rem 0 1.4rem;
}

.subhead {
  margin: 1.4rem 0 0.65rem;
  font-size: 1.05rem;
  color: #fff;
}

.prose code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.35rem;
}

.disclaimer {
  display: none;
}

.hero {
  padding: 1.5rem 0 1.25rem;
}

.hero-layout {
  display: grid;
  gap: 1.25rem;
}

.hero-copy {
  max-width: 62ch;
}

.device-stage {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.device-frame {
  margin: 0;
  background: #0a1a14;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.device-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.device-frame figcaption {
  padding: 0.7rem 0.9rem 0.9rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.device-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.8rem;
  background: #0f241c;
  border-bottom: 1px solid var(--line);
}

.device-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3d5a4d;
}

.device-chrome span:nth-child(1) { background: #ff5f57; }
.device-chrome span:nth-child(2) { background: #febc2e; }
.device-chrome span:nth-child(3) { background: #28c840; }

.device-chrome small {
  margin-left: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.device-frame-web img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.device-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.device-frame-phone {
  border-radius: 22px;
}

.device-frame-phone img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #07140f;
}

.hero-note {
  grid-column: 1 / -1;
}

.device-stage[data-active="web"] .device-phones {
  display: none;
}

.device-stage[data-active="mobile"] .device-frame-web {
  display: none;
}

/* Fallback before JS runs: viewport-based */
@media (max-width: 879px) {
  .device-stage:not([data-platform]) .device-frame-web {
    display: none;
  }
}

@media (min-width: 880px) {
  .device-stage:not([data-platform]) .device-phones {
    display: none;
  }
}

.responsive-points {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.button {
  min-height: 44px;
}

/* Mobile screenshot strip */
.shot-grid {
  scroll-snap-type: x proximity;
}

@media (max-width: 639px) {
  .container {
    width: min(var(--max), calc(100% - 1.25rem));
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .device-phones {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid.cols-3,
  .shot-grid.cols-4 {
    display: flex;
    overflow-x: auto;
    gap: 0.85rem;
    padding-bottom: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }

  .shot-grid.cols-3 > li,
  .shot-grid.cols-4 > li {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
}

@media (min-width: 880px) {
  .hero {
    padding: 2.4rem 0 1.5rem;
  }

  .hero-layout {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    gap: 1.75rem;
  }

  .device-stage[data-active="mobile"] {
    max-width: 420px;
    margin-inline: auto;
  }

  .responsive-points {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hero h1,
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
  color: #fff;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(31, 224, 138, 0.18);
}

.button-primary {
  background: var(--accent);
  color: #04110b;
}

.button-primary:hover {
  background: #63f0ad;
  color: #04110b;
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.hero-banner {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-top: 1.25rem;
}

.hero-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: center top;
}

.hero-visual {
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0a1a14;
  max-width: 360px;
  margin-inline: auto;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  aspect-ratio: 9 / 16;
  max-height: 520px;
}

.page-hero {
  padding: 2.2rem 0 1rem;
}

.page-hero .note,
.note {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 141, 120, 0.1);
  color: var(--danger);
  font-size: 0.95rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.section {
  padding: 2.2rem 0;
}

.section h2,
.prose h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.2;
  margin: 0 0 0.8rem;
  color: #fff;
}

.section h3,
.prose h3 {
  font-size: 1.1rem;
  margin: 1.35rem 0 0.5rem;
  color: #fff;
}

.prose p,
.section p {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  color: var(--ink-soft);
  padding-left: 1.15rem;
}

.prose li + li {
  margin-top: 0.35rem;
}

.card-grid {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1rem;
}

.card {
  background: linear-gradient(180deg, #123026 0%, #0d2219 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 260ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 224, 138, 0.35);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
}

.card h3 {
  margin-top: 0;
  font-family: var(--display);
}

.card a.stretched {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card small {
  color: var(--muted);
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card .card-body {
  padding: 1rem 1.15rem 1.2rem;
}

.feature-strip {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.feature-strip .card {
  text-align: left;
}

.feature-strip h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature-strip p {
  margin: 0;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #fff;
}

.faq-item p {
  margin: 0.75rem 0 0.1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-band {
  background: linear-gradient(135deg, #124836, #0a1f17);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 224, 138, 0.2);
}

.cta-band p {
  color: var(--ink-soft);
}

.cta-band .button-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.shot-grid {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.shot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #0a1a14;
}

.shot-card figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.shot-card figcaption strong {
  display: block;
  color: #fff;
  margin-bottom: 0.25rem;
}

.shot-note {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 1.4rem;
  background: #030a07;
  color: #dce8e2;
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: #dce8e2;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.4rem;
  margin: 0 0 0.7rem;
  color: #fff;
}

.footer-copy,
.footer-bottom p {
  color: #8aa396;
}

.site-footer h2 {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.7rem;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.not-found {
  padding: 4rem 0;
  text-align: center;
}

.not-found h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

@media (min-width: 640px) {
  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 880px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .shot-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .shot-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ——— Motion ——— */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(31, 224, 138, 0);
  }
  50% {
    box-shadow: 0 0 28px 0 rgba(31, 224, 138, 0.22);
  }
}

.site-header {
  animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy {
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-copy .hero-actions .button:nth-child(1) { animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both; }
.hero-copy .hero-actions .button:nth-child(2) { animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; }
.hero-copy .hero-actions .button:nth-child(3) { animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both; }
.hero-copy .hero-actions .button:nth-child(4) { animation: rise-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both; }

.device-stage {
  animation: rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.device-frame-web {
  animation: soft-float 7s ease-in-out 1s infinite;
}

.device-frame-phone:nth-child(1) {
  animation: soft-float 6.5s ease-in-out 1.2s infinite;
}

.device-frame-phone:nth-child(2) {
  animation: soft-float 7.5s ease-in-out 1.6s infinite;
}

.page-hero {
  animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav-cta-primary {
  animation: glow-pulse 3.2s ease-in-out 1.2s infinite;
}

.shot-card {
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease, box-shadow 260ms ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 224, 138, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.primary-nav a,
.nav-cta {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.faq-item {
  transition: border-color 200ms ease, background 200ms ease;
}

.faq-item[open] {
  border-color: rgba(31, 224, 138, 0.28);
  background: rgba(31, 224, 138, 0.04);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Telegram VIP banner — inside viewport, slide-in from side */
@keyframes tg-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(31, 224, 138, 0.22),
      0 0 18px rgba(31, 224, 138, 0.28),
      0 14px 36px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(31, 224, 138, 0.5),
      0 0 32px rgba(31, 224, 138, 0.55),
      0 18px 42px rgba(0, 0, 0, 0.5);
  }
}

@keyframes tg-icon-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 14px rgba(31, 224, 138, 0.45);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 22px rgba(31, 224, 138, 0.75);
  }
}

.tg-banner {
  position: fixed !important;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: auto;
  z-index: 9999;
  isolation: isolate;
  width: min(420px, calc(100% - 2rem));
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 2.4rem 0.85rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #0d2219 0%, #07140f 100%);
  border: 1px solid rgba(31, 224, 138, 0.9);
  opacity: 1;
  transform: none;
  pointer-events: auto;
  box-shadow:
    0 0 0 1px rgba(31, 224, 138, 0.22),
    0 0 22px rgba(31, 224, 138, 0.3),
    0 14px 36px rgba(0, 0, 0, 0.45);
  animation: tg-glow 2.4s ease-in-out infinite;
}

.tg-banner-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
  color: #fff !important;
  text-decoration: none !important;
}

.tg-banner-link:hover {
  color: #fff !important;
  text-decoration: none !important;
}

.tg-banner-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #8dffc2 0%, #1fe08a 45%, #12b56c 100%);
  box-shadow: 0 0 18px rgba(31, 224, 138, 0.55);
  animation: tg-icon-pulse 2s ease-in-out infinite;
}

.tg-banner-icon svg {
  width: 26px;
  height: 26px;
  fill: #04110b;
}

.tg-banner-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.tg-banner-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #63f0ad;
}

.tg-banner-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-banner-close {
  position: absolute;
  top: 0.45rem;
  right: 0.65rem;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8aa396;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.tg-banner-close:hover {
  color: #fff;
}

.footer-telegram {
  margin-top: 0.75rem;
}

.footer-telegram a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.footer-telegram a:hover {
  color: #8dffc2;
}


@media (max-width: 520px) {
  .tg-banner {
    right: max(0.75rem, env(safe-area-inset-right));
    left: max(0.75rem, env(safe-area-inset-left));
    width: auto;
    border-radius: 22px;
    padding: 0.8rem 2.2rem 0.8rem 0.75rem;
    gap: 0.7rem;
  }

  .tg-banner-icon {
    width: 42px;
    height: 42px;
  }

  .tg-banner-title {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .card,
  .shot-card,
  .primary-nav.is-open,
  .nav-cta,
  .primary-nav a,
  .device-frame-web,
  .device-frame-phone,
  .hero-copy,
  .hero-copy .hero-actions .button,
  .device-stage,
  .reveal,
  .page-hero,
  .site-header,
  .nav-cta-primary,
  .tg-banner,
  .tg-banner-icon {
    transition: none !important;
    animation: none !important;
  }

  .tg-banner {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
