/* ---- tokens ---------------------------------------------------------- */
:root {
  --brand:        #1E4437;
  --brand-press:  #163529;
  --ink:          #16211C;
  --muted:        #5F6E66;
  --line:         #E4E8E5;
  --chip-bg:      #F4F6F4;
  --radius:       18px;
  --shadow:       0 24px 60px rgba(0,0,0,.34), 0 3px 10px rgba(0,0,0,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--brand);
}

/* ---- background photo ------------------------------------------------ */
.bg img {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
body::after {                       /* darken so the card reads cleanly */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(8,20,15,.30) 0%, rgba(8,20,15,.62) 100%);
}

/* ---- card ------------------------------------------------------------ */
.card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px 26px;
  text-align: center;
}

.venue {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  opacity: .8;
}

.title {
  margin-top: 14px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.sub {
  margin-top: 7px;
  font-size: 15.5px;
  color: var(--muted);
}

/* ---- server name ----------------------------------------------------- */
.server {
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.server__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 10px 18px;
  background: var(--chip-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.chip:active { transform: scale(.97); }
.chip:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.chip__name { line-height: 1.15; }
.chip__icon { width: 17px; height: 17px; color: var(--muted); flex: none; }

.hint {
  margin-top: 9px;
  min-height: 18px;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s ease;
}
.hint.is-copied { color: var(--brand); font-weight: 600; }

/* ---- primary action -------------------------------------------------- */
.cta {
  display: block;
  width: 100%;
  padding: 17px 20px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
  -webkit-tap-highlight-color: transparent;
}
.cta:hover  { background: var(--brand-press); }
.cta:active { transform: scale(.985); }
.cta:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.foot {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.foot strong { color: var(--ink); font-weight: 600; }

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