/*
Theme Name: Where Dreams Go
Author: WDG Team
Description: Modern Neon Audio Portfolio
Version: 4.0
Text Domain: where-dreams-go
*/

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;300;400;700;900&display=swap');

:root {
    --neon-purple: #b026ff;
    --neon-blue: #00f0ff;
    --neon-pink: #ff007f;
    --dark-bg: #030308;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-glow: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: #ffffff;
    direction: rtl;
    overflow-x: hidden;
    padding-bottom: 110px;
}

.bg-orbs {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; overflow: hidden; pointer-events: none;
}

.orb {
    position: absolute; border-radius: 50%; filter: blur(120px);
    opacity: 0.15; animation: floatingOrbs 20s infinite alternate ease-in-out;
}

.orb-1 { width: 600px; height: 600px; background: var(--neon-purple); top: -10%; right: -10%; }
.orb-2 { width: 500px; height: 500px; background: var(--neon-blue); bottom: -10%; left: -10%; animation-delay: -5s; }

@keyframes floatingOrbs {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(3, 3, 8, 0.8); backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glow);
}

.nav-container {
    max-width: 1400px; margin: 0 auto; padding: 15px 40px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo {
    font-size: 26px; font-weight: 900;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.nav-menu ul { display: flex; list-style: none; gap: 30px; }
.nav-menu a {
    color: #a0a0a0; text-decoration: none; font-size: 14px;
    font-weight: 500; transition: 0.3s;
}

.nav-menu a:hover { color: #fff; text-shadow: 0 0 10px var(--neon-blue); }

.hero-section {
    min-height: 85vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 60px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 900; margin-bottom: 20px;
    letter-spacing: -1px; line-height: 1.1;
    background: linear-gradient(135deg, #fff 40%, #555);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-content h1 span {
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.1rem; color: #888; max-width: 600px; margin: 0 auto 40px;
    line-height: 1.8; font-weight: 300;
}

.equalizer {
    display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 45px;
}

.eq-bar {
    width: 3px; background: linear-gradient(to top, var(--neon-purple), var(--neon-blue));
    animation: eq-bounce 0.8s infinite alternate; border-radius: 2px;
}

@keyframes eq-bounce { 0% { height: 5px; } 100% { height: 45px; } }

.main-wrapper { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

.section-title { margin: 80px 0 40px; border-right: 4px solid var(--neon-pink); padding-right: 15px; }
.section-title h2 { font-size: 32px; font-weight: 800; }

.audio-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px;
}

.card {
    background: var(--card-bg); border: 1px solid var(--border-glow);
    border-radius: 24px; padding: 22px; backdrop-filter: blur(10px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative;
}

.card:hover { transform: translateY(-10px); border-color: var(--neon-blue); box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1); }

.card-image {
    width: 100%; aspect-ratio: 1; border-radius: 18px; margin-bottom: 18px;
    background: rgba(255,255,255,0.04); display: flex; align-items: center; justify-content: center;
    font-size: 45px; color: var(--neon-purple); overflow: hidden; position: relative;
}

.play-btn-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s; cursor: pointer;
}

.card:hover .play-btn-overlay { opacity: 1; }

.play-icon {
    width: 55px; height: 55px; background: var(--neon-blue); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #000; font-size: 20px;
}

.poetry-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 30px;
}

.poetry-card {
    background: var(--card-bg); border: 1px solid var(--border-glow);
    border-radius: 32px; padding: 50px 40px; text-align: center; transition: 0.4s;
}

.poetry-card:hover { border-color: var(--neon-purple); transform: translateY(-5px); }

.poem-content { font-size: 1.25rem; line-height: 2.4; margin-bottom: 35px; color: #eee; font-style: italic; }

.btn-play-poetry {
    background: rgba(255,255,255,0.06); color: #fff; border: 1px solid var(--border-glow);
    padding: 12px 30px; border-radius: 50px; cursor: pointer; transition: 0.3s; font-size: 14px;
}

.btn-play-poetry:hover { background: var(--neon-purple); border-color: var(--neon-purple); box-shadow: 0 0 20px var(--neon-purple); }

.footer-player {
    position: fixed; bottom: -130px; left: 0; width: 100%; height: 95px;
    background: rgba(5, 5, 12, 0.95); backdrop-filter: blur(25px);
    border-top: 1px solid var(--border-glow); z-index: 2000;
    display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
    transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-player.active { bottom: 0; }

.track-info { display: flex; align-items: center; gap: 15px; width: 30%; }

.track-icon { width: 55px; height: 55px; background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; }

.player-controls { width: 40%; display: flex; flex-direction: column; align-items: center; gap: 10px; }

.main-btns { display: flex; align-items: center; gap: 25px; }

.play-pause-btn { width: 45px; height: 45px; background: #fff; color: #000; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; }

.progress-area { width: 100%; display: flex; align-items: center; gap: 12px; font-size: 11px; color: #666; }

.progress-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; cursor: pointer; position: relative; }

.progress-fill { position: absolute; height: 100%; background: var(--neon-blue); width: 0%; border-radius: 2px; box-shadow: 0 0 10px var(--neon-blue); }

@media (max-width: 992px) {
    .poetry-grid { grid-template-columns: 1fr; }
    .track-info { width: 40%; }
    .player-controls { width: 50%; }
}

@media (max-width: 600px) {
    .nav-menu { display: none; }
    .hero-content h1 { font-size: 2.8rem; }
    .footer-player { padding: 0 20px; }
    .track-info { width: 100%; }
    .player-controls { display: none; }
}