/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: linear-gradient(32deg, #3EFFD4, #00B4FF, #3262FF);
  background-size: cover;        /* Stretch and scale */
  background-position: center;   /* Center it */
  background-repeat: no-repeat;
  background-attachment: fixed;  /* Make it fixed during scroll */                /* Will only work if html is positioned */
  position: relative;            /* Needed for z-index to take effect */
}

/* Import Open Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Agdasima:wght@400;700&family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Apply it globally */
body {
  font-family: 'Open Sans', sans-serif;
}

/* The black overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 1; /* Initially fully visible */
  z-index: 999999; /* Ensure it sits above other content */
}

/* Fade-out effect after page load */
body.loaded .overlay {
  opacity: 0; /* Make overlay disappear */
}



.page-container {
  border:0px solid black;
  position: relative;
  z-index: 666666;
  max-width: 720px;  /* Set based on the design width of your frame */
  margin: 0 auto;      /* Center horizontally */
  padding: 40px 20px;  /* Add some breathing room */
  min-height: 72vh;   /* Make sure it fills the viewport */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Center vertically */
}

.hero-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: fill; /* STRETCH the image */
  z-index: -1;
}

/* Navbar */
.navbar {
  border:0px solid black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-weight: 600;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 100;
}

.navbar nav {
  display: flex;
  gap: 20px;
}

.navbar nav a, .nav-actions a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.nav-actions {
  background-color: #000;
  display: flex;
  gap: 10px;
  align-items: center;
  height: 16px;
  width: 16px;
}

/* Hero Section */
.hero {
  border:0px solid black;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 0;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

.hero-text h1 {
  font-family: 'Agdasima', sans-serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 30px;
}

.email-button {
  background-color: #000;
  color: #3EFFD4;
  border: none;
  padding: 12px 24px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
}

.email-button:hover {
  background-color: #3EFFD4;
  color: #000;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.primary-btn {
  background-color: #000;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
}

.secondary-btn {
  background: transparent;
  border: 2px solid #000;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
}

.store-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.store-buttons button {
  padding: 10px 20px;
  border: 1px solid #000;
  background: #fff;
  border-radius: 10px;
  font-weight: bold;
}

footer {
  color: #00B4FF;
  text-align: center;
  padding: 56px 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  margin-top: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  img.hero-image {
    display: none;
  }

  footer {
    color:#000;
    padding:16px 0;
    position: relative;
  }


  .cta-buttons,
  .store-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .card {
    margin: 0 auto;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .navbar nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ---- particles.js container (non-conflicting) ---- */
#particles-js {
  position: fixed; /* Ensures it stays behind other elements */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2; /* Behind your .hero-image which is z-index -1 */
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  pointer-events: none; /* Prevents interference with UI */
}

/* ---- stats.js styles (optional debug info) ---- */
.count-particles {
  background: rgba(0, 0, 34, 0.8);
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: 0.8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  z-index: 9999;
  border-radius: 0 0 3px 3px;
}

.js-count-particles {
  font-size: 1.1em;
}

#stats {
  margin-top: 5px;
  margin-left: 5px;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  -webkit-user-select: none;
}


