/* Redmont Essentials — Design System */
:root {
  --navy-950: #040810;
  --navy-900: #0a1220;
  --navy-800: #0f1a2e;
  --navy-700: #152238;
  --navy-600: #1c2d4a;
  --gold-400: #e8c547;
  --gold-500: #d4af37;
  --gold-600: #b8922e;
  --white: #f8fafc;
  --white-muted: #94a3b8;
  --white-dim: #64748b;
  --border: rgba(212, 175, 55, 0.15);
  --border-hover: rgba(212, 175, 55, 0.35);
  --glow-gold: rgba(212, 175, 55, 0.25);
  --radius: 14px;
  --radius-lg: 22px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Outfit', system-ui, sans-serif;
  --font-display: 'Syne', 'Outfit', sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(28, 45, 74, 0.6), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(21, 34, 56, 0.5), transparent),
    var(--navy-950);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
  background: rgba(4, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 1.05rem;
  transition: opacity var(--transition);
}

.nav-brand:hover { opacity: 0.85; }

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-name strong {
  color: var(--gold-500);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--white-muted);
  font-size: 0.925rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600)) !important;
  color: var(--navy-950) !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500)) !important;
  box-shadow: 0 4px 20px var(--glow-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  box-shadow: 0 4px 24px var(--glow-gold);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.06);
}

.btn-card {
  width: 100%;
  margin-top: auto;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem 6rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.06);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--white-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-value {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--white-dim);
  margin-top: 0.15rem;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--glow-gold), transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.hero-logo {
  position: relative;
  width: min(380px, 90%);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  transition: color var(--transition);
}

.scroll-hint:hover { color: var(--gold-500); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Sections ── */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: rgba(15, 26, 46, 0.4);
  border-block: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--white-muted);
  font-size: 1.05rem;
}

.section-note {
  text-align: center;
  color: var(--white-dim);
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.kit-card.featured {
  border-color: rgba(212, 175, 55, 0.4);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.1), 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.kit-card {
  position: relative;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.card > p {
  color: var(--white-muted);
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

.card-list {
  list-style: none;
  margin-bottom: 1.75rem;
  flex: 1;
}

.card-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: var(--white-muted);
  margin-bottom: 0.45rem;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

.kit-card .btn-card:not(.btn-primary) {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid var(--border);
}

.kit-card .btn-card:not(.btn-primary):hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--border-hover);
}

/* ── Trade ── */
.trade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trade-panel {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition);
}

.trade-panel:hover {
  border-color: var(--border-hover);
}

.trade-panel h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--gold-400);
}

.trade-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.trade-tags span {
  font-size: 0.825rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--white-muted);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.trade-tags span:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--border-hover);
  color: var(--white);
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.info-banner-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.info-banner strong {
  display: block;
  margin-bottom: 0.25rem;
}

.info-banner p {
  font-size: 0.9rem;
  color: var(--white-muted);
}

.info-banner code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.82rem;
  color: var(--gold-400);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

/* ── Order Page ── */
.order-page {
  animation: pageIn 0.5s ease-out;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.order-main {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
  min-height: 100vh;
}

.order-page-wrap {
  max-width: 720px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color var(--transition), transform 0.25s ease;
}

.back-link:hover {
  color: var(--gold-400);
  transform: translateX(-3px);
}

.order-page-intro {
  margin-bottom: 2rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.order-page-intro.hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.order-page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.75rem;
}

.order-page-intro p {
  color: var(--white-muted);
  font-size: 1.05rem;
}

.order-card {
  background: linear-gradient(160deg, rgba(15, 26, 46, 0.95), rgba(10, 18, 32, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.order-form-v2 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.form-step {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  font-size: 0.85rem;
  font-weight: 800;
}

.form-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.form-section-head p {
  font-size: 0.875rem;
  color: var(--white-dim);
}

.form-section-detail {
  padding: 1.25rem;
  margin: -0.5rem 0;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--navy-900);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.choice-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.choice-card.selected {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.15), 0 8px 24px rgba(0, 0, 0, 0.2);
}

.choice-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.choice-label {
  font-weight: 600;
  font-size: 0.95rem;
}

.choice-desc {
  font-size: 0.78rem;
  color: var(--white-dim);
  line-height: 1.35;
}

.detail-panel {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.detail-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip-grid-kits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.chip {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--navy-800);
  color: var(--white-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
}

.chip:hover {
  border-color: var(--border-hover);
  color: var(--white);
}

.chip.selected {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-400);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.12);
}

.chip-lg {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.chip-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: inherit;
}

.chip-sub {
  font-size: 0.75rem;
  opacity: 0.75;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-row-spaced {
  margin-top: 0.5rem;
}

.order-form-v2 input,
.order-form-v2 textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.order-form-v2 input:focus,
.order-form-v2 textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.order-form-v2 label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--white-muted);
}

.optional {
  font-weight: 400;
  color: var(--white-dim);
}

.form-row {
  display: flex;
  flex-direction: column;
}

.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-verify h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0.5rem 0 0.75rem;
}

.turnstile-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  margin: 1.25rem 0;
  padding: 0.5rem;
}

.verify-retry {
  display: block;
  margin: 0.75rem auto 0;
}

.turnstile-submit {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.verify-alt {
  text-align: center;
  margin-top: 1rem;
}

.verify-alt code {
  color: var(--gold-400);
}

.order-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.order-submit-v2 {
  width: 100%;
  position: relative;
  min-height: 52px;
}

.order-submit-v2.loading .submit-text {
  opacity: 0;
}

.order-submit-v2.loading .submit-loader {
  opacity: 1;
}

.submit-loader {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(4, 8, 16, 0.2);
  border-top-color: var(--navy-950);
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.7s linear infinite;
}

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

.order-status {
  min-height: 1.25rem;
  font-size: 0.875rem;
  text-align: center;
}

.order-status.error a {
  color: var(--gold-400);
  font-weight: 600;
}

.order-total-bar {
  margin: 1.5rem 0 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-total-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.order-total-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-400);
}

.order-total-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chip-price,
.kit-price {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-400);
}

.chip-lg .chip-price {
  margin-top: 0.5rem;
}

.catalog-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
}

/* Admin panel */
.admin-page .admin-main {
  max-width: 720px;
  padding: 6rem 1.5rem 4rem;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.admin-intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.admin-intro code {
  color: var(--gold-400);
}

.admin-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-card label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.admin-card input[type='password'] {
  width: 100%;
  max-width: 400px;
  margin-bottom: 1rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}

.admin-section h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
}

.admin-section-head {
  margin-bottom: 1rem;
}

.admin-section-head p {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-section-head code {
  color: var(--gold-400);
  font-size: 0.85em;
}

.admin-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
}

.admin-field {
  margin-bottom: 0.85rem;
}

.admin-field:last-child {
  margin-bottom: 0;
}

.admin-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.admin-field input[type='text'],
.admin-field input[type='number'],
.admin-field input[type='password'],
.admin-field textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--navy-950);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
}

.admin-field textarea {
  resize: vertical;
  min-height: 2.5rem;
}

.admin-field-check {
  display: flex;
  align-items: flex-end;
  padding-bottom: 0.35rem;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
}

.admin-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--gold-400);
}

.admin-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-item {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.admin-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.admin-item-compact {
  display: grid;
  grid-template-columns: 1fr 120px auto;
  gap: 0.75rem;
  align-items: end;
}

.admin-item-compact .admin-field {
  margin-bottom: 0;
}

.admin-remove {
  padding: 0.35rem 0.65rem;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  font-size: 0.85rem;
  cursor: pointer;
}

.admin-remove:hover {
  background: rgba(248, 113, 113, 0.28);
}

.admin-advanced summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.admin-advanced .admin-editor {
  margin-bottom: 0.75rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.admin-editor {
  width: 100%;
  min-height: 420px;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--navy-950);
  color: var(--text-primary);
  resize: vertical;
}

.admin-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.admin-status.success {
  color: #4ade80;
}

.admin-status.error {
  color: #f87171;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.admin-tab:hover {
  border-color: rgba(212, 175, 55, 0.4);
}

.admin-tab.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.55);
}

.admin-tab-panel[hidden] {
  display: none !important;
}

.admin-field-icon {
  max-width: 5rem;
}

.order-success {
  text-align: center;
  padding: 2rem 1rem;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.order-success.visible {
  opacity: 1;
  transform: scale(1);
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.35);
}

.order-success h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.order-success p {
  color: var(--white-muted);
  margin-bottom: 1.75rem;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.footer-minimal {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}

.footer-minimal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--white-dim);
}

.footer-minimal-inner a {
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 500;
}

.footer-minimal-inner a:hover {
  text-decoration: underline;
}

.section-note a {
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 500;
}

.section-note a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .choice-grid,
  .chip-grid-kits,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .order-card {
    padding: 1.35rem;
  }
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-content p {
  color: var(--white-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.65rem 1.75rem;
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}

.feature:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.feature-num {
  flex-shrink: 0;
  min-width: 2.25rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold-500);
  opacity: 0.55;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feature > div {
  flex: 1;
  min-width: 0;
}

.feature h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.feature p {
  font-size: 0.925rem;
  color: var(--white-dim);
  line-height: 1.55;
}

/* ── Discord ── */
.section-discord {
  padding-bottom: 8rem;
}

.discord-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: center;
  padding: 3rem;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.discord-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.discord-content p {
  color: var(--white-muted);
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.discord-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.discord-note {
  font-size: 0.8rem;
  color: var(--white-dim);
}

.discord-note code {
  font-size: 0.78rem;
  color: var(--gold-400);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.discord-panel {
  border-radius: var(--radius);
  min-height: 320px;
  background: #313338;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.discord-panel-loading {
  color: #949ba4;
  font-size: 0.9rem;
  text-align: center;
  padding: 4rem 1rem;
}

.discord-panel-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.discord-panel-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex-shrink: 0;
}

.discord-panel-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #949ba4;
  margin-bottom: 0.35rem;
}

.discord-panel-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #f2f3f5;
  margin-bottom: 0.5rem;
}

.discord-panel-desc {
  font-size: 0.875rem;
  color: #949ba4;
}

.discord-panel-stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #949ba4;
}

.discord-panel-stats strong {
  color: #23a559;
  font-weight: 600;
}

.discord-panel-stats span:nth-child(3) strong {
  color: #b5bac1;
}

.discord-stat-dot {
  opacity: 0.5;
}

.btn-discord {
  width: 100%;
  background: #5865f2;
  color: #fff;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  box-shadow: none;
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.35);
}

/* ── Footer ── */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: rgba(4, 8, 16, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--white-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold-400); }

.footer-meta {
  text-align: right;
  font-size: 0.78rem;
  color: var(--white-dim);
}

.footer-meta p + p { margin-top: 0.25rem; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .discord-card,
  .cards-grid,
  .trade-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }
  .hero-logo { width: min(260px, 70%); }
  .hero-grid { gap: 2rem; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  .discord-card { padding: 2rem; }
  .discord-panel { min-height: 280px; }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links { justify-content: center; }
  .footer-meta { text-align: center; }

  .info-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(4, 8, 16, 0.97);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.85rem;
  }

  .nav-cta { margin-left: 0; }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .cards-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
}
