/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  font-family: 'Fira Code', monospace;
  background-color: #0f0f0f;
  color: #00ff88;
  overflow-x: hidden;
  height: 100vh;
}

/* Cursor Blink */
.cursor {
  display: inline-block;
  width: 10px;
  background-color: #00ff88;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { background-color: transparent; }
}

/* Layout */
main.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}
h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}
.tagline {
  color: #00ffaa;
  margin-bottom: 2rem;
}
textarea {
  width: 90%;
  max-width: 500px;
  height: 6rem;
  background-color: #1a1a1a;
  border: 1px solid #00ffaa;
  border-radius: 10px;
  color: #00ff88;
  font-size: 1rem;
  padding: 1rem;
  resize: none;
  margin-bottom: 2rem;
}

/* Cards Container */
#cards-container {
  position: relative;
  width: 100%;
  max-width: 600px;
}
.card-ai {
  background-color: #1f1f1f;
  border: 1px solid #00ffaa55;
  border-radius: 10px;
  color: #00ffaa;
  padding: 1rem;
  margin: 1rem auto;
  width: 90%;
  position: relative;
  animation: floatIn 0.5s ease;
}
@keyframes floatIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.card-ai input[type="text"] {
  width: 100%;
  background: #111;
  border: 1px solid #00ffaa55;
  color: #00ff88;
  border-radius: 6px;
  margin-top: 0.5rem;
  padding: 0.5rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
}

/* Splash Screen */
#splash {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #0f0f0f;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.splash-code {
  position: absolute;
  font-size: 0.9rem;
  color: #00ff88;
  opacity: 0.1;
  animation: rain 2s linear infinite;
}
@keyframes rain {
  0% { transform: translateY(-100%); opacity: 0; }
  100% { transform: translateY(100vh); opacity: 0.2; }
}
.splash-title {
  font-size: 2rem;
  color: #00ffaa;
  z-index: 2;
  animation: zoomIn 1s ease forwards;
  opacity: 0;
}
@keyframes zoomIn {
  0% { transform: scale(0.3); opacity: 0; }
  80% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

/* Hamburger & Menu */
.hamburger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 200;
}
.hamburger div {
  height: 2px;
  background-color: #00ffaa;
  border-radius: 1px;
}
.menu {
  position: fixed;
  top: 0;
  right: -200px;
  width: 200px;
  height: 100%;
  background-color: #1a1a1a;
  border-left: 1px solid #00ffaa;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: right 0.3s ease;
  z-index: 150;
}
.menu.open {
  right: 0;
}
.menu a {
  color: #00ffaa;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Footer */
footer {
  position: fixed;
  bottom: 10px;
  text-align: center;
  width: 100%;
  font-size: 0.8rem;
  color: #00ffaa88;
}

.bracket {
  color: #ffffff;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
  .card-ai {
    width: 95%;
    font-size: 0.9rem;
  }
  textarea {
    height: 5rem;
  }
}