/* ── Hard House Nation — Main Stylesheet ── */

:root {
  --cyan:    #2ef3fd;
  --magenta: #e961f3;
  --dark:    #050810;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  background: var(--dark);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  overflow-x: hidden;
}

/* ── Background ── */
.bg {
  position: fixed;
  inset: 0;
  background-image: url('../images/background.png');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,8,16,0.45) 0%,
    rgba(5,8,16,0.15) 30%,
    rgba(5,8,16,0.60) 65%,
    rgba(5,8,16,0.97) 100%
  );
}

/* ── Scanline texture ── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.07) 2px,
    rgba(0,0,0,0.07) 4px
  );
}

/* ── Page layout ── */
.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 5rem;
  text-align: center;
}

/* ── Tagline ── */
.tagline-top {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-size: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.2rem;
  animation: fadeUp 1s ease 0.2s both;
}

/* ── Logo ── */
.logo-wrap {
  width: min(700px, 88vw);
  animation: fadeUp 1s ease 0.45s both, pulse 4s ease-in-out 1.5s infinite;
}
.logo-wrap img {
  width: 100%;
  display: block;
}

/* ── Neon divider ── */
.divider {
  width: min(420px, 72vw);
  height: 1px;
  margin: 0 auto 1.6rem auto;  /* was 2.8rem */
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  animation: fadeUp 1s ease 0.7s both;
}

/* ── Social icons ── */
.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  animation: fadeUp 1s ease 1.3s both;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(46,243,253,0.3);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  background: rgba(46,243,253,0.04);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}
.social-links a:hover {
  color: var(--cyan);
  border-color: rgba(46,243,253,0.7);
  box-shadow: 0 0 18px rgba(46,243,253,0.2);
  transform: translateY(-2px);
}
.social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── Body copy ── */
.body-copy {
  max-width: 560px;
  animation: fadeUp 1s ease 0.9s both;
}
.body-copy p {
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.3rem;
}
.body-copy p:last-child {
  margin-bottom: 0;
}

/* ── Colour highlights ── */
.hi-cyan { color: var(--cyan);    font-weight: 600; }
.hi-mag  { color: var(--magenta); font-weight: 600; }

/* ── Event pill ── */
.event-pill {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 0.6rem 1.8rem;
  border: 1px solid rgba(46,243,253,0.45);
  border-radius: 2px;
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.82rem, 1.8vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(46,243,253,0.05);
  text-decoration: none;
  animation: fadeUp 1s ease 1.1s both;
  text-shadow: 0 0 14px rgba(46,243,253,0.55);
  box-shadow: 0 0 20px rgba(46,243,253,0.07);
  transition: background 0.2s, box-shadow 0.2s;
}
.event-pill:hover {
  background: rgba(46,243,253,0.1);
  box-shadow: 0 0 30px rgba(46,243,253,0.15);
}

/* ── HHN Badge (fixed corner) ── */
.badge-wrap {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 10;
  animation: fadeIn 1.2s ease 1.3s both;
}
.badge-wrap img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(46,243,253,0.5))
          drop-shadow(0 0 24px rgba(233,97,243,0.35));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.badge-wrap img:hover {
  transform: scale(1.08) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(46,243,253,0.7))
          drop-shadow(0 0 40px rgba(233,97,243,0.5));
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse {
  0%, 100% {
    filter: drop-shadow(0 0 35px rgba(46,243,253,0.22))
            drop-shadow(0 0 70px rgba(233,97,243,0.14));
  }
  50% {
    filter: drop-shadow(0 0 60px rgba(46,243,253,0.42))
            drop-shadow(0 0 110px rgba(233,97,243,0.28));
  }
}

/* ── Hide badge on smaller screens ── */
@media (max-width: 600px) {
  .badge-wrap {
    display: none;
  }
}
