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

/* Base Layout */
body {
  background-color: #121212; /* near-black for comfort */
  color: #E0E0E0; /* off-white text */
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

/* Header & Footer */
header, footer {
  background-color: #1A1A1F;
  color: #FFFFFF;
  padding: 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid #00BFA5;
}

footer {
  border-top: 1px solid #00BFA5;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Navigation Buttons */
nav button {
  background-color: #00BFA5;
  color: #121212;
  border: none;
  padding: 0.6rem 1.2rem;
  margin: 0 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

nav button:hover {
  background-color: #26C6DA;
  transform: scale(1.05);
}

/* Sections */
section {
  margin: 2rem auto;
  padding: 1.5rem;
  max-width: 800px;
  background-color: #1F1F25;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

section h2 {
  color: #26C6DA;
  margin-bottom: 1rem;
}

/* Form Elements */
form label {
  display: block;
  margin-bottom: 1rem;
  color: #E0E0E0;
}

form input, form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.4rem;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #121212;
  color: #E0E0E0;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: #00BFA5;
  box-shadow: 0 0 4px #00BFA5;
}

/* Scene List */
.scene {
  background-color: #252530;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.scene:hover {
  transform: translateY(-4px);
}

/* Export Buttons */
#export-html, #export-mp4 {
  background-color: #00BFA5;
  color: #121212;
  border: none;
  padding: 0.8rem 1.4rem;
  margin: 0.5rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#export-html:hover, #export-mp4:hover {
  background-color: #26C6DA;
}

/* Animations */
.character {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

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

.dialogue {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #00BFA5;
  animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

/* Defensive only — does not load scripts */
iframe[src*="google.com/recaptcha/"],
div[class*="g-recaptcha"],
iframe[src*="hcaptcha.com"],
div[class*="h-captcha"] {
  display: none !important;
  visibility: hidden !important;
}