/* Base styles */
/* Apply to the whole page */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #062828;
  color: #94ffff;
  overflow-x: hidden; /* prevents horizontal scroll */
  width: 100vw;       /* lock body width to viewport */
  max-width: 100vw;   /* ensures no overflow */
  cursor: url("assets/cursor.webp") -32 -32, auto;
  user-select: none;
}

/* Header stays full width but respects viewport */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  width: 100%;
  max-width: 100vw; /* prevents nav cut-off */
  box-sizing: border-box; /* padding included in width */
}

/* Hero section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 100px;
  position: relative;
  width: 100%;
  max-width: 100vw; /* keeps hero inside screen */
  box-sizing: border-box;
}

/* Download section */
.download-section {
  user-select: none;
  padding: 60px 100px;
  width: 100%;
  max-width: 100vw; /* keeps grid inside screen */
  box-sizing: border-box;
}


a {
  text-decoration: none;
  cursor: url("assets/select.webp") -16 -16, pointer;
}

.warningbanner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #16b1b1;
  color: #062828;
  text-align: center;
  padding: 12px;
  font-weight: 500;
  z-index: 9999;
}

/* Header (full width, logo left, nav right) */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px; /* original spacing */
  width: 100%;        /* ensures nav doesn’t get cut off */
}

.logo {
  font-weight: 500;
  color: #4dffff;
  font-size: 24px;
}

nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;    /* allows wrapping if screen is narrower */
}

nav a {
  font-weight: 400;
  color: #79abab;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: top;
  padding-top: 2px;
  transition: all 0s ease;
}

nav a.active {
  color: #4dffff;
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  padding-top: 0;
}

nav a:hover {
  color: #4dffff;
}

/* Hero section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 100px; /* original spacing */
  position: relative;
  width: 100%;         /* full width */
}

.hero-text {
  flex: 1;
  max-width: 50%;
}

.hero h1 {
  font-weight: 900;
  color: #94ffff;
  font-size: 48px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeMoveLeft 1s ease-out forwards;
  animation-delay: 0.1s;
}

.hero h2 {
  font-weight: 700;
  color: #16b1b1;
  font-size: 28px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeMoveLeft 1s ease-out forwards;
  animation-delay: 0.3s;
}

.hero p {
  font-weight: 400;
  color: #94ffff;
  font-size: 18px;
  margin: 8px 0;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeMoveLeft 1s ease-out forwards;
  animation-delay: 0.6s;
}

.hero-image {
  flex: 1;
  max-width: 40%;
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 0.7s;
}

.hero-image img {
  padding: 0px 20%;
  width: 80%;
  height: auto;
  object-fit: cover;
}

.hero-bg-box {
  position: absolute;
  border-radius: 3% 0 0 3%;
  top: 0px;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: #16b1b1;
  z-index: 1;
  transform: translateX(100%);
  opacity: 0;
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 0.5s;
}

/* Animations */
@keyframes fadeMoveLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(100%); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Social bar */
.social-bar {
  position: fixed;
  bottom: 5%;
  left: 15%;
  transform: translateX(-50%);
  display: flex;
  gap: 35px;
  z-index: 1000;
}

.social-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #0fb9b1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1.2s;
}

.social-btn img {
  width: 110%;
  height: 110%;
  pointer-events: none;
}

.social-btn:hover {
  transform: scale(1.2) translateY(-5px);
  background: #062828;
}

.social-btn:hover img {
  filter: brightness(5) saturate(100%) invert(63%) sepia(67%) saturate(700%) hue-rotate(148deg) contrast(100%);
}




/* Error page */
.container {
  text-align: center;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-label {
  font-size: 36px;
  font-weight: 500;
  margin-bottom: -100px;
  color: #16B1B1;
}

.error-code {
  font-size: 360px;
  font-weight: 700;
  margin-bottom: -80px;
  color: #94ffff;
}

.error-message {
  font-size: 20px;
  margin-bottom: 20px;
  color: #16B1B1;
}

.subtext {
  font-size: 18px;
  color: #79abab;
  margin-bottom: 20px;
}

.home-button {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 15px;
  background-color: #062828;
  color: #16B1B1;
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 0px;
  transition: all 0.3s ease;
  border: 5px solid #16B1B1;
}

.home-button:hover {
  background-color: #16B1B1;
  color: #062828;
}

/* Download section */
.download-header {
  user-select: none;
  padding: 50px 100px 0px 100px;
  font-weight: 900;
  font-size: 48px;
  color: #94ffff;
}

.download-subheader {
  user-select: none;
  padding-left: 100px;
  font-weight: 400;
  font-size: 20px;
  color: #16b1b1;
  margin-top: -5px;
}

.download-section {
  user-select: none;
  padding: 60px 100px;
  width: 100%;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.download-box {
  background: #0b3a3a;
  border-radius: 10px;
  padding: 25px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.download-title {
  font-weight: 600;
  color: #00dcdc;
  font-size: 20px;
}

.download-details {
  font-weight: 400;
  color: #39b7b7;
  font-size: 14px;
  margin-top: 6px;
}

.download-btn {
  align-self: flex-end;
  padding: 8px 16px;
  border-radius: 6px;
  background: #16b1b1;
  color: #062828;
  font-weight: 500;
  text-decoration: none;
}

.download-btn:hover {
  background: #0fb9b1;
}

/* --- Desktop breakpoints --- */

/* Small desktops (1024px – 1280px) */
@media (max-width: 1023px) {
  .warningbanner {
    display: block;
  }
}

@media (max-height: 599px) {
  .warningbanner {
    display: block;
  }
}