/* Root height context */
html {
  height: 100%;
}

/* Body layout update */
body {
  margin: 0;
  font-family: "Comfortaa", sans-serif;
  color: #f0f0f0;
  min-height: 100vh;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1.5s ease-in-out; /* smooth fade */
}

/* Splash screen */
#splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
  animation: fadeOut 1s ease forwards;
  animation-delay: 3s;
}

.splash-text {
  font-size: 4rem;       /* bigger splash title */
  font-weight: 700;
  animation: textPop 2s ease forwards;
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000; /* crisp black outline */
}

@keyframes textPop {
  0% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* Hero section */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;          /* full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: center;    /* vertical centering */
  align-items: center;        /* horizontal centering */
  text-align: center;
  padding: 20px;
}

/* Hero heading always outlined */
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000; /* crisp black outline */
}

/* Buttons container */
.buttons {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;       /* ensures vertical alignment */
  gap: 40px;                 /* bigger gap between buttons */
  flex-wrap: wrap;
  margin-top: 30px;          /* extra breathing room below the heading */
}

/* Button links: text only with glow + outline */
.btn {
  font-size: 1.5rem;         /* larger text for impact */
  font-weight: 600;
  color: #fff;
  background: none;          /* no background */
  border: none;              /* no border */
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 6px rgba(255,255,255,0.7); /* subtle glow + outline */
}

.btn:hover {
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 0 14px rgba(255,255,255,1);  /* stronger glow + outline */
  transform: scale(1.05);           /* slight zoom effect */
}

/* Footer */
footer {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1.1rem;     /* larger footer text */
  z-index: 1;
  opacity: 0.8;
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000; /* outlined footer text */
}

/* Hidden class for splash transition */
.hidden {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .splash-text {
    font-size: 2.5rem;   /* smaller splash text on mobile */
  }
  .hero h1 {
    font-size: 2.5rem;   /* still bigger than before */
  }
  .btn {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;   /* keep buttons readable on mobile */
  }
}

/* Splash fade-out animation */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
