/* ══════════════════════════════════════
   Cocinando con Soul — styles.css
   ══════════════════════════════════════ */

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

:root {
  --black:  #060606;
  --white:  #f5f0e8;
  --red:    #e63535;
  --yellow: #f5c842;
  --glow:   rgba(230, 53, 53, 0.35);
}

html, body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: 'Spicy Rise';
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 100;
}

/* Radial glow */
body::after {
  content: '';
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(230,53,53,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ──── STARS ──── */
.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--white);
  border-radius: 50%;
  animation: twinkle var(--d, 4s) var(--delay, 0s) ease-in-out infinite;
  opacity: 0;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: var(--op, 0.6); transform: scale(1.5); }
}

/* ──── HERO ──── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
  gap: 1.5rem;
}

/* ──── LOGO ──── */
.logo-wrap {
  animation: floatIn 1.2s cubic-bezier(0.22,1,0.36,1) both;
}
.logo-wrap img {
  width: min(320px, 72vw);
  height: auto;
  filter: drop-shadow(0 0 32px var(--glow)) drop-shadow(0 0 80px rgba(230,53,53,0.15));
  border-radius: 50%;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.logo-wrap img:hover {
  transform: scale(1.04) rotate(-1deg);
  filter: drop-shadow(0 0 48px var(--glow)) drop-shadow(0 0 120px rgba(230,53,53,0.25));
}

/* ──── HEADLINE ──── */
.headline {
  animation: floatIn 1.4s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}
.headline h1 {
  font-family: 'Spicy Rice', cursive;
  font-size: clamp(2.4rem, 9vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.headline h1 span.txt-white {
  color: #ffffff;
  -webkit-text-stroke: 10px #e63535;
  paint-order: stroke fill;
}
.headline h1 span.txt-yellow {
  color: #f5c842;
  -webkit-text-stroke: 10px #e63535;
  paint-order: stroke fill;
}

.tagline {
  margin-top: 0.6rem;
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
}

/* ──── BIO ──── */
.bio {
  max-width: 480px;
font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245,240,232,0.75);
  animation: floatIn 1.4s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}

/* ──── SOCIAL BUTTONS ──── */
.socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: floatIn 1.4s 0.45s cubic-bezier(0.22,1,0.36,1) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-yt {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 24px rgba(230,53,53,0.4);
}
.btn-yt:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 36px rgba(230,53,53,0.6);
  background: #ff3c3c;
}

.btn-ig {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(245,240,232,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.btn-ig:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--white);
  box-shadow: 0 8px 28px rgba(245,240,232,0.12);
  background: rgba(245,240,232,0.06);
}

/* ──── AUDIO PLAYER ──── */
.audio-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 0.55rem 1.2rem;
  animation: floatIn 1.4s 0.6s cubic-bezier(0.22,1,0.36,1) both;
}
#play-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--red);
  padding: 0;
  line-height: 1;
  transition: transform 0.2s;
}
#play-btn:hover { transform: scale(1.2); }
#play-btn svg { width: 22px; height: 22px; }

.audio-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(245,240,232,0.5);
  text-transform: uppercase;
}
.audio-dots { display: flex; gap: 3px; align-items: center; }
.audio-dots span {
  width: 3px;
  border-radius: 3px;
  background: var(--red);
  opacity: 0.6;
  animation: wave 1.2s ease-in-out infinite;
}
.audio-dots span:nth-child(1) { height: 8px;  animation-delay: 0s; }
.audio-dots span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.audio-dots span:nth-child(3) { height: 10px; animation-delay: 0.3s; }
.audio-dots span:nth-child(4) { height: 16px; animation-delay: 0.1s; }
.audio-dots span:nth-child(5) { height: 8px;  animation-delay: 0.25s; }
.audio-dots.paused span { animation-play-state: paused; opacity: 0.25; }

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

/* ──── DIVIDER ──── */
.divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  border-radius: 2px;
  animation: floatIn 1.4s 0.6s both;
}

/* ──── FLOAT IN ──── */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──── RESPONSIVE ──── */
@media (max-width: 480px) {
  .socials { gap: 0.7rem; }
  .btn { padding: 0.65rem 1.3rem; font-size: 0.88rem; }
}
