:root {
  --bg: #0b0f13;
  --card: #161e27;
  --text: #f8fafc;
  --muted: #94a3b8;
  --gold: #f59e0b;
  --blue: #38bdf8;
  --green: #10b981;
  --border: #1f2933;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #0b0f13, #111827, #0f172a);
  color: var(--text);
}

/* LAYOUT */
.app {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  position: fixed;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  padding: 30px 24px;
  border-right: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 600;
}

.tag {
  color: var(--muted);
  font-size: 0.85rem;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: #111827;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid transparent;
  transition: 0.2s;
}

.nav-link:hover {
  border-color: rgba(148, 163, 184, 0.4);
}

.nav-link.active {
  background: var(--gold);
  color: #020617;
  font-weight: 600;
}

.version {
  margin-top: auto;
  font-size: 0.75rem;
  color: var(--muted);
}

/* MAIN */
.main {
  margin-left: 260px;
  padding: 40px;
  width: 100%;
  max-width: 1100px;
}

/* CARDS */
.section-card,
.card {
  background: rgba(15, 23, 42, 0.95);
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  margin-bottom: 24px;
}

.border-blue { border-top: 3px solid var(--blue); }
.border-gold { border-top: 3px solid var(--gold); }
.border-green { border-top: 3px solid var(--green); }
.border-indigo { border-top: 3px solid #818cf8; }

/* SUMMARY */
.summary-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
}

.profile {
  width: 220px;
  height: 220px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.summary-links {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

/* BUTTONS */
.btn-blue,
.btn-green,
.btn-gold,
.btn-outline {
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: 0.2s;
}

.btn-blue { background: var(--blue); color: #020617; }
.btn-green { background: var(--green); color: #020617; }
.btn-gold { background: var(--gold); color: #020617; }
.btn-outline { border-color: rgba(148, 163, 184, 0.6); }

.btn-blue:hover,
.btn-green:hover,
.btn-gold:hover,
.btn-outline:hover {
  transform: translateY(-2px);
}

/* GRID */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* IFRAME */
iframe {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  border: none;
}

/* TABS */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .sidebar {
    position: static;
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }

  .main {
    margin-left: 0;
    padding: 20px;
  }

  .summary-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .grid2 {
    grid-template-columns: 1fr;
  }
}