#maybach-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  backdrop-filter: blur(10px);
  padding: 20px;
}

.maybach-image-mobile {
  display: none;
}
#maybach-popup .maybach-inner {
  position: relative;
  overflow: hidden;
  background: #fdfcfc;
  border-radius: 24px;
  max-width: 1024px;
  width: 100%;
  height: min-content !important;
  display: flex;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

#maybach-popup .maybach-inner {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  justify-content: center;
  color: #10438f;
}

.maybach-image {
  z-index: 1;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0%, -50%);
  width: 500px;
}

#maybach-popup h2 {
  margin: 0 0 16px;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: #fa5c35;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-wrap: auto;
}

#maybach-popup h3 {
  margin: 20px 0 28px;
  font-size: 28px;
  font-weight: 800;
  color: #10438f;
  text-wrap: auto;
}

#maybach-popup p {
  z-index: 20;
  font-size: 20px;
  font-weight: 400;
  text-wrap: auto;
}

#maybach-popup p strong,
#maybach-popup .highlight {
  text-wrap: auto;
  color: #fa5c35;
  font-weight: 900;
}

.maybach-subtitle {
  text-wrap: auto;
  color: #10438f;
}

#maybach-popup .dont-miss {
  margin: 0 0 30px;
  font-size: 36px;
  font-weight: 900;
  color: #fa5c35;
  text-shadow: 0 2px 10px #fa5c35;
}

#maybach-popup .small-text {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  font-weight: 500;
}

#maybach-popup .timer-wrapper {
  margin-top: 32px;
  font-size: 24px;
  font-weight: bold;
}

#maybach-popup #popup-timer {
  color: #fa5c35;
  font-size: 32px;
  font-weight: 900;
}

#maybach-popup button {
  position: relative;
  z-index: 20;
  margin-top: 28px;
  background: #fa5c35;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  font-size: 22px;
  font-weight: 900;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  width: 100%;
}

#maybach-popup button:hover {
  background: #db451f;
  transform: translateY(-3px);
}

#maybach-popup .popup-right {
  flex: 1;
  min-height: 480px;
  overflow: hidden;
}

#maybach-popup .popup-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

#maybach-popup .popup-right img:hover {
  transform: scale(1.05);
}

#maybach-chip {
  width: min-content;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #10438f;
  color: #fff;
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 16px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

#maybach-chip:hover {
  background: #282461;
}

#maybach-chip span:first-child {
  font-size: 17px;
  letter-spacing: 0.5px;
}

#maybach-chip #chip-timer {
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@media (max-width: 868px) {
  #maybach-popup .popup-inner {
    flex-direction: column;
    max-width: 420px;
  }
  #maybach-popup .maybach-inner {
    padding: 40px 30px;
  }
  #maybach-popup button {
    align-self: center;
  }
  #maybach-popup h2 {
    font-size: 42px;
  }
  #maybach-popup .dont-miss {
    font-size: 28px;
  }
  #maybach-popup p {
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  .maybach-image {
    width: 500px;
  }
}

@media (max-width: 892px) {
  .maybach-image {
    width: 300px;
  }
}

@media (max-width: 720px) {
  #maybach-popup h2 {
    font-size: 36px;
  }

  .maybach-title > .maybach-subtitle {
    font-size: 36px !important;
  }

  .maybach-left p {
    font-size: 16px !important;
  }

  .maybach-subtitle {
    margin: 0 !important;
    font-size: 20px !important;
  }

  .maybach-image-mobile {
    width: 250px;
    margin: 0 auto;
    display: block;
  }

  .maybach-image {
    display: none;
  }

  .maybach-inner {
    height: calc(100vh - 40px) !important;
  }

  #maybach-chip {
    right: 50%;
    transform: translate(50%);
  }
}

@media (max-width: 480px) {
  .maybach-inner {
    overflow-y: auto !important;
  }
}
