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

body {
  font-family: Arial, sans-serif;
  color: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Background Image with White Overlay */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("logo/oPp2YhiTnT6w0JnGUd7zGPgmE6w.png.svg") no-repeat center center/cover;
  z-index: -2;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(27, 27, 27, 0.87); /* light white shade */
  z-index: -1;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 45px;
  background: rgba(0, 0, 0, 0.733);
  border-radius: 14px;
  position: absolute;
  top: 30px;
  right: 140px;
  left: 140px;
  background: rgba(0, 0, 0, 0.733);
}

.logo-box {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

.talrop-logo {
  height: 5px;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
}

.initiative {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 25px;
  background: white;
  border-radius: 14px;
  color: black;
}

.initiative-link {
  display: flex;
  align-items: center;
  gap: 5px; /* example gap */
  text-decoration: none;
  color: black;
}

.initiative-link span {
  font-size: 0.9rem;
}

.initiative-link img {
  width: 40px;
  height: auto;
}

/* Main */
.main-content {
  text-align: center;
  margin-top: 15%;
  position: relative;
  z-index: 1; /* so content is above overlay */
}

.mascare-icon {
  height: 40%;
  margin-bottom: 20px;
  animation: shakeY 0.5s; /* keep shaking */
}

@keyframes shakeY {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-6px); }
}

.content {
  animation: popup 1s ease-out forwards;
}

@keyframes popup {
  0%   { transform: scale(0); opacity: 0; }
  70%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}

.tagline {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 20px auto;
}

.launching {
  font-size: 4.5rem;
  font-weight: bold;
  margin-top: 30px;
  background: linear-gradient(to right, #d68d2b, #d8ac72, #b16e16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
  background-clip: text; /* for Firefox */
}
/* Responsive Design */
@media screen and (max-width: 1024px) {
  .header {
    left: 60px;
    right: 60px;
    padding: 12px 25px;
  }
  .mascare-icon {
    height: 35%;
  }
  .launching {
    font-size: 3.5rem;
  }
  .tagline {
    font-size: 1rem;
    max-width: 700px;
  }
}

/* Responsive Design Fix */
/* Header responsive fix */
@media screen and (max-width:330px) {
  .header {
    position: relative;      /* allow it to flow naturally */
    left: auto;
    right: auto;
    flex-direction: row;     /* keep row layout */
    flex-wrap: wrap;         /* wrap items if needed */
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    padding: 10px 15px;
  }

  .logo-box {
    margin-bottom: 5px; /* small spacing if wrapped */
  }

  .initiative {
    margin-top: 4px;
  }

  .initiative-link {
    justify-content: center;
  }
}


@media screen and (max-width: 700px) {
  .header {
    position: relative;  /* let it flow naturally */
    margin-left: 5%;
    margin-right: 5%;
    left: auto;
    right: auto;
    align-items: center;
    padding: 12px 12px;
  }
  .initiative {
    margin-top: 10px;
  }
  .mascare-icon {
    height: 50%;
  }
  .launching {
    font-size: 2.5rem;
  }
  .tagline {
    font-size: 0.95rem;
    max-width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .header {
    padding: 8px 10px;
    position: relative; 
  }
  .mascare-icon {
    height: 25%;
  }
  .launching {
    font-size: 2rem;
  }
  .tagline {
    font-size: 0.9rem;
    max-width: 95%;
  }
}
