.community-section {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #030716 url("/assets/comunidade-fundo.webp") center center / cover no-repeat;
  border-top: 1px solid rgba(176, 65, 255, .35);
  border-bottom: 1px solid rgba(27, 198, 255, .24);
}

.community-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 5, 18, .96) 0%, rgba(2, 5, 18, .79) 27%, rgba(2, 5, 18, .08) 57%, rgba(2, 5, 18, .48) 100%),
    linear-gradient(0deg, rgba(2, 5, 18, .62) 0%, transparent 30%, rgba(2, 5, 18, .18) 100%);
}

.community-layout {
  width: min(1740px, calc(100% - 9vw));
  margin: 0 auto;
  padding: 68px 0;
  display: grid;
  grid-template-columns: minmax(430px, 620px) minmax(350px, 430px);
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.community-copy { color: #f8f5ff; }

.community-eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  color: #d99aff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .42em;
}

.community-eyebrow span { width: 170px; height: 1px; background: linear-gradient(90deg, #b339ff, transparent); }

.community-copy h2 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(44px, 3.4vw, 62px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .8);
}

.community-copy h2 strong {
  color: #c77aff;
  font-weight: 950;
  letter-spacing: -.055em;
  text-shadow: 0 0 12px rgba(174, 47, 255, .95), 0 0 32px rgba(133, 25, 245, .62);
}

.community-copy > p {
  max-width: 590px;
  margin: 22px 0 26px;
  color: rgba(255,255,255,.9);
  font-size: 20px;
  line-height: 1.55;
}

.community-cta {
  width: fit-content;
  min-width: 390px;
  min-height: 78px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 2px solid #bc55ff;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(100deg, rgba(98, 25, 170, .94), rgba(44, 12, 103, .9));
  box-shadow: 0 0 20px rgba(173, 48, 255, .62), inset 0 0 20px rgba(202, 104, 255, .18);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.community-cta .fa-discord { font-size: 34px; }
.community-cta svg { width: 24px; height: 24px; margin-left: auto; }
.community-cta:hover { transform: translateY(-3px); border-color: #e4b7ff; box-shadow: 0 0 32px rgba(173, 48, 255, .88), inset 0 0 24px rgba(202, 104, 255, .25); }

.community-signature {
  margin: 26px 0 18px 84px;
  color: #a55be0;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 22px;
  line-height: .9;
  transform: rotate(-7deg);
  opacity: .82;
}

.community-brand { display: grid; gap: 8px; margin-top: 42px; color: #d69aff; letter-spacing: .3em; }
.community-brand b { display: flex; align-items: center; gap: 15px; font-size: 13px; }
.community-brand b::after { content: ""; width: 120px; height: 1px; background: linear-gradient(90deg, #ad48f6, transparent); }
.community-brand small { color: rgba(225, 208, 243, .62); font-size: 9px; line-height: 1.5; }

.community-benefits { display: grid; gap: 14px; }
.community-benefits article {
  min-height: 92px;
  padding: 12px 20px 12px 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(181, 63, 255, .7);
  border-radius: 12px;
  background: linear-gradient(100deg, rgba(11, 7, 35, .92), rgba(4, 10, 27, .82));
  box-shadow: inset 0 0 24px rgba(131, 37, 210, .08), 0 8px 24px rgba(0, 0, 0, .22);
  backdrop-filter: blur(8px);
}
.community-benefits article > svg {
  box-sizing: content-box;
  width: 37px;
  height: 37px;
  padding: 17px;
  flex: 0 0 auto;
  color: #e1a2ff;
  border: 1px solid rgba(173, 65, 255, .32);
  border-radius: 9px;
  background: rgba(69, 18, 121, .28);
  filter: drop-shadow(0 0 7px rgba(190, 72, 255, .7));
}
.community-benefits span { display: grid; gap: 8px; }
.community-benefits b {
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.community-benefits small {
  color: #d6a9ef;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
}

@media (max-width: 1050px) {
  .community-section { background-position: 57% center; }
  .community-layout { width: min(920px, calc(100% - 40px)); grid-template-columns: 1fr; padding: 56px 0; }
  .community-section::before { background: linear-gradient(90deg, rgba(2,5,18,.96), rgba(2,5,18,.72)), linear-gradient(0deg, rgba(2,5,18,.86), transparent 55%); }
  .community-benefits { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
  .community-section { min-height: auto; background-position: 54% center; }
  .community-layout { width: calc(100% - 28px); padding: 45px 0; gap: 38px; }
  .community-copy h2 { font-size: clamp(37px, 12vw, 50px); }
  .community-copy > p { font-size: 17px; }
  .community-eyebrow { font-size: 11px; letter-spacing: .27em; }
  .community-eyebrow span { width: 70px; }
  .community-cta { min-width: 0; width: 100%; min-height: 68px; padding: 0 20px; gap: 15px; font-size: 16px; }
  .community-cta .fa-discord { font-size: 29px; }
  .community-signature { margin-left: 50px; }
  .community-benefits { grid-template-columns: 1fr; }
  .community-benefits article { min-height: 82px; }
}
