:root {
  --header-color: #fe5f8a;
  --gradient-top: #f0abc0;
  --gradient-bottom: #ffe4e9;
  --text-color: #333;
  --link-color: #d46b8f;
  --background-color: #fff;
}

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

body {
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100dvh;
  background: linear-gradient(to bottom, var(--gradient-top), var(--gradient-bottom));
  color: var(--text-color);
  line-height: 1.6;
}

/* --- HEADER -------- */
.main-header {
  height: 55px;
  background: var(--header-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  position: relative;
  margin-bottom: 2rem; 
}

.logo-link {
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.studio-logo {
  height: 33px;
  width: auto;
  display: block;
}

#logo-normal { display: block; }
#logo-mobile { display: none; }

.social-icons {
  display: flex;
  gap: 16px;
  padding-right: 8px;
}

.social-icons img {
  height: 33px;
  width: auto;
  max-width: 100px;
  transition: transform 0.15s;
}

.social-icons img:hover {
  transform: scale(1.17);
}

/* --- MAIN CONTAINER ------- */
.presskit-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 50px 25px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  margin-bottom: 2rem;
}

h1, h2, h3, h4 {
  margin-bottom: 10px;
  color: var(--text-color);
}

p, ul {
  margin-bottom: 20px;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* --- MEDIA SECTION ------- */
#media {
  margin-top: 10px;
}

section {
  margin-bottom: 20px;
}

.video-container {
  width: 100%;
  max-width: 880px;
  height: 495px;
  margin: 0 auto;
  overflow: hidden;
  flex: 0 1 880px;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  display: block;
}

/* --- CONTENT GRIDS --------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.grid img:hover {
  transform: scale(1.05);
}

.gifs-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.gifs-column img {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- ACCORDION ----------- */
.accordion details {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin: 0.5rem 0;
  overflow: hidden;
  background: white;
}

.accordion summary {
  background: #f7f7f7;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none;
  outline: none;
  user-select: none;
  font-size: 1.05rem;
}

.accordion summary::after {
  content: "▸";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
  font-size: 1.2rem;
}

.accordion details[open] summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

/* --- CONTACT LINKS STYLES ---- */
#contact-links ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.5rem 0;
}

#contact-links li {
  margin-bottom: 0.3rem;
}

/* --- RESPONSIVE STYLES ----------- */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .main-header {
    padding: 0 16px;
  }

  #logo-normal { display: none; }
  #logo-mobile { display: block; }

  .social-icons img {
    height: 28px;
  }

  .presskit-container {
    padding: 35px 12px 35px;
    max-width: 100vw;
  }

  /* Reorganizar columnas */
  .content-columns {
    flex-direction: column !important;
    gap: 1rem;
  }
  .column-left, .column-right {
    flex: 1 1 100%;
    min-width: auto;
  }

  /* 1. Video responsivo */
  .video-container {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 -12px 20px -12px;
  }

  .video-container iframe {
    width: 100vw;
    height: calc(100vw * 0.5625);
    border-radius: 6px;
  }

  /* 2. Descargas del tráiler en bloque */
  .download-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    text-align: center;
    margin: 1em 0 2em;
    font-weight: 600;
  }
  .download-links a {
    display: block;
    margin: 0;
    text-align: center;
    width: 100%;
  }

  /* 3. Ajustes de grids de imágenes */
  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  @media (min-width: 500px) and (max-width: 650px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .gifs-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 22px;
  }
  .gifs-column img {
    max-width: 100%;
    margin: 0 auto;
  }

  /* 4. Acordeones: padding y tamaño fuente */
  .accordion summary {
    font-size: 1rem;
    padding: 1rem;
  }
  .accordion details {
    margin: 0.6rem 0;
  }

  /* Links de contacto a columna en móvil */
  #contact-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-left: 0;
    align-items: flex-start;
  }
  #contact-links li {
    margin-bottom: 0.15rem;
    width: 100%;
    text-align: left;
    font-size: 0.98rem;
  }
}

/* Adicional: Mejor legibilidad de acordeón y grids en tablets */
@media (max-width: 800px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
  }
}
