@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;900&display=swap');

* {
  padding: 0;
  margin: 0;
  font-family: poppins, sans-serif;
}

.main {
  background-image: url("assets/images/background-3.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: max(1200px, 100vw);
  height: 95vh;
  position: relative;
}

body {
  background-color: black;
}

.main .box {
  height: 95vh;
  width: 100%;
  opacity: 0.64;
  position: absolute;
  top: 0;
  background-color: black;

}

nav {
  max-width: 80vw;
  margin: auto;
  justify-content: space-between;
  display: flex;
  align-items: center;
  height: 100px;
}

nav img {
  color: red;
  width: 155px;
  position: relative;
  z-index: 10;

}

nav button {
  position: relative;
  z-index: 10;
}

.hero {
  height: 100%;
  font-family: "Martel Sans", sans-serif;
  color: white;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 13px;
  padding: 34px;
}

.hero h1 {
  font-family: poppins, sans-serif;
  font-weight: 900;
  font-size: 56px;
  text-align: center;
  line-height: 70px;
  color: rgb(255, 255, 255);
}

.hero h3 {
  font-weight: 500;
  text-align: center;
  font-size: 20px;
  line-height: normal;
  letter-spacing: -0.02em;
  color: rgb(255, 255, 255);
}

.hero h4 {
  font-weight: 400;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  color: rgb(255, 255, 255);
}

.email-input {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.email-input input {
  width: 320px;
  padding: 16px;
  font-size: 16px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  line-height: 24px;
}

.email-input input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 24px;
}

.email-input input:focus {
  outline: none;
  box-shadow: 0 0 0 2px white;
  border-color: white;
}

.email-input button {
  padding: 16px 26px;
  font-size: 24px;
  font-weight: 500;
  background-color: red;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  line-height: 24px;
}

.email-input button:hover {
  background-color: darkred;
}

.separation {
  height: 8px;
  background-color: rgb(46, 44, 44);
}

.btn-red {
  background-color: red;
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}

.btn-red:hover {
  background-color: darkred;
}

.btn-lang {
  background-color: rgba(248, 243, 243, 0.021);
  color: white;
  border: 1px solid white;
  padding: 4px 16px;
  border-radius: 4px;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
}

.trending {
  padding: 40px 60px;
  color: rgb(255, 255, 255);
  font-weight: 500px;
  font-size: 24px;
}

.trending h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.trending-row {
  display: flex;
  gap: 50px;
  overflow-x: auto;
  scrollbar-width: none;
}

.trending-row::-webkit-scrollbar {
  display: none;
}

.card {
  position: relative;
  min-width: 180px;
  height: 260px;
  border-radius: 12px;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid black;
  border-radius: 8px;
}

.rank {
  position: absolute;
  bottom: -20px;
  left: -10px;
  font-size: 120px;
  font-weight: 900;
  color: black;
  -webkit-text-stroke: 3px white;
  z-index: 2;
}

.card:hover {
  transform: scale(1.08);
  transition: 0.3s ease;
}

.trending-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 85vw;
  overflow: hidden;
}

.arrow {
  position: absolute;
  z-index: 10;

  background: rgba(0, 0, 0, 0.6);
  color: white;

  border: none;
  font-size: 40px;
  width: 50px;
  height: 100%;

  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow.left {
  left: 0;
}

.arrow.right {
  right: 0;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.9);
}

.trending-row {
  display: flex;
  gap: 20px;
  padding-left: 60px;
}

.reasons {
  padding: 40px 60px;
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.reasons h2 {
  font-size: 28px;
  margin-bottom: 24px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.reason-card {
  background: linear-gradient(180deg, #1b1f3b, #120914);
  border-radius: 20px;
  padding: 24px;
  min-height: 260px;
  /* Ensures all cards are same height */
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.reason-card h3 {
  font-size: 24px;
  font-weight: 500;
  font-family: poppins, sans-serif;
  line-height: normal;
}

.reason-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: normal;
  font-weight: 400;
  font-family: poppins, sans-serif;
}

.reason-card img {
  border-radius: 12px;
  margin-top: auto;
  size: 14px;
  width: 90px;
  height: auto;
  bottom: 10px;
  right: 10px;
  position: absolute;
  opacity: 0.8;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}


.faq {
  padding: 40px 0px;
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.faq-item {
  transition: all 0.6s ease-out;
  background-color: #2d2d2d;
  font-size: 24px;
  font-weight: 400;
  color: rgb(0, 0, 0)e;
  padding: 24px;
  margin: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-item:hover {
  background-color: #414141;
}

.email-footer {
  max-width: 770px;
  width: 90%;
  margin: 0 auto;
}

.email-footer .mail {
  flex: 1;
  /*  takes remaining space */
  max-width: none;
  /*  removes previous limits */
}

footer .Questions {
  display: block;
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 400;
}

footer {
  color: white;
  padding: 40px 0;
}

.footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {

  .footer {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
}

.footer a {
  color: white;
}

.footer-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  align-items: flex-start;
  height: auto;
  color: rgba(255, 255, 255, 0.7);
}

.footer-item a {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.lang2 {
  margin-top: 50px;
  margin-bottom: 40px;
}

.net {
  margin-bottom: 20px;
  font-size: 13px;
}

.net {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.page {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}

.Questions span {
  text-decoration: underline;
}
.Questions span a {
  cursor: pointer;
}

.page span {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {

  .main {
    background-image: url("assets/images/background\ 3.jpg ");
    background-size: cover;
    background-position: center top;
    min-height: 100vh;
  }

  nav {
    max-width: 90vw;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h3 {
    font-size: 18px;
  }

  .hero h4 {
    font-size: 18px;
  }

  .btn-red {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
}