/* SoundWave — hi-fi аудио/видео хостинг (заглушка) */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #e8a33d;
  --accent-soft: rgba(232, 163, 61, .35);
  --text: #f2ede4;
  --text-dim: rgba(242, 237, 228, .65);
  --glass: rgba(12, 10, 8, .55);
  --glass-border: rgba(255, 255, 255, .10);
}

html, body { height: 100%; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #0b0908;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Фон: отдельное hi-fi изображение для каждой страницы */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  animation: bgDrift 40s ease-in-out infinite alternate;
}
.page-home  .bg { background-image: url("../assets/bg-home.jpg"); }
.page-video .bg { background-image: url("../assets/bg-video.jpg"); }
.page-audio .bg { background-image: url("../assets/bg-audio.jpg"); }

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.72) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.25) 40%, rgba(0,0,0,.75));
}

@keyframes bgDrift {
  from { transform: scale(1.03) translate(0, 0); }
  to   { transform: scale(1.10) translate(-1.5%, -1%); }
}

/* Шапка */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0));
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}
.logo span { color: var(--accent); }

nav { display: flex; gap: 8px; }
nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all .25s ease;
}
nav a:hover { color: var(--text); border-color: var(--glass-border); background: rgba(255,255,255,.06); }
nav a.active {
  color: #0b0908;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent-soft);
}

/* Основной блок */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.hero {
  max-width: 760px;
  text-align: center;
  padding: 56px 64px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.hero .kicker {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0,0,0,.6);
}

.hero p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge {
  font-size: 13px;
  letter-spacing: 1px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.05);
  color: var(--text-dim);
}

.btn {
  display: inline-block;
  margin-top: 34px;
  padding: 14px 38px;
  border-radius: 999px;
  background: var(--accent);
  color: #0b0908;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 30px var(--accent-soft);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px var(--accent-soft); }

/* Подвал: неброская пометка о разработке */
footer {
  text-align: center;
  padding: 16px;
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(242, 237, 228, .38);
}

/* Эквалайзер-украшение */
.eq { display: flex; gap: 5px; justify-content: center; margin-bottom: 26px; height: 26px; align-items: flex-end; }
.eq i {
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: eq 1.1s ease-in-out infinite;
  opacity: .85;
}
.eq i:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq i:nth-child(2) { height: 80%; animation-delay: .15s; }
.eq i:nth-child(3) { height: 55%; animation-delay: .3s; }
.eq i:nth-child(4) { height: 95%; animation-delay: .45s; }
.eq i:nth-child(5) { height: 60%; animation-delay: .6s; }
.eq i:nth-child(6) { height: 85%; animation-delay: .75s; }
.eq i:nth-child(7) { height: 45%; animation-delay: .9s; }
@keyframes eq { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }

@media (max-width: 640px) {
  header { padding: 16px 20px; flex-direction: column; gap: 14px; }
  .hero { padding: 36px 24px; }
  .hero h1 { font-size: 30px; }
}
