/* ==========================================================================
   MIRACLELAB.CLUB - CYBERPUNK DARK ELITE MINIMALIST CSS
   ========================================================================== */

:root {
  --bg-syndicate: #040308;
  --bg-surface: #0a0614;
  --bg-card: #100a20;
  
  --emerald-neon: #00ffa3;
  --purple-neon: #8a2be2;
  --gold-neon: #ffb800;
  --cyan-neon: #00f0ff;
  
  --text-main: #ffffff;
  --text-slate: #cbd5e1;
  --text-muted: #8b85a3;
  --text-dim: #544e6d;
  
  --border-cyber: #1e1338;
  --border-neon: rgba(0, 255, 163, 0.4);
  
  --font-display: 'Cabinet Grotesk', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body.bg-syndicate {
  background-color: var(--bg-syndicate);
  color: var(--text-slate);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--emerald-neon);
  color: #000;
  padding: 8px 16px;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: 16px; }

/* Cyber Grid Backdrop */
.cyber-grid-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(138, 43, 226, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 255, 163, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.8;
}

.page-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

/* Floating Cyber Nav */
.guild-floating-nav {
  position: sticky;
  top: 20px;
  z-index: 1000;
  background: rgba(10, 6, 20, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-cyber);
  border-radius: 999px;
  padding: 10px 24px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.guild-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.guild-crest-glyph {
  color: var(--emerald-neon);
  font-size: 1.4rem;
}
.guild-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
}
.guild-nav-links {
  display: flex;
  gap: 24px;
}
.g-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.g-link:hover { color: var(--emerald-neon); }

/* Buttons */
.btn-neon-emerald {
  background: rgba(0, 255, 163, 0.1);
  border: 1px solid var(--emerald-neon);
  color: var(--emerald-neon);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-neon-emerald:hover {
  background: var(--emerald-neon);
  color: #000;
}
.beacon-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-neon);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.7); }
}

.btn-neon-primary {
  background: var(--emerald-neon);
  color: #040308;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.4);
  transition: all 0.2s;
}
.btn-neon-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.6);
}
.btn-ghost-cyber {
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid var(--purple-neon);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost-cyber:hover {
  background: rgba(138, 43, 226, 0.3);
}

/* HERO SECTION */
.hero-cinematic {
  padding: 100px 0 70px;
  text-align: center;
}
.hero-center-content {
  max-width: 860px;
  margin: 0 auto;
}
.guild-cohort-badge {
  display: inline-block;
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid var(--purple-neon);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald-neon);
  margin-bottom: 24px;
}
.hero-center-title {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-center-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.guild-telemetry-strip {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-cyber);
  padding: 16px 36px;
  border-radius: 999px;
}
.tel-item { display: flex; flex-direction: column; }
.tel-val { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 800; color: #fff; }
.tel-lbl { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); }
.tel-div { width: 1px; height: 30px; background: var(--border-cyber); }

/* SECTIONS */
.section-guild {
  padding: 80px 0;
}
.bg-syndicate-dark {
  background: #030206;
  border-top: 1px solid var(--border-cyber);
  border-bottom: 1px solid var(--border-cyber);
}
.guild-section-head { margin-bottom: 48px; }
.guild-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-neon);
  display: block;
  margin-bottom: 8px;
}
.guild-title {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.guild-sub { color: var(--text-muted); font-size: 1rem; }
.text-center { text-align: center; }

/* Holographic Clearance Cards */
.clearance-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.holo-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-cyber);
  border-radius: 20px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.holo-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-neon);
}
.featured-holo {
  border-color: var(--gold-neon);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.05) 0%, var(--bg-surface) 100%);
  box-shadow: 0 0 30px rgba(255, 184, 0, 0.15);
}
.obsidian-holo {
  border-color: var(--purple-neon);
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.08) 0%, var(--bg-surface) 100%);
}
.holo-header { margin-bottom: 24px; }
.holo-tier-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-neon);
  display: block;
  margin-bottom: 6px;
}
.text-gold { color: var(--gold-neon) !important; }
.text-purple { color: var(--purple-neon) !important; }
.holo-tier-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.holo-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
}
.holo-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 0.88rem;
}
.holo-perks li { color: var(--text-slate); }
.disabled-perk { color: var(--text-dim) !important; text-decoration: line-through; }
.btn-card-holo {
  background: #000;
  border: 1px solid var(--border-cyber);
  color: #fff;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  display: block;
  transition: all 0.2s;
}
.btn-card-holo:hover {
  background: var(--emerald-neon);
  color: #000;
  border-color: var(--emerald-neon);
}
.purple-btn:hover {
  background: var(--purple-neon) !important;
  color: #fff !important;
  border-color: var(--purple-neon) !important;
}

/* Bounty Board */
.sh-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.live-bounty-pool {
  background: var(--bg-surface);
  border: 1px solid var(--border-cyber);
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.pool-label { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); }
.pool-amount { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 800; color: var(--emerald-neon); }

.bounty-terminal-board {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bounty-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-cyber);
  border-radius: 14px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 80px 1fr 180px 120px;
  align-items: center;
  gap: 24px;
  transition: all 0.2s;
}
.bounty-row:hover {
  border-color: var(--purple-neon);
  transform: translateX(4px);
}
.b-col-id {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--purple-neon);
}
.b-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--emerald-neon);
  margin-bottom: 4px;
}
.b-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.b-desc { font-size: 0.88rem; color: var(--text-muted); }
.b-col-reward { text-align: right; }
.b-reward-val { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 800; color: var(--emerald-neon); display: block; }
.b-escrow { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-dim); }
.btn-claim-task {
  background: rgba(0, 255, 163, 0.1);
  border: 1px solid var(--emerald-neon);
  color: var(--emerald-neon);
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.2s;
}
.btn-claim-task:hover { background: var(--emerald-neon); color: #000; }

/* Vault Pod */
.vault-pod-container {
  max-width: 680px;
  margin: 0 auto;
}
.vault-pod {
  background: var(--bg-surface);
  border: 1px solid var(--border-cyber);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(138, 43, 226, 0.15);
}
.vault-pod-header {
  background: #030206;
  border-bottom: 1px solid var(--border-cyber);
  padding: 16px 24px;
}
.pod-badge { font-family: var(--font-mono); font-size: 0.75rem; color: var(--purple-neon); font-weight: 700; }
.pod-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: #fff; }
.vault-pod-body { padding: 32px 28px; }
.pod-instruction { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }
.passcode-input-row { display: flex; gap: 12px; margin-bottom: 20px; }
.passcode-field {
  flex-grow: 1;
  background: #040308;
  border: 1px solid var(--border-cyber);
  border-radius: 999px;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--emerald-neon);
  outline: none;
}
.passcode-field:focus { border-color: var(--emerald-neon); }

.vault-auth-box {
  background: #040308;
  border: 1px solid var(--emerald-neon);
  border-radius: 12px;
  padding: 20px;
}
.auth-granted-line { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 800; color: var(--emerald-neon); margin-bottom: 14px; }
.unlocked-builds { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 0.8rem; }
.build-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-cyber); padding-bottom: 6px; }
.build-row strong { color: var(--purple-neon); }

/* Footer */
.guild-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-cyber);
}
.g-footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
}
.gf-text { font-size: 0.85rem; color: var(--text-muted); margin: 14px 0 20px; max-width: 320px; }
.gf-copy { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); }
.gf-head { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 800; color: #fff; display: block; margin-bottom: 16px; }
.gf-links { display: flex; flex-direction: column; gap: 10px; }
.gf-links a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.gf-links a:hover { color: var(--emerald-neon); }

/* Responsive */
@media (max-width: 1024px) {
  .clearance-cards-grid { grid-template-columns: 1fr; }
  .bounty-row { grid-template-columns: 1fr; gap: 12px; }
  .b-col-reward { text-align: left; }
  .g-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-center-title { font-size: 2.5rem; }
  .guild-nav-links { display: none; }
  .guild-telemetry-strip { flex-direction: column; gap: 16px; border-radius: 20px; width: 100%; }
  .tel-div { display: none; }
  .passcode-input-row { flex-direction: column; }
  .g-footer-inner { grid-template-columns: 1fr; }
}
