/* ================================
   UNITYCOIN – CORE THEME
   Inside-the-motherboard aesthetic
   ================================ */

/* -------- GLOBAL -------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #e6ebff;
  background-color: #0a0f25;
  overflow-x: hidden;
}

/* Circuit background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(79,195,255,0.10), transparent 40%),
    radial-gradient(circle at 75% 80%, rgba(27,76,255,0.10), transparent 45%),
    url("../assets/circuit-bg.svg");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

/* Subtle animated energy flow */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(79,195,255,0.06),
    transparent 70%
  );
  animation: circuitFlow 14s linear infinite;
  z-index: -1;
}

@keyframes circuitFlow {
  from { transform: translateX(-25%); }
  to   { transform: translateX(25%); }
}

a {
  color: #9bb4ff;
  text-decoration: none;
}

/* -------- LAYOUT -------- */

.container {
  width: min(1100px, 92%);
  margin: auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

/* Navigation links feel like nodes */
nav a {
  margin-left: 15px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

nav a:hover {
  border-color: rgba(79,195,255,0.35);
  background: rgba(79,195,255,0.08);
}

/* -------- HERO -------- */

.hero {
  padding: 48px 0;
}

.hero h2 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 10px;
}

/* -------- BUTTONS -------- */

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: linear-gradient(
    135deg,
    #1f2a4f,
    #24346a
  );
  border-radius: 10px;
  border: 1px solid rgba(79,195,255,0.35);
  color: #e6ebff;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  box-shadow: 0 0 14px rgba(79,195,255,0.35);
  transform: translateY(-1px);
}

/* -------- GRID -------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

/* -------- CARDS (Motherboard Panels) -------- */

.card {
  background: rgba(20, 28, 51, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(100, 180, 255, 0.18);
  box-shadow: 0 0 22px rgba(79,195,255,0.06);
  padding: 16px;
  border-radius: 14px;
  margin-top: 16px;
}

/* -------- FOOTER -------- */

.footer {
  margin-top: 60px;
  padding-bottom: 40px;
  color: #9aa7d1;
}

/* -------- TEXT HELPERS -------- */

.muted {
  color: #9aa7d1;
}

/* -------- FORMS / ROWS -------- */

.row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.row input {
  flex: 1;
  min-width: 220px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #2a355a;
  background: rgba(11, 15, 23, 0.85);
  color: #e6ebff;
}

/* -------- LISTS -------- */

.list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(100,180,255,0.15);
  padding: 10px 12px;
  border-radius: 10px;
  margin-top: 8px;
}

/* -------- SMALL BUTTONS -------- */

.small-btn {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(79,195,255,0.4);
  background: transparent;
  color: #9bb4ff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.small-btn:hover {
  background: rgba(79,195,255,0.12);
}

/* ===== BRAND / LOGO ===== */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: 42px;
  width: auto;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.auth {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-box {
  height: 320px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.02);
}

.chat-msg {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chat-msg:last-child {
  border-bottom: none;
}


/* -------- ROADMAP -------- */

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.milestone {
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(100,180,255,0.16);
  background: rgba(255,255,255,0.02);
}

.ms-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ms-title {
  font-weight: 700;
}

.badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(100,180,255,0.22);
  background: rgba(79,195,255,0.08);
  color: #e6ebff;
  white-space: nowrap;
}

.badge.live {
  background: rgba(79,195,255,0.14);
}

.badge.progress {
  background: rgba(255, 200, 80, 0.14);
}

.badge.planned {
  background: rgba(155,180,255,0.10);
}

.milestone ul {
  margin: 0;
  padding-left: 18px;
}

.milestone li {
  margin: 6px 0;
}
