* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #06111f;
  --bg-deep: #030814;
  --bg-card: rgba(9, 19, 36, 0.92);
  --bg-card-2: rgba(7, 15, 28, 0.95);
  --teal: #00f5d4;
  --purple: #d946ef;
  --text-main: #e4fcff;
  --text-soft: #9bd8de;
  --text-dim: #77aeb5;
  --border-teal: rgba(0, 245, 212, 0.28);
  --border-purple: rgba(217, 70, 239, 0.28);
  --danger: #ff6b8a;
  --success: #49f7c3;
  --shadow-teal: 0 0 18px rgba(0, 245, 212, 0.14);
  --shadow-purple: 0 0 18px rgba(217, 70, 239, 0.12);

  --money: #22c55e;
  --money-glow: 0 0 16px rgba(34, 197, 94, 0.25);
  --warning: #f59e0b;
  --danger-strong: #ef4444;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #112546 0%, #06111f 55%, #030814 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

textarea {
  resize: vertical;
}

.stars {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.80) 1px, transparent 1px),
    radial-gradient(circle, rgba(0,245,212,0.50) 1px, transparent 1px),
    radial-gradient(circle, rgba(217,70,239,0.50) 1px, transparent 1px);
  background-size: 140px 140px, 200px 200px, 260px 260px;
  background-position: 0 0, 50px 80px, 120px 160px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------
   PUBLIC TOPBAR
--------------------------------- */
.topbar {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo,
.logo a {
  color: var(--teal);
  font-size: 1.65rem;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 0 12px rgba(0, 245, 212, 0.65);
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--purple);
  text-shadow: 0 0 8px rgba(217, 70, 239, 0.7);
}

.nav-login {
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--teal), #49ffe8);
  color: #03111e;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0,245,212,0.3);
  transition: 0.2s ease;
}

.nav-login:hover {
  transform: translateY(-2px);
}

/* ---------------------------------
   LAYOUT WRAPPERS
--------------------------------- */
.hero,
.page-shell {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 20px 80px;
}

.app-shell {
  position: relative;
  z-index: 2;
  max-width: 1260px;
  margin: 0 auto;
  padding: 34px 20px 80px;
}

.app-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
}

.app-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ---------------------------------
   APP TOPBAR
--------------------------------- */
.app-topbar {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: rgba(7, 15, 28, 0.88);
  border: 1px solid rgba(0, 245, 212, 0.18);
  border-radius: 22px;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.08);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.app-logo,
.app-logo a {
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.55);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 6px rgba(0,245,212,0.5));
}

.app-logo span {
  font-size: 1.35rem;
  letter-spacing: 0.5px;
}

.app-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.app-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s ease;
  padding: 6px 10px;
  border-radius: 10px;
}

.app-nav a:hover,
.app-nav a.active {
  color: var(--purple);
  text-shadow: 0 0 8px rgba(217, 70, 239, 0.7);
  background: rgba(217,70,239,0.08);
}

/* ---------------------------------
   CARD SYSTEM
--------------------------------- */
.hero-card,
.page-card,
.feature-card,
.list-card,
.mini-card,
.pricing-card,
.profile-home-card,
.app-card,
.feed-preview-card,
.request-preview-card,
.listing-card,
.subscription-card,
.profile-master-card,
.utility-circle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: 24px;
  box-shadow: var(--shadow-teal), var(--shadow-purple);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-card,
.page-card {
  padding: 40px;
  margin-bottom: 26px;
}

.profile-home-card,
.app-card,
.feed-preview-card,
.request-preview-card,
.listing-card,
.subscription-card {
  padding: 26px;
}

.feature-card,
.list-card,
.mini-card,
.pricing-card,
.utility-circle-card {
  padding: 24px;
}

.app-card,
.profile-home-card,
.subscription-card,
.feed-preview-card,
.listing-card,
.profile-master-card,
.utility-circle-card,
.request-preview-card,
.pricing-card {
  backdrop-filter: blur(8px);
}

.feature-card h3,
.list-card h3,
.mini-card h3,
.pricing-card h3 {
  color: var(--teal);
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.feature-card p,
.list-card p,
.mini-card p,
.pricing-card p {
  color: var(--text-soft);
  line-height: 1.6;
}

.list-card:hover,
.feed-item:hover,
.pricing-card:hover,
.utility-circle-card:hover,
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 24px rgba(0, 245, 212, 0.18),
    0 0 28px rgba(217, 70, 239, 0.14);
}

/* ---------------------------------
   TYPOGRAPHY
--------------------------------- */
.eyebrow {
  color: var(--purple);
  font-weight: bold;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.hero-card h1,
.page-header h1,
.profile-main-title {
  font-size: 3rem;
  line-height: 1.12;
  margin-bottom: 16px;
}

.page-header {
  margin-bottom: 20px;
}

.page-header h1 {
  margin-bottom: 12px;
}

.subtext,
.page-header p,
.card-text,
.muted {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1.02rem;
}

.subtext {
  max-width: 860px;
  margin-bottom: 28px;
}

.info-line {
  color: var(--text-soft);
  line-height: 1.6;
}

.subtle-note {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-top: 10px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.credit-value {
  color: var(--teal);
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0, 245, 212, 0.35);
}

.token-value {
  color: gold;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.utility-status-healthy {
  color: var(--money);
  text-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.utility-status-warning {
  color: var(--warning);
}

.utility-status-danger {
  color: var(--danger-strong);
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* ---------------------------------
   BUTTONS + ACTION ROWS
--------------------------------- */
.hero-buttons,
.action-bar,
.feed-tags,
.tier-badge-row,
.profile-action-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.action-bar {
  margin-top: 24px;
}

.primary-btn,
.secondary-btn,
.small-btn,
.filter-pill,
.link-btn,
.feed-type-tab {
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.primary-btn {
  background: linear-gradient(90deg, var(--teal), #49ffe8);
  color: #03111e;
  border: none;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.28);
}

.secondary-btn,
.small-btn,
.filter-pill,
.feed-type-tab {
  background: transparent;
  color: var(--purple);
  border: 1px solid var(--purple);
  box-shadow: 0 0 12px rgba(217, 70, 239, 0.16);
}

.secondary-btn {
  padding: 12px 18px;
  font-size: 0.9rem;
}

.primary-btn:hover,
.secondary-btn:hover,
.small-btn:hover,
.filter-pill:hover,
.feed-type-tab:hover {
  transform: translateY(-2px);
}

.link-btn {
  text-align: center;
}

.btn-pay {
  background: linear-gradient(90deg, var(--money), #4ade80);
  color: #02110a;
  font-weight: 800;
  border: none;
  box-shadow: var(--money-glow);
}

.btn-release {
  background: linear-gradient(90deg, #10b981, #34d399);
  color: #02110a;
  font-weight: 800;
  border: none;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.22);
}

.btn-dispute {
  background: transparent;
  border: 1px solid var(--danger-strong);
  color: var(--danger-strong);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.12);
}

.btn-dispute:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* ---------------------------------
   GRID SYSTEMS
--------------------------------- */
.feature-grid,
.card-grid,
.timeline-grid,
.mini-grid,
.pricing-grid {
  display: grid;
  gap: 20px;
}

.feature-grid,
.card-grid,
.timeline-grid,
.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* ---------------------------------
   TAGS / BADGES
--------------------------------- */
.tag,
.tier-badge,
.role-pill,
.profile-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tag {
  background: rgba(0, 245, 212, 0.08);
  color: var(--teal);
  border: 1px solid rgba(0, 245, 212, 0.25);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.tier-badge {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.tier-free {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-main);
}

.tier-black {
  background: rgba(20, 20, 20, 0.88);
  border: 1px solid rgba(255,255,255,0.14);
  color: #ffffff;
}

.tier-green {
  background: rgba(73, 247, 195, 0.12);
  border: 1px solid rgba(73, 247, 195, 0.35);
  color: var(--success);
}

.role-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(217, 70, 239, 0.10);
  border: 1px solid rgba(217, 70, 239, 0.22);
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---------------------------------
   FORMS
--------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  color: var(--teal);
  font-weight: 700;
}

.full-width {
  grid-column: 1 / -1;
}

.search-input,
.select-input,
.textarea-input,
.file-input {
  width: 100%;
  background: rgba(4, 12, 24, 0.96);
  color: var(--text-main);
  border: 1px solid rgba(0, 245, 212, 0.22);
  padding: 14px 16px;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus,
.select-input:focus,
.textarea-input:focus,
.file-input:focus {
  border-color: rgba(0, 245, 212, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.08);
}

.search-input::placeholder,
.textarea-input::placeholder {
  color: #7db8bf;
}

.file-input {
  cursor: pointer;
}

/* ---------------------------------
   NOTES / INFO BOXES
--------------------------------- */
.note-box,
.info-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  color: var(--text-soft);
  line-height: 1.6;
}

.note-box {
  background: rgba(217, 70, 239, 0.08);
  border: 1px solid rgba(217, 70, 239, 0.22);
}

.info-box {
  background: rgba(0, 245, 212, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.22);
}

/* ---------------------------------
   UPLOADS / PREVIEWS
--------------------------------- */
.upload-box {
  border: 1px dashed rgba(0, 245, 212, 0.35);
  border-radius: 18px;
  padding: 20px;
  background: rgba(0, 245, 212, 0.04);
}

.upload-box p {
  color: var(--text-dim);
  margin-top: 10px;
  line-height: 1.5;
}

.live-preview-avatar,
.home-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04111f;
  font-size: 1.7rem;
  font-weight: 800;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.24);
}

.edit-banner-preview {
  width: 100%;
  height: clamp(170px, 24vw, 220px);
  border-radius: 18px;
  border: 1px solid rgba(0,245,212,0.18);
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* ---------------------------------
   FEED / LIST ITEMS
--------------------------------- */
.feed-list,
.listing-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-list {
  margin-top: 14px;
}

.feed-item,
.listing-card {
  background: rgba(4, 12, 24, 0.88);
  border: 1px solid rgba(0, 245, 212, 0.14);
  border-radius: 18px;
  padding: 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feed-item-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.feed-item h3 {
  color: var(--teal);
  font-size: 1.08rem;
}

.feed-meta {
  color: var(--purple);
  font-weight: 700;
  font-size: 0.92rem;
}

.feed-item p,
.listing-card p {
  color: var(--text-soft);
  line-height: 1.55;
}

/* ---------------------------------
   CHECKLISTS
--------------------------------- */
.check-list {
  margin-top: 10px;
  padding-left: 18px;
}

.check-list li {
  color: var(--text-soft);
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ---------------------------------
   PRICING / DIVIDERS
--------------------------------- */
.pricing-card.featured {
  border-color: rgba(217, 70, 239, 0.45);
  box-shadow: 0 0 24px rgba(217, 70, 239, 0.14);
}

.big-price {
  font-size: 2rem;
  color: var(--teal);
  font-weight: 800;
  margin: 10px 0 8px;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,245,212,0.25), transparent);
  margin: 26px 0;
}

/* ---------------------------------
   MODALS
--------------------------------- */
.rdii-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 18, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.rdii-modal-overlay.show {
  display: flex;
}

.rdii-modal-card {
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(8, 18, 34, 0.98);
  border: 1px solid rgba(0, 245, 212, 0.22);
  border-radius: 24px;
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.14), 0 0 28px rgba(217, 70, 239, 0.1);
  padding: 24px;
}

.rdii-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.rdii-modal-header h2 {
  color: var(--teal);
  font-size: 1.45rem;
}

.rdii-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(217, 70, 239, 0.28);
  background: transparent;
  color: var(--purple);
  font-size: 1.4rem;
  cursor: pointer;
}

.rdii-modal-body {
  color: var(--text-soft);
  line-height: 1.7;
}

.rdii-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.modal-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

body.modal-open {
  overflow: hidden;
}

/* =========================
   PROFILE LAYOUT
========================= */
.profile-master-card {
  padding: 24px;
  border-radius: 28px;
  margin-bottom: 22px;
}

.profile-top-row {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 22px;
  align-items: start;
}

.profile-top-left,
.profile-top-right {
  min-width: 0;
}

.profile-avatar-name-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.profile-master-avatar {
  width: 92px;
  height: 92px;
  min-width: 92px;
  font-size: 1.55rem;
  border: 3px solid rgba(0,245,212,0.18);
  box-shadow:
    0 0 16px rgba(0,245,212,0.18),
    0 0 16px rgba(217,70,239,0.10);
}

.profile-name-stack {
  flex: 1;
  min-width: 0;
}

.profile-name-tier-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-name-tier-row h1 {
  margin: 0;
  font-size: 2.15rem;
  line-height: 1.05;
}

.profile-master-headline {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 580px;
}

.profile-master-banner {
  width: 100%;
  height: clamp(150px, 18vw, 205px);
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0,245,212,0.16);
  background:
    radial-gradient(circle at 20% 30%, rgba(0,245,212,0.12), transparent 30%),
    radial-gradient(circle at 80% 40%, rgba(217,70,239,0.12), transparent 32%),
    linear-gradient(135deg, #050914 0%, #071326 45%, #0a1430 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(18px) brightness(0.40);
  transform: scale(1.08);
  opacity: 0.85;
}

.profile-master-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 25%, rgba(255,255,255,0.85), transparent),
    radial-gradient(1px 1px at 78% 12%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.2px 1.2px at 45% 60%, rgba(0,245,212,0.55), transparent),
    radial-gradient(1.4px 1.4px at 88% 72%, rgba(217,70,239,0.55), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1.1px 1.1px at 60% 35%, rgba(255,255,255,0.65), transparent);
  opacity: 0.34;
  z-index: 1;
  pointer-events: none;
}

.profile-master-banner img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.profile-info-mega-box {
  margin-top: 22px;
  background: rgba(4, 12, 24, 0.84);
  border: 1px solid rgba(0,245,212,0.14);
  border-radius: 22px;
  padding: 20px;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1fr;
  gap: 18px;
}

.profile-info-block {
  background: rgba(7, 15, 28, 0.90);
  border: 1px solid rgba(0,245,212,0.12);
  border-radius: 18px;
  padding: 18px;
  min-height: 100%;
}

.profile-info-block h2 {
  font-size: 1.05rem;
  color: var(--teal);
  margin-bottom: 10px;
}

.profile-info-block p {
  color: var(--text-soft);
  line-height: 1.65;
}

.profile-links-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.compact-links-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-link-chip {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(4, 12, 24, 0.88);
  border: 1px solid rgba(0,245,212,0.18);
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.profile-link-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(217,70,239,0.28);
  color: var(--purple);
}

.rebuilt-stats-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  align-items: center;
}

.profile-stat-box,
.profile-strength-box {
  background: rgba(4, 12, 24, 0.84);
  border: 1px solid rgba(0,245,212,0.14);
  border-radius: 16px;
  padding: 14px 16px;
}

.profile-stat-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.82rem;
  margin-bottom: 7px;
}

.profile-stat-box strong {
  color: var(--text-main);
  font-size: 1.18rem;
}

.profile-strength-box {
  min-height: 66px;
  display: flex;
  align-items: center;
}

.profile-strength-meter {
  width: 100%;
  height: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}

.profile-strength-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  box-shadow: 0 0 16px rgba(0,245,212,0.22);
  transition: width 0.25s ease;
}

/* =========================
   POW
========================= */
.pow-editor-preview-card,
.profile-pow-live-card {
  background: rgba(4, 12, 24, 0.88);
  border: 1px solid rgba(0,245,212,0.14);
  border-radius: 20px;
  padding: 18px;
  margin-top: 16px;
}

.pow-editor-preview-header,
.profile-pow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pow-editor-profile-row,
.profile-pow-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pow-editor-avatar,
.profile-pow-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04111f;
  font-weight: 800;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid rgba(0,245,212,0.14);
}

.pow-editor-name-stack,
.profile-pow-name-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pow-editor-name-stack strong,
.profile-pow-name-stack strong {
  color: var(--text-main);
  font-size: 1rem;
}

.pow-editor-image-grid,
.profile-pow-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pow-preview-image,
.profile-pow-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid rgba(0,245,212,0.14);
  background: rgba(7, 15, 28, 0.88);
}

.profile-pow-body p,
.pow-editor-preview-card .info-line {
  line-height: 1.7;
}

/* =========================
   FEED PAGE
========================= */
.feed-controls-shell {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-search-row {
  width: 100%;
}

.feed-type-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.feed-type-tab.active {
  background: linear-gradient(90deg, var(--teal), #49ffe8);
  color: #03111e;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.24);
}

.feed-filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.feed-filter-row .filter-pill.active {
  background: rgba(0, 245, 212, 0.12);
  color: var(--teal);
  border-color: rgba(0, 245, 212, 0.35);
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.12);
}

/* =========================
   AGREEMENT ROOM
========================= */
.agreement-room-header-card {
  padding: 28px;
  border-radius: 28px;
  margin-bottom: 22px;
}

.agreement-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 22px;
}

.agreement-left-column,
.agreement-right-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.agreement-summary-grid .mini-card,
.inbox-summary-grid .mini-card,
.moderator-summary-grid .mini-card {
  min-height: 100%;
}

.agreement-summary-grid .mini-card p,
.inbox-summary-grid .mini-card p,
.moderator-summary-grid .mini-card p {
  color: var(--text-soft);
  line-height: 1.55;
}

.agreement-chat-list {
  max-height: 360px;
  min-height: 180px;
  overflow-y: auto;
  padding-right: 4px;
}

.agreement-chat-list::-webkit-scrollbar {
  width: 10px;
}

.agreement-chat-list::-webkit-scrollbar-thumb {
  background: rgba(0, 245, 212, 0.18);
  border-radius: 999px;
}

.agreement-chat-list::-webkit-scrollbar-track {
  background: transparent;
}

.agreement-checklist-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agreement-checklist-group {
  display: grid;
  gap: 12px;
}

.agreement-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 245, 212, 0.14);
  background: rgba(4, 12, 24, 0.82);
}

.agreement-check-item input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--teal);
}

.agreement-check-item label {
  color: var(--text-soft);
  line-height: 1.5;
  font-weight: 600;
}

.hidden-by-role {
  display: none !important;
}

/* =========================
   INBOX
========================= */
.inbox-header-card {
  padding: 28px;
  border-radius: 28px;
  margin-bottom: 22px;
}

/* =========================
   MODERATOR DASHBOARD
========================= */
.moderator-header-card {
  padding: 28px;
  border-radius: 28px;
  margin-bottom: 22px;
}

.moderator-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.moderator-stat-card {
  background: rgba(4, 12, 24, 0.88);
  border: 1px solid rgba(0, 245, 212, 0.14);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.moderator-stat-label {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.moderator-stat-card strong {
  color: var(--teal);
  font-size: 1.7rem;
  line-height: 1;
}

/* =========================
   UTILITIES PAGE
========================= */
.utilities-hero-card {
  overflow: hidden;
}

.utilities-circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}

.utility-circle-card {
  text-align: center;
  position: relative;
}

.utility-circle-card::after,
.utility-dial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 30px rgba(0,245,212,0.06);
  pointer-events: none;
}

.utility-circle-card h3 {
  color: var(--teal);
  margin-bottom: 16px;
}

.utility-ring {
  --ring-percent: 50;
  width: 170px;
  height: 170px;
  margin: 0 auto 16px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}

.utility-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      rgba(0, 245, 212, 0.95) calc(var(--ring-percent) * 1%),
      rgba(255,255,255,0.08) 0
    );
  box-shadow: 0 0 22px rgba(0,245,212,0.18);
}

.utility-ring-purple::before {
  background:
    conic-gradient(
      rgba(217, 70, 239, 0.95) calc(var(--ring-percent) * 1%),
      rgba(255,255,255,0.08) 0
    );
  box-shadow: 0 0 22px rgba(217,70,239,0.18);
}

.utility-ring-mix::before {
  background:
    conic-gradient(
      rgba(0, 245, 212, 0.95) 0,
      rgba(217, 70, 239, 0.95) calc(var(--ring-percent) * 1%),
      rgba(255,255,255,0.08) 0
    );
  box-shadow: 0 0 22px rgba(217,70,239,0.18);
}

.utility-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #071326, #030814);
  border: 1px solid rgba(255,255,255,0.06);
  z-index: 1;
}

.utility-ring-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.utility-ring-inner strong {
  font-size: 1.6rem;
  color: var(--text-main);
}

.utility-ring-inner span {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.utility-dial-card {
  overflow: hidden;
  position: relative;
}

.utility-dial-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.utility-dial {
  width: 280px;
  height: 150px;
  position: relative;
  overflow: hidden;
}

.utility-dial-arc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 280px;
  border-radius: 50%;
  border: 18px solid rgba(255,255,255,0.08);
  border-bottom: none;
  background:
    linear-gradient(to right,
      rgba(255, 107, 138, 0.85),
      rgba(255, 196, 87, 0.90),
      rgba(0, 245, 212, 0.95)
    );
  clip-path: inset(0 0 50% 0);
  filter: drop-shadow(0 0 16px rgba(0,245,212,0.15));
}

.utility-dial-needle {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 4px;
  height: 96px;
  background: linear-gradient(180deg, var(--teal), #ffffff);
  transform-origin: bottom center;
  transform: translateX(-50%) rotate(32deg);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0,245,212,0.35);
  z-index: 3;
}

.utility-dial-center {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(180deg, #071326, #030814);
  border: 1px solid rgba(0,245,212,0.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 18px rgba(0,245,212,0.12);
  z-index: 4;
}

.utility-dial-center strong {
  color: var(--text-main);
  font-size: 1rem;
}

.utility-dial-center span {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.utility-dial-labels {
  width: 280px;
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.utility-bar-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.utility-bar-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.utility-bar-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
}

.utility-bar-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.utility-bar-fill {
  height: 100%;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0,245,212,0.35);
}

.utility-bar-fill-teal {
  background: linear-gradient(90deg, var(--teal), #49ffe8);
}

.utility-bar-fill-purple {
  background: linear-gradient(90deg, #a855f7, var(--purple));
}

.utility-bar-fill-mix {
  background: linear-gradient(90deg, var(--teal), var(--purple));
}

/* ---------------------------------
   RESPONSIVE
--------------------------------- */
@media (max-width: 1180px) {
  .profile-top-row {
    grid-template-columns: 1fr;
  }

  .profile-info-grid {
    grid-template-columns: 1fr;
  }

  .rebuilt-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .app-grid,
  .agreement-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .nav {
    justify-content: center;
  }

  .app-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .app-nav {
    justify-content: flex-start;
  }

  .hero-card h1,
  .page-header h1,
  .profile-main-title {
    font-size: 2.1rem;
  }

  .hero-card,
  .page-card {
    padding: 26px;
  }

  .profile-master-card {
    padding: 18px;
  }

  .profile-avatar-name-row {
    gap: 14px;
  }

  .profile-master-avatar {
    width: 78px;
    height: 78px;
    min-width: 78px;
    font-size: 1.3rem;
  }

  .profile-name-tier-row h1 {
    font-size: 1.8rem;
  }

  .profile-master-banner {
    height: 150px;
  }

  .rebuilt-stats-row {
    grid-template-columns: 1fr;
  }

  .pow-editor-image-grid,
  .profile-pow-image-grid {
    grid-template-columns: 1fr;
  }

  .utility-ring {
    width: 145px;
    height: 145px;
  }

  .utility-dial {
    width: 240px;
  }

  .utility-dial-labels {
    width: 240px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .app-logo span {
    font-size: 1.2rem;
  }
}

/* =========================================
   FINAL PRODUCTION PATCH (LOCK + STATES)
========================================= */

/* ---------------------------------
   BUTTON LOCK / LOADING STATE
--------------------------------- */
button:disabled,
.primary-btn:disabled,
.secondary-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.75;
}

.btn-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top: 2px solid var(--teal);
  border-radius: 50%;
  position: absolute;
  right: 12px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------------------------------
   STATUS BADGES (AGREEMENT STATES)
--------------------------------- */
.status-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* contract states */
.status-draft {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-soft);
}

.status-locked {
  background: rgba(0,245,212,0.12);
  border: 1px solid rgba(0,245,212,0.35);
  color: var(--teal);
}

.status-funded {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.35);
  color: var(--money);
}

.status-released {
  background: rgba(16,185,129,0.18);
  border: 1px solid rgba(16,185,129,0.4);
  color: #10b981;
}

.status-dispute {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.4);
  color: var(--danger-strong);
}

/* ---------------------------------
   AGREEMENT ALERT BOXES
--------------------------------- */
.agreement-alert {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 12px;
}

.alert-info {
  background: rgba(0,245,212,0.06);
  border: 1px solid rgba(0,245,212,0.25);
  color: var(--text-soft);
}

.alert-success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.35);
  color: var(--money);
}

.alert-warning {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--warning);
}

.alert-danger {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.4);
  color: var(--danger-strong);
}

/* ---------------------------------
   AGREEMENT LOCK STATE (CRITICAL UX)
--------------------------------- */
.contract-locked {
  position: relative;
}

.contract-locked::after {
  content: "🔒 Contract Locked";
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 0.75rem;
  color: var(--teal);
  background: rgba(0,245,212,0.12);
  border: 1px solid rgba(0,245,212,0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

/* disable inputs when locked */
.contract-locked input,
.contract-locked textarea,
.contract-locked select {
  opacity: 0.6;
  pointer-events: none;
}

/* ---------------------------------
   FRAUD / RESTRICTED USER VISUAL
--------------------------------- */
.user-restricted {
  opacity: 0.6;
  filter: grayscale(0.4);
  position: relative;
}

.user-restricted::after {
  content: "RESTRICTED";
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(239,68,68,0.85);
  color: white;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ---------------------------------
   CREDIT / TOKEN EMPHASIS
--------------------------------- */
.credit-highlight {
  font-weight: 800;
  color: var(--teal);
  text-shadow: 0 0 10px rgba(0,245,212,0.35);
}

.burn-highlight {
  color: gold;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255,215,0,0.4);
}

/* ---------------------------------
   CHAT IMPROVEMENT (AGREEMENT)
--------------------------------- */
.chat-message {
  padding: 10px 14px;
  border-radius: 12px;
  margin-bottom: 8px;
  max-width: 85%;
}

.chat-user {
  background: rgba(0,245,212,0.08);
  border: 1px solid rgba(0,245,212,0.25);
  align-self: flex-end;
}

.chat-other {
  background: rgba(217,70,239,0.08);
  border: 1px solid rgba(217,70,239,0.25);
  align-self: flex-start;
}

/* ---------------------------------
   SCROLLBAR POLISH
--------------------------------- */
*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(0,245,212,0.2);
  border-radius: 999px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------------------------------
   MICRO INTERACTIONS (FEEL PREMIUM)
--------------------------------- */
.primary-btn,
.secondary-btn {
  transition: all 0.18s ease;
}

.primary-btn:active,
.secondary-btn:active {
  transform: scale(0.97);
}

/* subtle glow hover */
.feed-item:hover,
.app-card:hover,
.subscription-card:hover {
  box-shadow:
    0 0 26px rgba(0,245,212,0.16),
    0 0 30px rgba(217,70,239,0.12);
}

/* ---------------------------------
   AGREEMENT NOTES UPGRADE
--------------------------------- */
.agreement-notes-group {
  position: relative;
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.notes-hint {
  font-size: 0.75rem;
  color: var(--text-soft);
  opacity: 0.7;
}

.agreement-notes-input {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.notes-footer {
  margin-top: 6px;
}

.notes-tip {
  font-size: 0.75rem;
  color: var(--teal);
  opacity: 0.8;
}

/* ---------------------------------
   ACTION BAR POLISH
--------------------------------- */
.agreement-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.save-draft-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.draft-status {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* =========================================
   MERGED RDII TOKEN + RDII NETWORK LANDING
========================================= */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  z-index: 10000;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  box-shadow: 0 0 14px rgba(0,245,212,0.65);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(3, 8, 20, 0.84);
  border-bottom: 1px solid rgba(0,245,212,0.16);
  backdrop-filter: blur(14px);
}

.site-header .nav {
  min-height: 82px;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,245,212,0.45));
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  color: var(--teal);
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(0,245,212,0.45);
}

.brand-text span {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--teal);
  border: 1px solid rgba(0,245,212,0.3);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 1.25rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal);
  text-shadow: 0 0 8px rgba(0,245,212,0.45);
}

.nav-enter {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), #49ffe8);
  color: #03111e !important;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0,245,212,0.25);
}

.merged-hero {
  max-width: none;
  padding: 34px 0 90px;
}

.hero-banner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 40px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0,245,212,0.22);
  box-shadow: 0 0 26px rgba(0,245,212,0.12), 0 0 34px rgba(217,70,239,0.10);
  background: rgba(4,12,24,0.75);
}

.hero-banner img {
  width: 100%;
  display: block;
}

.hero-intro {
  text-align: center;
}

.hero-intro h1 {
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  line-height: 0.98;
  max-width: 980px;
  margin: 0 auto 22px;
  letter-spacing: -2px;
}

.hero-intro p {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  font-weight: 800;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--teal), #49ffe8);
  color: #03111e;
  box-shadow: 0 0 18px rgba(0,245,212,0.28);
}

.btn-secondary {
  background: rgba(217,70,239,0.08);
  color: var(--purple);
  border: 1px solid rgba(217,70,239,0.34);
  box-shadow: 0 0 14px rgba(217,70,239,0.12);
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.pillar-card,
.card,
.quote-card,
.long-view-box {
  background: var(--bg-card);
  border: 1px solid rgba(0,245,212,0.18);
  border-radius: 24px;
  box-shadow: var(--shadow-teal), var(--shadow-purple);
  backdrop-filter: blur(8px);
}

.pillar-card {
  padding: 20px;
  text-align: left;
}

.pillar-card strong {
  display: block;
  color: var(--teal);
  margin-bottom: 8px;
}

.pillar-card span {
  color: var(--text-soft);
  line-height: 1.55;
}

.section {
  position: relative;
  z-index: 2;
  padding: 84px 0;
}

.section-head {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(0,245,212,0.08);
  border: 1px solid rgba(0,245,212,0.22);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 1.05rem;
}

.structure-grid,
.mechanics-grid,
.community-grid,
.links-grid,
.foundation-grid {
  display: grid;
  gap: 20px;
}

.structure-grid,
.mechanics-grid {
  grid-template-columns: repeat(4, 1fr);
}

.community-grid,
.links-grid,
.foundation-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 24px;
}

.card h3 {
  color: var(--teal);
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.card p,
.card li {
  color: var(--text-soft);
  line-height: 1.65;
}

.bullet-list {
  padding-left: 18px;
}

.bullet-list li {
  margin-bottom: 10px;
}

.token-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(217,70,239,0.10), transparent 34%),
    radial-gradient(circle at 80% 60%, rgba(0,245,212,0.08), transparent 30%);
}

.story-block {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: 28px;
  align-items: center;
  background: rgba(4,12,24,0.76);
  border: 1px solid rgba(0,245,212,0.16);
  border-radius: 28px;
  padding: 28px;
}

.story-block.reverse {
  grid-template-columns: 1.2fr 0.95fr;
}

.story-block.reverse .story-image {
  order: 2;
}

.story-image {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(3,8,20,0.75);
  border: 1px solid rgba(0,245,212,0.16);
  display: grid;
  place-items: center;
}

.story-image img {
  width: 100%;
  display: block;
}

.series-coin-image {
  padding: 28px;
}

.series-coin-image img {
  max-width: 360px;
  filter: drop-shadow(0 0 20px rgba(0,245,212,0.22));
}

.story-text h3 {
  color: var(--teal);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.story-text p {
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 14px;
}

.status {
  display: inline-flex;
  margin-top: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.86rem;
}

.status.tradable {
  color: var(--success);
  background: rgba(73,247,195,0.10);
  border: 1px solid rgba(73,247,195,0.32);
}

.status.nontradable {
  color: var(--warning);
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.32);
}

.coin-panel {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
}

.coin-panel img {
  max-width: 230px;
  width: 100%;
  filter: drop-shadow(0 0 18px rgba(0,245,212,0.22));
}

.mint-tag {
  color: var(--purple);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.quote-card {
  padding: 28px;
  margin-top: 24px;
  text-align: center;
}

.quote-card blockquote {
  color: var(--text-main);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.2;
  font-weight: 800;
}

.center-cta {
  margin-top: 34px;
  text-align: center;
  padding: 34px;
  border-radius: 28px;
  background: rgba(7,15,28,0.88);
  border: 1px solid rgba(217,70,239,0.22);
  box-shadow: 0 0 28px rgba(217,70,239,0.10);
}

.center-cta h3 {
  color: var(--teal);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.center-cta p {
  color: var(--text-soft);
}

.link-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-pill {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(4,12,24,0.84);
  border: 1px solid rgba(0,245,212,0.14);
}

.link-pill strong {
  color: var(--teal);
}

.link-pill span {
  color: var(--text-soft);
  overflow-wrap: anywhere;
}

.contact-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(0,245,212,0.06);
  border: 1px solid rgba(0,245,212,0.18);
}

.contact-box h4 {
  color: var(--teal);
  margin-bottom: 8px;
}

.contact-link {
  color: var(--purple);
  font-weight: 800;
}

.long-view {
  padding-top: 40px;
}

.long-view-box {
  text-align: center;
  padding: clamp(30px, 5vw, 56px);
}

.long-view-box h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.long-view-box p {
  max-width: 840px;
  margin: 0 auto 14px;
  color: var(--text-soft);
  line-height: 1.75;
}

.footer {
  position: relative;
  z-index: 2;
  padding: 34px 0;
  border-top: 1px solid rgba(0,245,212,0.14);
  background: rgba(3,8,20,0.7);
}

.footer-box {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--text-soft);
  line-height: 1.5;
}

.footer-box strong {
  color: var(--teal);
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

/* Mobile landing */
@media (max-width: 1100px) {
  .structure-grid,
  .mechanics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-header .nav {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 16px 0 6px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(4,12,24,0.75);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .site-header .nav {
    align-items: center;
  }

  .story-block,
  .story-block.reverse,
  .community-grid,
  .links-grid,
  .foundation-grid {
    grid-template-columns: 1fr;
  }

  .story-block.reverse .story-image {
    order: 0;
  }

  .structure-grid,
  .mechanics-grid {
    grid-template-columns: 1fr;
  }

  .hero-intro h1 {
    letter-spacing: -1px;
  }

  .footer-box {
    flex-direction: column;
  }

  .link-pill {
    flex-direction: column;
  }
}