/* Earn Account Section Styles */

.rand-earn {
  background-color: #ffffff;
  padding: 60px 16px;
}

@media (min-width: 768px) {
  .rand-earn {
    padding: 100px 40px;
  }
}

@media (min-width: 992px) {
  .rand-earn {
    padding: 150px 60px;
  }
}

.rand-earn__container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .rand-earn__container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }
}

@media (min-width: 1200px) {
  .rand-earn__container {
    gap: 100px;
  }
}

@media (min-width: 1400px) {
  .rand-earn__container {
    gap: 174px;
  }
}

/* Content Column */
.rand-earn__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

@media (min-width: 992px) {
  .rand-earn__content {
    width: 573px;
    flex-shrink: 0;
    gap: 52px;
  }
}

/* Text Block */
.rand-earn__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Label */
.rand-earn__label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1.96px;
  color: #64748b;
  text-transform: uppercase;
  margin: 0;
}

/* Title */
.rand-earn__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -1px;
  color: #222222;
  margin: 0;
}

@media (min-width: 768px) {
  .rand-earn__title {
    font-size: 40px;
    line-height: normal;
  }
}

@media (min-width: 992px) {
  .rand-earn__title {
    font-size: 50px;
  }
}

/* Description */
.rand-earn__description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #64748b;
  margin: 0;
}

@media (min-width: 768px) {
  .rand-earn__description {
    font-size: 18px;
    line-height: normal;
  }
}

@media (min-width: 992px) {
  .rand-earn__description {
    font-size: 20px;
  }
}

/* Phone Image - Mobile Only */
.rand-earn__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  order: 0;
}

.rand-earn__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .rand-earn__image {
    display: none;
  }
}

/* Phone Image - Desktop */
.rand-earn__image-desktop {
  display: none;
}

@media (min-width: 992px) {
  .rand-earn__image-desktop {
    display: block;
    width: 400px;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .rand-earn__image-desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (min-width: 1200px) {
  .rand-earn__image-desktop {
    width: 480px;
    height: 480px;
  }
}

@media (min-width: 1400px) {
  .rand-earn__image-desktop {
    width: 573px;
    height: 573px;
  }
}

/* Features List */
.rand-earn__features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 8px;
}

@media (min-width: 992px) {
  .rand-earn__features {
    padding-left: 0;
  }
}

/* Feature Item */
.rand-earn__feature {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .rand-earn__feature {
    gap: 12px;
  }
}

@media (min-width: 992px) {
  .rand-earn__feature {
    gap: 16px;
  }
}

/* Check Icon */
.rand-earn__check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #2c52f5;
}

@media (min-width: 768px) {
  .rand-earn__check {
    width: 28px;
    height: 28px;
  }
}

@media (min-width: 992px) {
  .rand-earn__check {
    width: 32px;
    height: 32px;
  }
}

/* Feature Text */
.rand-earn__feature-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #222222;
  margin: 0;
}

@media (min-width: 768px) {
  .rand-earn__feature-text {
    font-size: 18px;
    line-height: normal;
  }
}

@media (min-width: 992px) {
  .rand-earn__feature-text {
    font-size: 20px;
  }
}

/* Button - Desktop only */
.rand-earn__button {
  display: none;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 8px 24px;
  background-color: #2c52f5;
  border: none;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  width: fit-content;
}

@media (min-width: 992px) {
  .rand-earn__button {
    display: inline-flex;
  }
}

.rand-earn__button:hover {
  background-color: #2445d4;
}

/* Disclaimer */
.rand-earn__disclaimer {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #222222;
  margin: 0;
}

@media (min-width: 992px) {
  .rand-earn__disclaimer {
    margin-top: 0;
  }
}

.rand-earn__disclaimer a {
  color: #64748b;
  text-decoration: underline;
}

.rand-earn__disclaimer a:hover {
  color: #2c52f5;
}

/* Spanish Disclaimer - different styling */
.rand-earn__disclaimer--es {
  font-size: 16px;
  line-height: 24px;
  color: #64748b;
}

@media (min-width: 992px) {
  .rand-earn__disclaimer--es {
    font-size: 20px;
  }
}
