/* ============================================================
   D Zone — Music Animations & Vibrant Visual Layer
   ============================================================ */

/* ---- Animated mesh background ---- */
.music-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.music-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.42;
    animation: orbFloat 12s ease-in-out infinite;
}

.music-orb--1 {
    width: 520px;
    height: 520px;
    background: var(--dz-neon-magenta);
    top: -140px;
    left: -100px;
    animation-delay: 0s;
}

.music-orb--2 {
    width: 440px;
    height: 440px;
    background: var(--dz-neon-cyan);
    top: 8%;
    right: -120px;
    animation-delay: -4s;
}

.music-orb--3 {
    width: 340px;
    height: 340px;
    background: var(--dz-electric-violet);
    bottom: 0;
    left: 28%;
    animation-delay: -8s;
}

.hero-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.5;
}

.hero-aurora--1 {
    width: 60%;
    height: 40%;
    top: 20%;
    left: 20%;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
    animation: heroAuroraDrift 14s ease-in-out infinite;
}

.hero-aurora--2 {
    width: 50%;
    height: 35%;
    top: 30%;
    right: 10%;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
    animation: heroAuroraDrift 18s ease-in-out infinite reverse;
    animation-delay: -6s;
}

.hero-aurora--3 {
    width: 40%;
    height: 30%;
    bottom: 15%;
    left: 5%;
    background: radial-gradient(ellipse, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
    animation: heroAuroraDrift 20s ease-in-out infinite;
    animation-delay: -10s;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(at 80% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 45%),
        radial-gradient(at 60% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(at 10% 70%, rgba(167, 139, 250, 0.08) 0%, transparent 40%);
    animation: heroMeshShift 20s ease-in-out infinite;
}

@keyframes heroAuroraDrift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
    50% { transform: translate(30px, -20px) scale(1.08); opacity: 0.65; }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ---- Audio waveform ---- */
.waveform {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 48px;
    margin: 32px auto 0;
    max-width: 280px;
}

.waveform-bar {
    width: 4px;
    border-radius: 4px;
    background: var(--dz-gradient-vivid);
    animation: waveBar 1.2s ease-in-out infinite;
    transform-origin: bottom;
}

.waveform-bar:nth-child(1)  { height: 18px; animation-delay: 0s; }
.waveform-bar:nth-child(2)  { height: 32px; animation-delay: 0.1s; }
.waveform-bar:nth-child(3)  { height: 24px; animation-delay: 0.2s; }
.waveform-bar:nth-child(4)  { height: 40px; animation-delay: 0.15s; }
.waveform-bar:nth-child(5)  { height: 28px; animation-delay: 0.25s; }
.waveform-bar:nth-child(6)  { height: 44px; animation-delay: 0.05s; }
.waveform-bar:nth-child(7)  { height: 20px; animation-delay: 0.3s; }
.waveform-bar:nth-child(8)  { height: 36px; animation-delay: 0.12s; }
.waveform-bar:nth-child(9)  { height: 26px; animation-delay: 0.22s; }
.waveform-bar:nth-child(10) { height: 38px; animation-delay: 0.08s; }
.waveform-bar:nth-child(11) { height: 22px; animation-delay: 0.18s; }
.waveform-bar:nth-child(12) { height: 30px; animation-delay: 0.28s; }

@keyframes waveBar {
    0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ---- Floating music notes ---- */
.floating-notes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-note {
    position: absolute;
    font-size: 24px;
    color: var(--dz-sky);
    opacity: 0.18;
    animation: noteFloat 8s ease-in-out infinite;
    filter: drop-shadow(0 0 12px currentColor);
}

.floating-note:nth-child(1) { top: 12%; left: 6%;  animation-delay: 0s;   color: #c4b5fd; font-size: 28px; }
.floating-note:nth-child(2) { top: 22%; right: 10%; animation-delay: -2s;  font-size: 20px; color: #67e8f9; }
.floating-note:nth-child(3) { top: 58%; left: 4%;  animation-delay: -4s;  color: #a5b4fc; font-size: 22px; }
.floating-note:nth-child(4) { top: 68%; right: 6%; animation-delay: -1s;  font-size: 30px; color: #fcd34d; }
.floating-note:nth-child(5) { top: 38%; left: 12%; animation-delay: -3s;  color: #7dd3fc; font-size: 26px; }
.floating-note:nth-child(6) { top: 48%; right: 14%;animation-delay: -5s;  font-size: 18px; color: #f472b6; }
.floating-note:nth-child(7) { top: 18%; left: 42%; animation-delay: -2.5s; font-size: 16px; color: #818cf8; opacity: 0.12; }
.floating-note:nth-child(8) { top: 72%; left: 38%; animation-delay: -4.5s; font-size: 20px; color: #34d399; opacity: 0.14; }

@keyframes noteFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.16; }
    50% { transform: translateY(-28px) rotate(10deg); opacity: 0.32; }
}

/* ---- Hero banner animations ---- */
@keyframes heroGradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes heroBadgePulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 12px rgba(167, 139, 250, 0.8); }
    50% { transform: scale(1.15); opacity: 0.85; box-shadow: 0 0 20px rgba(167, 139, 250, 1); }
}

@keyframes heroBtnShine {
    0% { transform: translateX(-120%); }
    40%, 100% { transform: translateX(120%); }
}

@keyframes heroMeshShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.03); }
}

@keyframes heroBeamPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes heroMockupFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes heroFloatCard1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6px, -8px); }
}

@keyframes heroFloatCard2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(8px, -6px); }
}

@keyframes heroFloatCard3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-4px, 6px); }
}

@keyframes heroChartBar {
    0%, 100% { transform: scaleY(0.85); opacity: 0.7; }
    50% { transform: scaleY(1); opacity: 1; }
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@keyframes heroEqBar {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

@keyframes heroToastCycle {
    0% { opacity: 0; transform: translateY(-14px) scale(0.96); }
    6%, 55% { opacity: 1; transform: translateY(0) scale(1); }
    62%, 100% { opacity: 0; transform: translateY(-10px) scale(0.97); }
}

/* ---- Vinyl spin ---- */
.vinyl-disc {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #111 0deg, #222 30deg, #111 60deg, #1a1a1a 90deg, #111 120deg, #222 150deg, #111 180deg, #1a1a1a 210deg, #111 240deg, #222 270deg, #111 300deg, #1a1a1a 330deg);
    border: 3px solid var(--dz-border-strong);
    position: relative;
    animation: vinylSpin 8s linear infinite;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.vinyl-disc::before {
    content: "";
    position: absolute;
    inset: 30%;
    border-radius: 50%;
    background: var(--dz-gradient-vivid);
}

.vinyl-disc::after {
    content: "";
    position: absolute;
    inset: 44%;
    border-radius: 50%;
    background: var(--dz-bg);
}

@keyframes vinylSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---- CSS UI mockups (replace heavy PNGs) ---- */
.ui-mockup {
    margin-top: 24px;
    border-radius: var(--dz-radius);
    border: 1px solid var(--dz-border);
    background: var(--dz-bg-elevated);
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
}

.ui-mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--dz-border);
}

.ui-mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ui-mockup-dot--r { background: #ff5f57; }
.ui-mockup-dot--y { background: #febc2e; }
.ui-mockup-dot--g { background: #28c840; }

.ui-mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: calc(100% - 38px);
}

.ui-mockup-line {
    height: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
}

.ui-mockup-line--accent {
    background: var(--dz-gradient-vivid);
    width: 60%;
}

.ui-mockup-line--short { width: 40%; }
.ui-mockup-line--med { width: 75%; }

.ui-mockup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    flex: 1;
}

.ui-mockup-tile {
    border-radius: 8px;
    border: 1px solid var(--dz-border);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--dz-neon-cyan);
}

.ui-mockup-tile:nth-child(2) { color: var(--dz-neon-magenta); }
.ui-mockup-tile:nth-child(3) { color: var(--dz-electric-violet); }

/* Globe mockup */
.ui-globe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
    padding: 24px;
}

.ui-globe-icon {
    font-size: 64px;
    color: var(--dz-neon-cyan);
    animation: globePulse 3s ease-in-out infinite;
}

@keyframes globePulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.2)); }
    50% { transform: scale(1.06); filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.35)); }
}

.lang-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.lang-pill {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--dz-radius-full);
    border: 1px solid var(--dz-border);
    color: var(--dz-text-muted);
    animation: pillFade 4s ease-in-out infinite;
}

.lang-pill:nth-child(1) { animation-delay: 0s; border-color: rgba(99, 102, 241, 0.35); color: var(--dz-indigo); }
.lang-pill:nth-child(2) { animation-delay: 0.5s; border-color: rgba(56, 189, 248, 0.35); color: var(--dz-sky); }
.lang-pill:nth-child(3) { animation-delay: 1s; border-color: rgba(139, 92, 246, 0.35); color: var(--dz-violet); }
.lang-pill:nth-child(4) { animation-delay: 1.5s; }
.lang-pill:nth-child(5) { animation-delay: 2s; }

@keyframes pillFade {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

/* Experience mockup */
.ui-experience {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
    padding: 24px;
}

.ui-stars {
    display: flex;
    gap: 6px;
    font-size: 22px;
    color: var(--dz-neon-gold);
}

.ui-mini-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 32px;
}

.ui-mini-wave span {
    width: 3px;
    border-radius: 3px;
    background: var(--dz-gradient-vivid);
    animation: waveBar 1s ease-in-out infinite;
}

.ui-mini-wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.ui-mini-wave span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.ui-mini-wave span:nth-child(3) { height: 16px; animation-delay: 0.2s; }
.ui-mini-wave span:nth-child(4) { height: 28px; animation-delay: 0.15s; }
.ui-mini-wave span:nth-child(5) { height: 18px; animation-delay: 0.25s; }
.ui-mini-wave span:nth-child(6) { height: 24px; animation-delay: 0.05s; }
.ui-mini-wave span:nth-child(7) { height: 14px; animation-delay: 0.3s; }

/* Modern portal experience mockup */
.ui-portal {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    height: 100%;
}

.ui-portal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ui-portal-avatars {
    display: flex;
    align-items: center;
}

.ui-portal-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: -8px;
    border-radius: 50%;
    border: 2px solid var(--dz-surface);
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    animation: portalAvatarPulse 2.8s ease-in-out infinite;
}

.ui-portal-avatar:first-child {
    margin-left: 0;
}

.ui-portal-avatar--1 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    animation-delay: 0s;
}

.ui-portal-avatar--2 {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    animation-delay: 0.35s;
}

.ui-portal-avatar--3 {
    background: linear-gradient(135deg, #34d399, #38bdf8);
    animation-delay: 0.7s;
}

.ui-portal-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(52, 211, 153, 0.25);
    background: rgba(52, 211, 153, 0.08);
    animation: portalScoreGlow 3s ease-in-out infinite;
}

.ui-portal-score strong {
    font-family: var(--dz-font-display);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    color: var(--dz-emerald);
}

.ui-portal-score span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dz-text-subtle);
}

.ui-portal-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ui-portal-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--dz-border);
    background: rgba(255, 255, 255, 0.025);
    animation: portalRowIn 3.6s ease-in-out infinite;
}

.ui-portal-row:nth-child(1) { animation-delay: 0s; }
.ui-portal-row:nth-child(2) { animation-delay: 0.45s; }
.ui-portal-row:nth-child(3) { animation-delay: 0.9s; }

.ui-portal-row i {
    flex-shrink: 0;
    font-size: 15px;
    color: var(--dz-emerald);
}

.ui-portal-row:nth-child(2) i {
    color: var(--dz-sky);
}

.ui-portal-row:nth-child(3) i {
    color: var(--dz-violet);
}

.ui-portal-row-line {
    display: block;
    height: 6px;
    width: 72%;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.ui-portal-row-line--med {
    width: 58%;
}

.ui-portal-row-line--short {
    width: 44%;
}

@keyframes portalAvatarPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes portalScoreGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(52, 211, 153, 0); }
    50% { box-shadow: 0 0 18px rgba(52, 211, 153, 0.18); }
}

@keyframes portalRowIn {
    0%, 100% { opacity: 0.72; transform: translateX(0); }
    40% { opacity: 1; transform: translateX(2px); }
}

/* ---- Platform pills with icons ---- */
.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--dz-radius-full);
    border: 1px solid var(--dz-border);
    background: rgba(255, 255, 255, 0.03);
    font-family: var(--dz-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--dz-text-muted);
    white-space: nowrap;
    transition: var(--dz-transition);
}

.platform-pill i {
    font-size: 20px;
    flex-shrink: 0;
}

.platform-pill:hover {
    border-color: var(--dz-border-strong);
    color: var(--dz-text);
    transform: translateY(-2px);
    box-shadow: var(--dz-shadow);
}

/* Official brand icon colors */
.platform-pill--spotify i { color: #1db954; }
.platform-pill--apple i { color: #fc3c44; }
.platform-pill--youtube i { color: #ff0000; }
.platform-pill--amazon i { color: #ff9900; }
.platform-pill--tidal i { color: #ffffff; }
.platform-pill--deezer i { color: #a238ff; }
.platform-pill--beatport i { color: #94fc13; }
.platform-pill--soundcloud i { color: #ff5500; }
.platform-pill--pandora i { color: #3668ff; }
.platform-pill--shazam i { color: #0088ff; }

.platform-pill--tiktok i {
    background: linear-gradient(135deg, #25f4ee 0%, #fe2c55 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.platform-pill--instagram i {
    background: linear-gradient(45deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.platform-pill--spotify:hover { border-color: rgba(29, 185, 84, 0.45); }
.platform-pill--apple:hover { border-color: rgba(252, 60, 68, 0.45); }
.platform-pill--youtube:hover { border-color: rgba(255, 0, 0, 0.45); }
.platform-pill--amazon:hover { border-color: rgba(255, 153, 0, 0.45); }
.platform-pill--tidal:hover { border-color: rgba(255, 255, 255, 0.35); }
.platform-pill--deezer:hover { border-color: rgba(162, 56, 255, 0.45); }
.platform-pill--beatport:hover { border-color: rgba(148, 252, 19, 0.45); }
.platform-pill--soundcloud:hover { border-color: rgba(255, 85, 0, 0.45); }
.platform-pill--pandora:hover { border-color: rgba(54, 104, 255, 0.45); }
.platform-pill--shazam:hover { border-color: rgba(0, 136, 255, 0.45); }
.platform-pill--tiktok:hover { border-color: rgba(254, 44, 85, 0.45); }
.platform-pill--instagram:hover { border-color: rgba(221, 42, 123, 0.45); }

/* ---- Icon system (Phosphor) ---- */
.dz-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dz-icon--lg { font-size: 28px; }
.dz-icon--xl { font-size: 36px; }

.eco-card-icon i {
    font-size: 24px;
}

/* Per-card icon colors */
.eco-card:nth-child(1) .eco-card-icon { background: rgba(99, 102, 241, 0.12); color: var(--dz-indigo); }
.eco-card:nth-child(2) .eco-card-icon { background: rgba(56, 189, 248, 0.12); color: var(--dz-sky); }
.eco-card:nth-child(3) .eco-card-icon { background: rgba(139, 92, 246, 0.12); color: var(--dz-violet); }
.eco-card:nth-child(4) .eco-card-icon { background: rgba(252, 211, 77, 0.12); color: var(--dz-neon-gold); }
.eco-card:nth-child(5) .eco-card-icon { background: rgba(251, 113, 133, 0.12); color: var(--dz-hot-coral); }
.eco-card:nth-child(6) .eco-card-icon { background: rgba(56, 189, 248, 0.12); color: var(--dz-sky); }
.eco-card:nth-child(7) .eco-card-icon { background: rgba(99, 102, 241, 0.12); color: var(--dz-indigo); }
.eco-card:nth-child(8) .eco-card-icon { background: rgba(139, 92, 246, 0.12); color: var(--dz-violet); }

/* ---- Stagger reveal ---- */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Stat counter glow ---- */
.hero-stat {
    position: relative;
    transition: var(--dz-transition);
}

.hero-stat:hover {
    transform: translateY(-4px);
}

.hero-stat::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--dz-gradient-vivid);
    transition: width 0.3s ease;
}

.hero-stat:hover::after {
    width: 40px;
}

/* ---- Made-for visual cards (legacy fallback) ---- */
.visual-card {
    border-radius: var(--dz-radius-lg);
    border: 1px solid var(--dz-border);
    background: var(--dz-bg-elevated);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.08), transparent 60%);
    pointer-events: none;
}

.visual-card-icon {
    font-size: 56px;
    color: var(--dz-neon-magenta);
    filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.3));
}

.visual-card--labels .visual-card-icon { color: var(--dz-sky); filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.3)); }
.visual-card--managers .visual-card-icon { color: var(--dz-violet); filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.3)); }

.visual-card-stats {
    display: flex;
    gap: 24px;
    text-align: center;
}

.visual-card-stat strong {
    display: block;
    font-family: var(--dz-font-display);
    font-size: 24px;
    font-weight: 800;
    background: var(--dz-gradient-vivid);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-card-stat span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dz-text-subtle);
}

/* ---- Pulse ring on CTA ---- */
.expand-box .started-btn {
    position: relative;
}

.expand-box .started-btn::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: var(--dz-gradient-vivid);
    opacity: 0;
    z-index: -1;
    animation: ctaPulse 2.5s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(1.06); }
}

/* ---- Lazy image fade-in ---- */
.img-lazy {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.img-lazy.loaded {
    opacity: 1;
}

/* ---- Shimmer on section eyebrow ---- */
.section-eyebrow {
    position: relative;
    overflow: hidden;
}

.section-eyebrow::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ---- Distribution section: floating platform icons ---- */
@keyframes distributeFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    33% {
        transform: translate3d(0, -12px, 0) rotate(-1.5deg);
    }
    66% {
        transform: translate3d(0, -6px, 0) rotate(1deg);
    }
}

@keyframes distributeFloatAlt {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    40% {
        transform: translate3d(4px, -14px, 0) rotate(1.5deg);
    }
    70% {
        transform: translate3d(-3px, -5px, 0) rotate(-1deg);
    }
}

.distribute-icon {
    animation: distributeFloat 6s ease-in-out infinite;
}

.distribute-icon--apple,
.distribute-icon--tiktok,
.distribute-icon--youtube,
.distribute-icon--deezer {
    animation-name: distributeFloatAlt;
}

.distribute-icon--spotify { animation-delay: 0s; animation-duration: 5.5s; }
.distribute-icon--apple { animation-delay: -1.2s; animation-duration: 6.2s; }
.distribute-icon--instagram { animation-delay: -2.4s; animation-duration: 5.8s; }
.distribute-icon--facebook { animation-delay: -0.6s; animation-duration: 6.8s; }
.distribute-icon--tiktok { animation-delay: -1.8s; animation-duration: 5.4s; }
.distribute-icon--amazon { animation-delay: -3s; animation-duration: 6.5s; }
.distribute-icon--youtube { animation-delay: -2.1s; animation-duration: 5.9s; }
.distribute-icon--beatport { animation-delay: -0.9s; animation-duration: 7s; }
.distribute-icon--tidal { animation-delay: -2.7s; animation-duration: 6.1s; }
.distribute-icon--deezer { animation-delay: -1.5s; animation-duration: 5.7s; }

.distribute-platforms.reveal-stagger > * {
    opacity: 0;
    transition: opacity 0.55s ease;
}

.distribute-platforms.reveal-stagger.visible > * {
    opacity: 1;
}

.distribute-platforms.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.08s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.16s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.24s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.32s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.48s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.56s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.64s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.72s; }
.distribute-platforms.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.8s; }

.distribute-icon:hover {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.1) !important;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.55),
        0 0 32px rgba(99, 102, 241, 0.18);
    z-index: 10;
}

@keyframes distributeWavesSlide {
    0% { transform: translateX(0); }
    50% { transform: translateX(-6%); }
    100% { transform: translateX(0); }
}

@keyframes distributeWaveFlow {
    0% { stroke-dashoffset: 100; opacity: 0.55; }
    50% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0.55; }
}

.distribute-waves-motion {
    animation: distributeWavesSlide 16s ease-in-out infinite;
}

.distribute-wave {
    stroke-dasharray: 12 8;
    animation: distributeWaveFlow 5s linear infinite;
}

.distribute-wave--1 { animation-duration: 4.5s; animation-delay: 0s; }
.distribute-wave--2 { animation-duration: 5.5s; animation-delay: -1.2s; }
.distribute-wave--3 { animation-duration: 6s; animation-delay: -2.4s; }
.distribute-wave--4 { animation-duration: 4s; animation-delay: -0.8s; }
.distribute-wave--5 { animation-duration: 5.8s; animation-delay: -1.8s; }
.distribute-wave--6 { animation-duration: 6.5s; animation-delay: -3s; }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .music-orb,
    .hero-aurora,
    .hero-mesh,
    .hero-beam,
    .hero-mockup,
    .hero-float-card,
    .hero-mockup-chart-bars span,
    .hero-scroll-hint-icon,
    .hero-badge-dot,
    .hero-gradient-text,
    .hero-cta-primary::before,
    .hero-badge::after,
    .waveform-bar,
    .floating-note,
    .vinyl-disc,
    .ui-globe-icon,
    .lang-pill,
    .ui-portal-avatar,
    .ui-portal-score,
    .ui-portal-row,
    .section-eyebrow::after,
    .expand-box .started-btn::before,
    .footer-orb,
    .footer-wave-bar,
    .footer-notes i,
    .footer-status-dot,
    .distribute-icon,
    .distribute-wave,
    .distribute-waves-motion {
        animation: none !important;
    }

    .distribute-platforms.reveal-stagger > * {
        opacity: 1;
        transform: none;
    }

    .reveal-stagger > * {
        opacity: 1;
        transform: none;
    }

    .homePageBody .hero-content.reveal-stagger > *,
    .homePageBody .hero-visual.reveal {
        opacity: 1;
        transform: none;
    }
}
