@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg: #03060c;
  --bg-glow: #071020;
  --panel: rgba(10, 18, 30, 0.65);
  --panel-border: rgba(30, 50, 80, 0.4);
  --panel-border-glow: rgba(0, 200, 255, 0.45);
  
  --text: #edf5ff;
  --text-muted: #8ca2c0;
  --text-dim: #546a85;
  
  /* Brand Accents */
  --cyan: #00d2ff;
  --cyan-rgb: 0, 210, 255;
  --blue: #148cff;
  --blue-rgb: 20, 140, 255;
  --green: #26e372;
  --red: #ff3857;
  
  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s var(--ease-smooth);
  --transition-normal: 0.3s var(--ease-smooth);
}

/* Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text);
}

/* Typography styles */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

code, pre, .mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(3, 6, 12, 0.5);
}

::-webkit-scrollbar-thumb {
  background: var(--panel-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Sidebar & Portal Layout */
:root {
  --sidebar-width: 240px;
}

.portal-layout {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #061124 0%, #03060c 100%);
}

/* Sidebar Styling */
aside.sidebar {
  height: 100vh;
  background: linear-gradient(180deg, #070b12 0%, #04060a 100%);
  border-right: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 12px;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
}

.logo-mark {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -2px;
  color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
}

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

.nav-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.nav-btn:hover {
  background: rgba(0, 210, 255, 0.05);
  color: #ffffff;
}

.nav-btn.active {
  background: rgba(0, 210, 255, 0.08);
  color: var(--cyan);
  outline: 1px solid rgba(0, 210, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

.sidebar-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-btn {
  border: 1px dashed rgba(0, 210, 255, 0.3);
}

.admin-btn.active {
  border-style: solid;
}

.sidebar-foot {
  border-top: 1px solid var(--panel-border);
  padding-top: 15px;
  font-size: 11px;
  color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  line-height: 1.4;
  padding-left: 8px;
}

.system-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  box-shadow: 0 0 10px var(--green);
}

/* Main Content Area */
main.portal-main {
  height: 100vh;
  overflow-y: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Glass panel components inside portal */
.portal-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 35px;
  backdrop-filter: blur(25px) saturate(1.2);
  -webkit-backdrop-filter: blur(25px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.portal-card h1 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.portal-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.portal-badge {
  display: inline-block;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

