body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #e5e7eb;
  background: transparent;
}

/* ⭐ Star Background */
/* ⭐ Deep Space Parallax Background */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
  overflow: hidden;
  z-index: -1;
}

/* Base style for all star layers */
.star-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-repeat: repeat;
}

/* Small, distant stars (move slowest) */
.stars-sm {
  background-size: 100px 100px;
  opacity: 0.3;
  animation: moveStars 150s linear infinite, twinkle 4s ease-in-out infinite;
}

/* Medium stars (mid-speed) */
.stars-md {
  background-size: 250px 250px;
  background-image: radial-gradient(white 1.5px, transparent 1.5px);
  opacity: 0.5;
  animation: moveStars 100s linear infinite, twinkle 6s ease-in-out infinite 1s;
}


.stars-lg {
  background-size: 400px 400px;
  background-image: radial-gradient(#f97316 2px, transparent 2px); /* Orange tint! */
  opacity: 0.2;
  animation: moveStars 60s linear infinite;
}

/* Animations */
@keyframes moveStars {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.topbar {
  position: relative;
  height: 120px;
}

.hackclub-flag {
  position: absolute;
  top: 0;
  left: 10px;
  width: 180px;
}

.login {
  position: absolute;
  top: 20px;
  right: 20px;
  text-decoration: none;
  color: #e5e7eb;
  font-weight: bold;
}

.logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 175px;
}

.logo-center img {
  height: 200px;
}

/* Layout */
.container {
  width: 100%;
  padding: 30px;
}

.section {
  margin-bottom: 60px;
}

.center {
  text-align: center;
}

h1 {
  font-size: clamp(3.5rem, 12vw, 7rem); /* Hero title */
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem); /* Section titles */
  margin-bottom: 2rem;
  border-left: 5px solid #f97316;
  padding-left: 15px;
}

h3 {
  font-size: 1.75rem; 
  margin-top: 0;
  color: #f97316;
}

p {
  font-size: 1.15rem; /* Body text - larger for readability */
  line-height: 1.6;
  color: #d1d5db;
}

.tagline {
  font-size: 18px;
  margin-bottom: 10px;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 115px; /* bigger */
  margin: 0;
  color: #f97316;
  letter-spacing: 4px;
}

.hero .tagline {
  font-size: 28px;
  margin: 10px 0;
}

.hero .sub {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 120px;
  margin: 0;
  color: #f97316;
  letter-spacing: 4px;
}

.hero .tagline {
  font-size: 28px;
  margin: 10px 0;
}

.hero .sub {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
}

.section h2 {
  margin-left: 10%;
}

.scroll-btn {
  margin-top: 40px;
  font-size: 14px;
  text-decoration: none;
  color: white;
  opacity: 0.7;
}

.scroll-btn:hover {
  opacity: 1;
}

/* Mascot */
.mascot {
  position: absolute;
  bottom: 140px;
  right: 20px;
  width: 300px; /* was 120px */
  opacity: 0.95;
}

/* Cards */
.card {
  background: rgba(172, 132, 54, 0.8);
  max-width: 900px;
  padding: 20px;
  margin:auto;
  border-radius: 10px;
}

.card img {
  display: block;      
  max-width: 300px;    
  height: auto;        
  margin: 20px auto;   
  border-radius: 8px;  
  border: 1px solid #374151;
}

/* Rows */
.row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 10%;
  gap: 40px;
  margin: 0 auto 200px auto;
  max-width: 1500px;
}

.row img, .img-group {
  flex: 1;
  max-width: 450px;       
  height: auto;
  border-radius: 12px;
  /* Adds a slight glow to bridge the gap to the background */
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.1); 
}

.row .text {
  flex: 1;
  max-width: 800px;       
  text-align: left;
}
.reverse {
  flex-direction: row-reverse;
}

.site-footer {
  background: rgba(0, 0, 0, 0.8); /* Darker than the body for contrast */
  backdrop-filter: blur(10px);    /* Blurs the stars behind it */
  border-top: 1px solid rgba(249, 115, 22, 0.2); /* Subtle orange line */
  padding: 60px 20px 30px;
  margin-top: 100px;
  color: #9ca3af;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-branding {
  margin-bottom: 20px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 10px;
  filter: grayscale(1) brightness(1.5); /* Makes the logo subtle in the footer */
  opacity: 0.7;
}

.footer-credits p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.footer-credits a {
  color: #f97316;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s;
}

.footer-credits a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.footer-bottom {
  margin-top: 50px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.5;
}

/* Mobile */
@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }

  .reverse {
    flex-direction: column;
  }

  .row img, .row .text {
    width: 100%;
  }

  .site-footer {
    padding: 40px 20px 20px;
  }
}
