/* Lucid Roleplay - public site. Dark, quiet, one silver accent to match the logo. */
:root {
  --bg: #0b0b0d;
  --surface: #121215;
  --surface-2: #19191d;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --dim: rgba(255, 255, 255, 0.6);
  --faint: rgba(255, 255, 255, 0.38);
  --silver: #c9ccd1;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: 'Montserrat', 'Poppins', sans-serif; font-weight: 600; line-height: 1.15; }
.wrap { width: min(1080px, 100% - 48px); margin: 0 auto; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .logo { display: flex; align-items: center; gap: 12px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav .logo img { height: 34px; width: auto; }
.nav .links { display: flex; gap: 4px; margin-left: 8px; }
.nav .links a { padding: 7px 12px; border-radius: 99px; color: var(--dim); font-size: 14px; transition: color 0.12s var(--ease), background 0.12s var(--ease); }
.nav .links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav .links a.on { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav .user { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; }
.nav .user img { width: 28px; height: 28px; border-radius: 50%; }
.nav .user span { max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav .user a { color: var(--faint); font-size: 12px; }
.nav .user a:hover { color: var(--text); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 99px;
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 14px; white-space: nowrap;
  background: #fff; color: #111; border: 1px solid #fff;
  transition: transform 0.12s var(--ease), background 0.12s var(--ease), color 0.12s var(--ease), border-color 0.12s var(--ease);
}
.btn:hover { background: var(--silver); border-color: var(--silver); }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.05); }
.btn.sm { height: 36px; padding: 0 16px; font-size: 13px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 56px; text-align: center; min-height: calc(100vh - 64px - 90px); display: flex; align-items: center; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(201, 204, 209, 0.12), transparent 70%);
}
.hero .wrap { width: min(1080px, 100% - 48px); position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero img { width: min(300px, 60vw); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 small { display: block; margin-top: 6px; font-family: 'Poppins', sans-serif; font-weight: 300; font-size: 15px; letter-spacing: 0.28em; color: var(--dim); }
.hero p { max-width: 560px; color: var(--dim); font-size: 16px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.hero .status { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; }
.hero .status b { color: var(--text); font-weight: 500; }

/* ------------------------------------------------------------ sections */
section.block { padding: 40px 0; }
.kicker { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
h2 { font-size: 26px; margin-bottom: 8px; }
.lead { color: var(--dim); max-width: 620px; margin-bottom: 26px; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  padding: 22px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.15s var(--ease), transform 0.15s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { font-size: 15px; margin-bottom: 6px; }
.card p { color: var(--dim); font-size: 14px; }

/* ------------------------------------------------------------ shop */
.pkgs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); justify-content: center; }
@media (max-width: 600px) { .pkgs { grid-template-columns: 1fr; } }
.pkg { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); position: relative; }
.pkg.best { border-color: rgba(201, 204, 209, 0.45); }
.pkg .tag { position: absolute; top: 16px; right: 16px; padding: 3px 10px; border-radius: 99px; background: #fff; color: #111; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pkg h3 { font-size: 18px; }
.pkg .price { font-family: 'Montserrat', sans-serif; font-size: 32px; font-weight: 600; line-height: 1; }
.pkg .price small { font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 300; color: var(--dim); margin-left: 6px; }
.pkg .desc { color: var(--dim); font-size: 14px; }
.pkg ul { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.pkg li { display: flex; gap: 10px; align-items: flex-start; }
.pkg li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--silver); }
.pkg .btn { margin-top: auto; }
.note { margin-top: 22px; color: var(--faint); font-size: 13px; }

/* ------------------------------------------------------------ footer */
footer { margin-top: 0; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav .links { display: none; }
  .hero { padding: 48px 0 40px; }
}

/* ------------------------------------------------------------ checkout */
.checkout { padding: 48px 0 56px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; align-items: start; }
.checkout .card { padding: 26px; border-radius: 18px; }
.checkout .card:hover { transform: none; border-color: var(--line); }
.checkout h2 { margin-bottom: 6px; }
.co-desc { color: var(--dim); font-size: 14px; }
.co-perks { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 18px 0 4px; font-size: 14px; }
.co-perks:empty { display: none; }
.co-perks li { display: flex; gap: 10px; }
.co-perks li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--silver); }
.co-line { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.co-line span { color: var(--dim); }
.co-line b { font-family: 'Montserrat', sans-serif; font-size: 26px; font-weight: 600; }
.co-small { margin-top: 12px; color: var(--faint); font-size: 13px; }
.co-small b { color: var(--dim); font-weight: 500; }
.co-element { margin: 18px 0 20px; min-height: 120px; }
.co-btn { width: 100%; height: 50px; font-size: 15px; }
.co-btn[disabled] { opacity: 0.55; cursor: default; }
.co-error { min-height: 20px; margin-top: 10px; color: #ff8a82; font-size: 13px; }
.co-secure { margin-top: 4px; }
.co-state .btn { margin-top: 18px; }
@media (max-width: 820px) { .co-grid { grid-template-columns: 1fr; } }

/* package images */
.pkg.has-img { padding-top: 0; overflow: hidden; }
.pkg-img { margin: 0 -24px 4px; aspect-ratio: 16 / 9; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.pkg-img img { width: 100%; height: 100%; object-fit: cover; }
.pkg.has-img .tag { top: 14px; right: 14px; box-shadow: 0 4px 13px rgba(0, 0, 0, 0.35); }
.co-img { display: block; width: calc(100% + 52px); margin: -26px -26px 20px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px 18px 0 0; border-bottom: 1px solid var(--line); }
.co-img[hidden] { display: none; }
