:root {
  --tg-verify-gold: #cfaf6b;
  --tg-verify-blue: #2563eb;
  --tg-verify-bg: #0a0e1a;
  --tg-verify-text: #f4f6fb;
  --tg-verify-muted: #8b95ab;
  --tg-verify-border: rgba(207, 175, 107, 0.22);
}

.hero-cert-chip,
.prelaunch-cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--tg-verify-border, rgba(207, 175, 107, 0.22));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-cert-chip:hover,
.prelaunch-cert-chip:hover,
.hero-cert-chip:focus-visible,
.prelaunch-cert-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(207, 175, 107, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  outline: none;
}

.hero-cert-chip img,
.prelaunch-cert-chip img {
  height: 44px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.hero-cert-chip__text,
.prelaunch-cert-chip__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-cert-chip__text strong,
.prelaunch-cert-chip__text strong {
  font-size: 0.92rem;
  color: var(--tg-verify-gold, #cfaf6b);
}

.hero-cert-chip__text span,
.prelaunch-cert-chip__text span {
  font-size: 0.8rem;
  color: var(--tg-verify-muted, #8b95ab);
  line-height: 1.4;
}

.hero-cert-chip__action,
.prelaunch-cert-chip__action {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tg-verify-blue, #2563eb);
  white-space: nowrap;
}

.js-teknogiris-verify-trigger img {
  cursor: pointer;
}

button.official-cert-strip__badge,
button.footer-cert-strip {
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}

button.official-cert-strip__badge {
  background: transparent;
  flex: 1 1 280px;
}

button.official-cert-strip__badge:hover,
button.footer-cert-strip:hover {
  border-color: rgba(207, 175, 107, 0.35);
}

button.footer-cert-strip {
  width: 100%;
  max-width: 760px;
}

.tg-verify-modal[hidden] {
  display: none !important;
}

.tg-verify-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.tg-verify-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(4px);
}

.tg-verify-modal__panel {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  border: 1px solid var(--tg-verify-border);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(18, 24, 40, 0.98), rgba(10, 14, 26, 0.99));
  padding: 28px 24px 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.tg-verify-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--tg-verify-muted);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.tg-verify-modal__close:hover {
  color: var(--tg-verify-text);
}

.tg-verify-modal__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.tg-verify-modal__header img {
  height: 56px;
  width: auto;
}

.tg-verify-modal__kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tg-verify-gold);
  margin-bottom: 4px;
}

.tg-verify-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tg-verify-text);
}

.tg-verify-modal__desc {
  margin: 0 0 18px;
  color: var(--tg-verify-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.tg-verify-modal__meta {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.tg-verify-modal__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
}

.tg-verify-modal__row span:first-child {
  color: var(--tg-verify-muted);
}

.tg-verify-modal__row span:last-child,
.tg-verify-modal__row code {
  color: var(--tg-verify-text);
  font-weight: 600;
  word-break: break-all;
}

.tg-verify-modal__code-row {
  align-items: center;
}

.tg-verify-modal__code-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.tg-verify-modal__copy {
  border: 1px solid var(--tg-verify-border);
  background: transparent;
  color: var(--tg-verify-gold);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.tg-verify-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tg-verify-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.tg-verify-modal__btn--primary {
  background: var(--tg-verify-blue);
  color: #fff;
}

.tg-verify-modal__btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--tg-verify-text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tg-verify-modal__note {
  margin: 16px 0 0;
  font-size: 0.75rem;
  color: var(--tg-verify-muted);
  line-height: 1.45;
}

@media (max-width: 640px) {
  .hero-cert-chip__action,
  .prelaunch-cert-chip__action {
    display: none;
  }

  .hero-cert-chip,
  .prelaunch-cert-chip {
    width: 100%;
  }
}
