@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

body {
  font-family: 'Orbitron', sans-serif;
  background: radial-gradient(circle at top, #0f0f0f, #030303);
  color: #00ffea;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.5s ease, color 0.5s ease;
}

/* Header */
.header {
  background: linear-gradient(135deg, #111, #222);
  text-align: center;
  padding: 1.5rem;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 255, 234, 0.5);
}

.header-title {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px cyan, 0 0 20px cyan;
}

/* Button */
.button {
  background: linear-gradient(135deg, #00ffea, #00bcd4);
  border: none;
  color: #000;
  padding: 15px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 10px cyan, 0 0 40px cyan;
}

.button:hover {
  transform: scale(1.2);
  background: linear-gradient(135deg, #00bcd4, #00ffea);
  box-shadow: 0 0 15px cyan, 0 0 50px cyan;
}

/* Dark Mode Button */
.dark-mode-button {
  position: absolute;
  right: 20px;
  top: 15px;
  background: linear-gradient(135deg, #ff4081, #ff1744);
  box-shadow: 0 0 10px pink, 0 0 30px pink;
  border-radius: 50%;
  padding: 12px;
  font-size: 1.5rem;
}

.dark-mode-button:hover {
  background: linear-gradient(135deg, #ff1744, #ff4081);
  box-shadow: 0 0 15px pink, 0 0 50px pink;
}

/* Search Form */
.search-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 255, 234, 0.3);
  margin-top: 20px;
  transition: all 0.3s ease;
}

.input, .select {
  background: rgba(0, 255, 234, 0.2);
  border: 2px solid cyan;
  color: white;
  padding: 0.7rem;
  border-radius: 10px;
  font-size: 1rem;
  text-align: center;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Script Cards */
.results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  justify-items: center;
  margin-top: 2rem;
}

.script-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 15px;
  backdrop-filter: blur(15px);
  box-shadow: 0 0 20px rgba(0, 255, 234, 0.3);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s ease-in-out;
}

.script-card:hover {
  transform: translateY(-5px) rotate(2deg);
  box-shadow: 0 0 30px rgba(0, 255, 234, 0.5);
}

/* Copy Button */
.copy-button {
  background: linear-gradient(135deg, #4caf50, #3e8e41);
  color: white;
  padding: 1rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.copy-button:hover {
  background: linear-gradient(135deg, #3e8e41, #4caf50);
  box-shadow: 0 0 15px #4caf50;
}

/* Load More Button */
.load-more-button {
  background: linear-gradient(135deg, #ffcc00, #ff8800);
  color: #000;
  padding: 1rem;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  font-weight: bold;
  transition: 0.3s ease-in-out;
}

.load-more-button:hover {
  background: linear-gradient(135deg, #ff8800, #ffcc00);
  box-shadow: 0 0 15px #ffcc00;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #222, #111);
  text-align: center;
  padding: 1rem;
  width: 100%;
  box-shadow: 0 0 15px rgba(0, 255, 234, 0.3);
  margin-top: auto;
}

.footer p {
  color: cyan;
}

/* Dark Mode Styles */
body.dark-mode {
  background: linear-gradient(to right, #0d0d0d, #161616);
  color: #ffcc00;
}

body.dark-mode .header {
  background: linear-gradient(135deg, #111, #333);
}

body.dark-mode .search-form {
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .button {
  background: linear-gradient(135deg, #ff4081, #ff1744);
  box-shadow: 0 0 15px pink, 0 0 50px pink;
}

body.dark-mode .footer {
  background: linear-gradient(135deg, #333, #222);
}

/* Transitions */
* {
  transition: all 0.3s ease-in-out;
}
