.atmosphere {
  padding-block: 120px;
}

.atmosphere__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.atmosphere__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.atmosphere__heading-row {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
}

.atmosphere__line {
  flex: 1 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(27, 14, 17, 0) 0%, rgba(27, 14, 17, 0.35) 100%);
}

.atmosphere__heading-row .atmosphere__line:last-child {
  transform: scaleX(-1);
}

.atmosphere__heading-title {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.atmosphere__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.25;
  letter-spacing: 0.8px;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(58.2deg, #1b0e11 7.4%, #d0ab89 52%, #1b0e11 103.2%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.atmosphere__wordmark {
  position: relative;
  top: 16px;
  width: 225px;
  height: 76px;
}

.atmosphere__lead {
  max-width: 906px;
  text-align: center;
  opacity: 0.8;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
}

.atmosphere__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 80px;
  border: 1px solid #efe3d8;
  border-radius: 30px;
  background: #fbf6f0;
  overflow: hidden;
}

.atmosphere__top {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.atmosphere__content {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  flex-direction: column;
  gap: 30px;
}

.atmosphere__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.atmosphere__intro-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.2;
  color: #262626;
}

.atmosphere__intro-desc {
  max-width: 430px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
}

.atmosphere__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.atmosphere__feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.atmosphere__feature-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.atmosphere__feature-icon img {
  max-width: 35px;
  max-height: 35px;
}

.atmosphere__feature-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-black);
}

.atmosphere__feature-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted);
}

.atmosphere__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.atmosphere__store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.atmosphere__video {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  flex-shrink: 0;
  width: 785px;
  height: 644px;
  border-radius: 20px;
  overflow: hidden;
}

.atmosphere__video-bg {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(70, 66, 63, 0.8), rgba(70, 66, 63, 0.8)), url("../../assets/images/atmosphere-video.png");
  background-size: cover;
  background-position: center;
}

.atmosphere__video-media {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.atmosphere__video.is-playing .atmosphere__video-bg,
.atmosphere__video.is-playing .atmosphere__video-play {
  display: none;
}

.atmosphere__video.is-playing .atmosphere__video-media {
  display: block;
}

.atmosphere__video-play {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
}

.atmosphere__video-play img {
  width: 80px;
  height: 80px;
}

.atmosphere__thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 40px;
  border-radius: 20px;
  background: #fffdfb;
  overflow: hidden;
}

.atmosphere__thanks-deco {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  height: 0;
}

.atmosphere__thanks-deco img {
  width: 124px;
  height: 124px;
  opacity: 0.9;
}

.atmosphere__thanks-deco img:first-child {
  margin-top: -20px;
  margin-left: -34px;
}

.atmosphere__thanks-deco img:last-child {
  margin-top: -19px;
  margin-right: -34px;
}

.atmosphere__thanks-title {
  max-width: 900px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.5;
  color: var(--color-black);
}

.atmosphere__thanks-title span {
  color: #be946e;
}

.atmosphere__thanks-desc {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-muted);
}


@media (max-width: 1740px) {
  .atmosphere__top{
      flex-direction: column;
  }
  .atmosphere__video{
    width: 100%;
  }
  .atmosphere__content{
    width: 100%;
  }
}

@media (max-width: 1280px) {
  
  .atmosphere__heading-title {
    flex-direction: column;
    gap: 12px;
  }

  .atmosphere {
    padding-block: 90px;
  }

  .atmosphere__title {
    font-size: 32px;
    white-space: normal;
  }

  .atmosphere__panel {
    padding: 48px;
  }

  .atmosphere__top {
    flex-direction: column;
  }

  .atmosphere__content {
    width: 100%;
  }

  .atmosphere__video {
    width: 100%;
    height: 420px;
  }
}

@media (max-width: 640px) {
  .atmosphere {
    padding-block: 60px;
  }

  .atmosphere__wordmark {
    width: 160px;
    height: 54px;
  }

  .atmosphere__title {
    font-size: 24px;
  }

  .atmosphere__panel {
    padding: 24px;
    gap: 40px;
  }

  .atmosphere__store-buttons {
    flex-direction: column;
  }

  .atmosphere__store-buttons .store-btn {
    flex: 0 1 auto;
  }

  .atmosphere__thanks-title {
    font-size: 20px;
  }

  .atmosphere__thanks-deco img {
    width: 70px;
    height: 70px;
  }
}
