@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Quicksand:wght@500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: #fff;
  overflow: hidden;
  height: 100vh;
  background: #000;
}

/* 🌌 Фон — поставь свою картинку */
.background {
  position: fixed;
  inset: 0;
  background: url("main.jpg") center center / cover no-repeat;
  z-index: 0;
  background-size: cover;
  filter: blur(8px) brightness(0.9) saturate(1.1);
}

/* 🌙 Навбар */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: rgba(10, 10, 15, 0.35);
  border-bottom: 1px solid rgba(200, 200, 255, 0.15);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.5em;
  font-weight: 700;
  color: #f0f8ff;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Снять подчёркивание у ссылки в логотипе */
.navbar .logo a,
.navbar .logo a:link,
.navbar .logo a:visited,
.navbar .logo a:hover,
.navbar .logo a:active {
  text-decoration: none !important;
  color: inherit;
  border-bottom: none;
  outline: none;
}

.logo a:hover {
  text-shadow: 0 0 10px rgba(255,255,255,0.6); /* лёгкое свечение при наведении */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #e9faff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* 🌠 Главный блок */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 5;
}

.title {
  font-family: 'Cinzel', serif;
  font-size: 4em;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 0 25px rgba(255,255,255,0.25);
  animation: fadeIn 1.5s ease-out;
}

.subtitle {
  font-size: 1.2em;
  color: #dff8ff;
  margin-top: 10px;
  text-shadow: 0 0 6px rgba(255,255,255,0.3);
}

/* ✨ Кнопки */
.actions {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 35px;
  font-size: 1.1em;
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

/* 💬 Telegram */
.platforms {
  margin-top: 60px;
}

.platforms img {
  width: 55px;
  height: 55px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.platforms img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* 🌙 Футер */
footer {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  color: #e4f9ff;
  font-size: 0.9em;
  opacity: 0.9;
  z-index: 5;
}

/* 💫 Искры */
.spark {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
  transform: translate(-50%, -50%);
  animation: sparkle 0.8s ease-out forwards;
  pointer-events: none;
}

@keyframes sparkle {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -100%) scale(0); }
}

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

/* 💠 Эффект синей сияющей пыльцы */
.particle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(130, 200, 255, 1), rgba(0, 100, 255, 0));
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: sparkleSpread 1s ease-out forwards;
  box-shadow: 0 0 10px rgba(150, 220, 255, 0.7), 0 0 30px rgba(0, 180, 255, 0.5);
  opacity: 0.9;
  z-index: 9999;
}

@keyframes sparkleSpread {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  60% {
    opacity: 0.8;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.5);
  }
}
