@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.GenerateViralScript_container__Bstbd {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0e0c15;
  color: white;
  position: relative;
  overflow: hidden;
  background-image: 
    linear-gradient(to bottom,
        rgba(14, 12, 21, 1) 0%,
        rgba(14, 12, 21, 0.8) 20%,
        rgba(14, 12, 21, 0) 50%,
        rgba(14, 12, 21, 0.8) 80%,
        rgba(14, 12, 21, 1) 100%),
    linear-gradient(to right, #1a1a1a 1px, transparent 1px),
    linear-gradient(to bottom, #1a1a1a 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  padding: 8rem 2rem 2rem 2rem;
  font-family: 'Poppins', sans-serif;
}

.GenerateViralScript_contentWrapper__yTdY_ {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.GenerateViralScript_container__Bstbd::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vh;
  background: linear-gradient(45deg, 
      rgba(110, 0, 255, 0.3), 
      rgba(255, 0, 0, 0.3), 
      rgba(110, 0, 255, 0.3));
  filter: blur(80px);
  opacity: 0.3;
  animation: GenerateViralScript_gradientAnimation__ldSC2 10s ease infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes GenerateViralScript_gradientAnimation__ldSC2 {
  0% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
  100% {
      background-position: 0% 50%;
  }
}

.GenerateViralScript_title__nPSYQ {
  text-align: center;
  margin: 20px 0 2rem 0;
  width: 100%;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.GenerateViralScript_heading__Ci3Yh {
  font-family: 'BlackFont', sans-serif;
  font-size: 3.2rem !important;
  line-height: 1.2;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(to right, white, #afafaf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .GenerateViralScript_heading__Ci3Yh {
    font-size: 1.75rem !important;
  }
}

.GenerateViralScript_inputContainer__5Fsps {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
              0 0 16px rgba(49, 135, 196, 0.15),
              0 0 8px rgba(219, 81, 221, 0.15);
  margin-bottom: 2rem;
  width: 100%;
  max-width: 800px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.GenerateViralScript_inputWrapper__2DfhG {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.GenerateViralScript_selectGroup__0MqT9 {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.GenerateViralScript_select___trIL {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  background-color: rgba(14, 12, 21, 0.95);
  color: white;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

.GenerateViralScript_select___trIL:hover {
  background-color: rgba(20, 18, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.3);
}

.GenerateViralScript_select___trIL:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
  background-color: rgba(20, 18, 30, 0.95);
}

.GenerateViralScript_select___trIL:disabled {
  background-color: rgba(0, 0, 0, 0.5);
  cursor: not-allowed;
  opacity: 0.7;
}

.GenerateViralScript_textareaGroup__ZcgZ7 {
  width: 100%;
}

.GenerateViralScript_textarea__6BFNI {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
  min-height: 120px;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  transition: all 0.2s;
  font-family: 'Poppins', sans-serif;
}

.GenerateViralScript_textarea__6BFNI:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.GenerateViralScript_textarea__6BFNI:disabled {
  background-color: rgba(0, 0, 0, 0.5);
  cursor: not-allowed;
}

.GenerateViralScript_button__vJPoP {
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  justify-content: center;
  border-radius: 10px;
  color: white;
  background-color: black;
  padding: 15px 40px !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
}

.GenerateViralScript_button__vJPoP::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(to right, #3187C4, #DB51DD);
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.GenerateViralScript_button__vJPoP:hover {
  background-color: #1a1a1a;
  color: white;
  box-shadow: 0 0 10px rgba(49, 135, 196, 0.3),
              0 0 20px rgba(219, 81, 221, 0.3),
              0 0 30px rgba(49, 135, 196, 0.2),
              0 0 40px rgba(219, 81, 221, 0.2);
  animation: GenerateViralScript_bounce__TYWwb 0.6s ease;
}

@keyframes GenerateViralScript_bounce__TYWwb {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.GenerateViralScript_error__WjqgH {
  background-color: rgba(254, 215, 215, 0.1);
  color: #fed7d7;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 800px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(254, 215, 215, 0.2);
}

.GenerateViralScript_loading__o2Uv5 {
  text-align: center;
  color: #b0cdef;
  margin: 2rem 0;
  width: 100%;
  max-width: 800px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.GenerateViralScript_loadingDots__58erY {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}

.GenerateViralScript_dot__Y21a6 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(45deg, #3187C4, #DB51DD);
  animation: GenerateViralScript_pulse__gwntX 1.5s infinite;
}

.GenerateViralScript_dot__Y21a6:nth-child(2) {
  animation-delay: 0.2s;
}

.GenerateViralScript_dot__Y21a6:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes GenerateViralScript_pulse__gwntX {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.GenerateViralScript_loadingText__2THjx {
  font-size: 1.1rem;
  font-weight: 500;
  background: linear-gradient(45deg, #3187C4, #DB51DD);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: GenerateViralScript_shimmer__MGWS5 2s infinite linear;
  background-size: 200% 100%;
}

@keyframes GenerateViralScript_shimmer__MGWS5 {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.GenerateViralScript_scriptSection__D_3wO {
  margin-top: 2rem;
  width: 100%;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.GenerateViralScript_scriptBlock__Muood {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
              0 0 16px rgba(49, 135, 196, 0.15),
              0 0 8px rgba(219, 81, 221, 0.15);
  margin-bottom: 1rem;
  width: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.GenerateViralScript_scriptBlock__Muood h2 {
  font-family: 'BlackFont', sans-serif;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.GenerateViralScript_scriptContent__Trtgz {
  color: #b0cdef;
  font-size: 1.4rem;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}

.GenerateViralScript_scriptLine__wgM28 {
  margin-bottom: 1rem;
  white-space: pre-wrap;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
}

.GenerateViralScript_poweredBy__WaL0P {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.GenerateViralScript_poweredByPill__nOVNZ {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #b0cdef;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.GenerateViralScript_poweredByPill__nOVNZ:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(49, 135, 196, 0.15);
}

.GenerateViralScript_geminiLogo__hS7u0 {
  width: auto;
  height: 20px;
  margin-top: 1px;
  transition: transform 0.3s ease;
}

.GenerateViralScript_poweredByPill__nOVNZ:hover .GenerateViralScript_geminiLogo__hS7u0 {
  transform: scale(1.1);
} 
