:root{
  --bg-1: #071022;
  --bg-2: #071827;
  --surface: rgba(255,255,255,0.03);
  --card: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  --accent: #ff6b00;
  --muted: #94a3b8;
  --text: #e6eef8;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(2,6,23,0.6);
  --glass: rgba(255,255,255,0.03);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Reset / base */
* { box-sizing: border-box; }
html, body { height: auto; min-height: 100%; }
html { scroll-behavior: smooth; }
body{
  margin: 0;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 60%);
  color: var(--text);
  padding: 28px;
  line-height: 1.45;
  overflow-y: auto;
}

/* Page container */
.container{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: calc(100vh - 56px);
}

/* Header */
header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.logo{
  width:56px;
  height:56px;
  border-radius:12px;
  background: var(--glass);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:var(--accent);
  font-size:20px;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.brand h1{ margin:0; font-size:1.15rem; letter-spacing:0.2px; }
.brand h2{ margin:0; font-size:0.9rem; color:var(--muted); font-weight:400; }

/* Nav */
nav ul{ list-style:none; margin:0; padding:0; display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
nav a{
  color:inherit;
  text-decoration:none;
  padding:8px 12px;
  border-radius:8px;
  font-weight:600;
  font-size:0.95rem;
  background: transparent;
  border: 1px solid transparent;
}
nav a:hover{ background: rgba(255,255,255,0.03); }
nav a.actived{ background: linear-gradient(90deg,var(--accent),#ff9a4d); color:#071022; box-shadow: 0 6px 18px rgba(255,107,0,0.15); }

/* Main layout */
main{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

/* Card */
.card{
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.03);
}

/* Content styles */
h2 { margin: 0 0 8px 0; font-size: 1.05rem; color: var(--text); }
h3 { margin: 0 0 12px 0; font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }
p { margin: 0 0 12px 0; color: var(--text); }

/* Typography for long text (centered block in your HTML) */
.center-block {
  text-align: center;
  white-space: pre-wrap;
  word-wrap: break-word;
  hyphens: auto;
}

/* Footer */
footer{
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.03);
}

/* Buttons / inputs */
.input{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.04);
  background: transparent;
  color: inherit;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:8px;
  border:none;
  background:var(--accent);
  color:#071022;
  font-weight:700;
  cursor:pointer;
}
.btn-ghost{
  padding:10px 14px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.06);
  background:transparent;
  color:var(--muted);
  cursor:pointer;
}

/* Responsive adjustments */
@media (max-width: 980px){
  main{ grid-template-columns: 1fr; }
  .brand h1{ font-size:1rem; }
  .container{ padding: 20px; }
}

/* Accessibility & focus */
a:focus, button:focus, input:focus {
  outline: 3px solid rgba(255,107,0,0.18);
  outline-offset: 2px;
}

/* Utility */
.row{ display:flex; gap:12px; align-items:center; }
.stack{ display:flex; flex-direction:column; gap:12px; }

/* Optional: limit long centered content width for readability */
.center-block .card, .center-block p {
  max-width: 82ch;
  margin: 0 auto;
}
