/* =======================
   General Dark Mode Styles
   ======================= */
body {
  font-family: Arial, sans-serif;
  background-color: #121212;  /* Dark background */
  color: #fff;  /* Light text color */
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden; /* Prevent scrolling while loader is active */
}

/* =======================
   Loader Styles
   ======================= */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* Keeps background black */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

@keyframes loader_5191 {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.square {
  background: #ddd;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -5px;
  margin-left: -5px;
}

#sq1 { margin-top: -25px; margin-left: -25px; animation: loader_5191 675ms ease-in-out 0s infinite alternate; }
#sq2 { margin-top: -25px; animation: loader_5191 675ms ease-in-out 75ms infinite alternate; }
#sq3 { margin-top: -25px; margin-left: 15px; animation: loader_5191 675ms ease-in-out 150ms infinite; }
#sq4 { margin-left: -25px; animation: loader_5191 675ms ease-in-out 225ms infinite; }
#sq5 { animation: loader_5191 675ms ease-in-out 300ms infinite; }
#sq6 { margin-left: 15px; animation: loader_5191 675ms ease-in-out 375ms infinite; }
#sq7 { margin-top: 15px; margin-left: -25px; animation: loader_5191 675ms ease-in-out 450ms infinite; }
#sq8 { margin-top: 15px; animation: loader_5191 675ms ease-in-out 525ms infinite; }
#sq9 { margin-top: 15px; margin-left: 15px; animation: loader_5191 675ms ease-in-out 600ms infinite; }

/* =======================
   Content (Hidden Until Loaded)
   ======================= */
.content {
  display: none; /* Hide content until fully loaded */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* =======================
   Product Card Styles (Optional)
   ======================= */
.product-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem;
}

.card {
  background-color: #1c1c1c;
  padding: 1rem;
  width: 19rem;
  border-radius: 1rem;
  box-shadow: 0px -16px 24px 0px rgba(255, 255, 255, 0.25) inset;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.7);  /* Blue glow on hover */
}

.card_title {
  font-size: 1.2rem;
}

.card_paragraph {
  font-size: 0.9rem;
  color: #bbb;
}

.button {
  padding: 0.5rem;
  width: 100%;
  background-image: linear-gradient(0deg, hsl(189, 92%, 58%), hsl(189, 99%, 26%) 100%);
  color: white;
  border: none;
  border-radius: 9999px;
  box-shadow: inset 0 -2px 25px -4px white;
  cursor: pointer;
}

.button:hover {
  background-color: #0056b3;
}
