/* Base Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #fff;
  overflow-x: hidden;
}

.background {
  background: linear-gradient(135deg, #000, #3498db);
  height: 90vh;
  display: flex;
  flex-direction: column;  /* Stack items vertically */
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

/* Ensure html and body take full height */
html, body {
  height: 100%;
  margin: 0;
}

.terms {
  color: inherit;
  font-weight: bold;
  transition: color 0.3s;
}

/* Wrapper for sticky footer layout */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}


a {
  text-decoration: none;
  color: inherit;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 20px 40px;
}

.navbar a {
  color: #fff;
  font-weight: bold;
  margin: 0 15px;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #3498db;
}


/* Hero Section */
.hero {
  background: linear-gradient(135deg, #000, #3498db);
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  margin: 0;
}

.hero p {
  font-size: 1.5rem;
  margin: 20px 0;
}

/* Features Section */
.features {
  padding: 60px 20px;
  background-color: #1e1e1e;
}

.features h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.feature {
  background-color: #000;
  border: 2px solid #3498db;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  flex: 1 1 300px;
  max-width: 300px;
  transition: transform 0.3s;
}

.feature:hover {
  transform: scale(1.05);
}

.feature h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.feature p {
  font-size: 1rem;
}

/* Shop Section */
.shop {
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #121212;
}

/* Footer */
footer {
  background-color: #000;
  padding: 20px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #bbb;
}

.error-popup {
  position: fixed;
  top: 70px; /* Changed from 20px to 50px */
  right: 20px;
  background-color: #e74c3c;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.error-popup.visible {
  opacity: 1;
}

.popup {
  position: fixed;
  top: 70px; /* Changed from 20px to 50px */
  right: 20px;
  background-color: #2ecc71;
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1100;
}

.popup.visible {
  opacity: 1;
}
