:root {
  --bg: #020617;
  --bg-alt: #0b1120;
  --text: #f9fafb;
  --muted: #9ca3af;
  --accent: #ff4b8b;
  --accent-alt: #38bdf8;
  --card: #020617;
  --radius: 14px;
}

[data-theme="light"] {
  --bg: #f9fafb;
  --bg-alt: #e5e7eb;
  --text: #020617;
  --muted: #4b5563;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

body {
  background: radial-gradient(circle at top, #111827 0, #020617 55%);
  color: var(--text);
  min-height: 100vh;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: #020617dd;
  border-bottom: 1px solid #ffffff11;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.logo img {
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: var(--accent);
}

.theme-toggle {
  border-radius: 999px;
  border: 1px solid #ffffff22;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}

/* MAIN */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3.5rem;
}

/* HERO */
.hero {
  padding: 4rem 0 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.05;
}

.hero-title span {
  background: linear-gradient(135deg, #ff4b8b, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  max-width: 32rem;
  margin-top: 1.2rem;
  font-size: 1.05rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  border-radius: 999px;
  border: 1px solid #ffffff22;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: #020617aa;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4b8b, #38bdf8);
  color: #020617;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 10px 30px #000000aa;
}

/* SECTIONS */
.section {
  margin-top: 3rem;
}

.section h2 {
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.4rem;
  border: 1px solid #ffffff11;
}

.card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* AUDIO GRID */
.audio-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.audio-card {
  position: relative;
  padding: 2rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.4s ease;
  overflow: hidden;
}

.audio-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(255, 75, 139, 0.25);
}

.audio-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.audio-card p {
  margin-bottom: 1rem;
  color: var(--muted);
}

/* WAVE ANIMATION */
.wave {
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(255,75,139,0.15), transparent 70%);
  opacity: 0;
  transform: scale(0.6);
  transition: 0.6s ease;
  pointer-events: none;
}

.audio-card:hover .wave {
  opacity: 1;
  transform: scale(1);
}

/* AUDIO PLAYER — FINAL VERSION */
audio {
  width: 100%;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 6px;
  box-shadow: 0 0 18px rgba(255, 75, 139, 0.25);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Panel */
audio::-webkit-media-controls-panel {
  background: rgba(15, 23, 42, 0.65);
  border-radius: 10px;
  padding: 4px 10px;
  backdrop-filter: blur(8px);
}

/* Play Button */
audio::-webkit-media-controls-play-button {
  background: var(--accent);
  border-radius: 50%;
  transform: scale(1.25);
  transition: 0.25s ease;
}

audio::-webkit-media-controls-play-button:hover {
  background: var(--accent-alt);
  transform: scale(1.35);
  box-shadow: 0 0 12px var(--accent-alt);
}

/* Timeline */
audio::-webkit-media-controls-timeline {
  background: rgba(255,255,255,0.15);
  height: 6px;
  border-radius: 4px;
  margin: 0 10px;
  transition: 0.25s ease;
}

audio::-webkit-media-controls-timeline:hover {
  background: rgba(255, 75, 139, 0.45);
}

/* Time Labels */
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  color: var(--accent-alt);
  font-weight: 600;
  text-shadow: 0 0 6px rgba(56,189,248,0.6);
}

/* Volume Slider */
audio::-webkit-media-controls-volume-slider {
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
  transition: 0.25s ease;
}

audio::-webkit-media-controls-volume-slider:hover {
  background: rgba(255, 75, 139, 0.45);
}

/* FOOTER */
footer {
  border-top: 1px solid #ffffff11;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 3rem;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 0.8rem;
    font-size: 0.8rem;
  }
}

.pw-player {
  background: #0f172a;
  border: 1px solid #ffffff15;
  padding: 20px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 0 25px rgba(0,0,0,0.45);
}

.pw-meta h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.pw-meta p {
  color: var(--muted);
  font-size: 0.9rem;
}

.pw-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pw-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.pw-play:hover {
  background: var(--accent-alt);
  transform: scale(1.1);
}

.pw-timeline {
  flex: 1;
  height: 10px;
  background: #1e293b;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.pw-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  transition: width 0.1s linear;
}

.pw-time {
  font-size: 0.9rem;
  color: var(--muted);
  min-width: 50px;
  text-align: right;
}


/* CONTACT FORM — PULSEWAVE CLEAN UI */
.contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  font-size: 1rem;
  transition: 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 14px rgba(255,75,139,0.25);
  outline: none;
}

.contact-form button.btn-primary {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 12px;
  margin-top: 0.5rem;
}