:root {
  --bg: #fff6f8;
  --text: #1f2937;
  --muted: #475569;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-400: #fbbf24;
  --slate-50: #f8fafc;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 60px rgba(225, 29, 72, 0.18);
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f9a8d4 0%, #fecdd3 45%, #fef3c7 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.5;
  pointer-events: none;
}

.hero::before {
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.9);
  top: -40px;
  left: -40px;
}

.hero::after {
  width: 260px;
  height: 260px;
  background: rgba(253, 224, 71, 0.45);
  top: 40px;
  right: -40px;
}

.hero-inner {
  position: relative;
  padding: 44px 0 52px;
}

.hero-top {
  display: grid;
  gap: 28px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.84);
  color: var(--rose-600);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}

h1 {
  margin: 14px 0 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--slate-900);
}

.accent { color: var(--rose-600); }

.hero-copy p {
  margin: 20px 0 0;
  max-width: 700px;
  font-size: 18px;
  color: var(--slate-700);
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--rose-600);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover { background: #be123c; }

.btn-secondary {
  background: rgba(255,255,255,0.92);
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 240px;
  border-radius: var(--radius-2xl);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  border: 4px solid rgba(255,255,255,0.75);
  object-fit: cover;
}

.card {
  background: rgba(255,255,255,0.88);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  margin-top: 32px;
}

.section {
  padding: 40px 0 56px;
}

.section-grid {
  display: grid;
  gap: 24px;
}

.panel {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rose-100);
}

.panel-gradient {
  background: linear-gradient(135deg, var(--amber-100), #ffffff 55%, #ffe4e6 100%);
  border: 1px solid #fde7aa;
}

.panel-rose {
  background: var(--rose-600);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(225, 29, 72, 0.22);
  border: none;
}

.section-title,
.panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.15;
  color: var(--slate-900);
}

.panel-rose h2 { color: var(--white); }

.title-with-icon {
  display: flex;
  align-items: center;
  gap: 14px;
}

.title-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
}

.lead,
.panel p {
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--slate-700);
}

.panel-rose p,
.panel-rose li { color: rgba(255,255,255,0.95); }

.highlights {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: var(--rose-50);
  border: 1px solid var(--rose-100);
  font-weight: 600;
  color: var(--slate-700);
}

.highlight-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
}

.bizum-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: 24px;
  background: var(--slate-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.bizum-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: #ffffff !important;
  font-weight: 700;
}

.bizum-subtitle {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: #ffe4e6;
}

.bizum-number {
  margin: 6px 0 0;
  font-size: 2em !important;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.02em;
  word-break: break-word;
  color: #ffffff !important;
  text-align: center;
}

.inline-link {
  color: var(--rose-600);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #fda4af;
  text-underline-offset: 4px;
}

.banner {
  margin-top: 20px;
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #fde68a;
  object-fit: cover;
}

.list-important {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.list-important li + li { margin-top: 14px; }

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.btn-amber {
  background: var(--amber-400);
  color: var(--slate-900);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: var(--white);
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
}

.texto-arcoiris {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 4px;
  border-radius: 4px;
  animation: arcoiris 2s infinite;
}

@keyframes arcoiris {
  0%   { background-color: #ff0000; color: #ffffff; }
  20%  { background-color: #ffa500; color: #000000; }
  40%  { background-color: #ffff00; color: #000000; }
  60%  { background-color: #008000; color: #ffffff; }
  80%  { background-color: #0000ff; color: #ffffff; }
  100% { background-color: #ff0000; color: #ffffff; }
}
  
/* Estilos para la tabla de participantes del karaoke (2 columnas) */
.karaoke-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}

.karaoke-table th,
.karaoke-table td {
  border-bottom: 1px solid var(--rose-200);
  padding: 14px 8px;
  text-align: left;
  vertical-align: middle;
}

.karaoke-table th {
  background-color: var(--rose-100);
  color: var(--slate-800);
  font-weight: 700;
  font-size: 16px;
  border-radius: 20px 20px 0 0;
}

.karaoke-table tr:hover {
  background-color: rgba(251, 113, 133, 0.05);
}

/* El enlace de la canción ocupa toda la celda y se ve como un enlace interactivo */
.song-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-600);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed var(--rose-300);
  transition: all 0.2s ease;
}

.song-link:hover {
  color: var(--rose-800);
  border-bottom-color: var(--rose-600);
  transform: translateX(2px);
}

/* Icono de YouTube pequeño */
.youtube-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e11d48'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.376.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.376-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Ajustes responsivos para la tabla */
@media (max-width: 640px) {
  .karaoke-table th,
  .karaoke-table td {
    padding: 12px 6px;
    font-size: 13px;
  }
  .karaoke-table td:first-child,
  .karaoke-table th:first-child {
    padding-left: 0;
  }
  .karaoke-table td:last-child,
  .karaoke-table th:last-child {
    padding-right: 0;
  }
  .song-link {
    font-size: 13px;
  }
}

.badge-micro {
  display: inline-block;
  background: var(--amber-100);
  color: var(--slate-800);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 16px;
}
  
@media (min-width: 640px) {
  .hero-inner { padding: 56px 0 68px; }
  .button-row { flex-direction: row; flex-wrap: wrap; }
  .card, .panel { padding: 32px; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-image { max-width: 300px; }
  .title-icon,
  .highlight-item img { width: 56px; height: 56px; }
}

@media (min-width: 768px) {
  .hero-top {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .hero-image-wrap {
    justify-content: flex-end;
  }
  .hero-image { max-width: 360px; }
}

@media (min-width: 1024px) {
  .hero-top {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .section-grid.two-cols {
    grid-template-columns: 0.95fr 1fr;
  }
  .cta-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .hero-image { max-width: 400px; }
}