* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow-x: hidden;
  text-align: center;
}

/* Позадина (слика + watermark logo) */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('../images/background.jpg');
  z-index: -2;
}

body::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: url('../images/uelogo.png') no-repeat center/contain;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* NAVBAR (без позадина) */
nav {
  display: flex;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  font-size: 22px;
  color: white;
  position: relative;
  padding: 10px;
  transition: color 0.3s;
}

/* Tooltip */
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background: #ffb300;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Активна страна */
nav ul li a.active,
nav ul li a:hover {
  color: #ffb300;
}

nav ul li a.active::after,
nav ul li a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-right: 3px solid #ffb300;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 3s steps(14, end) forwards, blink 0.75s step-end infinite;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeIn 2s ease-in-out 3s forwards;
}

.btn {
  padding: 12px 25px;
  border: none;
  text-decoration: none;
  border-radius: 25px;
  background: #ffb300;
  color: black;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0;
  animation: fadeIn 2s ease-in-out 4s forwards;
}

.btn:hover {
  background: white;
  color: black;
}

/* FOOTER (чист, без позадина) */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

footer .socials {
  margin-bottom: 10px;
}

footer .socials a {
  margin: 0 12px;
  font-size: 22px;
  color: white;
  transition: 0.3s;
}

footer .socials a:hover {
  color: #ffb300;
  transform: scale(1.2);
}

footer hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin: 10px auto;
  width: 40%;
}

footer p {
  margin-top: 5px;
  color: #fff;
}

footer span {
  color: #ffb300;
  font-weight: bold;
}

/* Анимации */
@keyframes typing {
  from { width: 0; }
  to { width: 16ch; }
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: #ffb300; }
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    gap: 20px;
  }

  nav ul li a {
    font-size: 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

 .hero p {
    font-size: 18px;
  }

  body::after {
    width: 350px;
    height: 350px;
  }
}

.downloads-connection {
  text-align: center;
  padding: 60px 20px;
  color: white;
}

.dc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.dc-card {
  padding: 25px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border-color: #ffb300;
}

.dc-card h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #ffb300;
}

.dc-card p {
  font-size: 15px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.85);
}

.dc-card .btnn {
  display: inline-block;
  padding: 10px 18px;
  background: #ffb300;
  color: black;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.dc-card .btnn:hover {
  background: #ffa000;
}

.server-box {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  backdrop-filter: blur(6px);
}

#server-ip {
  margin-right: 12px;
  font-size: 16px;
  font-weight: bold;
  color: #ffb300;
}

.server-box button {
  padding: 6px 12px;
  background: #ffb300;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.server-box button:hover {
  background: #ffa000;
}

.downloads-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-bottom: -210px;
}

.launcher-section {
  display: flex;
  justify-content: center;
  margin: 50px auto;
  padding: 20px;
}

.launcher-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
}

.launcher-image {
  background: #ffb300;
  padding: 2px;
  border-radius: 12px;
}

.launcher-image img {
  width: 450px;
  border-radius: 8px;
  display: block;
}

.launcher-info {
  flex: 1;
  color: white;
}

.launcher-info h2 {
  margin-bottom: 15px;
  font-size: 26px;
  color: #ffb300;
}

.launcher-info p {
  margin-bottom: 20px;
  line-height: 1.5;
}

.launcher-info .btnn {
  background: #ffb300;
  color: black;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.launcher-info .btnn:hover {
  background: #ffa000;
}

