/* style.css */

/* 1. Import the Cyberpunk-y techno font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* 2. Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;    /* vertically centre content */
  align-items: center;        /* horizontally centre content */
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, #ffeb3b 0%, #fff600 100%);
  color: #000;
  overflow-x: hidden;
  padding: 1rem;
}

/* 3. Main headline style (responsive) */
h1 {
  max-width: 90vw;            /* prevent overflow on small screens */
  font-size: clamp(2rem, 10vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.1;
  padding: 1rem 2vw;
  margin: auto;
}

/* 4. Footer */
footer {
  margin-top: auto;
  padding: 0.5rem 1rem;
  font-size: clamp(0.6rem, 2.5vw, 0.75rem);
  width: 100%;
}
footer address {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
footer a {
  color: #000;
  text-decoration: none;
  position: relative;
  padding: 0.1rem 0.5vw;
  transition: color 0.2s ease, background 0.2s ease;
}
footer a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #000;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
footer a:hover {
  color: #fff;
  background: #000;
}
footer a:hover::after {
  transform: scaleX(1);
}

/* 5. Media queries for small and medium screens */

@media (max-width: 480px) {
  /* Ensure central alignment on phones */
  body {
    justify-content: center;
    padding: 0.5rem;
  }
  h1 {
    max-width: 80vw;                /* tighter width on small screens */
    font-size: clamp(1.2rem, 12vw, 2rem);
    padding: 0.5rem 4vw;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-top: 5rem;
    margin: auto;
  }
  footer {
    padding: 0.5rem 0;
    font-size: clamp(0.4rem, 4vw, 0.7rem);
  }
}
