:root {
  --gold: #f4d58d;
  --gold-bright: #ffe7ad;
  --gold-deep: #bb8f2a;
  --text-light: rgba(255, 246, 220, 0.95);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.45);
  --hero-mx: 0px;
  --hero-my: 0px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text-light);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #000;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("фон2.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: calc(50% + var(--hero-mx)) calc(50% + var(--hero-my));
  background-attachment: fixed;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 207, 134, 0.12) 0%, rgba(255, 207, 134, 0) 45%),
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 22%);
  z-index: 0;
}

.topbar {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  background: var(--glass);
  border-bottom: 1px solid var(--glass-border);
}

.glass-panel {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

.brand-link,
.phone-link {
  color: var(--gold);
  text-decoration: none;
  text-shadow:
    0 0 8px rgba(244, 213, 141, 0.45),
    0 0 18px rgba(244, 213, 141, 0.18),
    2px 2px 4px rgba(0, 0, 0, 0.65);
}

.brand-mark {
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.phone-link {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  font-weight: 600;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem) 1rem 2.5rem;
}

.hero-stage {
  width: min(100%, 1180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin: 0 auto;
}

.hero-title {
  margin: 0;
  position: relative;
  display: inline-block;
  color: var(--gold);
  font-family: "Brush Script MT", "Segoe Script", "Snell Roundhand", "Lucida Handwriting", cursive;
  font-size: clamp(2.3rem, 5vw, 5.25rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.02;
  text-align: center;
  text-shadow:
    0 0 12px rgba(255, 233, 173, 0.48),
    0 0 34px rgba(244, 213, 141, 0.2),
    0 8px 22px rgba(0, 0, 0, 0.8);
  animation: titleReveal 0.9s cubic-bezier(0.2, 0.85, 0.2, 1) both, titlePulse 9.2s ease-in-out 0.9s infinite;
  overflow: visible;
}

.hero-title::before {
  content: "";
  position: absolute;
  inset: -18% -24%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 244, 222, 0.04) 8%, rgba(255, 244, 222, 0.45) 28%, rgba(255, 240, 195, 0.92) 50%, rgba(255, 244, 222, 0.45) 72%, rgba(255, 244, 222, 0.04) 92%, transparent 100%);
  filter: blur(14px);
  transform: translate(-140%, -140%) rotate(-18deg);
  opacity: 0;
  animation: titleSweep 5.8s ease-out 3s 1 forwards;
  pointer-events: none;
  mix-blend-mode: screen;
}

.guitar-wrap {
  position: relative;
  width: min(100%, 1000px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  perspective: 1200px;
  padding-inline: 0.5rem;
}

.guitar-control {
  position: absolute;
  top: calc(100% + 0.2rem - 70px);
  left: 50%;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.1rem, 3.35vw, 2.95rem);
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-bright);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) scale(0.95);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.guitar-wrap.is-hovered .guitar-control,
.guitar-wrap.is-playing .guitar-control {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.guitar-control:hover {
  background: rgba(0, 0, 0, 0.38);
  transform: translateX(-50%) scale(1.05);
}

.guitar-control-icon {
  font-size: clamp(0.95rem, 1.55vw, 1.25rem);
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 232, 173, 0.55);
}

.guitar-control.is-playing .guitar-control-icon {
  font-size: clamp(0.8rem, 1.3vw, 1rem);
}

.guitar-wrap::before {
  content: "";
  position: absolute;
  inset: 18% 10% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 213, 141, 0.28) 0%, rgba(244, 213, 141, 0.08) 28%, rgba(244, 213, 141, 0) 70%);
  filter: blur(30px);
  opacity: 0.8;
  transform: translateY(8%);
  z-index: -1;
  pointer-events: none;
}

.note-float {
  position: absolute;
  z-index: 3;
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(255, 232, 173, 0.7), 0 3px 8px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  opacity: 0;
  animation: noteRise 1.8s ease-out forwards;
}

.guitar-image {
  width: min(100%, 980px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55));
  transform-origin: center center;
  animation: guitarIntro 0.9s ease-out both, guitarFloat 5.5s ease-in-out 0.9s infinite;
  transition: filter 0.35s ease, transform 0.35s ease;
  will-change: transform, filter;
}

.guitar-wrap:hover .guitar-image {
  transform: scale(1.08) rotate(0deg);
  filter:
    drop-shadow(0 34px 48px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 20px rgba(244, 213, 141, 0.55));
}

.copy-block {
  width: min(100%, 760px);
  margin-top: 0;
  min-height: clamp(7rem, 14vw, 9.5rem);
  display: flex;
  justify-content: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: center;
  width: 100%;
  text-align: center;
}

.feature-item {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--gold);
  box-shadow: none;
  text-align: center;
  line-height: 1.3;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 0 10px rgba(244, 213, 141, 0.35), 0 2px 8px rgba(0, 0, 0, 0.7);
  opacity: 0;
}

.feature-item.is-visible {
  animation: featureFadeIn 1s ease-out both;
}

.feature-item::before {
  content: none;
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.92);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes titlePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes titleSweep {
  0% {
    opacity: 0;
    transform: translate(-140%, -140%) rotate(-18deg);
  }
  12% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: translate(140%, 140%) rotate(-18deg);
  }
}

@keyframes noteRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -120px, 0) scale(1.15);
  }
}

@keyframes guitarIntro {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes guitarFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1.6deg);
  }
  25% {
    transform: translate3d(0, -6px, 0) rotate(-0.4deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(1.6deg);
  }
  75% {
    transform: translate3d(0, -6px, 0) rotate(0.4deg);
  }
}

@keyframes featureFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-stage,
.feature-item,
.guitar-image,
.hero-title,
.brand-mark,
.phone-link {
  transform: translateZ(0);
}

@media (max-width: 991.98px) {
  .hero {
    background-attachment: scroll;
  }

  .hero-content {
    align-items: center;
    justify-content: center;
    padding-top: clamp(1rem, 4vw, 2rem);
  }

  .hero-stage {
    width: min(100%, 920px);
  }

  .guitar-image {
    width: min(100%, 880px);
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    padding: clamp(0.75rem, 3vw, 1.25rem) 0.8rem 1.5rem;
  }

  .hero-stage {
    gap: 0.6rem;
  }

  .guitar-wrap {
    padding-inline: 0.25rem;
  }

  .guitar-control {
    top: calc(100% + 0.05rem - 56px);
    width: clamp(1.7rem, 5vw, 2.2rem);
  }

  .copy-block {
    min-height: clamp(6rem, 18vw, 8rem);
    padding: 0 0.25rem;
  }

  .feature-item {
    font-size: clamp(0.82rem, 3.2vw, 0.95rem);
  }
  .topbar .container-xxl {
    gap: 0.75rem;
  }

  .brand-mark {
    font-size: 1.3rem;
    letter-spacing: 0.05em;
  }

  .phone-link {
    font-size: 0.9rem;
    text-align: right;
  }

  .hero-title {
    max-width: 12ch;
  }

  .feature-item {
    padding: 0.85rem 0.95rem;
    font-size: 0.98rem;
  }
}

@media (min-width: 1600px) {
  .hero-stage {
    gap: 1.8rem;
  }

  .copy-block {
    width: min(100%, 980px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero {
    background-position: center center;
  }
}
