/* ===========================================
   RELAX TIME — Links
   links.colartdigitalmarketingagency.com/relaxtime/
   Night trading desk: ink, warm gold, a rising line
=========================================== */

:root {
  --bg:        #0f0e0d;
  --bg-2:      #171513;
  --card:      rgba(255, 255, 255, .035);
  --card-hi:   rgba(255, 255, 255, .07);
  --line:      rgba(245, 241, 234, .10);
  --line-hi:   rgba(245, 241, 234, .22);
  --text:      #f5f1ea;
  --muted:     rgba(245, 241, 234, .55);
  --gold:      #b99154;
  --gold-lt:   #d8b77f;
  --gold-dk:   #8e6c38;
  --whatsapp:  #25d366;
  --telegram:  #26a5e4;

  --font-display: 'Michroma', 'Syncopate', system-ui, sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(185, 145, 84, .14), transparent 70%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* faint chart grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 15%, #000 0%, transparent 75%);
          mask-image: radial-gradient(80% 60% at 50% 15%, #000 0%, transparent 75%);
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; border-radius: 8px; }

/* ============ TOP BAR ============ */
.topbar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 16px 20px 0;
  display: flex;
  justify-content: flex-end;
}
.share {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  transition: background .3s, color .3s, border-color .3s;
}
.share:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.share svg { width: 17px; height: 17px; }

/* ============ PAGE ============ */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

/* ============ HERO ============ */
.hero { position: relative; text-align: center; padding-top: 18px; }
.logo { position: relative; z-index: 1; width: clamp(240px, 74vw, 320px); margin: 0 auto; }

/* rising line chart behind the logo */
.chart {
  position: relative;
  width: 100%;
  height: 130px;
  margin-top: 4px;
}
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .area { fill: url(#rt-area); }
.chart .stroke { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .dot { fill: var(--gold-lt); transform-box: fill-box; transform-origin: center; }
.chart .ping { fill: none; stroke: var(--gold-lt); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.chart-tags {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--muted);
}

/* ============ PRIMARY ============ */
.primary { display: grid; gap: 12px; margin-top: 26px; }
.cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 20px;
  border-radius: 14px;
  overflow: hidden;
  font-weight: 700;
  font-size: 15px;
  transition: transform .35s var(--ease), background .3s, border-color .3s, box-shadow .35s;
}
.cta > svg:first-child { width: 22px; height: 22px; flex: none; }
.cta span { flex: 1; text-align: left; line-height: 1.25; }
.cta small { display: block; font-weight: 500; font-size: 12.5px; opacity: .75; }
.cta .arrow { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.cta:hover { transform: translateY(-2px); }
.cta:hover .arrow { transform: translateX(4px); }

.cta--gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 55%, var(--gold-dk));
  color: #15120e;
  box-shadow: 0 18px 40px -18px rgba(185, 145, 84, .6);
}
.cta--gold:hover { box-shadow: 0 22px 46px -16px rgba(185, 145, 84, .75); }
.cta--gold::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #15120e;
  color: var(--gold-lt);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  vertical-align: 2px;
}
.cta--line { background: var(--card); border: 1px solid var(--line-hi); }
.cta--line:hover { border-color: var(--gold); background: var(--card-hi); }

/* ============ SECTIONS ============ */
.label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 36px 0 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-lt);
}
.label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(185, 145, 84, .5), transparent); }

.links { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.link {
  --tone: var(--gold);
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 10px 16px 10px 10px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s, background .3s;
}
.link:hover { transform: translateY(-2px); border-color: var(--tone); background: var(--card-hi); }
.link__icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  transition: background .3s, color .3s;
}
.link__icon svg { width: 21px; height: 21px; }
.link:hover .link__icon { background: var(--tone); color: #fff; }
.link--wa { --tone: var(--whatsapp); }
.link--tg { --tone: var(--telegram); }
.link--ig { --tone: #e1306c; }
.link--fb { --tone: #0866ff; }
.link--tt { --tone: #fe2c55; }
.link__text { flex: 1; min-width: 0; }
.link__title { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; line-height: 1.25; }
.verified { width: 17px; height: 17px; flex: none; }
.link__sub { display: block; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link__go { flex: none; color: var(--muted); transition: color .3s, transform .35s var(--ease); }
.link__go svg { width: 18px; height: 18px; }
.link:hover .link__go { color: var(--text); transform: translateX(3px); }

/* ============ GET LISTED (Colart) ============ */
.listed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding: 16px 16px 16px 20px;
  border-radius: 14px;
  border: 1px dashed var(--line-hi);
  transition: border-color .3s, background .3s;
}
.listed:hover { border-color: var(--whatsapp); background: var(--card); }
.listed__q { display: block; font-size: 14px; color: var(--muted); }
.listed__a { display: block; font-size: 16px; font-weight: 700; line-height: 1.35; }
.listed__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease);
}
.listed__icon svg { width: 22px; height: 22px; fill: currentColor; }
.listed:hover .listed__icon { transform: scale(1.08); }

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--muted);
  padding: 26px 20px calc(26px + env(safe-area-inset-bottom, 0px));
}
.footer__credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  text-align: center;
}
.footer__credit { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 6px; }
.footer__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.footer a { color: var(--gold-lt); font-weight: 700; border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer a:hover { border-color: var(--gold-lt); }
.footer__sep { color: rgba(245, 241, 234, .25); }
@media (max-width: 440px) { .footer__sep { display: none; } .footer__credits { flex-direction: column; } }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 10;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gold);
  color: #15120e;
  font-size: 14px;
  font-weight: 700;
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ ENTRANCE ============ */
@media (prefers-reduced-motion: no-preference) {
  .logo { animation: fadeUp 1s .1s var(--ease) both; }
  .chart .stroke { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s .45s cubic-bezier(.45, 0, .2, 1) forwards; }
  .chart .area { opacity: 0; animation: fadeIn 1s 1.9s ease forwards; }
  .chart .dot { opacity: 0; animation: pop .5s 2.35s var(--ease) forwards; }
  .chart .ping { opacity: 0; animation: ping 2.4s 2.6s ease-out infinite; }
  .chart-tags { animation: fadeIn 1s 1.4s ease both; }
  .primary .cta:nth-child(1) { animation: fadeUp .8s 1.1s var(--ease) both; }
  .primary .cta:nth-child(2) { animation: fadeUp .8s 1.2s var(--ease) both; }
  .cta--gold::after { animation: sheen 1.4s 2.6s ease both; }
  .label, .links li, .listed { animation: fadeUp .8s var(--ease) both; }
  .label:nth-of-type(1) { animation-delay: 1.3s; }
  .links--contact li { animation-delay: 1.36s; }
  .links--contact li:nth-child(2) { animation-delay: 1.42s; }
  .label:nth-of-type(2) { animation-delay: 1.44s; }
  .links--follow li:nth-child(1) { animation-delay: 1.5s; }
  .links--follow li:nth-child(2) { animation-delay: 1.56s; }
  .links--follow li:nth-child(3) { animation-delay: 1.62s; }
  .listed { animation-delay: 1.72s; }
}
@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop    { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes ping   { 0% { opacity: .8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3.2); } }
@keyframes sheen  { from { left: -60%; } to { left: 130%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
