@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600;1,700&family=Inter:wght@500;700;800&display=swap");

.ttt-rebrand-lock {
  overflow: hidden !important;
}

.ttt-rebrand-gate,
.ttt-rebrand-gate * {
  box-sizing: border-box;
}

.ttt-rebrand-gate {
  --ttt-gold: #f3ab00;
  --ttt-gold-soft: #ffd66a;
  --ttt-green: #18e0ad;
  --ttt-ink: #050505;
  --ttt-panel: rgba(10, 10, 10, 0.64);
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #ffffff;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 420ms ease;
}

.ttt-rebrand-gate.is-ready {
  opacity: 1;
}

.ttt-rebrand__veil,
.ttt-rebrand__liquid,
.ttt-rebrand__grain,
.ttt-rebrand__scan {
  position: absolute;
  inset: 0;
}

.ttt-rebrand__veil {
  background:
    radial-gradient(circle at 18% 10%, rgba(243, 171, 0, 0.34), transparent 31%),
    radial-gradient(circle at 84% 72%, rgba(24, 224, 173, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(1, 1, 1, 0.88), rgba(20, 13, 2, 0.82));
  backdrop-filter: blur(10px) saturate(1.15);
}

.ttt-rebrand__liquid {
  overflow: hidden;
  filter: blur(22px) saturate(1.18);
  opacity: 0.78;
}

.ttt-rebrand__liquid span {
  position: absolute;
  display: block;
  width: clamp(170px, 24vw, 340px);
  aspect-ratio: 1;
  border-radius: 42% 58% 56% 44% / 52% 42% 58% 48%;
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.38), transparent 18%),
    linear-gradient(135deg, rgba(243, 171, 0, 0.5), rgba(24, 224, 173, 0.12));
  transform: translate3d(0, 0, 0);
  animation: ttt-liquid-move 10s ease-in-out infinite;
}

.ttt-rebrand__liquid span:nth-child(1) {
  top: 9%;
  left: 10%;
}

.ttt-rebrand__liquid span:nth-child(2) {
  right: 8%;
  bottom: 11%;
  width: clamp(150px, 19vw, 270px);
  animation-delay: -3.4s;
  animation-duration: 12s;
}

.ttt-rebrand__liquid span:nth-child(3) {
  top: 52%;
  left: 48%;
  width: clamp(110px, 16vw, 210px);
  background:
    radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(135deg, rgba(255, 215, 106, 0.28), rgba(255, 255, 255, 0.08));
  animation-delay: -6.2s;
}

.ttt-rebrand__grain {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 74%);
  animation: ttt-grid-pan 12s linear infinite;
}

.ttt-rebrand__scan {
  width: 26%;
  left: -32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: skewX(-16deg);
  animation: ttt-scan 5.2s ease-in-out infinite;
}

.ttt-rebrand__panel {
  position: relative;
  width: min(940px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    linear-gradient(135deg, rgba(12, 11, 8, 0.9), rgba(27, 21, 12, 0.82));
  box-shadow:
    18px 24px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -18px 54px rgba(0, 0, 0, 0.2);
  padding: clamp(22px, 3.4vw, 36px);
  transform: translateY(18px) scale(0.97);
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ttt-rebrand-gate.is-ready .ttt-rebrand__panel {
  transform: translateY(0) scale(1);
}

.ttt-rebrand__panel:before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 25px;
  background:
    radial-gradient(circle at 24% 4%, rgba(255, 255, 255, 0.13), transparent 22%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.055) 42%, transparent 70%);
  transform: translateX(-92%);
  animation: ttt-panel-shine 7s ease-in-out infinite;
}

.ttt-rebrand__panel:after {
  content: "";
  position: absolute;
  inset: auto 22px 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 171, 0, 0.58), transparent);
  opacity: 0.75;
}

.ttt-rebrand__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 0.74fr) minmax(0, 1fr);
  gap: clamp(22px, 3.6vw, 40px);
  align-items: center;
}

.ttt-rebrand__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 322px;
}

.ttt-rebrand__halo {
  --ttt-progress: 0deg;
  position: absolute;
  width: min(100%, 292px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(243, 171, 0, 0.22), transparent 56%),
    conic-gradient(from -90deg, rgba(243, 171, 0, 0.95) var(--ttt-progress), rgba(255, 255, 255, 0.08) 0 360deg);
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.32));
  opacity: 0.92;
  animation: ttt-halo-spin 22s linear infinite;
}

.ttt-rebrand__halo:after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: rgba(7, 7, 7, 0.82);
}

.ttt-rebrand__logo-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(145deg, rgba(255, 211, 98, 0.96), rgba(193, 126, 0, 0.92));
  box-shadow:
    16px 20px 38px rgba(0, 0, 0, 0.38),
    -10px -10px 32px rgba(255, 255, 255, 0.12),
    inset 9px 12px 20px rgba(255, 255, 255, 0.22),
    inset -10px -16px 28px rgba(92, 55, 0, 0.28);
  animation: ttt-clay-breathe 5.5s ease-in-out infinite;
}

.ttt-rebrand__logo-shell:before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    radial-gradient(circle at 36% 22%, rgba(255, 255, 255, 0.46), transparent 22%),
    rgba(0, 0, 0, 0.82);
  box-shadow:
    inset 8px 10px 18px rgba(255, 255, 255, 0.08),
    inset -12px -16px 26px rgba(0, 0, 0, 0.46);
}

.ttt-rebrand__logo-liquid {
  position: absolute;
  inset: 23px;
  border-radius: 36px;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: 0.5;
}

.ttt-rebrand__logo-liquid:before,
.ttt-rebrand__logo-liquid:after {
  content: "";
  position: absolute;
  width: 86px;
  height: 86px;
  border-radius: 42% 58% 48% 52% / 55% 42% 58% 45%;
  background: rgba(255, 215, 106, 0.55);
  filter: blur(9px);
  animation: ttt-liquid-small 7s ease-in-out infinite;
}

.ttt-rebrand__logo-liquid:before {
  top: 6px;
  left: -18px;
}

.ttt-rebrand__logo-liquid:after {
  right: -18px;
  bottom: 2px;
  animation-delay: -3s;
}

.ttt-rebrand__logo-img {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.38));
}

.ttt-rebrand__hand {
  position: absolute;
  z-index: 4;
  top: 7px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(8, 8, 8, 0.36);
  color: #ffe4a3;
  font-size: 30px;
  line-height: 1;
  box-shadow:
    8px 10px 18px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform-origin: 18px 36px;
  animation: ttt-hand-wave 30s ease-in-out forwards;
}

.ttt-rebrand__pointer {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: -30px;
  width: 106px;
  height: 42px;
  opacity: 0;
  transform: translate(12px, -50%) scale(0.9);
  animation: ttt-pointer-appear 30s ease-in-out forwards;
}

.ttt-rebrand__pointer-line {
  position: absolute;
  top: 19px;
  left: 4px;
  width: 65px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(243, 171, 0, 0), rgba(243, 171, 0, 0.92));
  box-shadow: 0 0 18px rgba(243, 171, 0, 0.35);
}

.ttt-rebrand__pointer i {
  position: absolute;
  top: 5px;
  right: 0;
  color: #ffe4a3;
  font-size: 31px;
  text-shadow: 0 8px 14px rgba(0, 0, 0, 0.28), 0 0 18px rgba(243, 171, 0, 0.24);
}

.ttt-rebrand__copy-block {
  min-width: 0;
  position: relative;
  padding-left: clamp(0px, 1.4vw, 16px);
}

.ttt-rebrand__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 12px;
  border: 1px solid rgba(243, 171, 0, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(243, 171, 0, 0.08);
  color: #ffe09a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow:
    8px 10px 22px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.ttt-rebrand__mail {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(243, 171, 0, 0.12);
  color: #ffe4a3;
  font-size: 12px;
  line-height: 1;
}

.ttt-rebrand__mail b {
  position: absolute;
  top: -8px;
  right: -9px;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background: var(--ttt-green);
  color: #06130f;
  font-family: "Inter", Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 5px rgba(24, 224, 173, 0.12), 0 7px 14px rgba(0, 0, 0, 0.28);
  animation: ttt-notify 2.2s ease-in-out infinite;
}

.ttt-rebrand__title {
  margin: 0;
  max-width: 650px;
  color: #ffffff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4.1vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.ttt-rebrand__title span {
  color: var(--ttt-gold);
  text-shadow: 0 0 32px rgba(243, 171, 0, 0.22);
}

.ttt-rebrand__copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(17px, 1.9vw, 20px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.58;
  letter-spacing: 0.005em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.ttt-rebrand__letter-footer {
  margin-top: 27px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 68%);
}

.ttt-rebrand__route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.ttt-rebrand__route-card {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ttt-rebrand__route-card span {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ttt-rebrand__route-card strong {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ttt-rebrand__route-card--new {
  text-align: right;
}

.ttt-rebrand__route-card--new strong {
  color: var(--ttt-gold-soft);
}

.ttt-rebrand__route-arrow {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ttt-gold);
  font-size: 20px;
  font-weight: 900;
  box-shadow: none;
}

.ttt-rebrand__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 20px;
}

.ttt-rebrand__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid rgba(243, 171, 0, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(145deg, #ffe09a, #f3ab00 58%, #d18a00);
  color: #070707;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow:
    11px 13px 28px rgba(0, 0, 0, 0.32),
    inset 4px 5px 9px rgba(255, 255, 255, 0.36),
    inset -5px -7px 13px rgba(117, 73, 0, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ttt-rebrand__button:hover,
.ttt-rebrand__button:focus {
  color: #070707;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    14px 18px 34px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(243, 171, 0, 0.24),
    inset 4px 5px 9px rgba(255, 255, 255, 0.36);
}

.ttt-rebrand__timer {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-height: 42px;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.57);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
  box-shadow: none;
}

.ttt-rebrand__timer b {
  color: var(--ttt-gold-soft);
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.ttt-rebrand__progress {
  position: relative;
  z-index: 1;
  height: 7px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 7px rgba(0, 0, 0, 0.4);
}

.ttt-rebrand__progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f3ab00, #ffd66a 52%, #18e0ad);
  box-shadow: 0 0 20px rgba(243, 171, 0, 0.42);
}

@keyframes ttt-liquid-move {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    border-radius: 42% 58% 56% 44% / 52% 42% 58% 48%;
  }
  42% {
    transform: translate3d(34px, -18px, 0) scale(1.08) rotate(18deg);
    border-radius: 60% 40% 45% 55% / 46% 54% 38% 62%;
  }
  72% {
    transform: translate3d(-20px, 24px, 0) scale(0.96) rotate(-12deg);
    border-radius: 47% 53% 63% 37% / 62% 36% 64% 38%;
  }
}

@keyframes ttt-grid-pan {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

@keyframes ttt-scan {
  0%, 22% { transform: translateX(0) skewX(-16deg); opacity: 0; }
  45%, 70% { opacity: 1; }
  100% { transform: translateX(520%) skewX(-16deg); opacity: 0; }
}

@keyframes ttt-panel-shine {
  0%, 42% { transform: translateX(-92%); }
  70%, 100% { transform: translateX(92%); }
}

@keyframes ttt-halo-spin {
  to { transform: rotate(360deg); }
}

@keyframes ttt-clay-breathe {
  0%, 100% { transform: translateY(0) scale(1); border-radius: 44px; }
  50% { transform: translateY(-7px) scale(1.02); border-radius: 52px 40px 49px 42px; }
}

@keyframes ttt-liquid-small {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(30px, 22px) rotate(20deg) scale(1.18); }
}

@keyframes ttt-hand-wave {
  0% {
    opacity: 0;
    transform: translate(18px, 22px) rotate(-18deg) scale(0.72);
  }
  8% {
    opacity: 1;
    transform: translate(0, 0) rotate(-18deg) scale(1);
  }
  14% { transform: translate(0, 0) rotate(16deg) scale(1); }
  22% { transform: translate(0, 0) rotate(-14deg) scale(1); }
  30% { transform: translate(0, 0) rotate(13deg) scale(1); }
  38% { transform: translate(0, 0) rotate(-8deg) scale(1); opacity: 1; }
  52% {
    opacity: 0;
    transform: translate(16px, 18px) rotate(-20deg) scale(0.64);
  }
  100% {
    opacity: 0;
    transform: translate(16px, 18px) rotate(-20deg) scale(0.64);
  }
}

@keyframes ttt-pointer-appear {
  0%, 48% {
    opacity: 0;
    transform: translate(12px, -50%) scale(0.88);
  }
  57%, 86% {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(8px, -50%) scale(0.92);
  }
}

@keyframes ttt-notify {
  0%, 100% { transform: scale(1); }
  42% { transform: scale(1.12); }
}

@media (max-width: 820px) {
  .ttt-rebrand-gate {
    padding: 14px;
  }

  .ttt-rebrand__panel {
    border-radius: 24px;
    padding: 20px;
  }

  .ttt-rebrand__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ttt-rebrand__stage {
    min-height: 260px;
  }

  .ttt-rebrand__halo {
    width: 242px;
  }

  .ttt-rebrand__logo-shell {
    width: 142px;
    height: 142px;
    border-radius: 42px;
  }

  .ttt-rebrand__logo-img {
    width: 96px;
    height: 96px;
  }

  .ttt-rebrand__hand {
    top: 3px;
    right: 3px;
    width: 40px;
    height: 40px;
    font-size: 26px;
  }

  .ttt-rebrand__pointer {
    display: none;
  }

  .ttt-rebrand__route {
    grid-template-columns: 1fr;
  }

  .ttt-rebrand__route-arrow {
    width: 48px;
    height: 42px;
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .ttt-rebrand__panel {
    padding: 16px;
  }

  .ttt-rebrand__stage {
    min-height: 230px;
  }

  .ttt-rebrand__title {
    font-size: 32px;
  }

  .ttt-rebrand__copy {
    font-size: 15px;
  }

  .ttt-rebrand__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ttt-rebrand__button,
  .ttt-rebrand__timer {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ttt-rebrand-gate,
  .ttt-rebrand__panel,
  .ttt-rebrand__liquid span,
  .ttt-rebrand__grain,
  .ttt-rebrand__scan,
  .ttt-rebrand__panel:before,
  .ttt-rebrand__halo,
  .ttt-rebrand__logo-shell,
  .ttt-rebrand__logo-liquid:before,
  .ttt-rebrand__logo-liquid:after,
  .ttt-rebrand__hand,
  .ttt-rebrand__pointer,
  .ttt-rebrand__mail b {
    animation: none !important;
    transition: none !important;
  }

  .ttt-rebrand__hand {
    display: none;
  }

  .ttt-rebrand__pointer {
    opacity: 1;
  }
}
