/*---------------------------------------------------
     # Fondos degradados
    ---------------------------------------------------*/
    .gradient-bg {
      background: linear-gradient(135deg, #6b21a8 0%, #3b82f6 100%);
      backdrop-filter: blur(10px);
      box-shadow: 0 0 20px rgba(0,0,0,0.3);
    }

    /*---------------------------------------------------
     # Scrollbar personalizado (WebKit & Firefox)
    ---------------------------------------------------*/
    body, iframe {
      /* Firefox */
      scrollbar-width: thin;
      scrollbar-color: #3b82f6 transparent;
      /* IE/Edge */
      -ms-overflow-style: auto;
    }
    body::-webkit-scrollbar,
    iframe::-webkit-scrollbar {
      width: 12px;
      height: 12px;
    }
    body::-webkit-scrollbar-track,
    iframe::-webkit-scrollbar-track {
      background: transparent;
    }
    body::-webkit-scrollbar-thumb,
    iframe::-webkit-scrollbar-thumb {
      background-color: #6b21a8;
      border: 3px solid #6b21a8;
      border-radius: 10px;
    }
    body::-webkit-scrollbar-thumb:hover,
    iframe::-webkit-scrollbar-thumb:hover {
      background-color: #5a1a8a;
    }

    /*---------------------------------------------------
     # Layout general
    ---------------------------------------------------*/
    body {
      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
      overflow-y: scroll; /* siempre visible */
    }
    main {
      padding: 0 20px;
    }
    footer {
      padding: 15px 1rem 15px; /* 15px bottom */
    }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.form-input:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #6b21a8 0%, #3b82f6 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.link {
    color: #3b82f6;
    transition: color 0.3s ease;
}

.link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/*---------------------------------------------------
 # Animación de onda
---------------------------------------------------*/
@keyframes wave {
  0%,100% { height: 10px; }
  25%     { height: 30px; }
  50%     { height: 20px; }
  75%     { height: 40px; }
}
.wave-bar {
  animation: wave 1.5s infinite ease-in-out;
}
.wave-bar:nth-child(1){ animation-delay: 0.1s; }
.wave-bar:nth-child(2){ animation-delay: 0.3s; }
.wave-bar:nth-child(3){ animation-delay: 0.5s; }
.wave-bar:nth-child(4){ animation-delay: 0.2s; }
.wave-bar:nth-child(5){ animation-delay: 0.4s; }

#mobile-menu a {
    margin: 2px 0;
}

#preview-panel.full-screen {
    height: 100vh;
}
