/* General Reset */
body, html {
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: "Poppins", sans-serif;
}

#app {
  position: relative;
  height: 100%;
  background: transparent; /* Allow Vanta to show through */
}

/* WebGL Canvas */
#webgl-canvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: 1; /* Keep WebGL canvas in the background */
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 3; /* Place the entire hero section in the foreground */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 20%); /* Adjust height based on viewport */
  padding: 5%;
  box-sizing: border-box;
  text-align: center;
}

/* Hero Logo */
.hero-logo {
  width: 40vmin; /* Double the size of the previous logo */
  max-width: 400px; /* Prevents excessive scaling */
  aspect-ratio: 1; /* Ensures circular shape */
  margin-bottom: 1rem; /* Reduced margin to bring the logo closer to the text */
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.1);
}

/* H1 and H2 Styling */
h1, h2 {
  margin: 0;
  color: black;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

h1 {
  font-size: 6vmin; /* Larger text size */
  font-weight: 700;
  margin-bottom: 0.5rem; /* Closer spacing between h1 and h2 */
}

h2 {
  font-size: 4.5vmin; /* Larger text size */
  font-weight: 500;
  margin-bottom: 2rem; /* Closer spacing to the buttons */
}

/* Buttons */
.buttons {
  position: relative;
  margin-top: 1rem; /* Closer to text */
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Space between buttons */
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

button {
  font-size: 2vmin; /* Larger text for buttons */
  font-weight: 700;
  padding: 1rem 1.5rem; /* Increased padding for a larger button appearance */
  border: 2px solid rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.8);
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-color: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

button:active {
  transform: scale(0.95);
  background: rgba(0, 0, 0, 1);
}

/* Status Badge */
.status-badge {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.status-badge img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.status-badge .status-text {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

/* Responsive Design: Media Queries */
@media (max-width: 768px) {
  .hero-logo {
    width: 50vmin;
  }

  h1 {
    font-size: 7vmin;
  }

  h2 {
    font-size: 5.5vmin;
  }

  button {
    font-size: 2.2vmin;
    padding: 0.9rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 60vmin;
  }

  h1 {
    font-size: 9vmin;
  }

  h2 {
    font-size: 6.5vmin;
  }

  .buttons {
    gap: 1rem;
  }

  button {
    font-size: 2.5vmin;
    padding: 1rem 1rem;
  }
}

/* Cookie Consent Popup */
.cookie-consent {
  display: none; /* Hidden by default, shown via JS if not accepted */
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 9999; /* Ensure it appears above other elements */
  max-width: 300px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.cookie-consent p {
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.cookie-consent a {
  color: #fff;
  text-decoration: underline;
}

.cookie-consent button {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-consent button:hover {
  background-color: #ddd;
}