
:root {
  --bg-color: #ffffff;
  --bg-secondary: #fdfbf7;
  --text-main: #2d3748;
  --text-muted: #718096;
  --accent-gold: #c5a059;
  --accent-hover: #1a202c;
  --font-heading: "Cinzel", serif;
  --font-body: "Lato", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.bg-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 0%, #fffaf0 0%, #ffffff 70%);
  z-index: -1;
}

/* --- Header --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: opacity 0.5s ease;
  opacity: 0;
}

header.reveal {
  opacity: 1;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.social-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Estilo para el botón PLAY NOW del Header */
.play-btn-header {
  background-color: #1a202c; /* Oscuro para destacar */
  color: #fff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid #1a202c;
  border-radius: 2px;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  display: inline-block;
}

.play-btn-header:hover {
  background-color: transparent;
  color: #1a202c !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-link {
  color: #1a202c;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

.social-link:hover {
  color: var(--accent-gold);
  background-color: rgba(0, 0, 0, 0.03);
  transform: translateY(-2px);
}

/* --- Main Content --- */
main {
  flex: 1;
  padding: 8rem 1rem 4rem 1rem;
  display: flex;
  justify-content: center;
}

#content,
#hero-content {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

#hero-content > * {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

#hero-content > *.reveal-no-slide {
  opacity: 1;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: #1a202c;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 3rem;
  margin-top: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  margin-top: 4rem;
  color: var(--accent-gold);
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
  margin: 0.5rem auto 0;
  opacity: 0.5;
}

p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#content img,
#hero-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 3rem auto;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

#content img:hover,
#hero-content img:hover {
  transform: scale(1.01);
}

#content p:first-of-type img,
#hero-content p:first-of-type img {
  box-shadow: none;
  margin-top: 0;
  max-height: 350px;
}

/* Botones dentro del contenido (Body) */
#content a:not(.social-link),
#hero-content a:not(.social-link) {
  display: inline-block;
  margin: 1.5rem 0;
  padding: 0.8rem 2.5rem;
  background: transparent;
  color: #1a202c;
  border: 1px solid #1a202c;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#content a:not(.social-link)::before,
#hero-content a:not(.social-link)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #1a202c;
  z-index: -1;
  transition: width 0.3s ease;
}

#content a:not(.social-link):hover,
#hero-content a:not(.social-link):hover {
  color: #ffffff;
  border-color: #1a202c;
}

#content a:not(.social-link):hover::before,
#hero-content a:not(.social-link):hover::before {
  width: 100%;
}

.youtube {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin: 3rem 0;
  background: #f0f0f0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

footer {
  margin-top: auto;
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

#content > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

#content > *.reveal {
  opacity: 1;
  transform: translateY(0);
}

#content > *.reveal-no-slide {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease-out;
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .play-btn-header {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
}
