* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #090909;
  --text: #d9d9d9;
  --muted: #8c8c8c;
  --ember: #ff4d00;
  --ember-soft: #ff7a1a;
  --glass: rgba(255,255,255,0.04);
}

body {
  min-height: 100vh;
  background: #090909;
  /* FIX 1: Change hidden to auto to allow scrolling on desktop */
  overflow-y: auto; 
  overflow-x: hidden;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.background-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.72), rgba(0,0,0,0.82)),
    url('assets/lava-background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* FIX 2: Using flex-start + padding is safer for scrolling than center */
  justify-content: center; 
  text-align: center;
  padding: 60px 20px;
}

.logo-wrap {	
  margin-bottom: 50px;
  animation: fadeUp 1.2s ease forwards;
}

.logo-img {
  width: min(650px, 80vw);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255,80,0,0.15)) drop-shadow(0 0 40px rgba(255,255,255,0.04));
}

.coming-soon {
  max-width: 900px;
  animation: fadeUp 1.5s ease forwards;
}

.coming-soon h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 22px;
}

.coming-soon p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.countdown {
  margin: 60px 0; /* Added margin top and bottom */
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 760px;
  animation: fadeUp 1.8s ease forwards;
}

.time-box {
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 28px 18px;
  position: relative;
  overflow: hidden;
}

.time-box h2 {
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 300;
  margin-bottom: 10px;
  color: #f2f2f2;
}

.time-box span {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  color: var(--ember-soft);
}

/* FIX 3: Removed position: absolute so it sits naturally at the bottom */
.footer-note {
  margin-top: auto; /* Pushes footer to bottom if content is short */
  padding-top: 40px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: none;
}

.border-bottom {
  display: inline-block; /* ensures the border applies properly */
  border-bottom: 1px solid rgba(255,65,0,0.45);
  padding-bottom: 2px; /* adds spacing between text and border */
  text-decoration: none; /* removes default underline */
  color: rgba(255,255,255,0.65); /* slightly stronger contrast */
}

/* --- MEDIA QUERIES (Cleaned up) --- */

@media (max-width: 992px) {
  .logo-img { width: min(520px, 88vw); }
  .countdown { gap: 18px; }
}

@media (max-width: 768px) {
  .container {
    justify-content: flex-start; /* Better for mobile scrolling */
    padding: 80px 20px;
  }
  .countdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .footer-note {
    padding-bottom: 20px;
  }
}