/* Telegram Group Members V2 — page-scoped styles */
.tgmg-page {
  --tgmg-primary: #0088cc;
  --tgmg-primary-rgb: 0, 136, 204;
  --tgmg-accent: #29b6f6;
  --tgmg-accent-rgb: 41, 182, 246;
  --tgmg-ink: #eaf7ff;
  --tgmg-muted: #a8bfd0;
  --tgmg-dark: #07111f;
  --tgmg-dark-2: #0b1b2d;
  --tgmg-dark-3: #10283e;
  --tgmg-glass: rgba(255, 255, 255, 0.055);
  --tgmg-line: rgba(255, 255, 255, 0.13);
  --tgmg-success: #43d49e;
  --tgmg-warm: #ffc857;
  --tgmg-radius: 18px;
  --tgmg-radius-sm: 11px;
  --tgmg-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  --tgmg-gradient: linear-gradient(135deg, #0088cc 0%, #29b6f6 100%);
  --tgmg-mascot-placeholder: url("/assets/images/upload/robot-meo-mascot-tang-thanh-vien-nhom-telegram.webp");
  position: relative;
  isolation: isolate;
  color: var(--tgmg-ink);
  background: var(--tgmg-dark);
  overflow-x: clip;
}

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

.tgmg-page a:focus-visible,
.tgmg-page button:focus-visible,
.tgmg-page input:focus-visible,
.tgmg-page textarea:focus-visible,
.tgmg-page [tabindex]:focus-visible {
  outline: 3px solid rgba(var(--tgmg-accent-rgb), 0.5);
  outline-offset: 3px;
}

/* Hero */
.tgmg-page .tgmg-hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 18px 0 28px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 24%, rgba(var(--tgmg-primary-rgb), 0.2), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(var(--tgmg-accent-rgb), 0.1), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0a1b2c 48%, #0b263d 100%);
}

.tgmg-page .tgmg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  pointer-events: none;
}

.tgmg-page .tgmg-hero::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -210px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(var(--tgmg-accent-rgb), 0.025),
    0 0 0 92px rgba(var(--tgmg-primary-rgb), 0.018);
  pointer-events: none;
}

.tgmg-page .tgmg-hero > .container {
  position: relative;
  z-index: 2;
}

.tgmg-page .tgmg-hero-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  align-items: flex-start;
}

.tgmg-page .tgmg-col-form,
.tgmg-page .tgmg-col-illustration {
  min-width: 0;
}

.tgmg-page .tgmg-col-form {
  order: 0;
  margin-top: -8px;
}

.tgmg-page .tgmg-col-illustration {
  order: 0;
  padding-top: 8px;
}

.tgmg-page .tgmg-hero-orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(74px);
  opacity: 0.25;
  pointer-events: none;
}

.tgmg-page .tgmg-hero-orb-1 {
  width: 360px;
  height: 360px;
  top: -130px;
  left: -90px;
  background: rgba(var(--tgmg-primary-rgb), 0.3);
}

.tgmg-page .tgmg-hero-orb-2 {
  width: 300px;
  height: 300px;
  top: 38%;
  right: -90px;
  background: rgba(var(--tgmg-accent-rgb), 0.25);
}

.tgmg-page .tgmg-hero-orb-3 {
  width: 220px;
  height: 220px;
  left: 42%;
  bottom: -90px;
  background: rgba(76, 110, 245, 0.2);
}

.tgmg-page .tgmg-breadcrumb {
  margin-bottom: 11px;
}

.tgmg-page .tgmg-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--tgmg-muted);
  font-size: 0.79rem;
}

.tgmg-page .tgmg-breadcrumb a {
  color: #70cefa;
  text-decoration: none;
}

.tgmg-page .tgmg-breadcrumb a:hover {
  color: #fff;
}

.tgmg-page .tgmg-breadcrumb .separator {
  font-size: 0.58rem;
  opacity: 0.55;
}

.tgmg-page .tgmg-breadcrumb .current {
  color: var(--tgmg-ink);
  font-weight: 650;
}

.tgmg-page .tgmg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 6px 14px;
  color: #a9e2ff;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.3);
  border-radius: 999px;
  background: rgba(var(--tgmg-primary-rgb), 0.13);
  font-size: 0.79rem;
  font-weight: 700;
}

.tgmg-page .tgmg-hero-badge i {
  color: var(--tgmg-warm);
}

.tgmg-page .tgmg-hero-headline {
  margin-bottom: 18px;
}

.tgmg-page .tgmg-hero-title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.62rem, 3.8vw, 2.35rem);
  font-weight: 820;
  line-height: 1.18;
  text-wrap: balance;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}

.tgmg-page .tgmg-hero-title .accent {
  color: var(--tgmg-accent);
  background: var(--tgmg-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tgmg-page .tgmg-kw-rotator {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tgmg-page .tgmg-kw {
  display: inline-block;
  max-width: 100%;
  padding: 4px 11px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.25);
  border-radius: 20px;
  background: rgba(var(--tgmg-primary-rgb), 0.12);
  font-size: 0.71rem;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
}

/* Premium form */
.tgmg-page .tgmg-glass-form {
  position: relative;
  padding: 23px 26px;
  border: 1px solid var(--tgmg-line);
  border-radius: var(--tgmg-radius);
  background:
    linear-gradient(156deg, rgba(var(--tgmg-primary-rgb), 0.11), rgba(7, 17, 31, 0.95) 38%, rgba(11, 38, 61, 0.94));
  box-shadow:
    0 0 0 1px rgba(var(--tgmg-primary-rgb), 0.07),
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 34px rgba(var(--tgmg-primary-rgb), 0.12);
}

.tgmg-page .tgmg-glass-form::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--tgmg-accent-rgb), 0.52), transparent 35%, rgba(var(--tgmg-primary-rgb), 0.32));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.tgmg-page .tgmg-form-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.tgmg-page .tgmg-form-header-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: var(--tgmg-gradient);
  box-shadow: 0 8px 22px rgba(var(--tgmg-primary-rgb), 0.28);
  font-size: 1.15rem;
}

.tgmg-page .tgmg-form-header-title {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.35;
}

.tgmg-page .tgmg-form-header-sub {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  line-height: 1.4;
}

.tgmg-page .tgmg-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  padding: 0 3px;
}

.tgmg-page .tgmg-step {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.25;
}

.tgmg-page .tgmg-step-num {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.69rem;
  font-weight: 750;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.tgmg-page .tgmg-step.active {
  color: #fff;
}

.tgmg-page .tgmg-step.active .tgmg-step-num {
  color: #fff;
  border-color: var(--tgmg-primary);
  background: var(--tgmg-gradient);
  box-shadow: 0 0 14px rgba(var(--tgmg-accent-rgb), 0.34);
}

.tgmg-page .tgmg-step.completed,
.tgmg-page .tgmg-step.done {
  color: rgba(255, 255, 255, 0.72);
}

.tgmg-page .tgmg-step.completed .tgmg-step-num,
.tgmg-page .tgmg-step.done .tgmg-step-num {
  color: transparent;
  border-color: var(--tgmg-success);
  background: var(--tgmg-success);
  font-size: 0;
}

.tgmg-page .tgmg-step.completed .tgmg-step-num::after,
.tgmg-page .tgmg-step.done .tgmg-step-num::after {
  content: "\f00c";
  color: #062117;
  font-family: "Font Awesome 6 Free";
  font-size: 0.65rem;
  font-weight: 900;
}

.tgmg-page .tgmg-form-group {
  min-width: 0;
  margin-bottom: 15px;
}

.tgmg-page .tgmg-form-group:last-of-type {
  margin-bottom: 8px;
}

.tgmg-page .tgmg-form-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.81rem;
  font-weight: 650;
}

.tgmg-page .tgmg-form-label i {
  color: var(--tgmg-accent);
  font-size: 0.86rem;
}

.tgmg-page .tgmg-form-row-2col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  transition: grid-template-columns 0.3s ease;
}

.tgmg-page .tgmg-form-row-2col > .tgmg-form-group {
  min-width: 0;
}

.tgmg-page .tgmg-input,
.tgmg-page .tgmg-textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  outline: 0;
  background: rgba(255, 255, 255, 0.068);
  font-size: 0.87rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tgmg-page .tgmg-input {
  min-height: 44px;
  padding: 11px 13px;
}

.tgmg-page .tgmg-textarea {
  min-height: 50px;
  padding: 10px 13px;
  resize: vertical;
}

.tgmg-page .tgmg-input::placeholder,
.tgmg-page .tgmg-textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.tgmg-page .tgmg-input:focus,
.tgmg-page .tgmg-textarea:focus {
  border-color: var(--tgmg-accent);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 0 0 3px rgba(var(--tgmg-accent-rgb), 0.14);
}

.tgmg-page .tgmg-server-desc {
  margin-top: 6px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(var(--tgmg-primary-rgb), 0.15);
  border-radius: 6px;
  background: rgba(var(--tgmg-primary-rgb), 0.08);
  font-size: 0.75rem;
  line-height: 1.4;
}

.tgmg-page .tgmg-server-desc:empty {
  display: none;
}

.tgmg-page .tgmg-qty-hint {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.68rem;
  line-height: 1.4;
}

.tgmg-page .tgmg-qty-row {
  display: flex;
  min-width: 0;
}

.tgmg-page .tgmg-qty-row .tgmg-input {
  min-width: 0;
  border-right: 0;
  border-radius: 10px 0 0 10px;
}

.tgmg-page .tgmg-qty-suffix {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 11px 14px;
  color: #93dcff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: rgba(var(--tgmg-primary-rgb), 0.14);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.tgmg-page .tgmg-price-box {
  padding: 9px 12px;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.12);
  border-radius: 10px;
  background: rgba(var(--tgmg-primary-rgb), 0.055);
}

.tgmg-page .tgmg-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.tgmg-page .tgmg-price-label {
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.8rem;
}

.tgmg-page .tgmg-price-value {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 750;
  text-align: right;
}

.tgmg-page .tgmg-price-total {
  color: var(--tgmg-accent);
  font-size: 1.08rem;
  font-weight: 820;
}

.tgmg-page .tgmg-cta-btn {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  padding: 13px 18px;
  overflow: hidden;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: var(--tgmg-gradient);
  box-shadow: 0 8px 24px rgba(var(--tgmg-primary-rgb), 0.24);
  font-size: 0.96rem;
  font-weight: 760;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tgmg-page .tgmg-cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -115%;
  width: 80%;
  height: 100%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.tgmg-page .tgmg-cta-btn:hover {
  color: #fff;
  filter: saturate(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(var(--tgmg-primary-rgb), 0.38);
}

.tgmg-page .tgmg-cta-btn:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.tgmg-page .tgmg-trust-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px 14px;
  margin-top: 10px;
}

.tgmg-page .tgmg-trust-mini-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.59);
  font-size: 0.69rem;
}

.tgmg-page .tgmg-trust-mini-item i {
  color: var(--tgmg-accent);
}

/* Scoped custom selects */
.tgmg-page .custom-select-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  user-select: none;
}

.tgmg-page .custom-select-trigger {
  display: flex;
  position: relative;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 12px 32px 12px 14px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.068);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tgmg-page .custom-select-trigger span {
  display: block;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgmg-page .custom-select-trigger .arrow {
  position: absolute;
  top: 50%;
  right: 12px;
  flex-shrink: 0;
  width: 0;
  height: 0;
  margin-left: 10px;
  border-top: 5px solid rgba(255, 255, 255, 0.55);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  transform: translateY(-50%);
}

.tgmg-page .custom-select-trigger:hover,
.tgmg-page .custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--tgmg-primary);
  box-shadow: 0 0 0 3px rgba(var(--tgmg-primary-rgb), 0.14);
}

.tgmg-page .custom-select-dropdown {
  display: none;
  position: absolute;
  z-index: 1050;
  top: calc(100% + 5px);
  right: auto;
  left: 0;
  width: 100%;
  min-width: 100%;
  max-width: calc(100vw - 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(13, 13, 26, 0.98);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.tgmg-page .custom-select-wrapper.open .custom-select-dropdown {
  display: block;
}

.tgmg-page .custom-search-container {
  padding: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.tgmg-page .custom-search-input {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 7px;
  outline: 0;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}

.tgmg-page .custom-search-input:focus {
  border-color: var(--tgmg-accent);
  box-shadow: 0 0 0 3px rgba(var(--tgmg-accent-rgb), 0.13);
}

.tgmg-page .custom-options-list {
  max-height: 255px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-color: rgba(var(--tgmg-accent-rgb), 0.45) transparent;
  scrollbar-width: thin;
}

.tgmg-page .custom-option {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 0.81rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: normal;
  cursor: pointer;
}

.tgmg-page .custom-option:last-child {
  border-bottom: 0;
}

.tgmg-page .custom-option:hover,
.tgmg-page .custom-option:focus {
  color: #fff;
  background: rgba(var(--tgmg-primary-rgb), 0.16);
}

.tgmg-page .custom-option img {
  flex: 0 0 auto;
  width: 21px;
  height: 15px;
  margin: 2px 9px 0 0;
  object-fit: cover;
}

.tgmg-page .tgmg-server-trigger {
  position: relative;
}

.tgmg-page .tgmg-server-trigger #server-render {
  display: block;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgmg-page .tgmg-glass-form #server-list li {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
  cursor: pointer;
  transition: background 0.15s ease;
}

.tgmg-page .tgmg-glass-form #server-list li:hover {
  background: rgba(var(--tgmg-primary-rgb), 0.12);
}

.tgmg-page .tgmg-glass-form #server-list li strong {
  color: var(--tgmg-accent);
}

/* Hero information card */
.tgmg-page .tgmg-hero-info-card {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 0;
  margin: 12px 0 20px;
  padding: 15px 18px 15px 21px;
  overflow: hidden;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.14);
  border-radius: 12px;
  background: rgba(8, 23, 38, 0.76);
}

.tgmg-page .tgmg-hero-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--tgmg-warm), var(--tgmg-primary));
}

.tgmg-page .tgmg-hero-desc {
  max-width: none;
  margin: 0;
  padding: 0 0 11px;
  color: rgba(255, 255, 255, 0.77);
  border-bottom: 1px solid rgba(var(--tgmg-accent-rgb), 0.1);
  font-size: 0.86rem;
  line-height: 1.65;
}

.tgmg-page .tgmg-hero-anchor {
  margin: 0;
  padding-top: 11px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
  line-height: 1.6;
}

.tgmg-page .tgmg-hero-anchor a {
  color: #7dd5ff;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(var(--tgmg-accent-rgb), 0.45);
  text-underline-offset: 3px;
}

.tgmg-page .tgmg-hero-anchor a:hover {
  color: #fff;
}

/* Social proof and animated mascot */
.tgmg-page .tgmg-proof-panel {
  margin-top: 16px;
  padding: 17px;
  border: 1px solid var(--tgmg-line);
  border-radius: var(--tgmg-radius);
  background:
    linear-gradient(150deg, rgba(var(--tgmg-primary-rgb), 0.08), rgba(7, 17, 31, 0.94) 38%),
    var(--tgmg-dark);
  box-shadow: var(--tgmg-shadow);
}

.tgmg-page .tgmg-proof-hero {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 13px;
}

.tgmg-page .tgmg-proof-robot {
  position: relative;
  flex: 0 0 126px;
  width: 126px;
  min-height: 126px;
  animation: tgmgMascotFloat 4.8s ease-in-out infinite;
}

.tgmg-page .tgmg-proof-robot.is-placeholder::before,
.tgmg-page .tgmg-mascot-placeholder {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  inset: 3px;
  background-image: var(--tgmg-mascot-placeholder);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0 8px 22px rgba(var(--tgmg-accent-rgb), 0.28));
}

.tgmg-page .tgmg-robot-img-sm {
  display: block;
  position: relative;
  z-index: 2;
  width: 126px;
  height: 126px;
  color: transparent;
  font-size: 0;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(var(--tgmg-accent-rgb), 0.28));
}

.tgmg-page .tgmg-proof-robot.is-placeholder::after {
  content: "🤖";
  display: grid;
  position: absolute;
  z-index: 2;
  inset: 7%;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.38);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(var(--tgmg-primary-rgb), 0.42), rgba(var(--tgmg-accent-rgb), 0.16));
  box-shadow: inset 0 0 24px rgba(var(--tgmg-accent-rgb), 0.12);
  font-size: clamp(2.2rem, 5vw, 3.35rem);
}

.tgmg-page .tgmg-cat-glow {
  position: absolute;
  z-index: 1;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--tgmg-accent-rgb), 0.36), transparent 72%);
}

.tgmg-page .tgmg-fbadge {
  display: inline-flex;
  position: absolute;
  z-index: 3;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.3);
  font-size: 0.63rem;
  font-weight: 750;
  white-space: nowrap;
}

.tgmg-page .tgmg-fb-mini-1 {
  top: 2px;
  right: -20px;
  background: rgba(var(--tgmg-primary-rgb), 0.9);
}

.tgmg-page .tgmg-fb-mini-2 {
  bottom: 35%;
  left: -14px;
  background: rgba(var(--tgmg-accent-rgb), 0.88);
}

.tgmg-page .tgmg-fb-mini-3 {
  right: -12px;
  bottom: 4px;
  background: rgba(255, 157, 46, 0.9);
}

.tgmg-page .tgmg-proof-stats {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  min-width: 0;
}

.tgmg-page .tgmg-pstat {
  min-width: 0;
  padding: 9px 5px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.tgmg-page .tgmg-pstat-icon {
  margin-bottom: 2px;
  color: var(--tgmg-accent);
  font-size: 0.98rem;
}

.tgmg-page .tgmg-pstat:nth-child(2) .tgmg-pstat-icon {
  color: var(--tgmg-success);
}

.tgmg-page .tgmg-pstat:nth-child(3) .tgmg-pstat-icon {
  color: var(--tgmg-warm);
}

.tgmg-page .tgmg-pstat:nth-child(4) .tgmg-pstat-icon {
  color: #b69cff;
}

.tgmg-page .tgmg-pstat-num {
  color: #fff;
  font-size: 1.06rem;
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tgmg-page .tgmg-pstat-label {
  color: var(--tgmg-muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.tgmg-page .tgmg-livefeed {
  padding-top: 11px;
  border-top: 1px solid var(--tgmg-line);
}

.tgmg-page .tgmg-livefeed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tgmg-page .tgmg-livefeed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tgmg-success);
  box-shadow: 0 0 9px rgba(67, 212, 158, 0.55);
  animation: tgmgLiveDot 1.8s ease-in-out infinite;
}

.tgmg-page .tgmg-livefeed-title {
  color: var(--tgmg-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.tgmg-page .tgmg-livefeed-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 178px;
  overflow: hidden;
}

.tgmg-page .tgmg-livefeed-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.033);
  animation: tgmgFeedEnter 0.45s ease-out both;
}

.tgmg-page .tgmg-livefeed-item:hover {
  border-color: rgba(var(--tgmg-accent-rgb), 0.15);
  background: rgba(var(--tgmg-primary-rgb), 0.075);
}

.tgmg-page .tgmg-livefeed-avatar {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--tgmg-gradient);
  font-size: 0.68rem;
  font-weight: 750;
}

.tgmg-page .tgmg-livefeed-info {
  flex: 1;
  min-width: 0;
}

.tgmg-page .tgmg-livefeed-name,
.tgmg-page .tgmg-livefeed-detail {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tgmg-page .tgmg-livefeed-name {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 650;
}

.tgmg-page .tgmg-livefeed-name span {
  color: var(--tgmg-accent);
}

.tgmg-page .tgmg-livefeed-detail {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.65rem;
}

.tgmg-page .tgmg-livefeed-time {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.61rem;
  white-space: nowrap;
}

@keyframes tgmgShimmer {
  0%,
  55% {
    left: -115%;
  }
  90%,
  100% {
    left: 130%;
  }
}

@keyframes tgmgMascotFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(0, -8px, 0) rotate(1.5deg);
  }
}

@keyframes tgmgMascotGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.07);
  }
}

@keyframes tgmgBadgeFloatOne {
  0%,
  100% {
    transform: translate(0, 0) rotate(0);
  }
  50% {
    transform: translate(7px, -8px) rotate(3deg);
  }
}

@keyframes tgmgBadgeFloatTwo {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-5px, 7px) rotate(-2deg);
  }
}

@keyframes tgmgBadgeFloatThree {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5px, 9px);
  }
}

@keyframes tgmgLiveDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes tgmgFeedEnter {
  from {
    opacity: 0;
    transform: translateY(-9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content sections */
.tgmg-page .tgmg-section {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 66px 0;
  overflow: hidden;
  background: var(--tgmg-dark);
}

.tgmg-page .tgmg-section:nth-of-type(even),
.tgmg-page .tgmg-section--soft {
  background:
    radial-gradient(circle at 8% 12%, rgba(var(--tgmg-primary-rgb), 0.07), transparent 28%),
    linear-gradient(180deg, var(--tgmg-dark-2), #091522);
}

.tgmg-page .tgmg-section > .container {
  position: relative;
  z-index: 1;
}

.tgmg-page .tgmg-section-head {
  max-width: 800px;
  margin: 0 auto 34px;
  text-align: center;
}

.tgmg-page .tgmg-section-emoji {
  margin-bottom: 8px;
  font-size: 1.9rem;
  line-height: 1;
  text-align: center;
}

.tgmg-page .tgmg-section-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.78rem);
  font-weight: 810;
  line-height: 1.28;
  text-align: center;
  text-wrap: balance;
}

.tgmg-page .tgmg-section-title::after {
  content: "";
  display: block;
  width: 62px;
  height: 3px;
  margin: 13px auto 0;
  border-radius: 3px;
  background: var(--tgmg-gradient);
}

.tgmg-page .tgmg-section-subtitle {
  max-width: 720px;
  margin: 12px auto 0;
  color: var(--tgmg-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  text-align: center;
}

.tgmg-page .tgmg-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
}

.tgmg-page .tgmg-content-grid--top {
  align-items: start;
}

.tgmg-page .tgmg-content-copy {
  min-width: 0;
}

.tgmg-page .tgmg-content-copy h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 760;
  line-height: 1.4;
}

.tgmg-page .tgmg-content-copy p {
  margin: 0 0 14px;
  color: var(--tgmg-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.tgmg-page .tgmg-content-copy p:last-child {
  margin-bottom: 0;
}

.tgmg-page .tgmg-content-copy a {
  color: #7bd4ff;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(var(--tgmg-accent-rgb), 0.4);
  text-underline-offset: 3px;
}

.tgmg-page .tgmg-content-copy a:hover {
  color: #fff;
}

.tgmg-page .tgmg-content-figure,
.tgmg-page .tgmg-image-frame {
  position: relative;
  margin: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.17);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(145deg, rgba(var(--tgmg-primary-rgb), 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.tgmg-page .tgmg-content-figure::before,
.tgmg-page .tgmg-image-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(var(--tgmg-accent-rgb), 0.1);
  filter: blur(32px);
  pointer-events: none;
}

.tgmg-page .tgmg-content-img,
.tgmg-page .tgmg-content-figure img,
.tgmg-page .tgmg-image-frame img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: calc(var(--tgmg-radius) - 7px);
  object-fit: cover;
}

.tgmg-page .tgmg-content-figure figcaption {
  position: relative;
  z-index: 1;
  padding: 9px 8px 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.tgmg-page .tgmg-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}

.tgmg-page .tgmg-image-button img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.tgmg-page .tgmg-image-button:hover img {
  filter: brightness(1.06);
  transform: scale(1.018);
}

.tgmg-page .tgmg-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tgmg-page .tgmg-card {
  position: relative;
  min-width: 0;
  padding: 25px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid rgba(var(--tgmg-accent-rgb), 0.32);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(155deg, rgba(var(--tgmg-primary-rgb), 0.075), rgba(255, 255, 255, 0.04) 48%, rgba(var(--tgmg-primary-rgb), 0.025));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.tgmg-page .tgmg-card:hover {
  border-top-color: var(--tgmg-accent);
  box-shadow: 0 15px 40px rgba(var(--tgmg-primary-rgb), 0.12);
  transform: translateY(-4px);
}

.tgmg-page .tgmg-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: var(--tgmg-gradient);
  box-shadow: 0 8px 20px rgba(var(--tgmg-primary-rgb), 0.2);
  font-size: 1.24rem;
}

.tgmg-page .tgmg-card:nth-child(3n + 2) .tgmg-card-icon {
  background: linear-gradient(135deg, #2979ff, #7c9dff);
}

.tgmg-page .tgmg-card:nth-child(3n) .tgmg-card-icon {
  background: linear-gradient(135deg, #12a67b, #56dcad);
}

.tgmg-page .tgmg-card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 1rem;
  font-weight: 740;
  line-height: 1.45;
}

.tgmg-page .tgmg-card p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.tgmg-page .tgmg-hl-primary {
  color: #77d4ff;
  font-weight: 700;
}

.tgmg-page .tgmg-hl-accent {
  color: var(--tgmg-accent);
  font-weight: 700;
}

.tgmg-page .tgmg-hl-success {
  color: var(--tgmg-success);
  font-weight: 700;
}

/* Image and text panels */
.tgmg-page .tgmg-panel {
  display: flex;
  position: relative;
  align-items: center;
  gap: clamp(22px, 4vw, 38px);
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(155deg, rgba(var(--tgmg-primary-rgb), 0.075), rgba(255, 255, 255, 0.04), rgba(var(--tgmg-accent-rgb), 0.025));
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.18);
}

.tgmg-page .tgmg-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tgmg-primary), var(--tgmg-accent), transparent 82%);
}

.tgmg-page .tgmg-panel--reverse {
  flex-direction: row-reverse;
}

.tgmg-page .tgmg-panel--cyan::before {
  background: linear-gradient(90deg, var(--tgmg-accent), #7ce3ff, transparent 82%);
}

.tgmg-page .tgmg-panel--green::before {
  background: linear-gradient(90deg, var(--tgmg-success), #94f4cf, transparent 82%);
}

.tgmg-page .tgmg-panel__img {
  flex: 0 0 min(36%, 340px);
  max-width: 340px;
  min-width: 220px;
}

.tgmg-page .tgmg-panel__img img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--tgmg-radius-sm);
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.tgmg-page .tgmg-panel__content {
  flex: 1;
  min-width: 0;
}

.tgmg-page .tgmg-panel__content h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 11px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 760;
  line-height: 1.45;
}

.tgmg-page .tgmg-panel__content h3 i {
  color: var(--tgmg-accent);
}

.tgmg-page .tgmg-panel__content p {
  margin: 0 0 12px;
  color: var(--tgmg-muted);
  font-size: 0.87rem;
  line-height: 1.72;
}

.tgmg-page .tgmg-panel__content p:last-child {
  margin-bottom: 0;
}

/* Comparison and practical checklists */
.tgmg-page .tgmg-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tgmg-page .tgmg-compare-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tgmg-radius);
  background: rgba(255, 255, 255, 0.035);
}

.tgmg-page .tgmg-compare-card--service {
  border-color: rgba(var(--tgmg-accent-rgb), 0.28);
  background: linear-gradient(145deg, rgba(var(--tgmg-primary-rgb), 0.14), rgba(255, 255, 255, 0.035));
  box-shadow: 0 14px 38px rgba(var(--tgmg-primary-rgb), 0.1);
}

.tgmg-page .tgmg-compare-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tgmg-page .tgmg-compare-heading i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--tgmg-accent);
  border-radius: 11px;
  background: rgba(var(--tgmg-primary-rgb), 0.13);
}

.tgmg-page .tgmg-compare-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
}

.tgmg-page .tgmg-compare-list,
.tgmg-page .tgmg-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tgmg-page .tgmg-compare-list li,
.tgmg-page .tgmg-check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--tgmg-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.tgmg-page .tgmg-compare-list li i,
.tgmg-page .tgmg-check-item i {
  flex: 0 0 auto;
  margin-top: 4px;
  color: var(--tgmg-success);
}

.tgmg-page .tgmg-checklist-card {
  padding: 24px;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.2);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(145deg, rgba(var(--tgmg-primary-rgb), 0.1), rgba(255, 255, 255, 0.03));
}

.tgmg-page .tgmg-checklist-card h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 750;
}

.tgmg-page .tgmg-callout {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 22px;
  padding: 16px 18px;
  color: var(--tgmg-muted);
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.19);
  border-left: 3px solid var(--tgmg-accent);
  border-radius: 10px;
  background: rgba(var(--tgmg-primary-rgb), 0.075);
  font-size: 0.84rem;
  line-height: 1.65;
}

.tgmg-page .tgmg-callout > i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--tgmg-accent);
  font-size: 1rem;
}

.tgmg-page .tgmg-callout p {
  margin: 0;
}

.tgmg-page .tgmg-method-item {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.tgmg-page .tgmg-method-item:first-child {
  padding-top: 0;
}

.tgmg-page .tgmg-method-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.tgmg-page .tgmg-method-num {
  display: grid;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: var(--tgmg-gradient);
  box-shadow: 0 8px 18px rgba(var(--tgmg-primary-rgb), 0.22);
  font-size: 1.02rem;
  font-weight: 800;
}

.tgmg-page .tgmg-method-body h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 740;
  line-height: 1.45;
}

.tgmg-page .tgmg-method-body p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Screenshot-based HowTo */
.tgmg-page .tgmg-guide-timeline {
  position: relative;
  margin-top: 26px;
  padding-left: 42px;
}

.tgmg-page .tgmg-guide-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 17px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--tgmg-primary), var(--tgmg-accent), var(--tgmg-success));
}

.tgmg-page .tgmg-guide-step {
  display: flex;
  position: relative;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 24px;
}

.tgmg-page .tgmg-guide-step:last-child {
  margin-bottom: 0;
}

.tgmg-page .tgmg-guide-step-num {
  display: grid;
  position: absolute;
  z-index: 2;
  top: 0;
  left: -42px;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--tgmg-gradient);
  box-shadow: 0 0 0 4px var(--tgmg-dark), 0 7px 18px rgba(var(--tgmg-primary-rgb), 0.28);
  font-size: 0.83rem;
  font-weight: 820;
}

.tgmg-page .tgmg-guide-step:last-child .tgmg-guide-step-num {
  background: linear-gradient(135deg, #17a97c, #58dfb1);
}

.tgmg-page .tgmg-guide-step-thumb {
  flex: 0 0 230px;
  max-width: 230px;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tgmg-radius-sm);
  background: rgba(0, 0, 0, 0.18);
}

.tgmg-page .tgmg-guide-step-thumb button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.tgmg-page .tgmg-guide-step-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 148px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.tgmg-page .tgmg-guide-step:hover .tgmg-guide-step-thumb img {
  filter: brightness(1.05);
  transform: scale(1.025);
}

.tgmg-page .tgmg-guide-step-body {
  flex: 1;
  min-width: 0;
  padding: 19px 21px;
  border: 1px solid var(--tgmg-line);
  border-radius: var(--tgmg-radius-sm);
  background: var(--tgmg-glass);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tgmg-page .tgmg-guide-step:hover .tgmg-guide-step-body {
  border-color: rgba(var(--tgmg-accent-rgb), 0.3);
  box-shadow: 0 10px 28px rgba(var(--tgmg-primary-rgb), 0.08);
}

.tgmg-page .tgmg-guide-step-body h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 750;
  line-height: 1.45;
}

.tgmg-page .tgmg-guide-step-body h3 i {
  color: var(--tgmg-accent);
  font-size: 0.84rem;
}

.tgmg-page .tgmg-guide-step-body p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.84rem;
  line-height: 1.68;
}

.tgmg-page .tgmg-guide-step-body a {
  color: var(--tgmg-accent);
  font-weight: 650;
}

/* Two-row testimonial marquee */
.tgmg-page .tgmg-testimonials {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 50px 0;
  background: #0a0a1a;
  position: relative;
  border: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tgmg-page .tgmg-testimonials::before,
.tgmg-page .tgmg-testimonials::after {
  display: none;
}

.tgmg-page .tgmg-testi-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.tgmg-page .tgmg-testi-track.row1 {
  animation: tgmgMarquee 50s linear infinite;
}

.tgmg-page .tgmg-testi-track.row2 {
  animation: tgmgMarquee 55s linear infinite reverse;
}

.tgmg-page .tgmg-testimonial-card {
  flex: 0 0 auto;
  min-width: 300px;
  max-width: 340px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: var(--tgmg-glass);
}

.tgmg-page .tgmg-testimonial-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  color: var(--tgmg-primary);
  border-radius: 6px;
  background: rgba(var(--tgmg-primary-rgb), 0.15);
  font-size: 0.68rem;
  font-weight: 700;
}

.tgmg-page .tgmg-testimonial-stars {
  margin-bottom: 8px;
  color: var(--tgmg-warm);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.tgmg-page .tgmg-testimonial-text {
  margin: 0 0 12px;
  color: #e8e8f0;
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.55;
}

.tgmg-page .tgmg-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tgmg-page .tgmg-testimonial-avatar {
  display: flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  background: var(--tgmg-gradient);
  font-size: 0.7rem;
  font-weight: 700;
}

.tgmg-page .tgmg-testimonial-name {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.tgmg-page .tgmg-testimonial-role {
  color: #8a8aac;
  font-size: 0.7rem;
}

/* FAQ */
.tgmg-page .tgmg-faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.tgmg-page .tgmg-faq-item {
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--tgmg-line);
  border-radius: var(--tgmg-radius-sm);
  background: rgba(255, 255, 255, 0.038);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.tgmg-page .tgmg-faq-item.active {
  border-color: rgba(var(--tgmg-accent-rgb), 0.3);
  background: rgba(var(--tgmg-primary-rgb), 0.07);
}

.tgmg-page .tgmg-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 680;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.tgmg-page .tgmg-faq-q:hover {
  background: rgba(255, 255, 255, 0.035);
}

.tgmg-page .tgmg-faq-q i {
  flex: 0 0 auto;
  color: var(--tgmg-accent);
  font-size: 0.75rem;
  transition: transform 0.28s ease;
}

.tgmg-page .tgmg-faq-item.active .tgmg-faq-q i {
  transform: rotate(180deg);
}

.tgmg-page .tgmg-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.tgmg-page .tgmg-faq-item.active .tgmg-faq-a {
  max-height: 900px;
}

.tgmg-page .tgmg-faq-a p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--tgmg-muted);
  font-size: 0.84rem;
  line-height: 1.72;
}

.tgmg-page .tgmg-faq-a a {
  color: var(--tgmg-accent);
  font-weight: 650;
}

/* Related services */
.tgmg-page .tgmg-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tgmg-page .tgmg-related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 23px 20px;
  text-align: center;
  border: 1px solid var(--tgmg-line);
  border-radius: var(--tgmg-radius);
  background: var(--tgmg-glass);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tgmg-page .tgmg-related-card:hover {
  border-color: rgba(var(--tgmg-accent-rgb), 0.45);
  box-shadow: 0 13px 32px rgba(var(--tgmg-primary-rgb), 0.1);
  transform: translateY(-4px);
}

.tgmg-page .tgmg-related-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: var(--tgmg-gradient);
  font-size: 1.25rem;
}

.tgmg-page .tgmg-related-card h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 740;
  line-height: 1.4;
}

.tgmg-page .tgmg-related-card p {
  flex: 1;
  margin: 0 0 14px;
  color: var(--tgmg-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.tgmg-page .tgmg-related-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tgmg-accent);
  font-size: 0.81rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.tgmg-page .tgmg-related-link:hover {
  gap: 10px;
  color: #fff;
}

/* Final CTA */
.tgmg-page .tgmg-cta {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 58px 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(var(--tgmg-accent-rgb), 0.18), transparent 45%),
    linear-gradient(135deg, #0b263c, #07111f 70%);
}

.tgmg-page .tgmg-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}

.tgmg-page .tgmg-cta .container {
  position: relative;
  z-index: 1;
}

.tgmg-page .tgmg-cta h2 {
  max-width: 760px;
  margin: 0 auto 12px;
  color: #fff;
  font-size: clamp(1.38rem, 3vw, 1.78rem);
  font-weight: 820;
  line-height: 1.35;
  text-wrap: balance;
}

.tgmg-page .tgmg-cta p {
  max-width: 680px;
  margin: 0 auto 23px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.7;
}

.tgmg-page .tgmg-cta .tgmg-cta-btn {
  display: inline-flex;
  width: auto;
  min-width: 210px;
  margin-top: 0;
  padding: 13px 28px;
  text-decoration: none;
}

/* Lightbox */
.tgmg-page .tgmg-lightbox {
  display: grid;
  position: fixed;
  z-index: 1085;
  inset: 0;
  place-items: center;
  padding: 22px;
  opacity: 0;
  background: rgba(2, 8, 14, 0.9);
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.tgmg-page .tgmg-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.tgmg-page .tgmg-lightbox-dialog {
  position: relative;
  width: min(1080px, 96vw);
  max-height: 92vh;
}

.tgmg-page .tgmg-lightbox-img {
  display: block;
  width: 100%;
  max-height: 88vh;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.tgmg-page .tgmg-lightbox-close {
  display: grid;
  position: absolute;
  z-index: 2;
  top: -15px;
  right: -15px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #0c263b;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  font-size: 1rem;
  cursor: pointer;
}

.tgmg-page .tgmg-lightbox-close:hover {
  background: var(--tgmg-primary);
}

/* Reveal is opt-in: content remains visible unless JavaScript marks the page ready */
.tgmg-page .tgmg-reveal,
.tgmg-page .tgmg-reveal-left,
.tgmg-page .tgmg-reveal-right {
  opacity: 1;
  transform: none;
}

.tgmg-page.tgmg-motion-ready .tgmg-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tgmg-page.tgmg-motion-ready .tgmg-reveal-left {
  opacity: 0;
  transform: translateX(-26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tgmg-page.tgmg-motion-ready .tgmg-reveal-right {
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tgmg-page.tgmg-motion-ready .tgmg-reveal.visible,
.tgmg-page.tgmg-motion-ready .tgmg-reveal-left.visible,
.tgmg-page.tgmg-motion-ready .tgmg-reveal-right.visible {
  opacity: 1;
  transform: none;
}

@keyframes tgmgMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Classes used by the Telegram Group page markup */
.tgmg-page .tgmg-hero-container {
  width: 100%;
  max-width: 1420px;
  margin-right: auto;
  margin-left: auto;
  padding-right: clamp(16px, 3vw, 42px);
  padding-left: clamp(16px, 3vw, 42px);
}

.tgmg-page .tgmg-hero-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 48% 42%, #000 20%, transparent 75%);
  pointer-events: none;
}

.tgmg-page .tgmg-anim-fadeIn {
  animation: tgmgFadeIn 0.55s ease both;
}

.tgmg-page .tgmg-anim-slideUp {
  animation: tgmgSlideUp 0.68s ease both;
}

.tgmg-page .tgmg-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.tgmg-page .tgmg-section--alt {
  background:
    radial-gradient(circle at 92% 20%, rgba(var(--tgmg-accent-rgb), 0.065), transparent 28%),
    linear-gradient(180deg, var(--tgmg-dark-2), #091522);
}

.tgmg-page .tgmg-panel--blue::before {
  background: linear-gradient(90deg, var(--tgmg-primary), var(--tgmg-accent), transparent 82%);
}

.tgmg-page .tgmg-panel__content--wide {
  flex-basis: 100%;
  max-width: 930px;
  margin-right: auto;
  margin-left: auto;
}

.tgmg-page .tgmg-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tgmg-accent);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.tgmg-page .tgmg-inline-link:hover {
  gap: 10px;
  color: #fff;
}

/* Group versus Channel comparison */
.tgmg-page .tgmg-compare {
  min-width: 0;
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.18);
  border-radius: var(--tgmg-radius);
  background: rgba(4, 16, 27, 0.58);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  scrollbar-color: rgba(var(--tgmg-accent-rgb), 0.5) transparent;
  scrollbar-width: thin;
}

.tgmg-page .tgmg-compare-head,
.tgmg-page .tgmg-compare-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) repeat(2, minmax(220px, 1fr));
  min-width: 680px;
}

.tgmg-page .tgmg-compare-head {
  color: #fff;
  border-bottom: 1px solid rgba(var(--tgmg-accent-rgb), 0.22);
  background: linear-gradient(90deg, rgba(var(--tgmg-primary-rgb), 0.2), rgba(var(--tgmg-accent-rgb), 0.09));
  font-size: 0.81rem;
  font-weight: 760;
}

.tgmg-page .tgmg-compare-head > div,
.tgmg-page .tgmg-compare-row > div {
  min-width: 0;
  padding: 13px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  overflow-wrap: anywhere;
}

.tgmg-page .tgmg-compare-head > div:last-child,
.tgmg-page .tgmg-compare-row > div:last-child {
  border-right: 0;
}

.tgmg-page .tgmg-compare-head i {
  margin-right: 5px;
  color: var(--tgmg-accent);
}

.tgmg-page .tgmg-compare-row {
  color: var(--tgmg-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.81rem;
  line-height: 1.55;
}

.tgmg-page .tgmg-compare-row:last-child {
  border-bottom: 0;
}

.tgmg-page .tgmg-compare-row:nth-child(odd) {
  background: rgba(255, 255, 255, 0.018);
}

.tgmg-page .tgmg-compare-row > div:first-child {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 680;
}

.tgmg-page .tgmg-compare-row strong {
  color: #fff;
}

.tgmg-page .tgmg-compare-row a {
  color: var(--tgmg-accent);
  font-weight: 650;
}

/* Pre-order checklist */
.tgmg-page .tgmg-checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 42px);
}

.tgmg-page .tgmg-checklist-visual {
  position: relative;
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.18);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(145deg, rgba(var(--tgmg-primary-rgb), 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.tgmg-page .tgmg-checklist-visual > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 360px;
  border-radius: calc(var(--tgmg-radius) - 7px);
  object-fit: cover;
}

.tgmg-page .tgmg-checklist-caption {
  display: flex;
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  background: rgba(4, 18, 30, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  font-size: 0.78rem;
  font-weight: 680;
  line-height: 1.4;
}

.tgmg-page .tgmg-checklist-caption i {
  color: var(--tgmg-success);
}

.tgmg-page .tgmg-checklist-layout .tgmg-checklist {
  display: grid;
  gap: 11px;
}

.tgmg-page .tgmg-checklist-layout .tgmg-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.032);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.tgmg-page .tgmg-checklist-layout .tgmg-check-item:hover {
  border-color: rgba(var(--tgmg-accent-rgb), 0.27);
  background: rgba(var(--tgmg-primary-rgb), 0.065);
  transform: translateX(3px);
}

.tgmg-page .tgmg-check-number {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  border-radius: 11px;
  background: var(--tgmg-gradient);
  box-shadow: 0 7px 18px rgba(var(--tgmg-primary-rgb), 0.2);
  font-size: 0.72rem;
  font-weight: 820;
}

.tgmg-page .tgmg-check-item h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 730;
  line-height: 1.4;
}

.tgmg-page .tgmg-check-item p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.8rem;
  line-height: 1.62;
}

.tgmg-page .tgmg-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 18px;
  color: var(--tgmg-muted);
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.2);
  border-left: 3px solid var(--tgmg-accent);
  border-radius: 11px;
  background: rgba(var(--tgmg-primary-rgb), 0.075);
  font-size: 0.83rem;
  line-height: 1.65;
}

.tgmg-page .tgmg-note > i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--tgmg-accent);
  font-size: 1rem;
}

.tgmg-page .tgmg-note strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
}

.tgmg-page .tgmg-note p {
  margin: 0;
}

/* Server reading guide */
.tgmg-page .tgmg-server-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 22px;
}

.tgmg-page .tgmg-server-guide-card {
  position: relative;
  min-width: 0;
  padding: 22px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(155deg, rgba(var(--tgmg-primary-rgb), 0.08), rgba(255, 255, 255, 0.035));
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tgmg-page .tgmg-server-guide-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(var(--tgmg-accent-rgb), 0.06);
}

.tgmg-page .tgmg-server-guide-card:hover {
  border-color: rgba(var(--tgmg-accent-rgb), 0.34);
  box-shadow: 0 13px 30px rgba(var(--tgmg-primary-rgb), 0.1);
  transform: translateY(-4px);
}

.tgmg-page .tgmg-server-guide-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 13px;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: var(--tgmg-gradient);
  box-shadow: 0 8px 20px rgba(var(--tgmg-primary-rgb), 0.21);
}

.tgmg-page .tgmg-server-guide-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 740;
  line-height: 1.4;
}

.tgmg-page .tgmg-server-guide-card p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

/* HowTo actions */
.tgmg-page .tgmg-guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 26px;
}

.tgmg-page .tgmg-guide-actions .tgmg-cta-btn {
  width: auto;
  min-width: 210px;
  margin-top: 0;
  text-decoration: none;
}

.tgmg-page .tgmg-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 190px;
  min-height: 48px;
  padding: 12px 20px;
  color: #a9e3ff;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.34);
  border-radius: 12px;
  background: rgba(var(--tgmg-primary-rgb), 0.08);
  font-size: 0.86rem;
  font-weight: 720;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tgmg-page .tgmg-secondary-btn:hover {
  color: #fff;
  border-color: var(--tgmg-accent);
  background: rgba(var(--tgmg-primary-rgb), 0.16);
  transform: translateY(-2px);
}

/* Actions after members begin increasing */
.tgmg-page .tgmg-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin-top: 22px;
}

.tgmg-page .tgmg-action-card {
  position: relative;
  min-width: 0;
  padding: 23px 19px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: var(--tgmg-radius);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.tgmg-page .tgmg-action-card:hover {
  border-color: rgba(var(--tgmg-accent-rgb), 0.32);
  box-shadow: 0 13px 30px rgba(var(--tgmg-primary-rgb), 0.1);
  transform: translateY(-4px);
}

.tgmg-page .tgmg-action-index {
  position: absolute;
  top: 13px;
  right: 15px;
  color: rgba(var(--tgmg-accent-rgb), 0.32);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
}

.tgmg-page .tgmg-action-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 14px;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: var(--tgmg-gradient);
  box-shadow: 0 8px 20px rgba(var(--tgmg-primary-rgb), 0.2);
}

.tgmg-page .tgmg-action-card:nth-child(2) .tgmg-action-icon {
  background: linear-gradient(135deg, #2979ff, #6f91ff);
}

.tgmg-page .tgmg-action-card:nth-child(3) .tgmg-action-icon {
  background: linear-gradient(135deg, #16a77d, #59ddb0);
}

.tgmg-page .tgmg-action-card:nth-child(4) .tgmg-action-icon {
  background: linear-gradient(135deg, #7d63de, #ab94ff);
}

.tgmg-page .tgmg-action-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 740;
  line-height: 1.42;
}

.tgmg-page .tgmg-action-card p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

/* Organic group growth plan */
.tgmg-page .tgmg-growth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 44px);
}

.tgmg-page .tgmg-growth-content {
  display: grid;
  gap: 11px;
  min-width: 0;
}

.tgmg-page .tgmg-growth-step {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.tgmg-page .tgmg-growth-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 8px;
  color: #9de0ff;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.2);
  border-radius: 9px;
  background: rgba(var(--tgmg-primary-rgb), 0.12);
  font-size: 0.7rem;
  font-weight: 760;
  text-align: center;
}

.tgmg-page .tgmg-growth-step h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 730;
  line-height: 1.4;
}

.tgmg-page .tgmg-growth-step p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.8rem;
  line-height: 1.62;
}

.tgmg-page .tgmg-growth-visual {
  position: relative;
  min-width: 0;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.18);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(145deg, rgba(var(--tgmg-primary-rgb), 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.tgmg-page .tgmg-growth-visual > img {
  display: block;
  width: 100%;
  min-height: 480px;
  border-radius: calc(var(--tgmg-radius) - 7px);
  object-fit: cover;
}

.tgmg-page .tgmg-growth-quote {
  position: absolute;
  right: 21px;
  bottom: 21px;
  left: 21px;
  padding: 14px 15px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 11px;
  background: rgba(4, 18, 30, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.tgmg-page .tgmg-growth-quote i {
  margin-bottom: 5px;
  color: var(--tgmg-accent);
}

.tgmg-page .tgmg-growth-quote p {
  margin: 0;
  font-size: 0.81rem;
  font-weight: 650;
  line-height: 1.55;
}

.tgmg-page .tgmg-cta-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 15px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: var(--tgmg-gradient);
  box-shadow: 0 12px 30px rgba(var(--tgmg-primary-rgb), 0.28);
  font-size: 1.35rem;
}

@keyframes tgmgFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes tgmgSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Theme integration */
[data-bs-theme="dark"] .tgmg-page {
  --tgmg-dark: #050d17;
  --tgmg-dark-2: #081522;
  --tgmg-dark-3: #0b2032;
  --tgmg-glass: rgba(255, 255, 255, 0.045);
  --tgmg-line: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .tgmg-page .tgmg-glass-form,
[data-bs-theme="dark"] .tgmg-page .tgmg-proof-panel {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(156deg, rgba(var(--tgmg-primary-rgb), 0.09), rgba(4, 12, 21, 0.97) 40%, rgba(7, 29, 47, 0.96));
}

[data-bs-theme="dark"] .tgmg-page .tgmg-card,
[data-bs-theme="dark"] .tgmg-page .tgmg-panel,
[data-bs-theme="dark"] .tgmg-page .tgmg-compare-card,
[data-bs-theme="dark"] .tgmg-page .tgmg-checklist-card,
[data-bs-theme="dark"] .tgmg-page .tgmg-faq-item,
[data-bs-theme="dark"] .tgmg-page .tgmg-related-card {
  border-color: rgba(255, 255, 255, 0.085);
}

/* Desktop-only dynamic form column sizing */
@media (min-width: 768px) {
  .tgmg-page .tgmg-form-row-2col.has-selection {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 1199.98px) {
  .tgmg-page .tgmg-glass-form {
    padding: 21px;
  }

  .tgmg-page .tgmg-proof-hero {
    gap: 14px;
  }

  .tgmg-page .tgmg-proof-robot {
    flex-basis: 108px;
    width: 108px;
    min-height: 108px;
  }

  .tgmg-page .tgmg-robot-img-sm {
    width: 108px;
    height: 108px;
  }

  .tgmg-page .tgmg-card-grid {
    gap: 15px;
  }

  .tgmg-page .tgmg-panel__img {
    flex-basis: 32%;
    min-width: 200px;
  }
}

@media (max-width: 991.98px) {
  .tgmg-page .tgmg-hero {
    padding: 13px 0 24px;
  }

  .tgmg-page .tgmg-hero-row {
    flex-direction: column;
  }

  .tgmg-page .tgmg-col-form {
    order: -1;
    width: 100%;
    margin-top: 0;
  }

  .tgmg-page .tgmg-col-illustration {
    width: 100%;
    margin-top: 17px;
    padding-top: 0;
  }

  .tgmg-page .tgmg-glass-form {
    margin-bottom: 0;
  }

  .tgmg-page .tgmg-hero-title {
    font-size: clamp(1.48rem, 5vw, 2rem);
  }

  .tgmg-page .tgmg-proof-hero {
    align-items: center;
  }

  .tgmg-page .tgmg-card-grid,
  .tgmg-page .tgmg-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tgmg-page .tgmg-card-grid > :last-child:nth-child(odd),
  .tgmg-page .tgmg-related-grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .tgmg-page .tgmg-content-grid {
    gap: 28px;
  }

  .tgmg-page .tgmg-panel,
  .tgmg-page .tgmg-panel--reverse {
    gap: 22px;
  }

  .tgmg-page .tgmg-panel__img {
    flex-basis: 38%;
    min-width: 220px;
  }

  .tgmg-page .tgmg-guide-step-thumb {
    flex-basis: 205px;
    max-width: 205px;
  }
}

@media (max-width: 767.98px) {
  .tgmg-page .tgmg-hero {
    padding-top: 10px;
  }

  .tgmg-page .tgmg-form-row-2col {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .tgmg-page .tgmg-section {
    padding: 48px 0;
  }

  .tgmg-page .tgmg-section-head {
    margin-bottom: 27px;
  }

  .tgmg-page .tgmg-section-title {
    font-size: 1.34rem;
  }

  .tgmg-page .tgmg-section-subtitle {
    font-size: 0.86rem;
  }

  .tgmg-page .tgmg-content-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .tgmg-page .tgmg-content-grid > .tgmg-content-figure,
  .tgmg-page .tgmg-content-grid > .tgmg-image-frame {
    order: -1;
  }

  .tgmg-page .tgmg-card-grid,
  .tgmg-page .tgmg-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgmg-page .tgmg-card-grid > :last-child:nth-child(odd),
  .tgmg-page .tgmg-related-grid > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .tgmg-page .tgmg-panel,
  .tgmg-page .tgmg-panel--reverse {
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
  }

  .tgmg-page .tgmg-panel__img {
    flex: none;
    width: min(100%, 420px);
    max-width: 420px;
    min-width: 0;
    margin: 0 auto;
  }

  .tgmg-page .tgmg-compare-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgmg-page .tgmg-guide-step {
    flex-direction: column;
    gap: 11px;
  }

  .tgmg-page .tgmg-guide-step-thumb {
    flex: none;
    width: 100%;
    max-width: 100%;
    min-height: 180px;
    max-height: 260px;
  }

  .tgmg-page .tgmg-guide-step-thumb img {
    min-height: 180px;
    max-height: 260px;
  }

  .tgmg-page .tgmg-testimonials {
    padding: 50px 0;
  }

  .tgmg-page .tgmg-testimonial-card {
    min-width: 260px;
  }

}

@media (max-width: 575.98px) {
  .tgmg-page .tgmg-hero::after {
    right: -220px;
  }

  .tgmg-page .tgmg-breadcrumb {
    margin-bottom: 8px;
  }

  .tgmg-page .tgmg-breadcrumb ol {
    gap: 5px;
    font-size: 0.72rem;
  }

  .tgmg-page .tgmg-hero-badge {
    margin-bottom: 11px;
    padding: 5px 11px;
    font-size: 0.72rem;
  }

  .tgmg-page .tgmg-hero-title {
    margin-bottom: 10px;
    font-size: 1.35rem;
    line-height: 1.22;
  }

  .tgmg-page .tgmg-kw {
    padding: 4px 9px;
    font-size: 0.67rem;
  }

  .tgmg-page .tgmg-glass-form {
    padding: 17px 15px;
    border-radius: 14px;
  }

  .tgmg-page .tgmg-form-header {
    gap: 10px;
  }

  .tgmg-page .tgmg-form-header-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .tgmg-page .tgmg-form-header-title {
    font-size: 0.92rem;
  }

  .tgmg-page .tgmg-stepper {
    align-items: flex-start;
    gap: 5px;
  }

  .tgmg-page .tgmg-step {
    flex: 1 1 0;
    gap: 4px;
    font-size: 0.62rem;
    white-space: normal;
  }

  .tgmg-page .tgmg-step-num {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
  }

  .tgmg-page .tgmg-qty-suffix {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 0.74rem;
  }

  .tgmg-page .tgmg-price-row {
    gap: 8px;
  }

  .tgmg-page .tgmg-price-label {
    font-size: 0.75rem;
  }

  .tgmg-page .tgmg-price-value {
    font-size: 0.8rem;
  }

  .tgmg-page .tgmg-price-total {
    font-size: 0.98rem;
  }

  .tgmg-page .custom-select-dropdown {
    max-width: calc(100vw - 50px);
  }

  .tgmg-page .tgmg-hero-info-card {
    padding: 14px 14px 14px 18px;
  }

  .tgmg-page .tgmg-proof-panel {
    padding: 14px;
  }

  .tgmg-page .tgmg-proof-hero {
    flex-direction: column;
    gap: 9px;
    text-align: center;
  }

  .tgmg-page .tgmg-proof-robot {
    flex-basis: 88px;
    width: 88px;
    min-height: 88px;
  }

  .tgmg-page .tgmg-robot-img-sm {
    width: 88px;
    height: 88px;
  }

  .tgmg-page .tgmg-fbadge {
    font-size: 0.56rem;
  }

  .tgmg-page .tgmg-fb-mini-1 {
    right: -36px;
  }

  .tgmg-page .tgmg-fb-mini-2 {
    left: -34px;
  }

  .tgmg-page .tgmg-fb-mini-3 {
    right: -31px;
  }

  .tgmg-page .tgmg-proof-stats {
    width: 100%;
  }

  .tgmg-page .tgmg-livefeed-item {
    gap: 7px;
    padding: 7px 8px;
  }

  .tgmg-page .tgmg-livefeed-avatar {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
  }

  .tgmg-page .tgmg-section {
    padding: 42px 0;
  }

  .tgmg-page .tgmg-section-emoji {
    font-size: 1.62rem;
  }

  .tgmg-page .tgmg-section-title {
    font-size: 1.22rem;
  }

  .tgmg-page .tgmg-section-subtitle,
  .tgmg-page .tgmg-content-copy p {
    font-size: 0.83rem;
  }

  .tgmg-page .tgmg-card,
  .tgmg-page .tgmg-compare-card,
  .tgmg-page .tgmg-checklist-card {
    padding: 20px 18px;
  }

  .tgmg-page .tgmg-panel,
  .tgmg-page .tgmg-panel--reverse {
    padding: 18px;
  }

  .tgmg-page .tgmg-method-item {
    gap: 12px;
    padding: 13px 0;
  }

  .tgmg-page .tgmg-method-num {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  .tgmg-page .tgmg-method-body h3 {
    font-size: 0.92rem;
  }

  .tgmg-page .tgmg-guide-timeline {
    padding-left: 33px;
  }

  .tgmg-page .tgmg-guide-timeline::before {
    left: 13px;
  }

  .tgmg-page .tgmg-guide-step-num {
    left: -33px;
    width: 29px;
    height: 29px;
    box-shadow: 0 0 0 3px var(--tgmg-dark);
    font-size: 0.71rem;
  }

  .tgmg-page .tgmg-guide-step-thumb,
  .tgmg-page .tgmg-guide-step-thumb img {
    min-height: 150px;
    max-height: 210px;
  }

  .tgmg-page .tgmg-guide-step-body {
    padding: 15px;
  }

  .tgmg-page .tgmg-faq-q {
    padding: 14px 15px;
    font-size: 0.83rem;
  }

  .tgmg-page .tgmg-faq-a p {
    padding: 0 15px 15px;
    font-size: 0.8rem;
  }

  .tgmg-page .tgmg-cta {
    padding: 48px 0;
  }

  .tgmg-page .tgmg-cta h2 {
    font-size: 1.28rem;
  }

  .tgmg-page .tgmg-cta p {
    font-size: 0.85rem;
  }

  .tgmg-page .tgmg-lightbox {
    padding: 14px;
  }

  .tgmg-page .tgmg-lightbox-close {
    top: -10px;
    right: -8px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .tgmg-page .tgmg-glass-form {
    padding-right: 13px;
    padding-left: 13px;
  }

  .tgmg-page .tgmg-form-header-sub {
    font-size: 0.69rem;
  }

  .tgmg-page .tgmg-step {
    font-size: 0.58rem;
  }

  .tgmg-page .tgmg-cta-btn {
    font-size: 0.88rem;
  }

  .tgmg-page .tgmg-proof-stats {
    gap: 7px;
  }

  .tgmg-page .tgmg-pstat-num {
    font-size: 0.98rem;
  }

  .tgmg-page .tgmg-pstat-label {
    font-size: 0.63rem;
  }

  .tgmg-page .tgmg-livefeed-time {
    font-size: 0.56rem;
  }

}

/* Dark variants for page-specific content blocks */
[data-bs-theme="dark"] .tgmg-page .tgmg-compare,
[data-bs-theme="dark"] .tgmg-page .tgmg-checklist-visual,
[data-bs-theme="dark"] .tgmg-page .tgmg-growth-visual {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(2, 11, 19, 0.78);
}

[data-bs-theme="dark"] .tgmg-page .tgmg-checklist-layout .tgmg-check-item,
[data-bs-theme="dark"] .tgmg-page .tgmg-server-guide-card,
[data-bs-theme="dark"] .tgmg-page .tgmg-action-card,
[data-bs-theme="dark"] .tgmg-page .tgmg-growth-step {
  border-color: rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.026);
}

[data-bs-theme="dark"] .tgmg-page .tgmg-note,
[data-bs-theme="dark"] .tgmg-page .tgmg-secondary-btn {
  background: rgba(var(--tgmg-primary-rgb), 0.06);
}

@media (max-width: 1199.98px) {
  .tgmg-page .tgmg-server-guide,
  .tgmg-page .tgmg-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tgmg-page .tgmg-growth-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 28px;
  }

  .tgmg-page .tgmg-growth-visual > img {
    min-height: 440px;
  }
}

@media (max-width: 991.98px) {
  .tgmg-page .tgmg-checklist-layout,
  .tgmg-page .tgmg-growth-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgmg-page .tgmg-checklist-visual {
    width: min(100%, 660px);
    margin: 0 auto;
  }

  .tgmg-page .tgmg-checklist-visual > img {
    min-height: 0;
    max-height: 480px;
  }

  .tgmg-page .tgmg-growth-visual {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .tgmg-page .tgmg-growth-visual > img {
    min-height: 0;
    max-height: 600px;
  }
}

@media (max-width: 767.98px) {
  .tgmg-page .tgmg-definition-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  .tgmg-page .tgmg-compare-head,
  .tgmg-page .tgmg-compare-row {
    grid-template-columns: minmax(135px, 0.68fr) repeat(2, minmax(200px, 1fr));
    min-width: 620px;
  }

  .tgmg-page .tgmg-compare-head > div,
  .tgmg-page .tgmg-compare-row > div {
    padding: 11px 12px;
  }

  .tgmg-page .tgmg-server-guide,
  .tgmg-page .tgmg-action-grid {
    gap: 12px;
  }

  .tgmg-page .tgmg-guide-actions {
    align-items: stretch;
  }

  .tgmg-page .tgmg-guide-actions .tgmg-cta-btn,
  .tgmg-page .tgmg-guide-actions .tgmg-secondary-btn {
    flex: 1 1 230px;
  }

  .tgmg-page .tgmg-growth-step {
    grid-template-columns: 74px minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .tgmg-page .tgmg-hero-container {
    padding-right: 12px;
    padding-left: 12px;
  }

  .tgmg-page .tgmg-checklist-caption {
    position: static;
    margin-top: 8px;
    background: rgba(4, 18, 30, 0.72);
    box-shadow: none;
  }

  .tgmg-page .tgmg-checklist-layout .tgmg-check-item {
    gap: 10px;
    padding: 13px;
  }

  .tgmg-page .tgmg-check-number {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .tgmg-page .tgmg-note {
    padding: 14px;
  }

  .tgmg-page .tgmg-server-guide,
  .tgmg-page .tgmg-action-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgmg-page .tgmg-server-guide-card,
  .tgmg-page .tgmg-action-card {
    padding: 19px 17px;
  }

  .tgmg-page .tgmg-guide-actions {
    flex-direction: column;
  }

  .tgmg-page .tgmg-guide-actions .tgmg-cta-btn,
  .tgmg-page .tgmg-guide-actions .tgmg-secondary-btn {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .tgmg-page .tgmg-growth-step {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 13px;
  }

  .tgmg-page .tgmg-growth-step > span {
    width: fit-content;
    min-width: 74px;
  }

  .tgmg-page .tgmg-growth-quote {
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 12px;
  }

  .tgmg-page .tgmg-growth-quote p {
    font-size: 0.76rem;
  }

  .tgmg-page .tgmg-cta-icon {
    width: 51px;
    height: 51px;
    border-radius: 15px;
    font-size: 1.16rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tgmg-page *,
  .tgmg-page *::before,
  .tgmg-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .tgmg-page .tgmg-testi-track.row1,
  .tgmg-page .tgmg-testi-track.row2 {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    transform: none !important;
  }
}

/* Final content rhythm and layout alignment with the Telegram V2 family */
.tgmg-page .tgmg-section {
  padding-top: 52px;
  padding-bottom: 52px;
}

.tgmg-page section[id] {
  scroll-margin-top: 104px;
}

.tgmg-page .tgmg-section-subtitle {
  margin-bottom: 26px;
}

.tgmg-page .tgmg-panel {
  gap: clamp(22px, 3.2vw, 36px);
  padding: 24px;
}

.tgmg-page .tgmg-panel__img {
  flex-basis: min(44%, 500px);
  width: min(44%, 500px);
  max-width: 500px;
}

.tgmg-page .tgmg-panel__img img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #071522;
}

.tgmg-page .tgmg-checklist-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.tgmg-page .tgmg-checklist-visual > img,
.tgmg-page .tgmg-growth-visual > img {
  min-height: 0;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #071522;
}

.tgmg-page .tgmg-growth-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 30px;
}

.tgmg-page .tgmg-growth-quote {
  position: static;
  margin: 10px 4px 2px;
  padding: 12px 14px;
}

.tgmg-page .tgmg-guide-step-thumb {
  flex-basis: 300px;
  height: auto;
  max-width: 300px;
  max-height: none;
  min-height: 194px;
  aspect-ratio: 3 / 2;
}

.tgmg-page .tgmg-guide-step-thumb img {
  min-height: 194px;
  max-height: none;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.tgmg-page .tgmg-guide-step-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tgmg-page .tgmg-guide-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.tgmg-page .tgmg-guide-checks li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.18);
  border-radius: 999px;
  background: rgba(var(--tgmg-primary-rgb), 0.08);
  font-size: 0.72rem;
  line-height: 1.25;
}

.tgmg-page .tgmg-guide-checks i {
  color: var(--tgmg-accent);
  font-size: 0.62rem;
}

/* Benefits */
.tgmg-page .tgmg-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tgmg-page .tgmg-benefit-card {
  position: relative;
  min-width: 0;
  padding: 22px 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(150deg, rgba(var(--tgmg-primary-rgb), 0.11), rgba(255, 255, 255, 0.04));
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tgmg-page .tgmg-benefit-card:hover {
  border-color: rgba(var(--tgmg-accent-rgb), 0.42);
  box-shadow: 0 16px 34px rgba(var(--tgmg-primary-rgb), 0.13);
  transform: translateY(-4px);
}

.tgmg-page .tgmg-benefit-index {
  position: absolute;
  top: 14px;
  right: 16px;
  color: rgba(255, 255, 255, 0.16);
  font-size: 1.35rem;
  font-weight: 850;
  line-height: 1;
}

.tgmg-page .tgmg-benefit-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 13px;
  place-items: center;
  color: #fff;
  border-radius: 13px;
  background: var(--tgmg-gradient);
  box-shadow: 0 9px 20px rgba(var(--tgmg-primary-rgb), 0.22);
}

.tgmg-page .tgmg-benefit-card:nth-child(3n + 2) .tgmg-benefit-icon {
  background: linear-gradient(135deg, #12a67b, #58dfb1);
}

.tgmg-page .tgmg-benefit-card:nth-child(3n) .tgmg-benefit-icon {
  background: linear-gradient(135deg, #2979ff, #8aa4ff);
}

.tgmg-page .tgmg-benefit-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 750;
  line-height: 1.42;
}

.tgmg-page .tgmg-benefit-card p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.82rem;
  line-height: 1.62;
}

.tgmg-page .tgmg-benefit-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.25);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(135deg, rgba(var(--tgmg-primary-rgb), 0.16), rgba(var(--tgmg-accent-rgb), 0.07));
}

.tgmg-page .tgmg-benefit-cta > div {
  display: grid;
  gap: 3px;
}

.tgmg-page .tgmg-benefit-cta strong {
  color: #fff;
  font-size: 0.95rem;
}

.tgmg-page .tgmg-benefit-cta span {
  color: var(--tgmg-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.tgmg-page .tgmg-benefit-cta .tgmg-cta-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 220px;
  padding: 12px 18px;
  font-size: 0.82rem;
}

/* Testimonial layout mirrors the Telegram channel reference */
.tgmg-page .tgmg-testimonials {
  padding: 50px 0;
}

.tgmg-page .tgmg-testi-container {
  position: relative;
  z-index: 4;
  padding: 0;
}

.tgmg-page .tgmg-testi-container > .tgmg-section-title {
  margin-bottom: 12px;
  padding: 0 20px;
}

.tgmg-page .tgmg-testi-container > .tgmg-testi-track {
  position: relative;
  z-index: 2;
}

.tgmg-page .tgmg-testi-container > .tgmg-testi-track.row2 {
  margin-top: 16px;
}

.tgmg-page .tgmg-testi-container > .tgmg-testi-track:hover,
.tgmg-page .tgmg-testi-container > .tgmg-testi-track:focus-within {
  animation-play-state: paused;
}

/* Four related Telegram services in one balanced desktop row */
.tgmg-page .tgmg-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tgmg-page .tgmg-related-card {
  padding: 21px 17px;
}

.tgmg-page .tgmg-related-link {
  justify-content: center;
  line-height: 1.45;
  text-align: center;
}

.tgmg-page .tgmg-related-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(var(--tgmg-accent-rgb), 0.25);
  border-radius: var(--tgmg-radius);
  background: linear-gradient(135deg, rgba(var(--tgmg-primary-rgb), 0.16), rgba(var(--tgmg-accent-rgb), 0.06));
}

.tgmg-page .tgmg-related-cta .tgmg-cta-icon {
  width: 50px;
  height: 50px;
  margin: 0;
  border-radius: 15px;
  font-size: 1.15rem;
}

.tgmg-page .tgmg-related-cta h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.03rem;
  font-weight: 780;
}

.tgmg-page .tgmg-related-cta p {
  margin: 0;
  color: var(--tgmg-muted);
  font-size: 0.81rem;
  line-height: 1.5;
}

.tgmg-page .tgmg-related-cta .tgmg-cta-btn {
  width: auto;
  min-width: 210px;
  padding: 12px 18px;
  font-size: 0.83rem;
}

@media (max-width: 1279.98px) {
  .tgmg-page .tgmg-related-grid,
  .tgmg-page .tgmg-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .tgmg-page .tgmg-panel__img {
    flex-basis: 42%;
    width: 42%;
    max-width: 440px;
  }

  .tgmg-page .tgmg-checklist-layout,
  .tgmg-page .tgmg-growth-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgmg-page .tgmg-checklist-visual,
  .tgmg-page .tgmg-growth-visual {
    width: min(100%, 660px);
    margin-right: auto;
    margin-left: auto;
  }

  .tgmg-page .tgmg-related-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .tgmg-page .tgmg-related-cta .tgmg-cta-btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .tgmg-page section[id] {
    scroll-margin-top: 124px;
  }

  .tgmg-page .tgmg-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .tgmg-page .tgmg-section-subtitle {
    margin-bottom: 22px;
  }

  .tgmg-page .tgmg-panel__img {
    width: min(100%, 440px);
    max-width: 440px;
  }

  .tgmg-page .tgmg-guide-step-thumb {
    width: 100%;
    max-width: 100%;
    max-height: none;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .tgmg-page .tgmg-guide-step-thumb img {
    min-height: 0;
    max-height: none;
    object-fit: contain;
  }

  .tgmg-page .tgmg-benefit-grid,
  .tgmg-page .tgmg-related-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .tgmg-page .tgmg-benefit-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .tgmg-page .tgmg-benefit-cta .tgmg-cta-btn {
    width: 100%;
    min-width: 0;
  }

  .tgmg-page .tgmg-related-cta {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .tgmg-page .tgmg-related-cta .tgmg-cta-btn {
    grid-column: auto;
    min-width: 0;
  }
}
