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


*{
    font-family: 'poppins', sans-serif;
}

/* Popup hidden initially */
.tennis-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 82%);
  display: none;
  justify-content: center;
  z-index: 999999;
  padding: 15px;
  overflow: auto;
}

/* Active after 5 sec */
.tennis-popup-overlay.show {
  display: flex;
  animation: overlayFade 0.3s ease;
}

.tennis-popup {
  position: relative;
  width: min(100%, 350px);
  min-height: 475px;
  background: #fff;
  border-radius: 25px;
     height: fit-content;
    display: flex;
    flex-direction: column;
    margin: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  transform: scale(.85);
  animation: popupIn .35s ease forwards;

}

/* Close */
.popup-close {
  position: absolute;
  right: 10px;
  top: 10px;
     border: none;
    background: #ffffff00;
  cursor: pointer;
  z-index: 20;
}

/* Text */
.popup-content {
  position: relative;
  z-index: 5;
  padding: 14px 15px 0;
}

.brand {
  img{
    width: 145px;
  }
}

.popup-content h2 {
    margin: 12px 0 4px;
    font-size: 31px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 1px;
    color: #303030;
    font-family: 'Montserrat', sans-serif;

}

.popup-content h2 span {
  color: #F5375D;
  
    font-family: 'Montserrat', sans-serif;
}

.popup-content h2 > span:last-child {
  color: #303030;
  
    font-family: 'Montserrat', sans-serif;
}

.tagline {
    margin: 7px 0;
    font-size: 10px;
    line-height: 1.4;
    color: #001B3F;
}

/* Player */
.tennis-player {
    position: absolute;
    width: 315px;
    right: 0px;
    top: 0;
    border-radius: 25px 25px 0 0;
    z-index: 3;
  pointer-events: none;
}

/* US Open ribbon */
.us-open {
  position: relative;
  width: 108%;
  margin-left: -4%;
  margin-top: 12px;
  display: block;
  z-index: 6;
}

/* Event */
.event-info {
    position: relative;
    z-index: 7;
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 80px auto 0;
    font-size: 10px;
    padding: 6px 16px;
    width: fit-content;
    color: #FEFEFE;
    border-radius: 30px;
    background-color: #34363A;
    align-items: center;
}

.event-info span + span {
  border-left: 1px solid #999;
  padding-left: 12px;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px 15px 15px;
}

.feature {
  height: 80px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}

.feature div {
  font-size: 16px;
  margin-bottom: 2px;
}

.feature.pink {
  background: #FFF8F9;
  border: 1px solid #FFD5DB;
  color: #303030;
}

.feature.yellow {
  background: #FFF9E2;
  border: 1px solid #FFE992;
  color: #303030;
}

.feature.orange {
  background: #FFF2E5;
  border: 1px solid #FFDDBC;
  color: #303030;
}

/* Call button */
.call-btn {

  background: linear-gradient(270deg, #FF6E6E 0.13%, #F5164E 99.87%);
margin: 0 25px;
    padding: 8px 10px;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottom-text {
    text-align: center;
    color: #F5375D;
    font-size: 12px;
    padding: 4px 0 15px;

}

/* Animations */
@keyframes overlayFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popupIn {
  from {
    transform: scale(.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .tennis-popup {
    width: 330px;
    max-width: calc(100vw - 30px);
  }
}

/* Desktop par popup hide */
@media (min-width: 768px) {
  .tennis-popup-overlay {
    display: none !important;
  }
}
