/* ==========================================================================
   LivPvP Store — styling
   Dark theme built from the logo colours: red (#e02020) for actions and a
   cyan-blue (#1e90e0) for accents. Flat surfaces, thin borders, no glow.
   Poppins for body text, Teko for display headings.
   ========================================================================== */

:root {
  --c-text: #eef1f6;
  --c-text-soft: #bcc4d2;
  --c-primary: #e02020;
  --c-primary-dark: #c01818;
  --c-primary-2: #1e90e0;
  --c-primary-ink: #3aa6ea;
  --c-muted: #8a92a3;
  --c-bg: #0b0e14;
  --c-panel: #131824;
  --c-panel-2: #161c28;
  --c-elevated: #1a202c;
  --c-border: #262d3a;
  --c-border-strong: #333c4c;
  --c-danger: #ff5c5c;
  --c-success: #34d399;
  --c-shadow: rgba(0, 0, 0, 0.4);
  --radius: 10px;
  --container: 1170px;
  font-size: 62.5%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 50% -12%, rgba(30, 144, 224, 0.09), transparent 62%),
    var(--c-bg);
  color: var(--c-text);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.6rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0 0 1em; padding-left: 0; list-style: none; }
li::marker { color: var(--c-primary); }

button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--c-primary-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
}

::selection { background: rgba(30, 144, 224, 0.35); }

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #2a3240;
  border-radius: 8px;
  border: 3px solid var(--c-bg);
}
::-webkit-scrollbar-thumb:hover { background: #384253; }

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding-top: 16px;
  pointer-events: none;
}

.site-header .container { display: flex; justify-content: flex-end; }

.header-actions { display: flex; align-items: center; gap: 12px; pointer-events: auto; }

.cart-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(19, 24, 36, 0.85);
  color: var(--c-text);
  font-size: 17px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cart-button:hover {
  transform: translateY(-2px);
  border-color: var(--c-border-strong);
  background: var(--c-elevated);
}
.cart-button:active { transform: scale(0.96); }

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--c-primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}

.cart-count[hidden] { display: none; }

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  background: var(--c-panel);
  color: var(--c-text);
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.btn-login:hover { border-color: var(--c-border-strong); background: var(--c-elevated); transform: translateY(-1px); }
.btn-login i { color: var(--c-primary-ink); }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 420px;
  padding: 110px 0 64px;
  background: #0b0e14 url("/assets/bg.jpg") center center / cover no-repeat;
  box-shadow: inset 0 -40px 60px -30px rgba(4, 6, 14, 0.9);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 16, 0.6), rgba(7, 9, 16, 0.84));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-logo img {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  outline: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.25s ease;
}

.hero-logo:hover img { transform: scale(0.96) rotate(-2deg); }

.hero-title {
  text-align: left;
  max-width: 560px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d7e0ee;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 10px;
}

.hero-title h1 {
  font-family: "Teko", sans-serif;
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-title p {
  color: #d3d9e6;
  font-size: 1.55rem;
  font-weight: 400;
  max-width: 520px;
  margin: 8px 0 0;
}

.hero-widgets {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.widget {
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 19, 29, 0.6);
  border-radius: 14px;
  padding: 8px 18px;
  backdrop-filter: blur(10px);
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.widget:hover { transform: translateY(-3px); background: rgba(26, 32, 44, 0.75); border-color: rgba(255, 255, 255, 0.24); }

.widget-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.widget-icon.discord { color: #5865f2; margin: 0 16px; }
.widget-icon.server { color: #4b5563; margin: 0 16px; }

.widget-text { min-width: 120px; color: #fff; }
.widget-text h3 { font-family: "Teko", sans-serif; font-size: 2.4rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.1; }
.widget-text p { font-size: 1.3rem; margin: 0; opacity: 0.85; }
.widget-text.right { text-align: right; }

/* ── Main / sections ──────────────────────────────────────────────────── */

.main-content { padding: 44px 0 56px; }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-family: "Teko", sans-serif;
  font-size: 3.4rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-left: 16px;
}

.section-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 28px;
  border-radius: 4px;
  background: var(--c-primary);
}

.section-heading p { color: var(--c-muted); margin: 0; }

/* ── Product grid ─────────────────────────────────────────────────────── */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.products-status {
  grid-column: 1 / -1;
  padding: 60px;
  text-align: center;
  color: var(--c-muted);
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-panel-2);
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-primary);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.product-card:hover::before { opacity: 1; }

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-strong);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 4px 14px;
  border-radius: 6px;
  background: var(--c-primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.card-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0f131c;
  border: 1px solid var(--c-border);
}

.card-media img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .card-media img { transform: scale(1.04); }

.card-title { margin: 18px 0 6px; }
.card-title h2 {
  font-family: "Teko", sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-text);
}

.card-description {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--c-text-soft);
  flex: 1;
}

.card-description ul { margin: 6px 0; }
.card-description li { padding: 3px 0; }

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--c-border);
}

.price { font-size: 2.3rem; font-weight: 700; color: var(--c-text); }
.price::after { content: ""; }

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--c-primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.btn-add:hover { transform: translateY(-1px); background: var(--c-primary-dark); }
.btn-add:active { transform: translateY(0); }
.btn-add:disabled { opacity: 0.75; cursor: default; }
.btn-add.is-added { background: var(--c-success); }

/* ── About / steps panel ──────────────────────────────────────────────── */

.panel {
  padding: 34px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-panel);
}

.about-panel {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
}

.about-panel h2 {
  font-family: "Teko", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.about-col p { color: var(--c-text-soft); font-size: 1.45rem; }

.steps { margin: 0; padding: 0; list-style: none; }

.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-border);
}

.steps li:last-child { border-bottom: 0; }

.step-num {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
}

.steps li b { display: block; font-size: 1.5rem; }
.steps li p { margin: 2px 0 0; color: var(--c-muted); font-size: 1.35rem; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  background: #0a0d13;
  color: #fff;
  padding: 40px 0;
  border-top: 1px solid var(--c-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 13px; object-fit: contain; }
.footer-brand h3 { font-family: "Teko", sans-serif; font-size: 2.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-brand p { margin: 0; color: var(--c-muted); font-size: 1.35rem; }

.footer-links { display: flex; align-items: center; gap: 26px; }

.footer-link {
  color: var(--c-text-soft);
  font-size: 1.45rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-link:hover { color: #fff; }
.footer-link i { color: var(--c-primary-ink); }

.powered {
  border-top: 1px solid var(--c-border);
  background: #0e1219;
  color: var(--c-muted);
  text-align: center;
  padding: 22px 16px;
  font-size: 1.35rem;
  font-weight: 300;
}

.powered a:hover { color: var(--c-primary-ink); }

/* ── Cart sidebar ─────────────────────────────────────────────────────── */

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(4, 6, 12, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-backdrop.open { opacity: 1; visibility: visible; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: 400px;
  max-width: 92vw;
  height: 100%;
  background: var(--c-panel-2);
  box-shadow: -14px 0 50px rgba(0, 0, 0, 0.55);
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border);
}

.cart-head h2 { font-family: "Teko", sans-serif; font-size: 2.4rem; text-transform: uppercase; letter-spacing: 0.5px; }

.cart-close {
  border: 0;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: var(--c-muted);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.25s ease;
}

.cart-close:hover { color: var(--c-danger); transform: rotate(90deg); }

.cart-body { flex: 1; overflow-y: auto; padding: 24px; }

.cart-empty { text-align: center; color: var(--c-muted); padding: 40px 10px; }
.cart-empty h2 { font-size: 1.6rem; font-weight: 500; }

.cart-item { display: flex; gap: 16px; align-items: center; }

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #10141d;
}

.cart-item-info { flex: 1; }
.cart-item-info h4 { font-family: "Teko", sans-serif; font-size: 2rem; text-transform: uppercase; letter-spacing: 0.4px; }
.cart-item-info span { color: var(--c-primary-ink); font-weight: 700; font-size: 1.6rem; }

.cart-remove { border: 0; background: none; color: var(--c-muted); font-size: 15px; cursor: pointer; transition: color 0.2s ease; }
.cart-remove:hover { color: var(--c-danger); }

.cart-foot { padding: 20px 24px; border-top: 1px solid var(--c-border); }

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.7rem;
  font-weight: 700;
}

/* ── Buttons & forms ──────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--c-primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-1px); background: var(--c-primary-dark); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn.ghost { background: var(--c-panel); color: var(--c-text); border: 1px solid var(--c-border); }
.btn.ghost:hover { background: var(--c-elevated); }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 1.4rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  background: #0f131c;
  color: var(--c-text);
  font-family: inherit;
  font-size: 1.5rem;
  transition: border-color 0.2s ease;
}

.field input::placeholder { color: #6a7180; }

.field input:focus {
  outline: none;
  border-color: var(--c-primary-2);
}

.field input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 40px #0f131c inset;
  -webkit-text-fill-color: var(--c-text);
  caret-color: var(--c-text);
}

.field .hint { margin-top: 7px; font-size: 1.3rem; color: var(--c-muted); }

/* ── Checkout / success pages ─────────────────────────────────────────── */

.page { max-width: 980px; margin: 0 auto; padding: 40px 16px 64px; }

.page-head { text-align: center; margin-bottom: 32px; }
.page-head h1 { font-family: "Teko", sans-serif; font-size: 4.4rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.page-head p { color: var(--c-muted); margin: 2px 0 0; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.summary-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}

.summary-item img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #10141d;
}

.summary-item strong { font-size: 1.7rem; }

.summary-row { display: flex; justify-content: space-between; font-size: 1.5rem; padding: 6px 0; }
.summary-row span:last-child { font-weight: 500; }

.summary-row.total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--c-border);
  font-size: 1.9rem;
  font-weight: 700;
}

.pay-methods { margin-top: 8px; }

.pay-method {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #10141d;
}

.pay-method > h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.pay-method .brand { color: var(--c-primary-ink); }

#paypal-buttons, #googlepay-buttons, #applepay-buttons, .card-fields { margin-bottom: 0; }

.notice {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 1.4rem;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid;
}

.notice.warn { background: rgba(255, 193, 7, 0.1); border-color: rgba(255, 193, 7, 0.4); color: #ffd76a; }
.notice.error { background: rgba(255, 77, 77, 0.12); border-color: rgba(255, 77, 77, 0.4); color: #ff9d9d; }
.notice.success { background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.4); color: #86efc2; }
.notice[hidden] { display: none; }

.spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ── Success page ─────────────────────────────────────────────────────── */

.status-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 44px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-panel);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.status-icon { font-size: 56px; margin-bottom: 14px; color: var(--c-primary-2); }
.status-icon.ok { color: var(--c-success); }
.status-icon.bad { color: var(--c-danger); }

.status-card h1 { font-family: "Teko", sans-serif; font-size: 3.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.status-card p { color: var(--c-muted); }

.status-details {
  margin: 26px 0;
  padding: 18px 20px;
  border-radius: 8px;
  background: #10141d;
  text-align: left;
  font-size: 1.5rem;
}

.status-details div { display: flex; justify-content: space-between; padding: 5px 0; }
.status-details dt { color: var(--c-muted); }
.status-details dd { margin: 0; font-weight: 600; }
.status-details div:last-child { border-top: 1px solid var(--c-border); margin-top: 6px; padding-top: 10px; }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 992px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-grid { grid-template-columns: 1fr; }
  .about-panel { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 96px; min-height: 380px; }
  .hero-brand { flex-direction: column; text-align: center; }
  .hero-title { text-align: center; }
  .hero-title h1 { font-size: 4.8rem; }
  .hero-widgets { justify-content: center; }
  .widget-icon.discord, .widget-icon.server { margin-left: 8px; }
  .footer-inner { justify-content: center; text-align: center; }
  .page { padding-top: 28px; }
  .status-card { padding: 28px 20px; }
}

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

/* ==========================================================================
   Landing page (home)
   Big server name, click-to-copy IP, and the Store / Discord buttons.
   ========================================================================== */

.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0b0e14 url("/assets/bg.jpg") center center / cover no-repeat;
}

.landing-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 16, 0.72) 0%, rgba(7, 9, 16, 0.88) 60%, var(--c-bg) 100%);
}

@keyframes landing-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.landing-logo,
.landing-eyebrow,
.landing-title,
.landing-tagline,
.ip-card,
.landing-actions {
  animation: landing-rise 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}

.landing-eyebrow { animation-delay: 0.05s; }
.landing-title { animation-delay: 0.1s; }
.landing-tagline { animation-delay: 0.15s; }
.ip-card { animation-delay: 0.22s; }
.landing-actions { animation-delay: 0.3s; }

/* ── Landing nav ──────────────────────────────────────────────────────── */

.landing-nav {
  position: relative;
  z-index: 3;
  padding: 22px 0;
}

.landing-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Teko", sans-serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.landing-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: contain;
  outline: 1px solid rgba(255, 255, 255, 0.14);
}

.landing-links { display: flex; align-items: center; gap: 10px; }

.landing-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(19, 24, 36, 0.7);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.landing-link:hover {
  transform: translateY(-1px);
  border-color: var(--c-border-strong);
  background: rgba(26, 32, 44, 0.9);
}

.landing-link i { color: var(--c-primary-ink); }

/* ── Landing hero ─────────────────────────────────────────────────────── */

.landing-main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
}

.landing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 36px 0 56px;
}

.landing-logo {
  width: 116px;
  height: 116px;
  border-radius: 24px;
  object-fit: contain;
  outline: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.55);
  margin-bottom: 20px;
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d7e0ee;
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.landing-title {
  font-family: "Teko", sans-serif;
  font-size: 9rem;
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin: 8px 0 0;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.55);
}

.landing-tagline {
  max-width: 560px;
  color: #d3d9e6;
  font-size: 1.6rem;
  margin: 6px 0 24px;
}

/* ── Click-to-copy IP card ────────────────────────────────────────────── */

.ip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: min(560px, 100%);
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid var(--c-border-strong);
  background: rgba(19, 24, 36, 0.75);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  margin-bottom: 26px;
}

.ip-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-primary-2);
  background: rgba(22, 28, 40, 0.9);
}

.ip-card.copied {
  border-color: rgba(52, 211, 153, 0.7);
}

.ip-card-label {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #98a1b3;
}

.ip-card-value {
  font-family: "Teko", sans-serif;
  font-size: 4.6rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 2px;
  color: #fff;
}

.ip-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  color: #98a1b3;
  transition: color 0.2s ease;
}

.ip-card.copied .ip-card-action { color: #86efc2; }

/* ── Landing buttons ──────────────────────────────────────────────────── */

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn-store,
.btn-discord {
  width: auto;
  padding: 14px 30px;
  font-size: 1.7rem;
  border-radius: 8px;
}

.btn-store { background: var(--c-primary); }
.btn-store:hover { background: var(--c-primary-dark); }

.btn-discord {
  background: #5865f2;
}
.btn-discord:hover { background: #4752c4; }

/* ── How to join ──────────────────────────────────────────────────────── */

.join-steps {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
}

.join-steps > h2 {
  font-family: "Teko", sans-serif;
  text-align: center;
  font-size: 3.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.join-grid li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: rgba(19, 24, 36, 0.85);
  backdrop-filter: blur(6px);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.join-grid li:hover { transform: translateY(-4px); border-color: var(--c-border-strong); }

.join-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 6px;
}

.join-grid b { font-size: 1.7rem; }
.join-grid p { margin: 0; color: var(--c-muted); font-size: 1.4rem; }

/* ── Landing responsive ───────────────────────────────────────────────── */

@media (max-width: 760px) {
  .landing-title { font-size: 6rem; }
  .ip-card-value { font-size: 3.2rem; letter-spacing: 1px; }
  .join-grid { grid-template-columns: 1fr; }
  .landing-inner { padding: 20px 0 44px; }
}

@media (max-width: 480px) {
  .landing-nav { padding: 16px 0; }
  .landing-brand { font-size: 2.1rem; }
  .landing-brand img { width: 38px; height: 38px; }
  .landing-link { padding: 8px 12px; font-size: 1.35rem; }
  .landing-logo { width: 92px; height: 92px; border-radius: 20px; }
  .landing-eyebrow { letter-spacing: 1.6px; font-size: 1.15rem; }
  .landing-title { font-size: 4.8rem; }
  .ip-card { padding: 14px 18px; }
  .ip-card-value { font-size: 2.6rem; }
  .landing-actions { width: 100%; }
  .landing-actions .btn { width: 100%; }
}
