.community-page { --community-purple: #b8a0ff; --community-mint: #a0e8dc; }
.community-sprite { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.community-icon { width: 24px; height: 24px; flex-shrink: 0; }
.community-page a:focus-visible,
.community-page summary:focus-visible { outline: 3px solid #c4b5ff; outline-offset: 5px; }
.community-page .community-discord-btn { color: #fff; background: linear-gradient(115deg, #6b72ed, #8562dc); border-color: #b0a0ff33; box-shadow: 0 8px 28px #675de524; }
.community-page .community-discord-btn:hover { background: linear-gradient(115deg, #7f83f5, #9b79eb); transform: translateY(-2px); }
.community-link { display: inline-flex; align-items: center; gap: 8px; color: #c8c1e7; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.community-link:hover { color: #fff; }
.community-link .community-icon { width: 15px; height: 15px; }

.community-hero { position: relative; overflow: hidden; padding: 90px 0 70px; background: radial-gradient(ellipse at 84% 40%, #6a4c9726, transparent 52%), radial-gradient(ellipse at 5% 0%, #3978ff19, transparent 45%); }
.community-hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 70px; }
.community-hero h1 { font-size: clamp(43px, 4.7vw, 67px); line-height: 1.08; margin: 22px 0; }
.community-hero h1 span { color: #baa5fb; background: linear-gradient(105deg, #a3d9fa, #bba3fd 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.community-hero .lead { max-width: 500px; font-size: 17px; line-height: 1.85; }
.community-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 29px; }
.community-hero-actions .btn-secondary { border-color: #ffffff24; background: #ffffff04; }
.community-hero-note { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-top: 22px; font-size: 11px; color: #a7b2c7; }
.community-hero-note span { width: 4px; height: 4px; background: #a393d7; border-radius: 50%; }
.community-art { position: relative; height: 393px; max-width: 495px; width: 100%; justify-self: end; }
.community-art::before { content: ''; position: absolute; inset: 11% 5%; background: #8864dc23; filter: blur(50px); border-radius: 50%; }
.community-orbit { position: absolute; inset: 0 0 8%; border: 1px solid #ffffff08; border-radius: 50%; transform: rotate(-20deg); }
.community-orbit + .community-orbit { inset: 10% -2% 0; transform: rotate(20deg); }
.community-board { position: absolute; inset: 15px 25px 30px 18px; padding: 25px 28px; border: 1px solid #bd9fe346; border-radius: 28px; background: linear-gradient(145deg, #1e233b, #302447); box-shadow: 0 24px 70px #0006, inset 0 1px 0 #ffffff12; transform: rotate(-4deg); }
.community-board::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 100% 100%, #916cc522, transparent 55%); }
.community-board > * { position: relative; }
.community-board-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.community-board-brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.community-board-brand img { width: 28px; height: 28px; border-radius: 7px; }
.community-board-label { color: #c4b8e9; font-size: 8px; letter-spacing: .13em; font-weight: 700; }
.community-board-logo { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 22px; margin: 22px auto 15px; background: linear-gradient(145deg, #8c7af0, #6e62c9); border: 1px solid #d3c9ff42; box-shadow: 0 0 0 9px #d1beff06, 0 0 0 19px #d1beff03; transform: rotate(8deg); }
.community-board-logo .community-icon { width: 42px; height: 42px; }
.community-board-title { text-align: center; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -.035em; color: #faf6ff; }
.community-board-tags { display: flex; justify-content: center; gap: 7px; margin-top: 17px; }
.community-board-tags span { font-size: 9px; border: 1px solid #d3c3ff24; border-radius: 999px; padding: 6px 11px; color: #d2c7e9; }
.community-board-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #ffffff14; margin-top: 21px; padding-top: 14px; font-size: 10px; color: #c8c0da; }
.community-avatar-stack { display: flex; padding-left: 5px; }
.community-avatar-stack span { display: grid; place-items: center; width: 27px; height: 27px; border: 2px solid #312748; margin-left: -5px; border-radius: 50%; font-size: 10px; font-weight: 700; background: #cfb2eb; color: #312344; }
.community-avatar-stack span:nth-child(2) { background: #a2c5ee; }
.community-avatar-stack span:nth-child(3) { background: #a0e8dc; }
.community-floating-note { position: absolute; right: 0; bottom: 9px; display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid #95d7d144; border-radius: 15px; background: #173132; box-shadow: 0 12px 35px #0005; color: #bcf0e6; transform: rotate(5deg); font-size: 11px; font-weight: 700; }
.community-floating-note .community-icon { width: 20px; height: 20px; }

.community-benefits { padding: 22px 0 68px; }
.community-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.community-benefit { display: flex; align-items: start; gap: 15px; padding: 22px; border: 1px solid #ffffff0e; border-radius: 19px; background: linear-gradient(135deg, #121825, #0d121c); }
.community-benefit-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 13px; background: #b0a0fb12; border: 1px solid #b5a2ed1f; color: #c7b4fc; }
.community-benefit:nth-child(2) .community-benefit-icon { color: #abe4dd; background: #7bd5cb0e; border-color: #8fe2d51c; }
.community-benefit:nth-child(3) .community-benefit-icon { color: #a4caff; background: #7ab0f30e; border-color: #8bbafb1c; }
.community-benefit h2 { font-size: 16px; letter-spacing: -.025em; margin: 3px 0 7px; }
.community-benefit p { font-size: 12px; line-height: 1.7; color: #aab5c9; }

.community-heading { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 32px; }
.community-heading h2 { margin-top: 16px; font-size: clamp(32px, 3.5vw, 46px); }
.community-heading > p { max-width: 300px; color: #a7b3c6; font-size: 13px; line-height: 1.8; }
.community-paths { padding: 25px 0 76px; }
.community-path-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.community-path { position: relative; display: flex; flex-direction: column; padding: 34px; border: 1px solid #8dcabe2b; border-radius: 25px; background: radial-gradient(ellipse at 95% 0%, #62b7a91a, transparent 57%), #0f1a20; overflow: hidden; }
.community-path--students { background: radial-gradient(ellipse at 95% 0%, #8965db27, transparent 57%), #151726; border-color: #b092e633; }
.community-path::before { content: ''; position: absolute; width: 150px; height: 150px; top: -90px; right: -40px; border: 1px solid #ffffff10; border-radius: 50%; box-shadow: 0 0 0 24px #ffffff03, 0 0 0 49px #ffffff02; }
.community-path > * { position: relative; }
.community-path-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.community-path-tag { padding: 7px 11px; border: 1px solid #99e0d233; border-radius: 999px; color: #a6ded1; background: #8ed7c907; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.community-path--students .community-path-tag { border-color: #c0a3ee33; color: #c9b3f3; background: #c4a2ff07; }
.community-path-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 15px; background: #92d9cc12; border: 1px solid #92d9cc22; color: #a6e2d6; }
.community-path--students .community-path-icon { color: #c9b5fc; border-color: #ad93e82b; background: #baa0ff12; }
.community-path h3 { margin: 29px 0 15px; font-size: clamp(29px, 3vw, 39px); line-height: 1.12; letter-spacing: -.04em; }
.community-path-description { max-width: 450px; font-size: 14px; line-height: 1.8; color: #afbfc7; }
.community-path--students .community-path-description { color: #b9b6cd; }
.community-path-list { display: grid; gap: 11px; margin: 23px 0 29px; padding: 0; list-style: none; }
.community-path-list li { display: flex; align-items: center; gap: 10px; color: #ccd5df; font-size: 12px; }
.community-path-list .community-icon { width: 17px; height: 17px; color: #91dacb; }
.community-path--students .community-path-list .community-icon { color: #bea2fc; }
.community-path-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 21px; border-top: 1px solid #ffffff12; padding-top: 24px; margin-top: auto; }
.community-page .community-open-btn { color: #163332; background: #a3e3d8; border-color: #a3e3d8; }
.community-page .community-open-btn:hover { background: #c6f7ee; border-color: #c6f7ee; transform: translateY(-2px); }
.community-path .community-link { color: #c2d4d1; }
.community-path--students .community-link { color: #c9bee5; }
.community-access-note { display: flex; align-items: start; gap: 10px; margin: 21px 3px 0; font-size: 11px; color: #9aa9bf; line-height: 1.75; }
.community-access-note .community-icon { width: 17px; height: 17px; margin-top: 1px; color: #b1a6d9; }

.community-start { padding: 67px 0 70px; border-block: 1px solid #ffffff0b; background: radial-gradient(ellipse at 0% 50%, #344a8110, transparent 55%), #0a0f19; }
.community-step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; list-style: none; padding: 0; margin: 0; }
.community-step { padding: 25px; background: #111725; border: 1px solid #ffffff0f; border-radius: 20px; }
.community-step-number { display: inline-flex; align-items: center; gap: 11px; color: #b6a3ed; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.community-step-number::after { content: ''; width: 30px; height: 1px; background: #a894dc50; }
.community-step h3 { font-size: 20px; margin: 19px 0 10px; }
.community-step p { font-size: 13px; line-height: 1.8; color: #aab7c9; }
.community-culture { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; font-size: 11px; color: #aeb8cd; }
.community-culture span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; }
.community-culture span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #a4b5e0; }

.community-faq { padding: 85px 0 76px; }
.community-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 85px; align-items: start; }
.community-faq-intro h2 { margin: 17px 0; font-size: clamp(32px, 3.5vw, 46px); }
.community-faq-intro p { max-width: 350px; font-size: 14px; line-height: 1.8; }
.community-faq-intro .community-link { margin-top: 21px; }
.community-faq-list { display: grid; gap: 11px; }
.community-question { padding: 0 22px; border: 1px solid #ffffff13; border-radius: 15px; background: #101622; }
.community-question[open] { border-color: #b59cdd35; background: linear-gradient(130deg, #17192a, #111724); }
.community-question summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; padding: 21px 0; font-size: 14px; font-weight: 700; line-height: 1.5; }
.community-question summary::-webkit-details-marker { display: none; }
.community-question summary::after { content: '+'; width: 24px; height: 24px; display: grid; place-items: center; flex-shrink: 0; font-size: 20px; font-weight: 400; line-height: 1; color: #c5b1ef; background: #bda5e50e; border-radius: 50%; }
.community-question[open] summary::after { content: '−'; }
.community-question p { padding-bottom: 22px; max-width: 560px; font-size: 13px; line-height: 1.85; color: #b0bbcf; }
.community-question p a { color: #d0bcfb; text-decoration: underline; text-underline-offset: 3px; }

.community-final { padding: 0 0 85px; }
.community-final-panel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 43px 45px; border: 1px solid #b09bdf34; border-radius: 26px; background: radial-gradient(ellipse at 100% 100%, #9473d13b, transparent 65%), linear-gradient(120deg, #1c213b, #302447); overflow: hidden; }
.community-final-panel > * { position: relative; z-index: 1; }
.community-final-panel .eyebrow { color: #cbb9f4; }
.community-final-panel h2 { margin: 17px 0 13px; font-size: clamp(30px, 3.1vw, 41px); }
.community-final-panel p { max-width: 560px; font-size: 14px; line-height: 1.8; color: #c4bdd7; }
.community-final-panel .community-final-decoration { position: absolute; z-index: 0; width: 240px; height: 240px; right: -28px; bottom: -58px; opacity: .035; transform: rotate(-17deg); pointer-events: none; }
.community-final-actions { display: flex; flex-direction: column; align-items: center; gap: 17px; flex-shrink: 0; }
.community-final-actions .btn { background: #ece4ff; color: #332445; border-color: #ece4ff; white-space: nowrap; }
.community-final-actions .btn:hover { background: #fff; border-color: #fff; transform: translateY(-2px); }
.community-final-actions .community-link { color: #ddd0f1; font-size: 11px; }

@media (max-width: 1100px) {
  .community-hero-grid { gap: 35px; }
  .community-art { height: 380px; }
  .community-board { inset: 15px 16px 30px 0; padding: 25px 23px; }
  .community-benefit { padding: 20px 17px; gap: 12px; }
  .community-benefit-grid { gap: 15px; }
  .community-benefit-icon { width: 35px; height: 35px; border-radius: 11px; }
  .community-benefit-icon .community-icon { width: 21px; height: 21px; }
  .community-path { padding: 28px; }
  .community-path-bottom { gap: 18px; }
  .community-step-grid { gap: 18px; }
  .community-step { padding: 23px; }
  .community-faq-grid { gap: 50px; }
  .community-final-panel { padding: 37px; }
}

@media (max-width: 840px) {
  .community-hero { padding: 65px 0 46px; }
  .community-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .community-hero h1 { font-size: 60px; }
  .community-art { max-width: 460px; justify-self: center; height: 390px; }
  .community-board { inset: 15px 25px 30px 18px; }
  .community-benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  .community-benefit { padding: 20px 22px; }
  .community-benefit-icon { width: 42px; height: 42px; border-radius: 13px; }
  .community-benefits { padding: 12px 0 48px; }
  .community-heading { align-items: start; flex-direction: column; gap: 18px; }
  .community-heading > p { max-width: 440px; }
  .community-path-grid { grid-template-columns: 1fr; gap: 20px; }
  .community-path h3 { font-size: 38px; }
  .community-paths { padding-bottom: 58px; }
  .community-step-grid { grid-template-columns: 1fr; gap: 13px; }
  .community-step { padding: 25px; }
  .community-step h3 { margin-top: 13px; }
  .community-culture { justify-content: start; gap: 0; }
  .community-start { padding: 54px 0; }
  .community-faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .community-faq { padding: 58px 0; }
  .community-faq-intro p { max-width: 450px; }
  .community-final-panel { flex-direction: column; align-items: start; gap: 27px; }
  .community-final-actions { align-items: start; }
}

@media (max-width: 560px) {
  .community-hero { padding: 50px 0 32px; }
  .community-hero h1 { font-size: clamp(38px, 10.5vw, 52px); margin: 21px 0; }
  .community-hero .eyebrow { font-size: 9px; letter-spacing: .14em; }
  .community-hero .lead { font-size: 15px; line-height: 1.8; }
  .community-hero-actions { gap: 11px; margin-top: 26px; }
  .community-hero-actions .btn { font-size: 12px; padding: 13px 17px; min-height: 47px; }
  .community-hero-note { font-size: 10px; }
  .community-art { height: 335px; max-width: 360px; }
  .community-board { inset: 15px 18px 30px 7px; padding: 22px 20px; border-radius: 24px; }
  .community-board-brand { font-size: 10px; }
  .community-board-brand img { width: 24px; height: 24px; }
  .community-board-label { font-size: 7px; }
  .community-board-logo { width: 62px; height: 62px; border-radius: 19px; margin: 20px auto 14px; }
  .community-board-logo .community-icon { width: 35px; height: 35px; }
  .community-board-title { font-size: 22px; }
  .community-board-tags { gap: 6px; margin-top: 13px; }
  .community-board-tags span { font-size: 8px; padding: 5px 8px; }
  .community-board-footer { font-size: 8px; margin-top: 17px; padding-top: 12px; }
  .community-avatar-stack span { width: 23px; height: 23px; font-size: 8px; }
  .community-floating-note { font-size: 9px; padding: 11px 13px; border-radius: 13px; bottom: 9px; }
  .community-benefit { padding: 20px; border-radius: 17px; }
  .community-benefit h2 { font-size: 16px; }
  .community-benefit p { font-size: 12px; }
  .community-heading h2 { font-size: 34px; }
  .community-heading > p { font-size: 13px; }
  .community-path { padding: 24px; border-radius: 22px; }
  .community-path h3 { font-size: 33px; margin-top: 25px; }
  .community-path-tag { font-size: 8px; }
  .community-path-description { font-size: 13px; }
  .community-path-list li { font-size: 11px; align-items: start; line-height: 1.65; }
  .community-path-list .community-icon { margin-top: 2px; }
  .community-path-bottom { gap: 19px; flex-direction: column; align-items: start; }
  .community-path-bottom .btn { font-size: 12px; padding: 13px 17px; min-height: 47px; }
  .community-path-bottom .community-link { font-size: 11px; }
  .community-access-note { font-size: 10px; margin-inline: 0; }
  .community-culture { font-size: 10px; margin-top: 20px; }
  .community-culture span { padding-inline: 8px; }
  .community-faq-intro h2 { font-size: 34px; }
  .community-question { padding-inline: 18px; }
  .community-question summary { font-size: 13px; gap: 12px; padding-block: 20px; }
  .community-question p { font-size: 12px; }
  .community-final { padding-bottom: 55px; }
  .community-final-panel { padding: 28px 24px; border-radius: 23px; }
  .community-final-panel .eyebrow { font-size: 9px; }
  .community-final-panel h2 { font-size: 31px; }
  .community-final-panel h2 br { display: none; }
  .community-final-panel p { font-size: 13px; }
  .community-final-actions .btn { font-size: 12px; padding: 14px 18px; }
}
