﻿@font-face {
  font-family: "GeorgiaFallback";
  src: local("Georgia");
}

:root {
  --ink: #162338;
  --muted: #607082;
  --cream: #fff8e9;
  --paper: rgba(255, 250, 238, 0.9);
  --gold: #f1bf69;
  --rose: #d98576;
  --blue: #2c6a83;
  --deep: #0b1c31;
  --radius: 30px;
  --shadow: 0 28px 80px rgba(11, 28, 49, 0.24);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(241, 191, 105, .28), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(217, 133, 118, .24), transparent 30rem),
    linear-gradient(180deg, #0b1c31 0%, #173d56 46%, #f5d69b 100%);
}

a { color: inherit; }

.hero {
  min-height: 92vh;
  padding: 1.2rem clamp(1rem, 4vw, 4.5rem) 4rem;
  color: white;
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: .85rem .95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .7rem;
  font-weight: 850;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #15243a;
  background: linear-gradient(135deg, #fff3c4, var(--gold));
  box-shadow: 0 10px 25px rgba(241,191,105,.28);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .3rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,.76);
  padding: .68rem .9rem;
  border-radius: 999px;
}

.nav-links a:hover {
  color: white;
  background: rgba(255,255,255,.11);
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 5rem auto 0;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
}

h1 {
  margin: 0 0 1.4rem;
  font-family: GeorgiaFallback, Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: .92;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.subtitle {
  margin: -0.4rem 0 1rem;
  color: rgba(255,255,255,.9);
  font-family: GeorgiaFallback, Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: .96rem 1.28rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button.primary {
  color: #17243a;
  background: linear-gradient(135deg, #fff3c4, var(--gold));
  box-shadow: 0 16px 45px rgba(241,191,105,.24);
}

.button.secondary {
  color: white;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
}

.hero-art {
  margin: 0;
  padding: .65rem;
  border-radius: 34px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-art img {
  width: 100%;
  display: block;
  border-radius: 26px;
}

.hero-art figcaption {
  padding: .8rem .4rem .3rem;
  color: rgba(255,255,255,.72);
  text-align: center;
  font-size: .92rem;
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  margin: 0 0 1.25rem;
  padding: clamp(1.35rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section h2 {
  margin: 0;
  font-family: GeorgiaFallback, Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.volga-section {
  display: grid;
  grid-template-columns: .95fr 1.25fr;
  gap: 2rem;
}

.volga-text p,
.referral-section p {
  margin: 0 0 1rem;
  color: #304459;
  font-size: 1.1rem;
  line-height: 1.85;
}

.song-card {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 26px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(22,35,56,.08);
  box-shadow: 0 18px 48px rgba(22,35,56,.08);
}

.song-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(11,28,49,.16);
}

.song-content {
  min-width: 0;
  padding: .35rem .2rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: .85rem;
}

.tags span {
  display: inline-flex;
  padding: .36rem .65rem;
  border-radius: 999px;
  background: rgba(44,106,131,.12);
  color: #245369;
  font-size: .8rem;
  font-weight: 850;
}

.song-content h3 {
  margin: 0 0 .65rem;
  font-family: GeorgiaFallback, Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  letter-spacing: -.035em;
}

.song-content p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.75;
}

audio {
  width: 100%;
  margin: .2rem 0 1rem;
}

details {
  border-top: 1px solid rgba(22,35,56,.09);
  padding-top: .8rem;
}

summary {
  cursor: pointer;
  font-weight: 900;
  color: #173d56;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: .75rem 0 0;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(11,28,49,.055);
  color: #304459;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.72;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.mood-card {
  min-height: 260px;
  padding: 1.2rem;
  border-radius: 26px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 48px rgba(22,35,56,.13);
}

.mood-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mood-card h3,
.mood-card p {
  position: relative;
  z-index: 1;
}

.mood-card h3 {
  margin: 0 0 .55rem;
  font-family: GeorgiaFallback, Georgia, serif;
  font-size: 1.55rem;
}

.mood-card p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.62;
}

.mood-1::before {
  background:
    radial-gradient(circle at 70% 22%, rgba(255,231,171,.72), transparent 5.5rem),
    linear-gradient(160deg, rgba(20,42,66,.94), rgba(87,143,154,.75) 48%, rgba(232,153,112,.9));
}

.mood-2::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.55), transparent 4rem),
    linear-gradient(160deg, rgba(15,26,48,.95), rgba(68,67,96,.82), rgba(211,125,101,.86));
}

.mood-3::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(255,241,199,.7), transparent 4rem),
    linear-gradient(160deg, rgba(40,52,78,.95), rgba(43,106,131,.82), rgba(241,191,105,.82));
}

.photo-note {
  padding: 1.2rem;
  border-radius: 24px;
  background: rgba(44,106,131,.08);
  border: 1px dashed rgba(44,106,131,.35);
}

.photo-note h3 {
  margin: 0 0 .6rem;
}

.photo-note p {
  margin: 0;
  color: #304459;
  line-height: 1.75;
}

.prompt-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.prompt-list div {
  padding: 1.1rem;
  border-radius: 24px;
  background: rgba(11,28,49,.055);
}

.prompt-list h3 {
  margin: 0 0 .65rem;
}

.prompt-list p {
  margin: 0;
  color: #304459;
  line-height: 1.75;
}

code {
  padding: .15rem .35rem;
  border-radius: .45rem;
  background: rgba(11,28,49,.08);
}

footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.2rem auto 3rem;
  color: rgba(255,255,255,.78);
  text-align: center;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 26px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-grid,
  .volga-section,
  .song-card,
  .gallery-grid,
  .prompt-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    margin-top: 3rem;
  }

  .hero-art {
    transform: none;
  }

  .song-cover {
    max-width: 340px;
  }
}

/* Более мягкий лирический главный заголовок */
.hero-copy h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero-copy .subtitle {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Настоящая художественная картинка в главном экране */
.hero-art {
  padding: 0.55rem;
}

.hero-art img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.hero-art figcaption {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Галерея настоящих речных изображений */
.river-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.river-gallery-card {
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 35, 58, 0.08);
  box-shadow: 0 24px 70px rgba(11, 28, 49, 0.12);
}

.river-gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.river-gallery-caption {
  padding: 1.25rem 1.35rem 1.4rem;
}

.river-gallery-caption h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  color: #14243b;
}

.river-gallery-caption p {
  margin: 0;
  color: #566274;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .river-gallery-grid {
    grid-template-columns: 1fr;
  }

  .river-gallery-card {
    border-radius: 1.4rem;
  }
}

.hero-art {
  position: relative;
  overflow: hidden;
}

.hero-art {
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  }

/* Финальная Lottie-подсветка главной картинки */
.hero-art {
  position: relative;
  overflow: hidden;
}

.hero-lottie-glow {
  position: absolute;
  inset: 0.55rem;
  z-index: 8;
  pointer-events: none;
  opacity: 0.88;
  mix-blend-mode: normal;
  filter:
    blur(0.7px)
    brightness(1.17)
    saturate(1.28)
    contrast(1.07)
    drop-shadow(0 0 11px rgba(255, 196, 92, 0.24))
    drop-shadow(0 0 20px rgba(255, 176, 82, 0.15));
  border-radius: 1.45rem;
  overflow: hidden;
}

.hero-lottie-glow svg {
  width: 100%;
  height: 100%;
  transform: translateX(21%) translateY(17%) scale(1.08);
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .hero-lottie-glow {
    display: none;
  }
}


/* Видеообложки песен */
.song-cover-video {
  width: 210px;
  height: 210px;
  flex: 0 0 210px;
  display: block;
  object-fit: cover;
  border-radius: 1.35rem;
  box-shadow: 0 18px 44px rgba(11, 28, 49, 0.16);
  background: #10233a;
}

@media (max-width: 760px) {
  .song-cover-video {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    flex: none;
  }
}

/* Авторский блок и заказы */
.author-section {
  position: relative;
}

.author-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.92), rgba(236, 246, 255, 0.86)),
    rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(241, 191, 105, 0.32);
  box-shadow: 0 24px 70px rgba(11, 28, 49, 0.11);
}

.author-card p {
  margin: 0 0 1rem;
  color: #26364c;
  font-size: 1.05rem;
  line-height: 1.75;
}

.author-card p:last-child {
  margin-bottom: 0;
}

.author-card a {
  color: #0f5f7a;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 95, 122, 0.35);
}

.author-card a:hover {
  border-bottom-color: rgba(15, 95, 122, 0.85);
}

