:root {
  --bg-main: url("images/datacenter.jpg");
  --bg-secondary: url("images/u_center.jpg");
  --bg-lab: url("images/laba.jpg");
  --accent: #4b2d7f;
  --text: #ffffff;
  --shadow: rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; font-family: Arial, sans-serif; }
body {
  background: #000;
  color: var(--text);
}
.bg-layer {
  position: fixed;
  inset: 0;
  background: var(--bg-main) center/cover no-repeat;
  transition: opacity 0.6s ease;
  z-index: 0;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}
.page {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 28px 36px;
  z-index: 2;
}
.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px var(--shadow));
}
.title {
  text-align: center;
  font-size: clamp(22px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  text-shadow: 0 7px 8px rgba(0, 0, 0, 0.75);
  margin: 0;
}
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 45vh;
}
.hero-man {
  width: min(270px, 70vw);
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
  animation: floatMan 3.2s ease-in-out infinite;
}
.title {
  animation: floatText 3s ease-in-out infinite;
}
@keyframes floatMan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(980px, 92vw);
  margin: 0 auto;
}
.btn {
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.85);
  color: #1b1b1b;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn .icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #667;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #667;
  background: rgba(255,255,255,0.7);
}
.btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn:hover .icon {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.2);
}
@media (max-width: 800px) {
  .buttons { grid-template-columns: 1fr; }
  .page { padding: 18px; }
}
