:root {
  --bg: #121b24;
  --hf: #0e141b;
  --hfc: #ffa94d;
  --btn: #ff9133;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  line-height: 1.3;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: sans-serif;
  background-color: var(--bg);
  color: #fff;
}

body {
  display: flex;
  flex-direction: column;
}

header {
  background-color: var(--hf);
  padding: 5px;
  text-align: center;
  line-height: 0;
}

header h1 {
  color: var(--hfc);
  margin: 0;
  font-size: 2.2em;
}

a {
  color: #80d7eb;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #5ccfe6;
  text-decoration: underline;
}

.container {
  flex: 1; /* главное — это тянет всё доступное пространство */
  padding: 40px 20px;
  max-width: 960px;
  margin: auto;
  text-align: center;
}

.button-group {
  margin-top: 25px;
}

.btn {
  display: inline-block;
  margin: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--hfc), var(--btn));
  color: var(--bg);
  font-weight: bold;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(255, 169, 77, 0.2);
}

.btn:hover,
.btn:focus {
  color: var(--bg);
  background: linear-gradient(135deg, var(--btn), var(--hfc));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 169, 77, 0.3);
}

.section {
  text-align: left;
  margin-top: 60px;
}

.header {
  font-size: 1.4rem;
  color: var(--hfc);
  margin-top: 40px;
}

footer {
  background-color: var(--hf);
  padding: 20px;
  text-align: center;
  color: #888;
}

.doc-list {
  list-style: none;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: #1e1e1e;
}

.doc-list li {
  margin-bottom: 20px;
}

.doc-list a {
  color: #5ccfe6;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
}

.doc-list a:hover {
  text-decoration: underline;
}

.doc-desc {
  margin: 4px 0 0;
  color: #ccc;
  font-size: 0.9em;
  line-height: 1.4;
}

pre {
  background: #1a1a1a;
  padding: 12px;
  border-radius: 8px;
  overflow-x: auto;
  color: #ccc;
  font-size: 0.95em;
  text-align: left;
  white-space: pre-wrap;
  word-break: keep-all;
}

code {
  color: #ffa94d; /* orange tone for inline code */
  font-family: monospace;
  background: rgba(255, 169, 77, 0.1);
  padding: 2px 4px;
  border-radius: 4px;
}

pre code {
  padding: 0;
}

.btn-download {
  display: inline-block;
  background-color: #5ccfe6;
  color: #1b1b1b;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 20px;
}

.btn-download:hover,
.btn-download:focus {
  background-color: #40b9d6;
  color: #1b1b1b;
}

.left {
  text-align: left;
  padding-top: 10px;
}

header a {
  display: inline-block;
  cursor: pointer;
}

header a:hover,
header a:focus {
  box-shadow: 0 8px 4px -4px rgba(30, 144, 255, 0.6);
  border-radius: 2px;
  transition: box-shadow 0.3s ease;
}

ul,
ol {
  text-align: left;
}

.nmvc-banner-section {
  margin-top: 3rem;
  padding: 1.5rem 1.25rem;
  background: #181c22;
  border: 1px solid #1e90ff;
  border-radius: 6px;
  color: #ddd;
}

.nmvc-banner-section h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: #1e90ff;
  font-weight: 600;
  border-bottom: 1px dashed #2a2f36;
  padding-bottom: 0.3rem;
  margin-bottom: 0.8rem;
}

.nmvc-banner-section p {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  color: #ccc;
}

.nmvc-banner-section pre {
  background: #111;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.4;
  border-radius: 4px;
  color: #ffcc99;
}

.copy-btn {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.9;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.copy-btn:hover {
  opacity: 1;
  background-color: #3ea0ff;
}