/* Modern CSS for Random Feature - Minimal Homepage */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
  line-height: 1.6;
  color: #000;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: 400% 400%;
  background-attachment: fixed;
  animation: gradientShift 8s ease-in-out infinite;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Global header */
.global-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  position: relative;
  z-index: 1;
}

/* Top navigation */
.top-nav {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

.nav-text {
  color: #fff;
  font-weight: 400;
  font-size: 1rem;
}

.nav-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
  font-size: 1rem;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

/* Main content */
.main-content {
  height: calc(100vh - 160px); /* Increased to bring footer up further */
}

/* Global footer */
.global-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  position: relative;
  z-index: 1;
}

.global-footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  font-family: 'IBM Plex Mono', 'Courier New', 'Courier', monospace;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .global-header {
    padding: 1rem 0;
  }
  
  .nav-text {
    font-size: 1rem;
  }
  
  .nav-link {
    font-size: 1rem;
  }
  
  .main-content {
    height: calc(100vh - 100px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .global-footer {
    padding: 1.5rem 0;
  }
  
  .nav-text {
    font-size: 1rem;
  }
  
  .nav-link {
    font-size: 1rem;
  }
}

/* Focus styles for accessibility */
a:focus {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
  