/* === Full viewport height === */
html {
  height: 100%;
  font-size: clamp(1rem, 0.8333vw, 4rem);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-wrapper > main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* === Footer links === */
footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity .2s;
}

footer a:hover {
  opacity: 1;
}

/* === Language switcher === */
.lang-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(220, 53, 69, 0.4);
  color: inherit;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  letter-spacing: 0.04em;
}

.lang-btn:hover,
.lang-btn.active {
  background: linear-gradient(135deg, #dc3545, #b02a37);
  color: #fff;
  border-color: transparent;
}

/* === Logo / header === */
.bios-logo {
  margin-left: -30px;
  display: flex;
  align-items: baseline;
  font-size: 2rem;
}

.prompt {
  margin-right: 0.3em;
  color: #999;
}

.wrap {
  display: inline-flex;
  align-items: baseline;
}

.brand {
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  max-width: 0;
  animation: typing 1.2s steps(9, end) 0.6s forwards;
}

.cursor {
  color: #dc3545;
  animation: blink 1s step-start infinite;
}

@keyframes typing {
  from { max-width: 0ch; }
  to   { max-width: 9ch; }
}

@keyframes blink {
  50% { opacity: 0; }
}

/* === Gradient utilities === */
.gradient-text {
  background: linear-gradient(135deg, #dc3545, #b02a37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-gradient-danger {
  background: linear-gradient(135deg, #dc3545, #b02a37);
  border: none;
  color: white;
}

/* === Cards === */
.card {
  border-radius: 14px;
}

/* === index.html: gradient links === */
.gradient-link {
  background: linear-gradient(135deg, #dc3545, #b02a37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gradient-link svg {
  fill: #c1353e;
}

.gradient-link:hover {
  opacity: 0.8;
}

.icon-link.gradient-link {
  background: linear-gradient(135deg, #dc3545, #b02a37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  text-decoration: none;
}

.icon-link.gradient-link svg {
  fill: #dc3545;
}

