/* look-2 layout for the public site. Functional pages keep their own markup. */

body.look {
  --look-bg: #070608;
  --look-ink: #f6f1f2;
  --look-muted: #a3989c;
  --look-line: rgba(255,255,255,0.08);
  --look-rose: #f43f5e;
  --look-red: #ef4444;
  --look-crimson: #e11d48;
  --look-name: linear-gradient(135deg, #fff 0%, var(--look-red) 55%, var(--look-rose) 100%);
  background: var(--look-bg);
  background-image: none;
  color: var(--look-ink);
  font-family: Inter, system-ui, sans-serif;
}

body.look::before {
  content: "";
  position: fixed;
  inset: -22vh auto auto -14vw;
  width: 58vw;
  height: 58vh;
  background: radial-gradient(closest-side, rgba(244,63,94,0.24), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

body.look .glow-orb { display: none; }

body.look .navbar {
  position: sticky;
  top: 0;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  z-index: 20;
  border: 0;
  border-bottom: 1px solid var(--look-line);
  border-radius: 0;
  background: rgba(7,6,8,0.72);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

body.look .navbar.scrolled {
  top: 0;
  background: rgba(7,6,8,0.88);
  border-color: var(--look-line);
  box-shadow: none;
}

body.look .nav-container {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  height: 72px;
  padding: 0;
  gap: 28px;
}

body.look .nav-logo {
  gap: 10px;
  font-family: Outfit, Inter, sans-serif;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.045em;
}

body.look .nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  filter: none;
}

body.look .nav-logo .mark {
  background: linear-gradient(100deg, #fff 0 46%, #f43f5e 58%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.look .nav-menu {
  gap: 22px;
  margin-left: auto;
}

body.look .nav-link {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--look-muted);
}

body.look .nav-link::after { display: none; }

body.look .nav-link:hover,
body.look .nav-link.active { color: var(--look-ink); }

body.look .nav-discord {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 1.15rem;
}

body.look .login,
body.look .login:hover {
  border: 0;
  background: var(--look-rose);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: none;
  transform: none;
}

body.look .btn-primary {
  background: linear-gradient(135deg, #ef4444, #f43f5e 55%, #e11d48);
  color: #fff;
  border: none;
}
body.look .btn-primary:hover {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
}
body.look .btn-secondary {
  background: rgba(244, 63, 94, 0.08);
  color: #fff;
  border: 1px solid rgba(244, 63, 94, 0.55);
}
body.look .btn-secondary:hover {
  background: rgba(244, 63, 94, 0.18);
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.25);
}

body.look .nav-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid var(--look-line);
  color: var(--look-ink);
  border-radius: 10px;
  width: 40px;
  height: 40px;
}

body.look.api-body { padding-top: 0; }

body.look .hero {
  position: relative;
  z-index: 1;
  padding: 78px 0 18px;
}

body.look .stage {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: center;
}

body.look .kicker,
body.look .sec-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--look-rose);
  margin-bottom: 10px;
}

body.look .kicker { letter-spacing: 0.22em; margin-bottom: 18px; }

body.look .hero h1 {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 650;
  font-size: clamp(3.8rem, 6vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  white-space: nowrap;
  background: none;
  -webkit-text-fill-color: currentColor;
}

body.look .hero h1 span { color: var(--look-rose); }

body.look .lede,
body.look .sub {
  color: var(--look-muted);
}

body.look .lede {
  margin-top: 22px;
  max-width: 32ch;
  font-size: 1.08rem;
}

body.look .actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

body.look .btn.solid,
body.look .btn.ghost,
body.look .btn.rose,
body.look .price .btn-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  box-shadow: none;
  text-decoration: none;
}

body.look .btn.solid {
  background: var(--look-ink);
  color: #14080c;
  border: 1px solid transparent;
}

body.look .btn.ghost,
body.look .price .btn-buy {
  background: transparent;
  border: 1px solid var(--look-line);
  color: var(--look-ink);
}

body.look .btn.rose,
body.look .price.hot .btn-buy {
  background: linear-gradient(135deg, var(--look-red), var(--look-rose) 55%, var(--look-crimson));
  border: 1px solid transparent;
  color: #fff;
}

body.look .panel {
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #161314, #0c0a0b) padding-box,
    linear-gradient(165deg, rgba(255,255,255,0.28), rgba(244,63,94,0.55) 42%, rgba(255,255,255,0.06)) border-box;
  box-shadow: 0 28px 70px rgba(0,0,0,0.55), 0 0 90px rgba(244,63,94,0.12);
  overflow: hidden;
}

body.look .panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--look-line);
  color: var(--look-muted);
  font-size: 12px;
}

body.look .filetab { margin-left: 8px; color: var(--look-ink); }
body.look .panel .dot { width: 8px; height: 8px; border-radius: 50%; background: #3a3033; }
body.look .panel .dot.on { background: var(--look-rose); }
body.look .code { padding: 8px 8px 16px 0; overflow: auto; }
body.look .code ol {
  list-style: none;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  line-height: 1.65;
}
body.look .code li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  padding-right: 16px;
  white-space: pre;
}
body.look .code li span.n { color: #4a4245; text-align: right; user-select: none; }
body.look .kw { color: #fb7185; }
body.look .fn { color: #fff; }
body.look .str { color: #fecdd3; }
body.look .num { color: #fda4af; }

body.look .rail {
  position: relative;
  z-index: 1;
  height: 224px;
  margin-top: 64px;
  border-block: 1px solid var(--look-line);
  overflow: hidden;
  background: #070608;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
body.look .rail-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: none;
  will-change: transform;
}
body.look .rail-set { display: flex; align-items: center; gap: 22px; height: 100%; padding: 0 20px; }
body.look .rail .logo-slot {
  width: 168px;
  height: 168px;
  flex: none;
  box-sizing: border-box;
  background: #120f12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: none;
}
body.look .rail canvas.rail-sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}
body.look .rail-pop {
  position: fixed;
  z-index: 40;
  left: 0;
  top: 0;
  transform: translate(-50%, calc(-100% - 16px));
  margin: 0;
  padding: 12px 18px;
  border-radius: 12px;
  background: #16080c;
  border: 1px solid #fb7185;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(244, 63, 94, 0.95),
    0 0 42px rgba(244, 63, 94, 0.55);
  color: #fff;
  font-family: Outfit, Inter, sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
}
body.look .rail-pop.on { opacity: 1; }
body.look .rail-pop::after {
  content: "";
  position: absolute;
  left: calc(50% + var(--arrow, 0px));
  bottom: -7px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  background: #16080c;
  border-right: 1px solid #fb7185;
  border-bottom: 1px solid #fb7185;
  box-shadow: 4px 4px 12px rgba(244, 63, 94, 0.45);
}
@keyframes look-slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

body.look #pricing,
body.look #download,
body.look #portal,
body.look .servers-page {
  position: relative;
  z-index: 1;
  padding: 88px 0;
}

body.look .wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

body.look #pricing h2,
body.look #download h2,
body.look #portal h2,
body.look .servers-page h1 {
  font-family: Outfit, Inter, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 650;
  background: none;
  -webkit-text-fill-color: currentColor;
}

body.look .namegrad {
  background: var(--look-name);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.look .sub { max-width: 52ch; margin-top: 12px; }

body.look .prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

body.look .price {
  padding: 26px 22px 22px;
  border: 1px solid var(--look-line);
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  box-shadow: none;
}

body.look .price.hot {
  border-color: rgba(244,63,94,0.7);
  background: linear-gradient(180deg, rgba(244,63,94,0.14), rgba(255,255,255,0.02));
}

body.look .price em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--look-rose);
}

body.look .price strong {
  display: block;
  margin: 18px 0 4px;
  font-family: Outfit, Inter, sans-serif;
  font-size: 3rem;
  letter-spacing: -0.05em;
  font-weight: 650;
}

body.look .price-symbol {
  font-size: 1em;
  font-weight: 650;
  vertical-align: baseline;
}

body.look .price strong small {
  font-size: 1rem;
  color: var(--look-muted);
  letter-spacing: 0;
  font-weight: 500;
}

body.look .price p { color: var(--look-muted); min-height: 3em; }
body.look .price ul { list-style: none; margin: 16px 0 20px; color: var(--look-muted); }
body.look .price li { padding: 6px 0; }
body.look .price .btn-buy { width: 100%; }

body.look .pays {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

body.look .pay-row { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }

body.look .pay-tooltip {
  opacity: 1;
  filter: none;
  transition: transform .2s ease;
}

body.look .pay-tooltip:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
}

body.look .pay-tooltip i { font-size: 1.85rem; }
body.look .pay-tooltip[data-tooltip="Apple Pay"] i,
body.look .pay-tooltip[data-tooltip="Stripe"] i { font-size: 2.15rem; }
body.look .pay-tooltip svg { height: 30px; width: auto; }
body.look .pay-tooltip[data-tooltip="Visa"] svg { height: 15px; width: auto; }
body.look .gpay-logo { display: inline-flex; align-items: center; gap: 3px; }
body.look .gpay-logo svg { height: 20px !important; width: 20px !important; }
body.look .gpay-text {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
body.look .blik-text {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

body.look .dl {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  margin-top: 28px;
}

body.look .dl-card,
body.look .steps,
body.look .botpanel {
  border: 1px solid var(--look-line);
  border-radius: 18px;
  background: #0c0a0b;
  box-shadow: none;
}

body.look .dl-card { padding: 28px; }
body.look .dl-card h3,
body.look .botpanel h3 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  font-weight: 650;
}
body.look .dl-card p,
body.look .steps p,
body.look .botpanel p,
body.look .botpanel li { color: var(--look-muted); }
body.look .dl-card .btn { margin-top: 18px; }
body.look .req { margin-top: 16px; font-size: 0.92rem; color: var(--look-muted); }
body.look .req a { color: var(--look-ink); text-decoration: underline; }
body.look .eye {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--look-line);
  color: var(--look-ink);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  cursor: pointer;
}
body.look .eye[aria-expanded="true"] { border-color: rgba(244,63,94,0.6); color: #fff; }
body.look .steps { padding: 8px 22px; }
body.look .step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--look-line);
}
body.look .step:last-child { border-bottom: 0; }
body.look .step b { color: var(--look-rose); font-family: Outfit, Inter, sans-serif; }
body.look .step strong { color: var(--look-ink); font-weight: 600; }
body.look .botpanel { margin-top: 18px; padding: 26px; }
body.look .botgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
  margin-top: 20px;
}
body.look .botgrid h4 {
  font-family: Outfit, Inter, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--look-rose);
  margin-bottom: 8px;
}
body.look .botgrid ul,
body.look .botgrid ol { margin-left: 1.1em; }
body.look .botgrid li { margin: 4px 0; }
body.look .bothost { margin-top: 18px; display: flex; align-items: center; gap: 10px; }
body.look #downloadMessage { margin-top: 10px; }

body.look .look-portal-head { text-align: left; max-width: none; }
body.look #portal .portal-wrapper {
  width: min(560px, 100%);
  margin: 28px auto 0;
}

body.look .look-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--look-line);
  padding: 28px 0 40px;
  background: transparent;
}
body.look .look-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--look-muted);
  font-size: 0.92rem;
}
body.look .footer-discord-link { color: var(--look-ink); }

body.look .change-password-form,
body.look .dashboard-grid--staff #dashStaffBlock {
  background: #0c0a0b;
  border: 1px solid rgba(244, 63, 94, 0.35);
  box-shadow: none;
}
body.look #dashPasswordBlock .form-group label,
body.look .dash-block .portal-hint {
  color: var(--look-muted);
}
body.look #dashPasswordBlock .form-group input,
body.look .change-password-row input,
body.look #dashStaffBlock .staff-custom-row input,
body.look #dashStaffBlock .staff-custom-row select {
  background: #100c0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--look-ink);
}
body.look #dashPasswordBlock .form-group input:focus,
body.look .change-password-row input:focus,
body.look #dashStaffBlock .staff-custom-row input:focus,
body.look #dashStaffBlock .staff-custom-row select:focus,
body.look .auth-form-stack input:focus {
  border-color: #f43f5e;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.2);
}
body.look #dashPasswordBlock .password-toggle-btn {
  color: var(--look-muted);
}
body.look #dashPasswordBlock .password-toggle-btn:hover {
  color: #fff;
  background: rgba(244, 63, 94, 0.18);
}

body.look .servers-page { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
body.look .server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
body.look .server-card {
  width: auto;
  max-width: none;
  padding: 16px 14px 14px;
}
body.look .logo-slot {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-radius: 12px;
}
body.look .server-row .logo-slot {
  height: 44px;
  padding-bottom: 0;
  aspect-ratio: auto;
  flex: none;
  border-radius: 8px;
}
body.look .rail .logo-slot {
  width: 168px;
  height: 168px;
  padding: 0;
}
body.look .server-row .logo-slot {
  width: 44px;
}
body.look .logo-slot img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
}
body.look .server-card h3,
body.look .server-row h3 {
  background: var(--look-name);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
  body.look .stage,
  body.look .dl,
  body.look .prices,
  body.look .botgrid { grid-template-columns: 1fr; }
  body.look .hero h1 { white-space: normal; font-size: 3rem; }
}

@media (max-width: 768px) {
  body.look .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  body.look .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 12px 20px 18px;
    background: rgba(7,6,8,0.96);
    border-bottom: 1px solid var(--look-line);
    flex-direction: column;
    align-items: flex-start;
  }
  body.look .nav-menu.active { display: flex; }
}
/* Tiny Terms of Service footer link + modal */
body.look.tos-open { overflow: hidden; }
body.look .tos-footer {
  margin-top: 18px;
  text-align: center;
}
body.look .tos-link {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: #5a5356;
  cursor: pointer;
  text-decoration: none;
}
body.look .tos-link:hover,
body.look .tos-link:focus-visible {
  color: var(--look-muted);
  text-decoration: underline;
  outline: none;
}
.tos-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tos-modal.hidden { display: none; }
.tos-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: blur(4px);
}
.tos-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  background: #0c0a0b;
  border: 1px solid var(--look-line, rgba(255,255,255,0.08));
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  padding: 28px 26px 22px;
}
.tos-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--look-muted, #a3989c);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.tos-modal-close:hover,
.tos-modal-close:focus-visible {
  color: #fff;
  background: rgba(244, 63, 94, 0.18);
  outline: none;
}
.tos-modal-body {
  overflow: auto;
  padding-right: 8px;
  color: var(--color-text-secondary, #a3a3a3);
  font-size: 0.92rem;
  line-height: 1.55;
}
.tos-modal-body h2 {
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary, #f5f5f5);
  margin: 0 28px 16px 0;
}
.tos-modal-body h3 {
  font-family: var(--font-display), Outfit, sans-serif;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--color-text-primary, #f5f5f5);
  margin: 18px 0 6px;
}
.tos-modal-body p { margin: 0 0 10px; }
.tos-modal-body ul {
  margin: 0 0 10px 1.15em;
  padding: 0;
}
.tos-modal-body li { margin: 0 0 4px; }
