/* ============================================================
   NEYRIS — Не спи, танцуй! · Релиз
   Палитра из обложки: ночной город + огненный закат
   и неоновый розовый.
============================================================ */

:root {
    --bg-deep:      #0a0713;
    --bg-mid:       #14101f;
    --violet:       #2a1b3d;
    --sunset-1:     #ff7a45;
    --sunset-2:     #ff3d9a;
    --sunset-3:     #ffb08a;
    --coral:        #ff6b5e;
    --text:         #f6eef2;
    --text-dim:     rgba(246, 238, 242, 0.62);
    --text-soft:    rgba(246, 238, 242, 0.42);
    --card-bg:      rgba(20, 15, 30, 0.55);
    --card-border:  rgba(255, 176, 138, 0.16);
    --radius:       22px;
    --ease:         cubic-bezier(.22, 1, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------------- Фон ---------------- */
.bg-layer { position: fixed; inset: 0; z-index: -2; overflow: hidden; }

.bg-poster {
    position: absolute; inset: -8%;
    background-size: cover;
    background-position: center;
    filter: blur(60px) saturate(1.3) brightness(.55);
    transform: scale(1.15);
    opacity: .85;
    animation: bgDrift 26s ease-in-out infinite alternate;
}

.bg-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 80% at 50% 120%, rgba(255, 61, 154, .28), transparent 60%),
        radial-gradient(100% 70% at 50% -10%, rgba(30, 20, 55, .6), transparent 60%),
        linear-gradient(180deg, rgba(10, 7, 19, .55) 0%, rgba(10, 7, 19, .82) 55%, rgba(10, 7, 19, .96) 100%);
}

.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    mix-blend-mode: screen;
}
.glow-1 {
    width: 46vw; height: 46vw;
    left: -12vw; top: 8vh;
    background: radial-gradient(circle, var(--sunset-2), transparent 70%);
    animation: floatGlow 18s ease-in-out infinite alternate;
}
.glow-2 {
    width: 42vw; height: 42vw;
    right: -14vw; bottom: 2vh;
    background: radial-gradient(circle, var(--sunset-1), transparent 70%);
    animation: floatGlow 22s ease-in-out infinite alternate-reverse;
}

.bg-noise {
    position: absolute; inset: 0;
    opacity: .05; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- Частицы ---------------- */
.particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    background: var(--sunset-3);
    box-shadow: 0 0 8px 1px rgba(255, 176, 138, .8);
    opacity: 0;
    animation: rise linear infinite;
}

/* ---------------- Каркас ---------------- */
.wrapper {
    position: relative;
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    padding: clamp(16px, 4vw, 48px);
}

.card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: calc(var(--radius) + 8px);
    padding: clamp(22px, 5vw, 34px);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    box-shadow:
        0 40px 80px -30px rgba(0, 0, 0, .75),
        0 0 0 1px rgba(255, 255, 255, .03) inset,
        0 1px 0 rgba(255, 255, 255, .08) inset;
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px) scale(.98);
    animation: cardIn 1s var(--ease) .1s forwards;
}

.card-shine {
    position: absolute; top: 0; left: -60%;
    width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .07), transparent);
    transform: skewX(-18deg);
    animation: sweep 7s ease-in-out 1.2s infinite;
    pointer-events: none;
}

/* ---------------- Обложка ---------------- */
.cover-wrap {
    position: relative;
    width: min(74%, 300px);
    margin: 6px auto 26px;
    aspect-ratio: 1;
    perspective: 900px;
    opacity: 0;
    animation: coverIn 1.1s var(--ease) .35s forwards;
}

.cover-glow {
    position: absolute; inset: -14%;
    background: radial-gradient(circle at 50% 60%, rgba(255, 61, 154, .55), transparent 65%);
    filter: blur(30px);
    z-index: 0;
    animation: pulse 4.5s ease-in-out infinite;
}

.cover-tilt {
    position: relative;
    z-index: 2;
    border-radius: 18px;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .18s var(--ease);
    box-shadow:
        0 24px 50px -18px rgba(0, 0, 0, .8),
        0 0 0 1px rgba(255, 255, 255, .08);
}
.cover-img { display: block; width: 100%; height: 100%; object-fit: cover; }

.cover-gloss {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .22) 0%, transparent 40%, transparent 70%, rgba(255, 61, 154, .12) 100%);
    pointer-events: none;
}

/* «пластинка» выезжает из-за обложки */
.cover-vinyl {
    position: absolute;
    top: 6%; right: 4%;
    width: 88%; height: 88%;
    border-radius: 50%;
    z-index: 1;
    background:
        radial-gradient(circle, #16121d 16%, transparent 17%),
        repeating-radial-gradient(circle, #0d0a13 0 2px, #1a141f 2px 4px);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .9);
    transform: translateX(0) rotate(0deg);
    transition: transform 1s var(--ease);
    animation: spin 9s linear infinite paused;
}
.card:hover .cover-vinyl { transform: translateX(42%) rotate(30deg); animation-play-state: running; }

/* ---------------- Инфо ---------------- */
.meta { text-align: center; margin-bottom: 24px; }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--sunset-3);
    background: rgba(255, 122, 69, .1);
    border: 1px solid rgba(255, 122, 69, .28);
    padding: 7px 14px; border-radius: 100px;
    margin-bottom: 16px;
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--sunset-1);
    box-shadow: 0 0 0 0 rgba(255, 122, 69, .6);
    animation: ping 1.8s ease-out infinite;
}

.title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.02;
    letter-spacing: -.01em;
    background: linear-gradient(100deg, var(--sunset-3) 0%, var(--sunset-1) 40%, var(--sunset-2) 75%, #ff7ad9 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shimmer 6s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(255, 61, 154, .25);
}

.artist {
    margin-top: 8px;
    font-size: 15px; font-weight: 700; letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--text);
}

.lead {
    margin-top: 16px;
    font-size: 14.5px; line-height: 1.55;
    color: var(--text-dim);
    max-width: 32ch; margin-left: auto; margin-right: auto;
}

/* ---------------- Кнопки сервисов ---------------- */
.services { display: flex; flex-direction: column; gap: 11px; }

.service {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    padding: 13px 16px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    overflow: hidden;
    transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
    opacity: 0;
    transform: translateY(16px);
    animation: itemIn .7s var(--ease) forwards;
    -webkit-tap-highlight-color: transparent;
}
.service::before {
    content: ''; position: absolute; inset: 0;
    background: var(--svc, linear-gradient(90deg, var(--sunset-1), var(--sunset-2)));
    opacity: 0; transition: opacity .35s var(--ease);
    z-index: 0;
}
.service > * { position: relative; z-index: 1; }

.service:hover, .service:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255,255,255,.05) inset;
    outline: none;
}
.service:active { transform: translateY(-1px) scale(.99); }

.service-icon {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 11px;
    overflow: hidden;
    transition: transform .35s var(--ease);
}
.service-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35));
}
.service:hover .service-icon { transform: scale(1.08) rotate(-4deg); }

.service-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.service-action { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); transition: color .35s; }
.service-name { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }

.service-arrow {
    font-size: 19px; font-weight: 600;
    color: var(--text-soft);
    transform: translateX(-4px);
    opacity: 0;
    transition: transform .35s var(--ease), opacity .35s var(--ease), color .35s;
}
.service:hover .service-arrow { transform: translateX(0); opacity: 1; color: #fff; }
.service:hover .service-action { color: rgba(255, 255, 255, .85); }

/* цветной фон и иконки по брендам */
.service--spotify { --svc: linear-gradient(90deg, #1db954, #14833b); --svc-icon: #1db954; }
.service--apple   { --svc: linear-gradient(90deg, #fb5c74, #fa243c); --svc-icon: #fb5c74; }
.service--yandex  { --svc: linear-gradient(90deg, #ffcc00, #ffbb00); --svc-icon: #ffcc00; }
.service--vk      { --svc: linear-gradient(90deg, #4a76a8, #2a5885); --svc-icon: #6a9bd8; }
.service--zvuk    { --svc: linear-gradient(90deg, #ff8a00, #ff2e7e 55%, #8b3dff); --svc-icon: #ff2e7e; }
.service--kion    { --svc: linear-gradient(90deg, #a020f0, #7b2ff7); --svc-icon: #c15bff; }

.service:hover::before, .service:focus-visible::before { opacity: .9; }
.service:hover .service-name, .service:hover .service-action { color: #fff; }
.service:hover .service-icon { color: #fff; }

/* задержки появления */
.service:nth-child(1) { animation-delay: .55s; }
.service:nth-child(2) { animation-delay: .64s; }
.service:nth-child(3) { animation-delay: .73s; }
.service:nth-child(4) { animation-delay: .82s; }
.service:nth-child(5) { animation-delay: .91s; }
.service:nth-child(6) { animation-delay: 1s; }

/* ---------------- Подвал ---------------- */
.footer {
    margin-top: 26px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.eq { display: flex; align-items: flex-end; gap: 4px; height: 20px; }
.eq span {
    width: 3px; border-radius: 3px;
    background: linear-gradient(180deg, var(--sunset-1), var(--sunset-2));
    animation: eq 1s ease-in-out infinite;
}
.eq span:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq span:nth-child(2) { height: 90%; animation-delay: .2s; }
.eq span:nth-child(3) { height: 60%; animation-delay: .4s; }
.eq span:nth-child(4) { height: 100%; animation-delay: .1s; }
.eq span:nth-child(5) { height: 50%; animation-delay: .3s; }

.footer-text { font-size: 12px; color: var(--text-soft); letter-spacing: .02em; text-align: center; }

/* ---------------- Анимации ---------------- */
@keyframes cardIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes coverIn { from { opacity: 0; transform: translateY(20px) rotateX(12deg); } to { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes itemIn { to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
@keyframes sweep { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes pulse { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: .95; transform: scale(1.06); } }
@keyframes spin { to { transform: translateX(42%) rotate(390deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 122, 69, .6); } 70% { box-shadow: 0 0 0 8px rgba(255, 122, 69, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0); } }
@keyframes eq { 0%, 100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
@keyframes bgDrift { from { transform: scale(1.15) translate(0, 0); } to { transform: scale(1.22) translate(-2%, -2%); } }
@keyframes floatGlow { from { transform: translate(0, 0); } to { transform: translate(6%, -8%); } }
@keyframes rise {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: .9; }
    90% { opacity: .7; }
    100% { transform: translateY(-102vh) translateX(var(--drift, 20px)); opacity: 0; }
}

/* ---------------- Адаптив ---------------- */
@media (max-width: 380px) {
    .service-name { font-size: 16px; }
    .service-icon { width: 38px; height: 38px; }
    .artist { letter-spacing: .22em; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .card, .cover-wrap, .service { opacity: 1; transform: none; }
}
