/* 90s Tech Theme - Early Reddit Style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Courier New", Courier, monospace;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: #00ff00;
  line-height: 1.6;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: #000000;
  border: 3px solid #00ff00;
  box-shadow:
    0 0 20px rgba(0, 255, 0, 0.3),
    0 0 40px rgba(0, 255, 0, 0.1);
  padding: 30px;
}

header {
  text-align: center;
  border-bottom: 2px dashed #00ff00;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.logo {
  font-size: 2.5em;
  font-weight: bold;
  color: #00ffff;
  text-shadow:
    0 0 10px rgba(0, 255, 255, 0.8),
    0 0 20px rgba(0, 255, 255, 0.4);
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.tagline {
  color: #ffff00;
  font-size: 1.1em;
  font-style: italic;
}

.main-nav {
  margin-top: 15px;
}

.nav-link {
  color: #00ffff;
  text-decoration: none;
  font-size: 0.95em;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: #00ff00;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
  text-decoration: underline;
}

.hero {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 255, 0, 0.05);
  border: 1px solid #00ff00;
}

.hero h2 {
  color: #00ffff;
  font-size: 1.8em;
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.intro {
  color: #ffffff;
  font-size: 1.1em;
  max-width: 700px;
  margin: 0 auto;
}

.email-signup {
  margin-top: 30px;
  padding: 20px;
  background: rgba(0, 255, 0, 0.05);
  border: 2px dashed #00ff00;
}

.email-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.email-input {
  flex: 1;
  min-width: 250px;
  padding: 15px;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  background: #000000;
  border: 2px solid #00ff00;
  color: #00ff00;
  outline: none;
  transition: all 0.3s ease;
}

.email-input:focus {
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  border-color: #00ffff;
}

.email-input::placeholder {
  color: #666666;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.submit-btn {
  padding: 15px 30px;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  font-weight: bold;
  background: #000000;
  border: 2px solid #00ffff;
  color: #00ffff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover:not(:disabled) {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
  color: #00ff00;
  border-color: #00ff00;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.message {
  margin-top: 15px;
  padding: 12px;
  text-align: center;
  font-size: 0.95em;
  border: 2px solid;
  background: rgba(0, 0, 0, 0.3);
}

.message.success {
  color: #00ff00;
  border-color: #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.message.error {
  color: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: rgba(0, 255, 0, 0.08);
  border: 2px solid #00ff00;
  padding: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(0, 255, 0, 0.15);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
  transform: translateY(-2px);
}

.feature-card h3 {
  color: #ffff00;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.feature-card p {
  color: #cccccc;
  font-size: 0.95em;
}

.advantages-section {
  margin-bottom: 30px;
  background: rgba(0, 255, 0, 0.05);
  border: 2px solid #00ff00;
  overflow: hidden;
}

.advantages-toggle {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: all 0.3s ease;
}

.advantages-toggle:hover {
  background: rgba(0, 255, 0, 0.1);
}

.advantages-toggle h2 {
  color: #00ffff;
  font-size: 1.4em;
  margin: 0;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.toggle-icon {
  color: #00ffff;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
}

.advantages-content {
  color: #cccccc;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.advantages-content p {
  margin-bottom: 15px;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid #00ff00;
}

.advantages-content p:last-child {
  margin-bottom: 20px;
}

.advantages-content p strong {
  color: #00ffff;
  margin-right: 8px;
}

.search-section {
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 255, 0, 0.05);
  border: 2px solid #00ff00;
}

.search-section h2 {
  color: #00ffff;
  font-size: 1.5em;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.browse-intro {
  text-align: center;
  color: #cccccc;
  margin-bottom: 20px;
  font-size: 1em;
}

.inline-link {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.inline-link:hover {
  color: #00ff00;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
  text-decoration: underline;
}

.search-container {
  margin-bottom: 30px;
}

.search-input {
  width: 100%;
  padding: 15px;
  font-family: "Courier New", Courier, monospace;
  font-size: 1em;
  background: #000000;
  border: 2px solid #00ff00;
  color: #00ff00;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
  border-color: #00ffff;
}

.search-input::placeholder {
  color: #666666;
}

.results-container {
  display: grid;
  gap: 20px;
}

.model-card {
  background: rgba(0, 255, 0, 0.08);
  border: 2px solid #00ff00;
  padding: 20px;
  transition: all 0.3s ease;
}

.model-card:hover {
  background: rgba(0, 255, 0, 0.15);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
  transform: translateY(-2px);
}

.model-name {
  color: #00ffff;
  font-size: 1.5em;
  margin-bottom: 10px;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.model-creator {
  color: #ffff00;
  font-size: 0.95em;
  margin-bottom: 15px;
  font-style: italic;
}

.model-description {
  color: #cccccc;
  margin-bottom: 15px;
  line-height: 1.6;
}

.model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed #00ff00;
}

.model-specs .spec {
  color: #ffffff;
  font-size: 0.9em;
}

.model-specs .spec strong {
  color: #00ffff;
}

.model-link {
  display: inline-block;
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.model-link:hover {
  color: #00ff00;
  text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
  text-decoration: underline;
}

/* Featured model styling */
.model-card.featured {
  background: rgba(255, 255, 0, 0.15);
  border: 3px solid #ffff00;
  box-shadow:
    0 0 20px rgba(255, 255, 0, 0.6),
    0 0 40px rgba(255, 255, 0, 0.3);
  position: relative;
}

.model-card.featured:hover {
  background: rgba(255, 255, 0, 0.25);
  box-shadow:
    0 0 30px rgba(255, 255, 0, 0.8),
    0 0 60px rgba(255, 255, 0, 0.4);
  transform: translateY(-3px);
}

.featured-badge {
  display: inline-block;
  background: #ffff00;
  color: #000000;
  font-weight: bold;
  font-size: 0.85em;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 0, 1);
  }
}

.model-card.featured .model-name {
  color: #ffff00;
  text-shadow:
    0 0 10px rgba(255, 255, 0, 0.8),
    0 0 20px rgba(255, 255, 0, 0.4);
}

.model-card.featured .model-creator {
  color: #ffff00;
  text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
}

.model-card.featured .model-description {
  color: #ffffff;
}

.model-card.featured .model-specs {
  border-color: #ffff00;
  background: rgba(255, 255, 0, 0.1);
}

.model-card.featured .model-specs .spec strong {
  color: #ffff00;
}

.model-card.featured .model-link {
  color: #ffff00;
  text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
}

.model-card.featured .model-link:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.8);
}

.no-results,
.error {
  text-align: center;
  padding: 30px;
  color: #ffff00;
  font-size: 1.1em;
  background: rgba(255, 255, 0, 0.05);
  border: 2px dashed #ffff00;
}

.error {
  color: #ff0000;
  border-color: #ff0000;
  background: rgba(255, 0, 0, 0.05);
}

.coming-soon {
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 0, 0.05);
  border: 2px dashed #ffff00;
  margin-bottom: 30px;
}

.coming-soon h2 {
  color: #ffff00;
  font-size: 1.5em;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.coming-soon p {
  color: #ffffff;
  margin-bottom: 10px;
}

.highlight {
  color: #00ffff !important;
  font-weight: bold;
  font-size: 1.1em;
  text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

footer {
  text-align: center;
  border-top: 2px dashed #00ff00;
  padding-top: 20px;
  color: #888888;
  font-size: 0.9em;
}

footer a {
  color: #00ffff;
  text-decoration: none;
}

footer a:hover {
  color: #00ff00;
  text-decoration: underline;
}

/* Retro scanline effect */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 1000;
}

/* Responsive */
@media (max-width: 768px) {
  .logo {
    font-size: 1.8em;
  }

  .hero h2 {
    font-size: 1.4em;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 20px;
  }

  .model-specs {
    flex-direction: column;
    gap: 10px;
  }

  .search-section h2 {
    font-size: 1.3em;
  }

  .advantages-toggle h2 {
    font-size: 1.2em;
  }

  .advantages-content {
    padding: 0 15px;
  }

  .advantages-content p {
    padding: 10px 12px;
    font-size: 0.9em;
  }

  .email-form {
    flex-direction: column;
  }

  .email-input {
    width: 100%;
    min-width: unset;
  }

  .submit-btn {
    width: 100%;
  }

  .email-signup {
    padding: 15px;
  }
}
