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

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
}

body.modal-open {
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

.top-bar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px));
  height: 56px;
  background: rgba(43, 47, 56, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  border-radius: 16px;
  z-index: 10;
  padding-right: 78px;
}

.top-menu {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 56px;
  height: 36px;
  background: #d2c5b2;
  border-radius: 10px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 6px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  border: none;
  cursor: pointer;
}

.top-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: #2b2f38;
  border-radius: 999px;
}

.top-strip {
  display: none;
}

.header-strip {
  display: none;
}

.header-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.4cm;
  border: 1px solid #e5e7eb;
  border-bottom: none;
  background: transparent;
  z-index: 4;
  pointer-events: none;
  box-sizing: border-box;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 6;
}

.nav-container {
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
  padding: 10px 0;
}

.nav-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow: visible;
  scrollbar-width: none;
}

.nav-content::-webkit-scrollbar {
  display: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  justify-content: center;
  grid-column: 2;
}

.nav-links a {
  text-decoration: none;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  text-transform: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .nav-container {
    padding: 8px 0;
  }
  .nav-content {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px;
    align-items: center;
  }
  .nav-left { grid-column: 1; grid-row: 1; }
  .nav-right { grid-column: 3; grid-row: 1; justify-self: end; }
  .nav-links {
    grid-column: 1 / 4;
    grid-row: 2;
    gap: 14px;
    justify-content: center;
    flex-wrap: nowrap;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 8px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #374151;
}

.lang-selector {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  font-weight: 700;
  color: #6b7280;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.lang-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  min-width: 160px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 8px;
  display: none;
  z-index: 20;
}

.lang-option {
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  color: #111827;
}

.lang-option:hover {
  background: #f3f4f6;
}

.lang-selector.open .lang-dropdown {
  display: block;
}

.osign-hero {
  margin-top: 2cm;
  padding: 26px 16px 10px;
  background: #ffffff;
}

.osign-container {
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
}

.osign-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: center;
}

.osign-title {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
}

.osign-desc {
  margin: 0 0 12px;
  color: #4b5563;
  line-height: 1.55;
  font-size: 0.98rem;
}

.osign-features {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  font-weight: 700;
  font-size: 0.95rem;
}

.osign-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.osign-feature svg {
  color: #2563eb;
}

.osign-divider {
  color: #9ca3af;
}

.osign-right {
  display: flex;
  justify-content: center;
}

.osign-icon-large {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.osign-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.contact-card {
  position: relative;
  margin: 14px 0 16px;
  padding: 18px 20px;
  border: 1px solid #dfe3ea;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.06),
    0 4px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(120deg, #cbd5e1, #e5e7eb, #cbd5e1);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.contact-text h3 {
  margin: 0;
  font-size: 1.16rem;
  color: #0f172a;
  letter-spacing: 0.015em;
}

.contact-text p {
  margin: 6px 0 0;
  color: #4b5563;
  line-height: 1.55;
  font-size: 0.98rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.14),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-btn svg {
  display: block;
  color: #ffffff;
  opacity: 0.96;
}

.contact-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  opacity: 0.8;
  pointer-events: none;
}

.contact-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.10);
}

.contact-btn:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.contact-btn.zalo {
  background:
    radial-gradient(circle at 24% 26%, rgba(120, 190, 255, 0.9) 0%, transparent 38%),
    radial-gradient(circle at 78% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 32%),
    linear-gradient(135deg, #0a7cff 0%, #0065d4 100%);
}

.contact-btn.telegram {
  background:
    radial-gradient(circle at 22% 24%, rgba(120, 220, 255, 0.92) 0%, transparent 38%),
    radial-gradient(circle at 74% 78%, rgba(255, 255, 255, 0.14) 0%, transparent 32%),
    linear-gradient(135deg, #1ea5e9 0%, #0f8ed3 100%);
}

.contact-btn.facebook {
    background:
      radial-gradient(circle at 24% 22%, rgba(110, 160, 255, 0.9) 0%, transparent 36%),
      radial-gradient(circle at 76% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 32%),
      linear-gradient(135deg, #1a6fe1 0%, #0f59c2 100%);
  }

.help {
  padding: 46px 0 64px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 35%, #f8fafc 100%);
}

.help .container {
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
}

.help .section-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
}

.help .section-subtitle {
  margin: 8px 0 22px;
  text-align: center;
  color: #4b5563;
  font-size: 1rem;
}

.help-process {
  display: flex;
  align-items: stretch;
    gap: 14px;
    justify-content: center;
  }
  
.help-process-step {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 16px 16px;
  box-shadow:
    0 14px 26px rgba(0, 0, 0, 0.08),
    0 6px 10px rgba(0, 0, 0, 0.04);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  flex: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  position: relative;
  overflow: hidden;
}

.help-process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.help-process-step:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.12),
    0 8px 14px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

.help-process-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: #2563eb;
}

.help-process-step h3 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
  letter-spacing: 0.03em;
}

.help-process-step p {
  margin: 0;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.5;
}

.help-process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #9ca3af;
    font-weight: 800;
    padding: 0 2px;
}

@media (max-width: 760px) {
  .help {
    padding: 30px 0 38px;
  }
  .help-process {
    flex-direction: column;
    gap: 10px;
  }
  .help-process-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 760px) {
  .osign-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
    .osign-features {
      justify-content: center;
    }
    .osign-right {
      order: -1;
    }
  .contact-card {
    margin: 12px 0 14px;
    padding: 14px 14px;
  }
  .contact-text h3,
  .contact-text p {
    text-align: center;
  }
}

.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 20;
}

.panel-overlay.open {
  display: flex;
}

.panel-modal {
  width: min(320px, 100%);
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.36);
  position: relative;
}

.panel-close {
  position: absolute;
  top: -34px;
  right: -34px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.panel-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
}

.panel-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.panel-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.panel-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
}

.panel-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.panel-link {
  padding: 8px 10px;
  background: #22c55e;
  color: #0b1811;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.82rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.panel-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.24);
}

.panel-modal .panel-row + .panel-row {
  margin-top: 10px;
}

.panel-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #eef2ff;
  margin: 8px 0 6px;
  width: 100%;
}

.panel-preview-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-preview-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: #1d4ed8;
  display: grid;
  place-items: center;
}

.panel-preview-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-preview-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #0f172a;
}

.panel-preview-sub {
  font-size: 0.86rem;
  color: #475569;
}

.panel-toggle-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.panel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.panel-list[hidden] {
  display: none !important;
}

.background-texture {
  position: fixed;
  inset: 0;
  background: #ffffff;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #111111;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  padding: 32px 16px 32px;
  transform: none;
}

.panel-frame {
  width: min(920px, 100%);
  padding: 24px 24px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
}

.avatar-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b8cfb, #12d6ff);
  padding: 4px;
  box-shadow: 0 10px 40px rgba(17, 134, 255, 0.35);
  margin-top: 0;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b8cfb, #12d6ff);
  border: 4px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.handle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.name {
  background: linear-gradient(120deg, #c89b3c, #f4e3b0, #b67b1d);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  color: transparent;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: shine 3.2s ease-in-out infinite;
  text-shadow:
    0 0 12px rgba(200, 155, 60, 0.35),
    0 0 22px rgba(182, 123, 29, 0.32),
    0 4px 10px rgba(0, 0, 0, 0.14);
}

.subtitle {
  margin: 10px 0 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #222222;
  text-transform: uppercase;
  text-align: center;
}

.tagline {
  margin: 2px 0 0;
  max-width: 360px;
  font-size: 0.92rem;
  color: #333333;
  line-height: 1.45;
  text-align: center;
  animation: none;
  overflow: hidden;
}

.app-link {
  margin-top: 10px;
  color: #1d4ed8;
  text-decoration: underline;
  font-size: 0.95rem;
  text-transform: lowercase;
}

.appstore-plain {
  margin-top: 44px;
  width: min(520px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dns-card {
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f8fafc;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dns-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dns-title div {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  align-items: flex-start;
}

.dns-title img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.dns-title h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.dns-sub {
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 0.92rem;
}

.dns-alert {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  animation: alertPulse 2.8s ease-in-out infinite;
  text-align: center;
}

.dns-alert svg {
  display: none;
}

.warning-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.dns-download-block h4 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
}

.dns-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dns-download svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
}

.dns-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.app-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: center;
  margin: 8px 0 4px;
}

.appstore-plain h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.app-sub {
  font-size: 0.88rem;
  font-weight: 500;
  color: #6b7280;
}

.app-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  width: 100%;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(29, 78, 216, 0.25);
  overflow: hidden;
}

.app-icon span {
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.dns-line {
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-radius: 16px;
  align-items: center;
}

.dns-line .app-action {
  justify-content: center;
}

.dns-line .app-download {
  justify-content: center;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-meta h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.app-meta p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #4b5563;
}

.app-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.app-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: #0f172a;
  background: #e0e7ff;
  border: 1px solid #cbd5ff;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Ẩn chữ Install để chỉ còn icon */
.app-download span {
  display: none;
}

.app-download svg {
  width: 20px;
  height: 20px;
}

.app-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.tagline .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: charWave 2.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.06s);
}

.handle-block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background: #2d8cff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(45, 140, 255, 0.45);
  animation: pulse 1.6s ease-in-out infinite;
}

.check {
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -1px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(45, 140, 255, 0.45);
  }
  60% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(45, 140, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(45, 140, 255, 0);
  }
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes charWave {
  0% { opacity: 0; transform: translateY(8px); }
  15% { opacity: 1; transform: translateY(0); }
  60% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}

@keyframes alertPulse {
  0% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.25); }
  50% { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(185, 28, 28, 0.16); }
  100% { transform: translateY(0); box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.1); }
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: #f4f5fb;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  position: relative;
  overflow: hidden;
}

.meta-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: radial-gradient(circle at 0% 0%, #00c6ff, #1877f2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 8px 16px rgba(24, 119, 242, 0.45);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.22s ease-out,
    filter 0.2s ease-out;
  animation: meta-pulse 2.4s ease-out infinite;
}

.meta-icon svg {
  width: 10px;
  height: 10px;
}

.meta-badge:hover .meta-icon {
  transform: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 8px 16px rgba(24, 119, 242, 0.45);
  filter: none;
}

.meta-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 40%,
    transparent 80%
  );
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.meta-badge:hover::before {
  opacity: 1;
  transform: translateX(120%);
  transition: transform 0.6s ease-out, opacity 0.2s ease-out;
}

@keyframes meta-pulse {
  0% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.7),
      0 8px 16px rgba(24, 119, 242, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.9),
      0 10px 22px rgba(24, 119, 242, 0.6);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.7),
      0 8px 16px rgba(24, 119, 242, 0.45);
  }
}

/* Emphasize developer line + shared hover lift */
.highlight-desc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: linear-gradient(120deg, #2563eb, #22c55e, #f59e0b, #2563eb);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
  padding: 6px 10px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: highlightShift 6s ease-in-out infinite;
}

.highlight-desc:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
}

@keyframes highlightShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


/* Tắt toàn bộ hiệu ứng động */
*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
}
/* install banner (reused from panel) */
.install-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  width: 100%;
  margin: 4px 0 12px;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  background: #fffbeb;
  flex-wrap: wrap;
}

.install-banner-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #92400e;
  text-align: center;
  animation: bannerPulse 2.4s ease-in-out infinite;
}

.install-banner-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

.install-banner-action {
  display: inline-flex;
  margin-top: 4px;
}

.install-banner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid #1d4ed8;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

