/**
 * Banner Discord + solicitar jogos — fim da home.
 */

.home-community {
  position: relative;
  margin: 0.1rem 0 0.25rem;
  padding: 1.35rem 1.25rem;
  border-radius: 1.15rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(88, 101, 242, 0.22);
  background:
    radial-gradient(ellipse 70% 90% at 100% 50%, rgba(88, 101, 242, 0.2), transparent 62%),
    #141418;
}

.home-community::before {
  content: '';
  position: absolute;
  right: -1.2rem;
  top: 50%;
  width: 9rem;
  height: 9rem;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235865F2'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028 14.09 14.09 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-community__inner {
  position: relative;
  z-index: 1;
  max-width: var(--sk-content-max, 1340px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

@media (min-width: 900px) {
  .home-community {
    padding: 1.45rem 2rem;
  }

  .home-community__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.home-community__copy {
  font-family: 'Sora', 'Geist', sans-serif;
  min-width: 0;
}

.home-community__badge {
  display: inline-flex;
  padding: 0.24rem 0.7rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.14);
  border: 1px solid rgba(88, 101, 242, 0.38);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.home-community__title {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}

.home-community__title span {
  color: #818cf8;
}

.home-community__lead {
  margin: 0.4rem 0 0;
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.5);
}

.home-community__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.home-community__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.85rem;
  padding: 0 1.2rem;
  border-radius: 0.8rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s, box-shadow 0.25s;
}

.home-community__btn svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.home-community__btn--discord {
  color: #fff;
  background: linear-gradient(180deg, #7289da 0%, #5865f2 100%);
  box-shadow: 0 8px 22px -8px rgb(88 101 242 / 0.55);
}

.home-community__btn--request {
  color: #fff;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .home-community__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
  }

  .home-community__btn--request:hover {
    background: rgb(255 255 255 / 0.1);
    border-color: rgb(255 255 255 / 0.22);
  }
}

@media (max-width: 899px) {
  .home-community {
    padding: 1.1rem 1rem 1.15rem;
    border-radius: 1rem;
  }

  .home-community::before {
    display: none;
  }

  .home-community__title {
    font-size: 1.18rem;
  }

  .home-community__lead {
    font-size: 0.86rem;
  }

  .home-community__actions {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }

  .home-community__btn {
    width: 100%;
    flex: none;
    height: 3rem;
    white-space: normal;
  }
}

@media (max-width: 380px) {
  .home-community {
    padding: 0.95rem 0.85rem 1rem;
  }

  .home-community__title {
    font-size: 1.08rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-community__btn:hover {
    transform: none;
  }
}