/* Reset & base styles */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
  }
  
  /* Header */
  .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 40px;
  }
  
  .logo {
    height: 32px;
  }
  
  .main-logo {
    height: 32px;
  }
  

/* Main full-height background container */
.main-container {
  width: calc(100% - 30px);
  height: calc(100vh - 64px - 15px);
  margin: 0 auto 15px auto;
  border-radius: 32px;
  overflow: hidden; /* ВАЖНО: обрезает выходящие элементы */
  background: url('../img/bg.png') no-repeat center center;
  background-size: cover;
  padding: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
  

.player-wrapper {
  position: absolute;
  bottom: 0px;
  left: 42%;
  transform: translateX(-50%);
  max-width: 1520px;
  min-width: 925px;
  width: 78vw;
  transform-origin: bottom center;
}


.player-img {
  width: 100%;
  height: auto;
  display: block;
}

.text-content {
  position: absolute;
  top: 40px;
  left: 40px;
  color: white;
  font-family: 'Onest', sans-serif;
  max-width: 780px;
  z-index: 2;
}

.bonus-line {
  display: flex;
  align-items: center;
  font-size: 48px;
  font-weight: 800;
  background: white;
  color: #000;
  padding: 8px 14px;
  border-radius: 16px;
  width: fit-content;
  margin-bottom: 0px;
}

.btc-orange {
  color: #F85A00;
}


@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ball-icon {
  width: 58px;
  height: 58px;
  margin-right: 10px;
  animation: spin 3s linear infinite;
}


.main-title {
  font-size: 116px;
  font-weight: 900;
  margin-bottom: 0px;
  letter-spacing: -1px;
}

.subtitle {
  font-size: 36px;
  font-weight: 500;
  line-height: 50px;
  color: #fff;
  margin-top:-10px
}

.features {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  z-index: 2;
}

.feature-item {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255);
  border-radius: 40px;
  padding: 10px 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* для Safari */
  white-space: nowrap;
}

.form-container {
  position: absolute;
  top: 40px;
  right: 40px;
  min-height: 500px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.background-overlay {
  position: absolute;
  width: 100%;
  height: 682px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: linear-gradient(171deg, rgb(0 0 0 / 0%) 50%, rgba(0, 0, 0, 1) 100.0%);
  z-index: 1;
  pointer-events: none;
}
.features-mob {
  display: none;
}

@media (max-width: 1720px) {
  .bonus-line {
    font-size: 32px;
    font-weight: 800;
  }
  .ball-icon {
    width: 40px;
    height: 40px;
  }
  .btc-orange {
    font-weight: 800;
  }
  .main-title {
    font-size: 84px;
    font-weight: 900;
  }
  .subtitle {
    font-size: 28px;
    font-weight: 500;
    line-height: 38px;
  }
  .feature-item {
    font-size: 20px;
  }
}

@media (max-width: 1320px) {
  .text-content {
    top: 20px;
    left: 20px;
  }
  .bonus-line {
    font-size: 28px;
  }
  .main-title {
    font-size: 76px;
  }
  .subtitle {
    font-size: 24px;
    line-height: 32px;
    max-width: 360px;
  }
  .form-container {
    top: 20px;
    right: 20px;
  }
  .player-wrapper {
    left: 40%;
  }
  .features {
    max-width: 620px;
  }
  .main-container {
    width: calc(100% - 20px);
    height: calc(100vh - 64px - 10px);
    margin: 0 auto 10px auto;
    padding: 10px;
  }
}

@media (max-width: 1024px) {
  .logo {
    height: 24px;
  }
  
  .main-logo {
    height: 24px;
  }
  .form-container {
    top: 270px;
    left: 20px;
  }
  .subtitle {
    max-width: 460px;
  }
  .main-container {
    min-height: 920px;
  }
  .player-wrapper {
    left: 50%;
    width: 1220px;
  }
  .features {
    max-width: 100%;
    bottom: 20px;
    left: 20px;
    gap: 10px;
  }
  .feature-item {
    font-size: 14px;
    padding: 10px 10px;
  }
}

@media (max-width: 768px) {
  .bonus-line {
    font-size: 21px;
    padding: 8px 8px;
  }
  .ball-icon {
    width: 32px;
    height: 32px;
  }
  .main-title {
    font-size: 46px;
  }
  .text-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
  .subtitle {
    margin-top: 0px;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    max-width: 100%;
  }
  .features {
    display: none;
    top: 195px;
    bottom:auto;
    justify-content: center;
  }
  .feature-item {
    font-size: 14px;
    padding: 10px 10px;
    max-height: 40px;
  }
  .form-container {
    bottom: 10px;
    width: 320px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .main-container {
    min-height: 1070px;
    border-radius: 20px;
  }

  .features-mob {
    display: flex;
    margin-top: 10px;
    max-height: 200px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px
  }
  .page-header {
    padding: 0 10px;
  }
  .player-wrapper {
    left: 32%;
    width: 550px;
    min-width: 500px;
    bottom: 430px;
}
  
}
