/* =============================================
   ENTER PAGE — Terminal Hub & Community Styles
   ============================================= */

/* Color scheme: Amber/Orange terminals instead of green */
:root {
  --terminal-primary: #ff9933;
  --terminal-secondary: #cc7722;
  --terminal-bg: #0f0a05;
  --terminal-text: #ffbb66;
}

/* ===== TERMINAL SECTION ===== */
.terminal-section {
  padding: 100px 40px 80px;
  max-width: 1400px;
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

/* ===== TERMINAL MODULES ===== */
.terminal-module {
  background: var(--terminal-bg);
  border: 1px solid rgba(255, 153, 51, 0.3);
  box-shadow: 0 0 30px rgba(255, 153, 51, 0.1);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.terminal-module:hover {
  border-color: rgba(255, 153, 51, 0.5);
  box-shadow: 0 0 40px rgba(255, 153, 51, 0.15);
}

.module-header {
  background: #0a0705;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 153, 51, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-icon {
  font-size: 1.2rem;
  filter: grayscale(0.3) brightness(1.2);
}

.module-title {
  flex: 1;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--terminal-secondary);
  text-transform: uppercase;
}

.module-status {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: #666;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255, 153, 51, 0.1);
  border: 1px solid rgba(255, 153, 51, 0.2);
}

.module-status.active {
  color: var(--terminal-primary);
  background: rgba(255, 153, 51, 0.15);
  border-color: rgba(255, 153, 51, 0.4);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.module-content {
  padding: 25px;
}

.terminal-output {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--terminal-text);
}

.output-line {
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeInLine 0.5s forwards;
}

.output-line:nth-child(1) { animation-delay: 0.1s; }
.output-line:nth-child(2) { animation-delay: 0.2s; }
.output-line:nth-child(3) { animation-delay: 0.3s; }
.output-line:nth-child(4) { animation-delay: 0.4s; }
.output-line:nth-child(5) { animation-delay: 0.5s; }
.output-line:nth-child(6) { animation-delay: 0.6s; }
.output-line:nth-child(7) { animation-delay: 0.7s; }
.output-line:nth-child(8) { animation-delay: 0.8s; }
.output-line:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInLine {
  to { opacity: 1; }
}

.output-line.blank {
  height: 1.8em;
  opacity: 1;
}

.output-line.info {
  color: rgba(255, 187, 102, 0.7);
}

.output-line.highlight {
  color: var(--terminal-primary);
  font-weight: bold;
  margin-top: 6px;
}

/* Scanline effect for terminals */
.module-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 153, 51, 0.01) 2px,
    rgba(255, 153, 51, 0.01) 4px
  );
  pointer-events: none;
  opacity: 0.5;
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
  padding: 80px 40px 100px;
  max-width: 1200px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 60px;
}

/* ===== COMMUNITY CARDS ===== */
.community-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(196, 162, 110, 0.15);
  padding: 40px;
  border-radius: 2px;
  transition: border-color 0.5s, background 0.5s;
}

.community-card:hover {
  border-color: rgba(196, 162, 110, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.6;
}

.community-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--bone);
  margin-bottom: 20px;
}

.community-card p {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(232, 220, 200, 0.65);
  margin-bottom: 15px;
  font-weight: 300;
}

.community-card p:last-child {
  margin-bottom: 0;
}

.creator-sign {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  color: var(--ember);
  margin-top: 20px;
  letter-spacing: 0.05em;
}

/* Newsletter specific */
.newsletter-note {
  background: rgba(212, 85, 26, 0.1);
  border: 1px solid rgba(212, 85, 26, 0.3);
  padding: 20px;
  margin-top: 25px;
  border-radius: 2px;
}

.newsletter-note p {
  font-size: 0.9rem;
  color: rgba(232, 220, 200, 0.7);
  margin-bottom: 10px;
}

.newsletter-note p:last-child {
  margin-bottom: 0;
}

.newsletter-note strong {
  color: var(--ember);
}

/* Newsletter form (for when SSL is ready) */
.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(13, 8, 6, 0.8);
  border: 1px solid rgba(196, 162, 110, 0.3);
  color: var(--bone);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--ember);
}

.newsletter-form input::placeholder {
  color: rgba(196, 162, 110, 0.4);
}

.newsletter-form button {
  background: var(--ember);
  border: 1px solid var(--ember);
  color: var(--dark);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  padding: 12px 30px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}

.newsletter-form button:hover {
  background: transparent;
  color: var(--ember);
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  margin-top: 80px;
  text-align: center;
}

.social-divider {
  width: 100px;
  height: 1px;
  background: var(--rust);
  margin: 0 auto 30px;
  opacity: 0.6;
}

.social-links h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--bone);
  margin-bottom: 30px;
}

.social-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(196, 162, 110, 0.6);
  transition: color 0.3s, transform 0.3s;
  padding: 15px;
}

.social-link:hover {
  color: var(--ember);
  transform: translateY(-3px);
}

.social-icon {
  font-size: 2rem;
  filter: grayscale(0.5);
  transition: filter 0.3s;
}

.social-link:hover .social-icon {
  filter: grayscale(0);
}

.social-link span:last-child {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== PROFESSIONAL CONTACT ===== */
.professional-contact {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

.contact-box {
  background: rgba(13, 8, 6, 0.6);
  border: 1px solid rgba(196, 162, 110, 0.2);
  padding: 40px 50px;
  max-width: 600px;
  text-align: center;
  border-radius: 2px;
}

.contact-box h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--bone);
  margin-bottom: 20px;
}

.contact-box p {
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(232, 220, 200, 0.6);
  margin-bottom: 20px;
  font-weight: 300;
}

.contact-email {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: var(--ember);
  text-decoration: none;
  padding: 12px 25px;
  border: 1px solid var(--ember);
  margin: 10px 0;
  transition: all 0.3s;
}

.contact-email:hover {
  background: var(--ember);
  color: var(--dark);
}

.contact-note {
  font-size: 0.85rem !important;
  font-style: italic;
  color: rgba(196, 162, 110, 0.5) !important;
  margin-top: 15px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .terminal-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .terminal-section,
  .community-section {
    padding: 60px 25px;
  }

  .terminal-grid {
    gap: 30px;
    margin-top: 40px;
  }

  .module-header {
    padding: 12px 15px;
  }

  .module-title {
    font-size: 0.65rem;
  }

  .module-content {
    padding: 20px;
  }

  .terminal-output {
    font-size: 0.7rem;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .community-card {
    padding: 30px;
  }

  .card-icon {
    font-size: 2.5rem;
  }

  .community-card h3 {
    font-size: 1.5rem;
  }

  .community-card p {
    font-size: 0.95rem;
  }

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

  .social-grid {
    gap: 20px;
  }

  .social-link {
    padding: 10px;
  }

  .social-icon {
    font-size: 1.5rem;
  }

  .contact-box {
    padding: 30px;
  }

  .contact-box h3 {
    font-size: 1.4rem;
  }
}
