@use "../../../../../styles/abstracts/mixins";
@use "../../../../../styles/abstracts/variables";

.btc__store {
  position: relative;

  display: flex;
  flex-direction: column;

  flex: 0 0 360px;

  min-width: 360px;

  min-height: 250px;

  padding: 1.5rem;

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.03),
      rgba(255,255,255,.01)
    );

  border: 1px solid rgba(255,255,255,.06);

  overflow: hidden;

  transition: all .3s ease;

  @media only screen and (max-width: 1000px) {
    min-width: 100%;
    width: 100%;
    flex: 0 0 auto;
  }

  &:hover {
    transform: translateX(-3px);

    border-color: rgba(247,147,24,.18);

    box-shadow:
      0 25px 60px rgba(0,0,0,.35);
  }

  &::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
      radial-gradient(
        circle at top right,
        rgba(247,147,24,.12),
        transparent 45%
      );

    pointer-events: none;
  }

  &::after {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 1px;

    background:
      linear-gradient(
        90deg,
        transparent,
        rgba(247,147,24,.4),
        transparent
      );
  }

  &__header {
    position: relative;

    z-index: 2;

    margin-bottom: 1.25rem;

    h1 {
      color: variables.$col-white;

      font-size: 1.25rem;

      font-weight: 600;

      line-height: 1.3;

      margin-bottom: .75rem;
    }

    &::after {
      content: "";

      display: block;

      width: 60px;

      height: 3px;

      border-radius: 999px;

      background:
        linear-gradient(
          90deg,
          #f79318,
          transparent
        );
    }
  }

  &__body {
    flex: 1;

    position: relative;

    z-index: 2;

    p {
      color: rgba(255,255,255,.68);

      font-size: .8rem;

      line-height: 1.9;

      font-weight: 400;
    }
  }

  a {
    position: relative;

    z-index: 2;

    margin-top: 1.75rem;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: .6rem 1.1rem;

    border-radius: 14px;

    background:
      rgba(255,255,255,.03);

    border: 1px solid rgba(255,255,255,.06);

    color: variables.$col-white;

    font-size: .82rem;

    font-weight: 500;

    transition: all .25s ease;

    &::after {
      content: "→";

      font-size: 1rem;

      transition: transform .25s ease;
    }

    &:hover {
      background:
        rgba(247,147,24,.08);

      border-color:
        rgba(247,147,24,.18);

      color: #f79318;

    //   &::after {
    //     transform: translateX(5px);
    //   }
    }
  }
}