/* ─────────────────────────────────────────
   style.css — Lounary Website Styles
───────────────────────────────────────── */

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

/* ── BASE ── */
body {
  font-family: 'Inter', sans-serif;
  background: #0a0d0f;
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}

/* ── CANVAS BACKGROUND ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}


/* ─────────────────────────────────────────
   LOAD SCREEN
───────────────────────────────────────── */
#load-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0d0f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#load-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.load-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: loadFadeIn 0.5s ease forwards;
}

@keyframes loadFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.load-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 48px rgba(200, 160, 24, 0.25);
  animation: logoPulse 2s ease-in-out infinite;
}

.load-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 32px rgba(200, 160, 24, 0.15); }
  50%       { box-shadow: 0 0 64px rgba(200, 160, 24, 0.40); }
}

.load-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: rgba(255, 255, 255, 0.9);
}

.load-bar-wrap {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.load-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #c8a018, #f0c830);
  border-radius: 99px;
  transition: width 0.25s ease;
  box-shadow: 0 0 10px rgba(200, 160, 24, 0.6);
}

.load-label {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
}


/* ─────────────────────────────────────────
   MAIN CENTER LAYOUT
───────────────────────────────────────── */
.center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
  width: 100%;
  max-width: 560px;

  /* fade-in after load screen dismisses */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── AVATAR ── */
.avatar-wrap {
  width: 148px;
  height: 148px;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
  box-shadow: 0 0 40px rgba(200, 160, 24, 0.12), 0 8px 32px rgba(0, 0, 0, 0.5);
}
.avatar-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── BOT NAME ── */
h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 10px;
}

/* ── STATS LINE ── */
.stats-line {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 40px;
}
.stats-line strong {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}


/* ─────────────────────────────────────────
   GRID BUTTONS
───────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  width: 100%;
}

.grid-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.87rem;
  font-weight: 500;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.13s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
}
.grid-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-2px);
}
.grid-item svg       { opacity: 0.55; flex-shrink: 0; width: 17px; height: 17px; }
.grid-item:hover svg { opacity: 1; }


/* ─────────────────────────────────────────
   OVERLAY PAGES
───────────────────────────────────────── */
.page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(7, 10, 12, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  overflow-y: auto;
  padding: 0 24px 100px;
  animation: pageSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page.active { display: block; }

@keyframes pageSlideIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-inner {
  max-width: 700px;
  margin: 0 auto;
  padding-top: 72px;
}

.page-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.8rem;
  cursor: pointer;
  margin-bottom: 44px;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s;
  padding: 0;
}
.page-back:hover { color: rgba(255, 255, 255, 0.72); }

.page h2 {
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}
.page-sub {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.30);
  margin-bottom: 36px;
  line-height: 1.65;
}


/* ─────────────────────────────────────────
   FEATURE / COMMAND CARDS
───────────────────────────────────────── */
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  padding: 18px 22px;
  transition: background 0.18s, border-color 0.18s;
}
.feat-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}
.feat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 5px;
}
.feat-tag {
  font-size: 0.64rem;
  font-weight: 600;
  color: #c8a018;
  background: rgba(200, 160, 24, 0.10);
  border: 1px solid rgba(200, 160, 24, 0.22);
  border-radius: 6px;
  padding: 2px 7px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.feat-card h3 { font-size: 0.92rem; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.feat-card p  { font-size: 0.81rem; color: rgba(255, 255, 255, 0.34); line-height: 1.6; }


/* ─────────────────────────────────────────
   STATUS PAGE
───────────────────────────────────────── */
.status-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  padding: 17px 22px;
  margin-bottom: 8px;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 7px #22c55e;
  flex-shrink: 0;
}
.s-label { font-size: 0.88rem; font-weight: 500; color: rgba(255, 255, 255, 0.70); }
.s-val   { font-size: 0.78rem; color: rgba(255, 255, 255, 0.28); margin-left: auto; }


/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  padding: 20px 24px 32px;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.18);
  text-align: center;
}
.footer a       { color: rgba(255, 255, 255, 0.26); text-decoration: none; }
.footer a:hover { color: rgba(255, 255, 255, 0.52); }


/* ─────────────────────────────────────────
   SUBPAGE LAYOUT (standalone pages like cmds.html)
───────────────────────────────────────── */
.subpage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  padding: 72px 24px 80px;
  margin: 0 auto;
  /* override body centering for tall scrollable pages */
  align-self: flex-start;
}

.subpage-inner {
  width: 100%;
}

/* reuse page-back as a real link on subpages */
a.page-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  cursor: pointer;
  margin-bottom: 44px;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s;
  padding: 0;
  text-decoration: none;
}
a.page-back:hover { color: rgba(255, 255, 255, 0.75); }



/* Wider inner for commands page */
.page-inner--wide {
  max-width: 820px;
}

/* ── Toolbar (search + filters) ── */
.cmd-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.cmd-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.cmd-search-wrap svg {
  position: absolute;
  left: 14px;
  color: rgba(255,255,255,0.28);
  pointer-events: none;
  flex-shrink: 0;
}
.cmd-search {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 11px;
  padding: 12px 14px 12px 40px;
  color: #e2e8f0;
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
}
.cmd-search::placeholder { color: rgba(255,255,255,0.28); }
.cmd-search:focus {
  border-color: rgba(200,160,24,0.4);
  background: rgba(255,255,255,0.07);
}

/* ── Category filters ── */
.cmd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.cmd-filter {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 13px;
  color: rgba(255,255,255,0.45);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.cmd-filter:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
}
.cmd-filter.active {
  background: rgba(200,160,24,0.12);
  border-color: rgba(200,160,24,0.35);
  color: #c8a018;
}

/* ── Section grouping ── */
.cmd-sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.cmd-section { }
.cmd-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.cmd-section-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
}
.cmd-count {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.22);
  margin-left: auto;
}

/* Hidden cards / sections during search/filter */
.cmd-card.hidden   { display: none; }
.cmd-section.hidden { display: none; }

/* ── No results ── */
.cmd-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 56px 0;
  color: rgba(255,255,255,0.2);
  font-size: 0.86rem;
}
.cmd-empty svg { opacity: 0.3; }

/* code tag inside card */
.feat-card code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.78rem;
  background: rgba(200,160,24,0.1);
  border: 1px solid rgba(200,160,24,0.18);
  border-radius: 4px;
  padding: 1px 5px;
  color: #c8a018;
}

/* ─────────────────────────────────────────
   FEATURES PAGE — DETAILED CARDS
───────────────────────────────────────── */

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* ── Feature Card ── */
.fcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.fcard:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.fcard--restricted {
  border-color: rgba(200, 80, 80, 0.18);
  background: rgba(200, 80, 80, 0.03);
}
.fcard--restricted:hover {
  border-color: rgba(200, 80, 80, 0.28);
  background: rgba(200, 80, 80, 0.06);
}

/* ── Card Header ── */
.fcard-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.fcard-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(200, 160, 24, 0.1);
  border: 1px solid rgba(200, 160, 24, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fcard-icon svg {
  width: 18px;
  height: 18px;
  stroke: #c8a018;
}

.fcard-icon--restricted {
  background: rgba(200, 80, 80, 0.1);
  border-color: rgba(200, 80, 80, 0.22);
}
.fcard-icon--restricted svg { stroke: #e05555; }

.fcard-num {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.fcard-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fcard-restricted-badge {
  font-size: 0.6rem;
  font-weight: 600;
  color: #e05555;
  background: rgba(200, 80, 80, 0.12);
  border: 1px solid rgba(200, 80, 80, 0.25);
  border-radius: 5px;
  padding: 2px 7px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ── Description ── */
.fcard-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.65;
}

/* ── Bullet Points ── */
.fcard-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fb {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.fb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(200, 160, 24, 0.6);
  flex-shrink: 0;
  margin-top: 6px;
}

.fb code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  background: rgba(200, 160, 24, 0.08);
  border: 1px solid rgba(200, 160, 24, 0.16);
  border-radius: 4px;
  padding: 1px 5px;
  color: #c8a018;
}

/* ── Tag strip ── */
.fcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.ftag {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 9px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  white-space: nowrap;
}

/* ─────────────────────────────────────────
   ABOUT PAGE
───────────────────────────────────────── */

/* ── Hero ── */
.about-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
}

.about-avatar {
  position: relative;
  flex-shrink: 0;
}

.about-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  position: relative;
  z-index: 1;
}

.about-avatar-glow {
  position: absolute;
  inset: -8px;
  border-radius: 28px;
  background: radial-gradient(ellipse at center, rgba(200, 160, 24, 0.22) 0%, transparent 70%);
  z-index: 0;
  filter: blur(8px);
}

.about-greeting {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.about-name {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.about-tagline {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.55;
  max-width: 340px;
}

/* ── Intro ── */
.about-intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  border-left: 2px solid rgba(200, 160, 24, 0.4);
}

.about-intro p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ── Stats Row ── */
.about-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 80px;
}

.about-stat-val {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #c8a018;
}

.about-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

.about-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

/* ── Section ── */
.about-section {
  margin-bottom: 52px;
}

.about-section-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ── What I Do Cards ── */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 20px 22px;
  transition: background 0.18s, border-color 0.18s;
}

.about-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.about-card-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(200, 160, 24, 0.1);
  border: 1px solid rgba(200, 160, 24, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-icon svg {
  width: 17px;
  height: 17px;
  stroke: #c8a018;
}

.about-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.about-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
}

/* ── How I Work ── */
.about-how {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
}

.about-step-line {
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(200,160,24,0.3), rgba(200,160,24,0.05));
  margin-left: 19px;
}

.about-step-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(200, 160, 24, 0.1);
  border: 1px solid rgba(200, 160, 24, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #c8a018;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.about-step-body h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
  margin-top: 8px;
}

.about-step-body p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.65;
}

.about-step-body code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  background: rgba(200, 160, 24, 0.08);
  border: 1px solid rgba(200, 160, 24, 0.16);
  border-radius: 4px;
  padding: 1px 5px;
  color: #c8a018;
}

/* ── Note ── */
.about-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(200, 160, 24, 0.05);
  border: 1px solid rgba(200, 160, 24, 0.15);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 40px;
}

.about-note-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(200, 160, 24, 0.6);
}

.about-note-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(200, 160, 24, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.about-note-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.about-note-sig {
  margin-top: 12px !important;
  font-size: 0.8rem !important;
  color: rgba(200, 160, 24, 0.5) !important;
  font-style: italic;
}

/* ── CTA ── */
.about-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 0.87rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.13s;
}

.about-cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.about-cta-primary {
  background: #c8a018;
  color: #0a0d0f;
}

.about-cta-secondary {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 700px) {
  .feat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  h1    { font-size: 2.4rem; }
  .center { padding: 32px 20px; }
  .about-hero { flex-direction: column; align-items: flex-start; gap: 20px; }
  .about-name { font-size: 2.2rem; }
  .about-stats { justify-content: center; }
  .about-stat-divider { display: none; }
  .about-cta { flex-direction: column; }
  .about-cta-btn { justify-content: center; }
}

/* ─────────────────────────────────────────
   FAQ PAGE
───────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  overflow: hidden;
  transition: border-color 0.18s;
}
.faq-item:has(.faq-a.open) {
  border-color: rgba(200, 160, 24, 0.25);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  cursor: pointer;
  transition: color 0.18s;
}
.faq-q:hover { color: #fff; }

.faq-chevron {
  flex-shrink: 0;
  opacity: 0.35;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.18s;
}
.faq-q:hover .faq-chevron { opacity: 0.65; }
.faq-chevron.rotated { transform: rotate(180deg); opacity: 0.7; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.25s ease,
              opacity 0.25s ease;
  opacity: 0;
  padding: 0 22px;
}
.faq-a.open {
  max-height: 300px;
  padding: 0 22px 20px;
  opacity: 1;
}

.faq-a p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.7;
}
.faq-a p strong { color: rgba(255, 255, 255, 0.68); font-weight: 600; }
.faq-a a { color: #c8a018; text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
.faq-a code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.78rem;
  background: rgba(200, 160, 24, 0.08);
  border: 1px solid rgba(200, 160, 24, 0.16);
  border-radius: 4px;
  padding: 1px 5px;
  color: #c8a018;
}

/* Still need help block */
.faq-help {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.faq-help-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(200, 160, 24, 0.1);
  border: 1px solid rgba(200, 160, 24, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c8a018;
}
.faq-help-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 3px;
}
.faq-help-sub {
  font-size: 0.79rem;
  color: rgba(255, 255, 255, 0.32);
}
.faq-help-btn {
  margin-left: auto;
  background: #c8a018;
  color: #0a0d0f;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.13s;
  white-space: nowrap;
}
.faq-help-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─────────────────────────────────────────
   INVITE PAGE
───────────────────────────────────────── */

.invite-subpage {
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.invite-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 52px;
  gap: 16px;
}

.invite-avatar {
  position: relative;
  width: 96px;
  height: 96px;
}
.invite-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  position: relative;
  z-index: 1;
}
.invite-avatar-ring {
  position: absolute;
  inset: -10px;
  border-radius: 30px;
  border: 1px solid rgba(200, 160, 24, 0.2);
  animation: ringPulse 3s ease-in-out infinite;
}
@keyframes ringPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.04); }
}

.invite-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  max-width: 400px;
  line-height: 1.15;
}

.invite-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.36);
  max-width: 320px;
}

.invite-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c8a018;
  color: #0a0d0f;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 13px;
  text-decoration: none;
  margin-top: 6px;
  transition: opacity 0.18s, transform 0.14s, box-shadow 0.18s;
  box-shadow: 0 4px 24px rgba(200, 160, 24, 0.22);
}
.invite-btn-main:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 160, 24, 0.34);
}

/* Steps */
.invite-steps-label,
.invite-perks-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.invite-steps {
  display: flex;
  flex-direction: column;
  margin-bottom: 44px;
}

.invite-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 0;
}
.invite-step-connector {
  width: 1px;
  height: 16px;
  background: linear-gradient(to bottom, rgba(200,160,24,0.3), rgba(200,160,24,0.05));
  margin-left: 18px;
}
.invite-step-num {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(200, 160, 24, 0.1);
  border: 1px solid rgba(200, 160, 24, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #c8a018;
  flex-shrink: 0;
}
.invite-step-body h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 7px;
  margin-bottom: 4px;
}
.invite-step-body p {
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.36);
  line-height: 1.6;
}
.invite-step-body p strong { color: rgba(255, 255, 255, 0.62); font-weight: 600; }
.invite-step-body code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem;
  background: rgba(200, 160, 24, 0.08);
  border: 1px solid rgba(200, 160, 24, 0.16);
  border-radius: 4px;
  padding: 1px 5px;
  color: #c8a018;
}

/* Perks */
.invite-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.invite-perk {
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.invite-perk svg { flex-shrink: 0; stroke: rgba(200, 160, 24, 0.55); }
.invite-perk--highlight {
  border-color: rgba(200, 160, 24, 0.22);
  background: rgba(200, 160, 24, 0.06);
  color: #c8a018;
  grid-column: span 2;
  justify-content: center;
}
.invite-perk--highlight svg { stroke: #c8a018; }

/* ─────────────────────────────────────────
   DISCORD PAGE
───────────────────────────────────────── */

.discord-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.discord-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #7289da;
}

.discord-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.7px;
  color: #fff;
  margin-bottom: 6px;
}

.discord-sub {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.36);
  line-height: 1.6;
}

/* Server preview card */
.discord-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
}

.discord-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
}

.discord-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.discord-card-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.discord-card-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 4px;
}

.discord-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.discord-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 5px #22c55e;
  flex-shrink: 0;
}

.discord-card-online {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.28);
}

.discord-join-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865f2;
  color: #fff;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.18s, transform 0.13s;
  white-space: nowrap;
  flex-shrink: 0;
}
.discord-join-btn:hover { opacity: 0.85; transform: translateY(-1px); }

.discord-card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 22px;
}

.discord-channels {
  padding: 14px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.discord-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s;
  cursor: default;
}
.discord-channel:hover { background: rgba(255, 255, 255, 0.04); }

.discord-channel svg { flex-shrink: 0; stroke: rgba(255, 255, 255, 0.25); }
.discord-channel span:first-of-type { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); font-weight: 500; }
.discord-channel-desc { font-size: 0.75rem; color: rgba(255, 255, 255, 0.2); margin-left: auto; }

/* Reasons */
.discord-reasons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.discord-reason {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  padding: 18px 20px;
  transition: background 0.18s, border-color 0.18s;
}
.discord-reason:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.11);
}

.discord-reason-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(200, 160, 24, 0.1);
  border: 1px solid rgba(200, 160, 24, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.discord-reason-icon svg { stroke: #c8a018; }

.discord-reason h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 5px;
}
.discord-reason p {
  font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.36);
  line-height: 1.6;
}