/* =========================================================
   FAST LINKS
========================================================= */

.fast-links {
  position: relative;

  width: 100%;
  max-width: 320px;

  margin: 14px 28px 26px 0;
  padding: 18px;

  overflow: hidden;

  background:
    radial-gradient(circle at 10% 0%, rgba(255, 47, 91, 0.07), transparent 34%) padding-box,
    linear-gradient(180deg, #22233a 0%, #181a2e 100%) padding-box,
    linear-gradient(135deg, rgba(255, 47, 91, 0.52) 0%, rgba(117, 91, 153, 0.62) 42%, rgba(105, 111, 143, 0.45) 100%) border-box;

  border: 1px solid transparent;
  border-radius: 16px;

  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* =========================================================
   ALIGNMENT
========================================================= */

.fast-links--left {
  float: left;

  margin-right: 28px;
}

.fast-links--right {
  float: right;

  margin-right: 0;
  margin-left: 28px;
}

.clear {
  clear: both;
}

/* =========================================================
   TITLE
========================================================= */

.fast-links__title {
  position: relative;

  margin: 0 0 13px;
  padding: 0 0 13px;

  color: #ffffff;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fast-links__title::before {
  display: inline-block;

  width: 7px;
  height: 7px;
  margin-right: 9px;

  content: '';

  vertical-align: 1px;

  background: var(--accent);

  border-radius: 50%;

  box-shadow:
    0 0 8px rgba(255, 47, 91, 0.65),
    0 0 16px rgba(255, 47, 91, 0.18);
}

/* =========================================================
   LIST
========================================================= */

.fast-links__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* =========================================================
   ITEM
========================================================= */

.fast-links__item {
  position: relative;

  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
  padding: 9px 30px 9px 10px;

  overflow: hidden;

  color: var(--text-soft);
  text-decoration: none;

  border: 1px solid transparent;
  border-radius: 9px;

  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

/* little left accent */
.fast-links__item::before {
  flex: 0 0 auto;

  width: 5px;
  height: 5px;

  content: '';

  background: rgba(255, 47, 91, 0.46);

  border-radius: 50%;

  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

/* right chevron */
.fast-links__item::after {
  position: absolute;
  top: 50%;
  right: 12px;

  width: 6px;
  height: 6px;

  content: '';

  border-top: 1.5px solid rgba(255, 255, 255, 0.32);
  border-right: 1.5px solid rgba(255, 255, 255, 0.32);

  transform: translateY(-50%) rotate(45deg);

  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

/* =========================================================
   TEXT
========================================================= */

.fast-links__number {
  display: none;
}

.fast-links__text {
  flex: 1;

  min-width: 0;

  overflow: hidden;

  color: rgba(255, 255, 255, 0.74);

  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;

  text-overflow: ellipsis;
  white-space: nowrap;

  transition: color 180ms ease;
}

/* =========================================================
   HOVER
========================================================= */

.fast-links__item:hover {
  background: linear-gradient(90deg, rgba(255, 47, 91, 0.08), rgba(255, 47, 91, 0.025));

  border-color: rgba(255, 47, 91, 0.1);

  transform: translateX(2px);
}

.fast-links__item:hover::before {
  background: var(--accent);

  box-shadow: 0 0 8px rgba(255, 47, 91, 0.58);

  transform: scale(1.15);
}

.fast-links__item:hover::after {
  border-color: rgba(255, 255, 255, 0.92);

  transform: translateY(-50%) translateX(2px) rotate(45deg);
}

.fast-links__item:hover .fast-links__text {
  color: #ffffff;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 668px) {
  .fast-links,
  .fast-links--left,
  .fast-links--right {
    float: none;

    width: 100%;
    max-width: 100%;

    margin: 20px 0;

    padding: 16px;
  }

  .fast-links__text {
    white-space: normal;
  }
}

/* =========================================================
   TOUCH
========================================================= */

@media (hover: none) {
  .fast-links__item:hover {
    transform: none;
  }

  .fast-links__item:hover::before {
    transform: none;
  }

  .fast-links__item:hover::after {
    transform: translateY(-50%) rotate(45deg);
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .fast-links__item,
  .fast-links__item::before,
  .fast-links__item::after,
  .fast-links__text {
    transition: none;
  }
}
