/* ===================================================
   plantillaguion.css — Estilos específicos de plantillaguion.html
   Los estilos de nav, footer y animaciones globales
   viven en stylesheet.css
   =================================================== */

@keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }

@keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

/* SCROLLBAR CON EFECTOS DE LUZ */
    ::-webkit-scrollbar {
      width: 14px;
    }

::-webkit-scrollbar-track {
      background: linear-gradient(180deg, #0a0a0a, #1a1a1a);
      border-radius: 10px;
      box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    }

::-webkit-scrollbar-thumb {
      background: linear-gradient(180deg, rgb(255, 153, 0), rgb(255, 136, 0));
      border-radius: 10px;
      border: 2px solid #0a0a0a;
      position: relative;
    }

::-webkit-scrollbar-thumb::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 50%;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
      border-radius: 10px 10px 0 0;
    }

::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(180deg, rgb(255, 170, 51), rgb(255, 153, 0));
      box-shadow: 
        0 0 10px rgba(255, 153, 0, 0.8),
        inset 0 0 5px rgba(255, 255, 255, 0.2);
    }

::-webkit-scrollbar-thumb:active {
      background: linear-gradient(180deg, rgb(255, 136, 0), rgb(255, 153, 0));
    }

/* Firefox */
    * {
      scrollbar-width: thin;
      scrollbar-color: rgb(255, 153, 0) #1a1a1a;
    }

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

:root {
      --primary-color: rgb(255, 153, 0);
      --primary-dark: rgb(255, 136, 0);
      --secondary-color: #4CAF50;
      --bg-dark: #111111;
      --bg-card: #1a1a1a;
      --text-light: #ffffff;
      --text-muted: #cccccc;
      --border-color: #333;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      --transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

/* PREVENIR BARRAS LATERALES */
    html, body {
      overflow-x: hidden;
      max-width: 100vw;
      width: 100%;
    }

body {
      font-family: 'Montserrat Alternates', sans-serif;
      background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
      color: var(--text-light);
      line-height: 1.6;
      padding: 20px;
      font-size: 12pt;
      min-height: 100vh;
      opacity: 0;
      animation: fadeIn 0.5s ease-out 0.1s forwards;
    }

.script-container {
      max-width: 900px;
      margin: 0 auto;
      background: #111111;
      border-radius: 20px;
      padding: 40px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow);
      transform: translateY(30px);
      opacity: 0;
      animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
      position: relative;
      overflow: hidden;
    }

.script-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
      animation: shimmer 1.5s ease-in-out infinite;
    }

@keyframes slideUp {
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

@keyframes shimmer {
      0%, 100% { left: -100%; }
      50% { left: 100%; }
    }

.header {
      text-align: center;
      margin-bottom: 40px;
      padding-bottom: 30px;
      border-bottom: 2px solid var(--primary-color);
      position: relative;
    }

.logo {
      font-size: 4rem;
      margin-bottom: 20px;
      display: inline-block;
      filter: drop-shadow(0 0 10px rgba(255, 153, 0, 0.3));
    }

h1 {
      color: var(--primary-color);
      font-size: 2.5rem;
      margin-bottom: 10px;
      font-weight: bold;
    }

/* Indicador de guardado */
    .save-indicator {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%) translateY(-20px);
      background: rgba(255, 153, 0, 0.95);
      color: black;
      padding: 12px 25px;
      border-radius: 25px;
      font-weight: bold;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
      opacity: 0;
      transition: all 0.3s ease;
      z-index: 1000;
      text-align: center;
      min-width: 200px;
      font-size: 0.95rem;
    }

.save-indicator.show {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }

/* SECCIÓN: Introducción Simplificada */
    .introduction-section {
      border-radius: 15px;
      padding: 30px;
      margin: 30px 0;
      backdrop-filter: blur(10px);
      transform: translateX(-50px);
      opacity: 0;
      animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
    }

@keyframes slideInRight {
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

.introduction-title {
      color: var(--primary-color);
      font-size: 1.6rem;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

.introduction-content {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
      margin-top: 20px;
    }

.intro-card {
      background: rgba(255, 255, 255, 0.03);
      border-radius: 12px;
      padding: 25px;
      border: 1px solid rgba(255, 153, 0, 0.2);
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

.intro-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), transparent);
      opacity: 0;
      transition: var(--transition);
    }

.intro-card:hover {
      transform: translateY(-5px) scale(1.02);
      box-shadow: 0 15px 40px rgba(255, 153, 0, 0.2);
      border-color: var(--primary-color);
    }

.intro-card:hover::before {
      opacity: 1;
    }

.intro-card h3 {
      color: var(--primary-color);
      margin-bottom: 15px;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      gap: 8px;
      position: relative;
      z-index: 1;
    }

.intro-card p {
      color: var(--text-muted);
      line-height: 1.6;
      position: relative;
      z-index: 1;
    }

.important-note {
      margin-top: 20px;
      padding: 15px;
      background: rgba(255, 153, 0, 0.1);
      border-radius: 6px;
    }

.important-note h4 {
      color: rgb(255, 153, 0);
      margin-bottom: 10px;
    }

.important-note p {
      color: #cccccc;
      font-size: 0.9rem;
    }

/* SECCIÓN: Información del Proyecto */
    .project-section {
      margin: 40px 0;
      transform: translateY(30px);
      opacity: 0;
      animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
    }

.project-title {
      color: var(--primary-color);
      font-size: 1.6rem;
      margin-bottom: 25px;
      text-align: center;
      font-weight: bold;
      border-bottom: 2px solid rgba(255, 153, 0, 0.3);
      padding-bottom: 12px;
      position: relative;
    }

.project-info {
      background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(255, 153, 0, 0.05));
      border-radius: 15px;
      padding: 30px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      gap: 25px;
      border: 1px solid rgba(255, 153, 0, 0.2);
      backdrop-filter: blur(10px);
      color: #ffffff;
      transition: var(--transition);
    }

.project-info:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 40px rgba(255, 153, 0, 0.15);
    }

.info-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

.info-label {
      color: #ffffff;
      font-weight: bold;
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }

.info-input {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 12px 15px;
      color: var(--text-light);
      font-family: inherit;
      font-size: 1rem;
      width: 100%;
      transition: var(--transition);
    }

.info-input:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2);
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-2px);
    }

.instructions {
      background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(255, 153, 0, 0.05));
      border: 1px solid rgba(255, 153, 0, 0.3);
      border-radius: 12px;
      padding: 25px;
      margin: 30px 0;
      backdrop-filter: blur(10px);
      transform: scale(0.95);
      opacity: 0;
      animation: scaleIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
    }

@keyframes scaleIn {
      to {
        transform: scale(1);
        opacity: 1;
      }
    }

/* SECCIÓN: Guía Visual Didáctica */
    .visual-guide {
      border-radius: 15px;
      padding: 35px;
      margin: 40px 0;
      transform: translateX(50px);
      opacity: 0;
      animation: slideInLeft 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
    }

@keyframes slideInLeft {
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

.guide-title {
      color: var(--primary-color);
      text-align: center;
      font-size: 1.8rem;
      margin-bottom: 25px;
      font-weight: bold;
    }

.guide-subtitle {
      color: var(--text-muted);
      text-align: center;
      margin-bottom: 35px;
      font-size: 1.1rem;
    }

.guide-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-bottom: 25px;
    }

.guide-item {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 25px;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

.guide-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.1), transparent);
      transition: var(--transition);
    }

.guide-item:hover {
      border-color: var(--primary-color);
      transform: translateY(-8px) scale(1.02);
      box-shadow: 0 20px 50px rgba(255, 153, 0, 0.15);
    }

.guide-item:hover::before {
      left: 100%;
    }

.guide-header {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 1px solid rgba(255, 153, 0, 0.3);
    }

.guide-icon {
      font-size: 1.8rem;
      color: var(--primary-color);
      min-width: 50px;
      text-align: center;
      filter: drop-shadow(0 0 5px rgba(255, 153, 0, 0.3));
    }

.guide-item-title {
      color: var(--primary-color);
      font-weight: bold;
      font-size: 1.2rem;
    }

.guide-example {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      padding: 18px;
      margin: 15px 0;
      font-family: 'Courier New', monospace;
      font-size: 11pt;
      border-left: 4px solid var(--primary-color);
      transition: var(--transition);
    }

.guide-item:hover .guide-example {
      background: rgba(255, 255, 255, 0.08);
      transform: translateX(5px);
    }

.guide-explanation {
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.6;
    }

.guide-tip {
      background: rgba(255, 153, 0, 0.1);
      border-radius: 8px;
      padding: 15px;
      margin-top: 12px;
      font-size: 0.9rem;
      border-left: 4px solid var(--primary-color);
      transition: var(--transition);
    }

/* ===== CONTENEDOR DE ESCENAS CON TIPOGRAFÍA ESPECÍFICA ===== */
    .scenes-container {
      margin: 40px 0;
    }

.scene {
      margin: 50px 0;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 35px 30px;
      border-left: 5px solid var(--primary-color);
      position: relative;
      page-break-inside: avoid;
      break-inside: avoid;
      transition: var(--transition);
      transform: translateY(20px);
      opacity: 0;
      animation: sceneAppear 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
      font-family: 'Courier New', Courier, monospace !important;
    }

.scene:nth-child(1) { animation-delay: 0.7s; }

.scene:nth-child(2) { animation-delay: 0.8s; }

.scene:nth-child(3) { animation-delay: 0.9s; }

.scene:nth-child(n+4) { animation-delay: 1s; }

@keyframes sceneAppear {
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

.scene:hover {
      background: rgba(255, 255, 255, 0.08);
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(255, 153, 0, 0.1);
    }

.scene-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
      font-family: 'Montserrat Alternates', sans-serif;
    }

.scene-number {
      background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
      color: black;
      padding: 8px 20px;
      border-radius: 20px;
      font-weight: bold;
      font-size: 0.95rem;
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
      transition: var(--transition);
      font-family: 'Montserrat Alternates', sans-serif;
    }

.scene:hover .scene-number {
      transform: scale(1.05);
      box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    }

.scene-controls {
      display: flex;
      gap: 12px;
      font-family: 'Montserrat Alternates', sans-serif;
    }

.btn-scene {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid var(--border-color);
      border-radius: 6px;
      padding: 8px 12px;
      color: white;
      cursor: pointer;
      font-size: 0.85rem;
      transition: var(--transition);
      font-family: 'Montserrat Alternates', sans-serif;
    }

.btn-scene:hover {
      background: var(--primary-color);
      color: black;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    }

/* FORMATO PROFESIONAL DE GUIÓN CON TIPOGRAFÍA ESPECÍFICA */
    .scene-heading {
      font-weight: bold;
      text-transform: uppercase;
      color: var(--primary-color);
      margin-bottom: 30px;
      font-size: 1.15rem;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 153, 0, 0.3);
      transition: var(--transition);
      font-family: 'Courier New', Courier, monospace !important;
    }

.scene:hover .scene-heading {
      border-bottom-color: var(--primary-color);
    }

.scene-content {
      margin-top: 25px;
      font-family: 'Courier New', Courier, monospace !important;
    }

.action {
      margin: 25px 0;
      line-height: 1.6;
      color: var(--text-muted);
      text-align: left;
      width: 100%;
      transition: var(--transition);
      font-family: 'Courier New', Courier, monospace !important;
    }

.character {
      text-align: center;
      width: 100%;
      margin: 35px auto 8px auto;
      font-weight: bold;
      color: var(--text-light);
      padding: 8px 0;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      transition: var(--transition);
      font-family: 'Courier New', Courier, monospace !important;
    }

.parenthetical {
      text-align: center;
      width: 100%;
      margin: 8px auto;
      font-style: italic;
      color: #aaaaaa;
      font-size: 0.95rem;
      padding: 0 20%;
      transition: var(--transition);
      font-family: 'Courier New', Courier, monospace !important;
    }

.dialogue {
      text-align: center;
      width: 100%;
      margin: 8px auto 25px auto;
      color: var(--text-light);
      line-height: 1.6;
      padding: 0 15%;
      transition: var(--transition);
      font-family: 'Courier New', Courier, monospace !important;
    }

.transition {
      text-align: right;
      margin-top: 35px;
      font-weight: bold;
      color: var(--primary-color);
      padding: 12px 0;
      text-transform: uppercase;
      transition: var(--transition);
      font-family: 'Courier New', Courier, monospace !important;
    }

.editable-field {
      background: rgba(255, 255, 255, 0.05);
      border: 1px dashed #666;
      border-radius: 6px;
      padding: 15px 18px;
      margin: 10px 0;
      min-height: 50px;
      cursor: text;
      transition: var(--transition);
      font-family: 'Courier New', Courier, monospace !important;
      font-size: 12pt;
      position: relative;
    }

.editable-field:focus {
      outline: none;
      border-color: var(--primary-color);
      background: rgba(255, 153, 0, 0.08);
      box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
      transform: translateY(-2px);
    }

.editable-field[contenteditable="true"]:empty:before {
      content: attr(data-placeholder);
      color: #666;
      font-style: italic;
    }

/* Campos específicos con formato profesional */
    .scene-heading.editable-field {
      text-align: left;
      font-weight: bold;
      text-transform: uppercase;
    }

.action.editable-field {
      text-align: left;
    }

.character.editable-field {
      text-align: center;
      text-transform: uppercase;
      font-weight: bold;
    }

.parenthetical.editable-field {
      text-align: center;
      font-style: italic;
    }

.dialogue.editable-field {
      text-align: center;
    }

.transition.editable-field {
      text-align: right;
      text-transform: uppercase;
    }

/* NUEVO: Controles para agregar bloques de diálogo */
    .block-controls {
      display: flex;
      gap: 10px;
      margin: 20px 0;
      justify-content: center;
      flex-wrap: wrap;
    }

.btn-block {
      background: rgba(255, 153, 0, 0.2);
      border: 1px solid rgba(255, 153, 0, 0.3);
      border-radius: 6px;
      padding: 8px 15px;
      color: var(--primary-color);
      cursor: pointer;
      font-size: 0.85rem;
      transition: var(--transition);
      font-family: 'Montserrat Alternates', sans-serif;
      display: flex;
      align-items: center;
      gap: 5px;
    }

.btn-block:hover {
      background: var(--primary-color);
      color: black;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    }

/* NUEVO: Estilos para bloques de contenido - POSICIÓN ORIGINAL */
    .content-block {
      margin: 20px 0;
      position: relative;
      transition: var(--transition);
    }

.content-block:hover {
      transform: translateX(5px);
    }

/* NUEVO: Solapa de controles que se extiende por encima */
    .block-controls-small {
      position: absolute;
      right: -15px;
      top: -15px;
      display: flex;
      gap: 5px;
      opacity: 0;
      transition: var(--transition);
      transform: translateY(-10px);
      z-index: 10;
    }

/* Mostrar controles solo en hover en pantallas grandes */
    @media screen and (min-width: 769px) {
      .content-block:hover .block-controls-small {
        opacity: 1;
        transform: translateY(0);
      }
    }

/* MODIFICADO: En móvil, los controles están ocultos por defecto y aparecen al hacer clic */
    @media screen and (max-width: 768px) {
      .block-controls-small {
        opacity: 0;
        position: static;
        margin-top: 10px;
        justify-content: center;
        transform: none;
        display: flex;
      }
      
      /* Mostrar controles cuando el campo está enfocado (clic) */
      .content-block.focused .block-controls-small {
        opacity: 1;
      }
    }

.btn-block-small {
      background: rgb(255, 153, 0);
      border: 1px solid var(--border-color);
      border-radius: 4px;
      padding: 6px 10px;
      color: white;
      cursor: pointer;
      font-size: 0.7rem;
      transition: var(--transition);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

.btn-block-small:hover {
      background: var(--primary-color);
      color: black;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    }

/* SECCIÓN: COMPARTIR ENLACE */
    .share-section {
      border-radius: 15px;
      padding: 35px;
      margin: 45px 0;
      backdrop-filter: blur(10px);
      transform: scale(0.95);
      opacity: 0;
      animation: scaleIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
    }

.share-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-top: 20px;
    }

.share-input-group {
      display: flex;
      gap: 10px;
    }

.share-input {
      flex: 1;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 12px 15px;
      color: var(--text-light);
      font-family: inherit;
      font-size: 1rem;
      transition: var(--transition);
    }

.share-input:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2);
      background: rgba(255, 255, 255, 0.08);
    }

.btn-share {
      background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
      color: black;
      border: none;
      border-radius: 8px;
      padding: 12px 20px;
      cursor: pointer;
      font-weight: bold;
      transition: var(--transition);
      font-family: 'Montserrat Alternates', sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

.btn-share:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    }

.share-info {
      background: rgba(255, 153, 0, 0.1);
      border-radius: 8px;
      padding: 15px;
      font-size: 0.9rem;
      border-left: 4px solid var(--primary-color);
    }

.software-section {
      border-radius: 15px;
      padding: 35px;
      margin: 45px 0;
      backdrop-filter: blur(10px);
      transform: scale(0.95);
      opacity: 0;
      animation: scaleIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
    }

.software-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
      margin-top: 30px;
    }

.software-card {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 25px;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

.software-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), transparent);
      opacity: 0;
      transition: var(--transition);
    }

.software-card:hover {
      border-color: var(--primary-color);
      transform: translateY(-8px) scale(1.03);
      box-shadow: 0 20px 50px rgba(255, 153, 0, 0.15);
    }

.software-card:hover::before {
      opacity: 1;
    }

.software-header {
      display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 20px;
      position: relative;
      z-index: 1;
    }

.software-icon {
      font-size: 2rem;
      color: var(--primary-color);
      filter: drop-shadow(0 0 5px rgba(255, 153, 0, 0.3));
    }

.software-title {
      color: var(--text-light);
      font-weight: bold;
      font-size: 1.15rem;
    }

.software-price {
      background: var(--primary-color);
      color: black;
      padding: 4px 10px;
      border-radius: 15px;
      font-size: 0.75rem;
      font-weight: bold;
      margin-left: auto;
      transition: var(--transition);
    }

.software-card:hover .software-price {
      transform: scale(1.1);
    }

.software-features {
      list-style: none;
      padding: 0;
      position: relative;
      z-index: 1;
    }

.software-features li {
      padding: 8px 0;
      font-size: 0.9rem;
      color: var(--text-muted);
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      transition: var(--transition);
    }

.software-features li:hover {
      color: var(--text-light);
      transform: translateX(5px);
    }

.software-features li:last-child {
      border-bottom: none;
    }

.software-link {
      display: inline-block;
      background: rgba(255, 153, 0, 0.2);
      color: var(--primary-color);
      padding: 8px 15px;
      border-radius: 6px;
      text-decoration: none;
      font-size: 0.85rem;
      margin-top: 15px;
      transition: var(--transition);
      position: relative;
      z-index: 1;
    }

.software-link:hover {
      background: var(--primary-color);
      color: black;
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
    }

.download-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
      align-items: center;
      margin-top: 25px;
    }

.btn-download {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
      color: black;
      padding: 15px 30px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: bold;
      transition: var(--transition);
      border: none;
      cursor: pointer;
      font-family: inherit;
      position: relative;
      overflow: hidden;
    }

.btn-download::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: var(--transition);
    }

.btn-download:hover {
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 10px 30px rgba(255, 153, 0, 0.4);
      color: white;
    }

.btn-download:hover::before {
      left: 100%;
    }

.btn-download-secondary {
      background: transparent;
      border: 2px solid var(--primary-color);
      color: var(--primary-color);
    }

.btn-download-secondary:hover {
      background: var(--primary-color);
      color: black;
    }

/* Botón Restaurar Ejemplo */
    .btn-restore {
      background: linear-gradient(135deg, var(--secondary-color), #45a049);
      color: white;
    }

.btn-restore:hover {
      box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
    }

/* Botón Inicio */
    .btn-home {
      background: linear-gradient(135deg, #6c63ff, #4a44b5);
      color: white;
    }

.btn-home:hover {
      box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
    }

/* Efectos de partículas para el fondo */
    .particles {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: -1;
    }

/* ===== RESPONSIVE OPTIMIZADO - SIN BARRAS LATERALES ===== */
    @media screen and (max-width: 1024px) {
      .script-container {
        max-width: 95%;
        padding: 30px 25px;
        margin: 15px auto;
      }
      
      .project-info {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 25px;
      }
      
      .guide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
      
      .software-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
    }

@media screen and (max-width: 480px) {
      body {
        padding: 8px 5px;
        font-size: 10pt;
      }
      
      .script-container {
        padding: 18px 15px;
        border-radius: 10px;
      }
      
      .logo {
        font-size: 2.5rem;
      }
      
      h1 {
        font-size: 1.6rem;
      }
      
      .scene {
        padding: 20px 15px;
        margin: 25px 0;
      }
      
      .btn-download {
        padding: 10px 18px;
        font-size: 0.85rem;
        max-width: 250px;
      }
    }

/* Estilos para elementos activos */
    .scene.active {
      background: rgba(255, 255, 255, 0.1);
      border-left: 5px solid var(--primary-color);
    }

.content-block.active {
    background: rgba(255, 153, 0, 0.05);
    border-radius: 6px;
    padding: 10px;
}



/* ===== BOTONES FIJOS CON SCROLL ===== */
.btn-up-guion {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgb(255, 153, 0), rgb(255, 136, 0));
  color: black;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-up-guion.show {
  opacity: 1;
  visibility: visible;
}

.btn-up-guion:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.5);
  color: white;
}

.btn-inicio-guion {
  position: fixed;
  bottom: 30px;
  right: 90px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgb(255, 153, 0), rgb(255, 136, 0));
  color: black;
  text-decoration: none;
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.btn-inicio-guion.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-inicio-guion:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
  color: white;
}

@media (max-width: 768px) {
  .btn-up-guion    { bottom: 15px; right: 15px; }
  .btn-inicio-guion { bottom: 15px; right: 75px; padding: 10px 16px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .btn-up-guion    { bottom: 10px; right: 10px; }
  .btn-inicio-guion { bottom: 10px; right: 65px; padding: 8px 14px; font-size: 0.85rem; }
}