/* Style Academy Club — Global Theme (styleacademy-style.css)
 * Strict adherence to GLOBAL_THEME.md:
 * bg=#000 fg=#fff card=#fff border=#787878 accent=#ebd05f accent-deep=#b6800f
 * muted=#aaa text-card=#333 tag=#f5f0e0
 * Font: 'Montserrat', system-ui, sans-serif & 'Georgia', serif
 * NEVER use green (#238636).
 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&subset=latin,cyrillic&display=swap');

:root {
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-serif: 'Georgia', serif;
  --bg: #000000;
  --bg-elevated: #0c0c0c;
  --fg: #ffffff;
  --card: #ffffff;
  --border: #787878;
  --border-light: #e2dfd7;
  --accent: #ebd05f;
  --accent-deep: #b6800f;
  --gold-gradient: linear-gradient(0turn, rgba(235, 208, 95, 1) 0%, rgba(182, 128, 15, 1) 100%);
  --gold-gradient-hover: linear-gradient(0turn, rgba(255, 209, 102, 1) 0%, rgba(201, 154, 47, 1) 100%);
  --text-card: #333333;
  --text-card-bold: #111111;
  --muted: #aaaaaa;
  --muted-card: #666666;
  --tag-bg: #f5f0e0;
  --tag-text: #8a6e23;
  --danger-bg: #3a1a1a;
  --danger-border: #d9534f;
  --danger-text: #ff8b88;
}

* {
  font-family: var(--font);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--fg);
  line-height: 1.45;
  letter-spacing: 0.01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Navigation Bar */
.navbar {
  background: #050505;
  border-bottom: 1px solid #262626;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.brand-title {
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-sub {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--fg);
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  transition: 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(235, 208, 95, 0.08);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wallet-pill {
  background: #141414;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.role-pill {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Layout & Containers */
.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  flex: 1;
}

.container-narrow {
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
  flex: 1;
}

.page-header {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid #222;
  padding-bottom: 1.5rem;
}

h1 {
  font-weight: 200;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0.35rem;
  line-height: 1.15;
}

h1 span.serif {
  font-family: var(--font-serif);
  color: var(--accent);
  font-weight: 400;
}

h2 {
  font-weight: 300;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
}

h3 {
  font-weight: 500;
  font-size: 1.35rem;
  background: var(--gold-gradient);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.25;
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

/* White Cards per GLOBAL_THEME.md */
.card {
  background: var(--card);
  color: var(--text-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 30px rgba(255, 255, 255, 0.05);
}

.card-dark {
  background: #0d0d0d;
  color: var(--fg);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card p {
  font-size: 0.96rem;
  color: var(--text-card);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.card strong {
  font-weight: 600;
  color: var(--text-card-bold);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-card-bold);
  margin-bottom: 0.5rem;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-box {
  background: #0e0e0e;
  border: 1px solid #2e2e2e;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 300;
  background: var(--gold-gradient);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.35rem;
}

/* Tags & Badges (NO GREEN ALLOWED) */
.tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 0.35rem;
  margin-bottom: 0.35rem;
}

.tag-gold {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
}

.tag-dark {
  background: #1a1a1a;
  color: var(--accent);
  border: 1px solid #444;
}

.tag-alert {
  background: #fbe9e7;
  color: #b71c1c;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #111111;
  color: var(--accent);
  border: 1px solid var(--accent-deep);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-card-bold);
  margin-bottom: 0.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-dark label {
  color: var(--accent);
}

input[type="text"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-card);
  background: #fdfcf8;
  transition: 0.2s;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(235, 208, 95, 0.25);
}

/* Buttons */
button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  background: var(--gold-gradient);
  color: #000000;
  border: none;
  border-radius: 6px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
  box-shadow: 0 2px 8px rgba(235, 208, 95, 0.2);
}

button:hover,
.btn:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 4px 12px rgba(235, 208, 95, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-card-bold);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-outline:hover {
  background: #f5f0e0;
  border-color: var(--accent-deep);
  box-shadow: none;
}

.btn-dark {
  background: #141414;
  color: var(--accent);
  border: 1px solid var(--accent-deep);
  box-shadow: none;
}

.btn-dark:hover {
  background: #222222;
  color: #fff;
}

.btn-danger {
  background: #8c2323;
  color: #fff;
  box-shadow: none;
}

.btn-danger:hover {
  background: #a82a2a;
}

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

/* Alerts / Status Boxes (Gold & Dark instead of Green) */
.status-box {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status-box.ok {
  background: #1a1608;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.status-box.fail {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
}

/* Filter Tabs */
.tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.tab-link {
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid #333;
  color: var(--muted);
  background: #0d0d0d;
  transition: 0.2s;
}

.tab-link:hover,
.tab-link.active {
  background: var(--gold-gradient);
  color: #000;
  border-color: transparent;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 0.85rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-card);
}

th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-card);
  font-weight: 600;
}

/* Links & Utilities */
.ref-link {
  color: var(--accent-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-deep);
  font-weight: 500;
  transition: 0.2s;
}

.ref-link:hover {
  color: #000;
}

.small {
  font-size: 0.8rem;
  color: var(--muted);
}

.card .small {
  color: var(--muted-card);
}

.divider {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 1.25rem 0;
}

.nft-preview {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #111;
  margin-bottom: 0.75rem;
}

.contact-reveal {
  background: #f5f0e0;
  border-left: 4px solid var(--accent-deep);
  padding: 0.9rem 1.1rem;
  border-radius: 6px;
  margin: 0.85rem 0;
  color: var(--text-card-bold);
}

footer {
  border-top: 1px solid #1a1a1a;
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
}

/* SuperAdmin Mode Switcher & Topbar */
.admin-topbar {
  background: #090909;
  border-bottom: 1px solid #262626;
  padding: 0.55rem 2rem;
  position: sticky;
  top: 0;
  z-index: 105;
}

.admin-topbar-admin {
  background: #110d05;
  border-bottom: 1px solid var(--accent-deep);
}

.admin-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-badge-gold {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-mode-pill {
  font-size: 0.8rem;
  color: #f0f0f0;
}

.admin-impersonate-pill {
  background: #2a1b00;
  color: var(--accent);
  border: 1px solid var(--accent-deep);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 500;
}

.admin-btn-action {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.38rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  background: #191919;
  color: #ffffff;
  border: 1px solid #3d3d3d;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-btn-action:hover {
  background: #282828;
  border-color: var(--accent);
  color: var(--accent);
}

.admin-btn-gold {
  background: var(--gold-gradient);
  color: #000000;
  border: none;
  box-shadow: 0 2px 6px rgba(235, 208, 95, 0.2);
}

.admin-btn-gold:hover {
  background: var(--gold-gradient-hover);
  color: #000000;
  box-shadow: 0 3px 10px rgba(235, 208, 95, 0.35);
}

.admin-topbar-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 500;
  transition: 0.2s;
}

.admin-topbar-link:hover {
  text-decoration: underline;
  color: #fff;
}

/* Admin Center Wings & Dashboard */
.admin-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.admin-wing-card {
  background: var(--card);
  color: var(--text-card);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.2s;
}

.admin-wing-card:hover {
  border-color: var(--accent-deep);
  box-shadow: 0 6px 30px rgba(235, 208, 95, 0.12);
}

.admin-wing-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.admin-wing-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-card-bold);
  font-family: var(--font-serif);
  margin-top: 0.4rem;
}

.admin-feature-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
}

.admin-feature-list li {
  font-size: 0.92rem;
  color: var(--text-card);
  padding: 0.4rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  border-bottom: 1px dashed var(--border-light);
}

.admin-feature-list li:last-child {
  border-bottom: none;
}

.admin-feature-icon {
  color: var(--accent-deep);
  font-weight: 700;
}

.hero-view-card {
  background: #0d0d0d;
  color: var(--fg);
  border: 2px solid var(--accent-deep);
  border-radius: 16px;
  padding: 2.25rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-view-info h3 {
  margin-bottom: 0.4rem;
}

.hero-view-info p {
  color: #cccccc;
  margin: 0;
  font-size: 0.96rem;
  max-width: 650px;
}

/* Segmented Mode Switcher (Super vs Member with Superpowers) */
.mode-segmented-control {
  display: inline-flex;
  align-items: center;
  background: #141414;
  border: 1px solid #383838;
  border-radius: 30px;
  padding: 4px;
  gap: 4px;
}

.mode-segment-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  transition: 0.2s;
  letter-spacing: 0.03em;
}

.mode-segment-btn:hover {
  color: #fff;
  background: #242424;
}

.mode-segment-btn.active {
  background: var(--gold-gradient);
  color: #000000;
  box-shadow: 0 2px 8px rgba(235, 208, 95, 0.35);
  font-weight: 700;
}

.superpower-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(90deg, #2e1d03 0%, #151004 100%);
  color: var(--accent);
  border: 1px solid var(--accent-deep);
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.superpower-box {
  background: #130f06;
  border: 1px dashed var(--accent-deep);
  border-radius: 10px;
  padding: 0.9rem 1.25rem;
  margin: 0.85rem 0;
  color: #ffffff;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mode-mini-toggle {
  display: inline-flex;
  align-items: center;
  background: #0f0f0f;
  border: 1px solid #333333;
  border-radius: 999px;
  padding: 2px;
  font-size: 0.72rem;
  line-height: 1;
}

.mode-mini-btn {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  color: #777777;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.mode-mini-btn:hover {
  color: #ffffff;
}

.mode-mini-btn.active {
  background: var(--gold-gradient);
  color: #000000;
  font-weight: 700;
}


