.signin-form {
  margin: auto;
  width: 100%;
  max-width: 750px;
  text-align: center;
  padding: 15px;
}

.banner {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1)), url("../img/product_banner.jpg") center center;
  background-size:cover;
}

img[src*='#left'] {
  float: left;
  padding-right: 3rem;
}

img[src*='#right'] {
  float: right;
  padding-left: 3rem;
}
img[src*='#center'] {
  display: block;
  margin: auto;
  padding-bottom: 3rem;
}

@media screen and (max-width: 1409px) {
  img[src*='#left'] {
    float: left;
    width: 100%;
    padding-right: 0;
    padding-bottom: 1rem;
  }
  img[src*='#right'] {
    float: right;
    width: 100%;
    padding-left: 0;
    padding-bottom: 1rem;
  }
}

.index-banner {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .05)), url("../img/index_header.png") no-repeat;
  background-size: cover;
}

.product-card {
  border-left: 0px solid transparent;
  transition: all .1s ease-in-out;
}

.product-card:hover {
  border-left: 3px solid #000;
}

.product-card > .card-img-top {
  padding: 0rem;
  transition: all .3s ease-in-out;
}

.product-card > .card-img-top:hover {
  padding: .2rem;
}

.hidden_block {
  filter: blur(5px);
  user-select: none;
}

.circle_progress {
  transform: rotate(-90deg);
  stroke-dasharray: 251; /* (2PI * 40px) */
  transition: all .2s ease-out;
}

/* .roulette {
  overflow: hidden;
}

.roulette::after {
  display: block;
  content: '';
  transform: rotate(-90deg);
  border-top: 4px solid #1072B8;
}

.roulette-inner {
  top: 0;
  display: block;
  position: relative;
}

.roulette-img {
  padding: 2rem 4rem;
  max-width: calc(5rem + 4rem * 2);
  height: 100%;
}

@media (max-width: 768px) {
  .roulette-img {
    padding: 2rem;
  }
}

.roulette-title {
  font-size: 1rem;
  border-top: 1px solid #000;
  padding-top: 1rem;
}

.roulette-blue {
  box-shadow: 1px 1px #4b69ff,
              2px 2px #4b69ff,
              3px 3px #4b69ff,
              4px 4px #4b69ff,
              5px 5px #4b69ff,
              6px 6px #4b69ff;
  transition: .5s ease-in;
}

.roulette-purple {
  box-shadow: 1px 1px #d32ee6,
              2px 2px #d32ee6,
              3px 3px #d32ee6,
              4px 4px #d32ee6,
              5px 5px #d32ee6,
              6px 6px #d32ee6;
  transition: .5s ease-in;
}

.roulette-red {
  box-shadow: 1px 1px #cb4848,
              2px 2px #cb4848,
              3px 3px #cb4848,
              4px 4px #cb4848,
              5px 5px #cb4848,
              6px 6px #cb4848;
}

.roulette-blue:hover,
.roulette-purple:hover {
  box-shadow: 0;
} */

.carousel-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* .roulette_block-img {
  padding: 1rem 1rem;
  background: linear-gradient(to right, var(--bs-biedge) 35%, rgba(0,0,0,0) 65%), url("../img/profile_roulette.png") no-repeat;
  background-size: cover;
} */

.modal-content {
  border: 0;
  padding: 0.75rem;
  border-radius: 24px;
}

.modal-header {
  padding: 0.75rem;
  border-bottom: 0;
}

.modal-footer {
  padding: 0.75rem;
  border-top: 0;
}

.card {
  background-color: var(--bs-tertiary-bg);
  border: 0;
}

.btn.disabled {
  border-color: transparent;
}

.markdown-body blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  color: var(--bs-secondary-color);
  border-left: 0.25rem solid var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.08);
  border-radius: 0.5rem;
}

.markdown-body blockquote > :last-child {
  margin-bottom: 0;
}

.markdown-body img {
  border-radius: var(--bs-border-radius-xl);
}

/* ---- Legal pages (terms, privacy, refund) ---- */
.legal-page {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-xl);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
  color: var(--bs-body-color);
  line-height: 1.7;
}

.legal-page > *:first-child {
  margin-top: 0;
}

.legal-page > *:last-child {
  margin-bottom: 0;
}

.legal-page h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--bs-border-color);
}

/* Effective-date / lead line right after the title */
.legal-page h1 + p {
  display: inline-block;
  margin-bottom: 2.25rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
  background-color: rgba(var(--bs-primary-rgb), 0.08);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.25);
  border-radius: 2rem;
}

.legal-page h1 + p strong {
  color: var(--bs-emphasis-color);
  font-weight: 600;
}

/* When a section heading follows the date line directly (e.g. Refund Policy),
   drop its top margin so the gap matches pages that open with a paragraph. */
.legal-page h1 + p + h2 {
  margin-top: 0;
}

.legal-page h2 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--bs-primary);
  scroll-margin-top: 6rem;
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--bs-emphasis-color);
}

.legal-page p {
  margin-bottom: 1rem;
}

.legal-page strong {
  color: var(--bs-emphasis-color);
}

.legal-page a {
  color: var(--bs-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.4);
  transition: border-color 0.15s ease-in-out;
}

.legal-page a:hover {
  border-bottom-color: var(--bs-primary);
}

.legal-page ul,
.legal-page ol {
  padding-left: 1.3rem;
  margin-bottom: 1rem;
}

.legal-page li {
  margin-bottom: 0.45rem;
}

.legal-page li::marker {
  color: var(--bs-primary);
}

/* Hide decorative "---" rules that sit directly under a heading */
.legal-page :is(h1, h2, h3, h4) + hr {
  display: none;
}

.legal-page hr {
  margin: 2rem 0;
  border: 0;
  border-top: 1px solid var(--bs-border-color);
  opacity: 0.6;
}

.legal-page code {
  padding: 0.15em 0.4em;
  font-size: 0.875em;
  color: var(--bs-body-color);
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border-radius: 0.3rem;
}
