/* === Global Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--text-color, #1e293b);
  background: var(--bg-color, #f8fafc);
  overflow: hidden;
}

/* === Background Canvas === */
#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* === Overlay === */
.overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  padding: 40px 60px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 320px;
  opacity: 0;
  animation: fadeIn 1.2s forwards;
}

/* Fade-in */
@keyframes fadeIn {
  to { opacity: 1; }
}

/* === Hero Icon === */
.hero-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* === Headings === */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.brand {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #475569;
}

/* === Button === */
button {
  padding: 14px 28px;
  font-size: 1.2rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: white;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 8px 20px rgba(79,70,229,0.4);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

button:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 30px rgba(79,70,229,0.6);
  background: linear-gradient(135deg, #06b6d4, #4f46e5);
}

/* === Responsive === */
@media (max-width: 768px) {
  .overlay {
    width: 90%;
    padding: 25px 30px;
  }
  h1 { font-size: 1.8rem; }
  .tagline { font-size: 1rem; }
  button { font-size: 1rem; padding: 12px 20px; }
}
/* === Menu Buttons Grid === */
.menu-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-gap: 20px; /* space between buttons */
  margin: 20px 0;
  width: 100%;
  max-width: 400px; /* optional, to limit width */
}

.back-btn {
  margin-top: 30px;
  width: 150px; /* optional, makes it smaller than menu buttons */
  background: linear-gradient(135deg, #ef4444, #f97316); /* different color for back */
}

@media (max-width: 500px) {
  .menu-buttons {
    grid-template-columns: 1fr; /* stack vertically on small screens */
  }
  .back-btn {
    width: 100%;
  }
}