:root {
  --bg: #09070a;
  --bg-soft: #110d11;
  --panel: #151016;
  --panel-2: #1a1319;
  --text: #f7f2f4;
  --muted: #aaa0a5;
  --red: #ef233c;
  --red-dark: #a70f27;
  --red-soft: #ff4d62;
  --line: rgba(255,255,255,.1);
  --max: 1240px;
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 8%, rgba(239,35,60,.11), transparent 26rem),
    radial-gradient(circle at 12% 40%, rgba(239,35,60,.05), transparent 23rem),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
svg { display: block; }

.noise {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}
.cursor-glow {
  width: 420px;
  height: 420px;
  position: fixed;
  left: -210px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,35,60,.1), transparent 64%);
  pointer-events: none;
  z-index: -1;
  transform: translate3d(var(--mouse-x, 50vw), var(--mouse-y, 30vh), 0);
}
.section-pad { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 90;
  width: min(var(--max), calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: rgba(11,8,11,.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0,0,0,.3);
  transition: .3s ease;
}
.site-header.scrolled { top: 8px; background: rgba(9,7,10,.93); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1rem/1 Space Grotesk, sans-serif; letter-spacing: .14em; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: var(--red); transform: rotate(-3deg); }
.brand-mark svg { width: 25px; fill: #fff; }
.brand-mark .brand-cut { fill: #2a0710; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .9rem; font-weight: 600; }
.main-nav > a:not(.nav-cta) { color: #c8bec3; transition: color .2s; }
.main-nav > a:not(.nav-cta):hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 8px; padding: 11px 17px; border-radius: 12px; background: #fff; color: #130d10; transition: transform .2s, background .2s; }
.nav-cta:hover { transform: translateY(-2px); background: #f3e9ec; }
.nav-cta svg { width: 16px; fill: var(--red); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: #21181d; cursor: pointer; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 5px auto; background: #fff; transition: .25s; }

.hero {
  min-height: 860px;
  padding-top: 180px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 70px;
  position: relative;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { color: #d8cdd2; font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 28px; height: 2px; background: var(--red); }
.hero h1 { max-width: 740px; margin: 25px 0 24px; font: 700 clamp(3.2rem, 6.1vw, 6.7rem)/.91 Space Grotesk, sans-serif; letter-spacing: -.07em; }
.hero h1 em { color: var(--red); font-style: normal; position: relative; text-shadow: 0 0 42px rgba(239,35,60,.28); }
.hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-size: .9rem; font-weight: 800; transition: transform .22s, box-shadow .22s, background .22s; }
.button:hover { transform: translateY(-3px); }
.button svg { width: 20px; }
.button-primary { background: var(--red); color: white; box-shadow: 0 14px 35px rgba(239,35,60,.22); }
.button-primary:hover { box-shadow: 0 18px 40px rgba(239,35,60,.32); background: #fb2c46; }
.button-primary svg { fill: currentColor; }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.03); color: #ddd3d7; }
.button-ghost span { color: var(--red); }
.hero-stats { display: flex; gap: 38px; margin-top: 58px; padding-top: 25px; border-top: 1px solid var(--line); }
.hero-stats div { display: flex; flex-direction: column; gap: 5px; }
.hero-stats strong { font: 700 1.4rem/1 Space Grotesk, sans-serif; }
.hero-stats span { color: #847980; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-symbol { position: absolute; pointer-events: none; font: 700 10rem/1 Space Grotesk; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.035); letter-spacing: -.08em; }
.hero-symbol-one { left: -8%; bottom: 2%; transform: rotate(-8deg); }
.hero-symbol-two { right: -9%; top: 13%; writing-mode: vertical-rl; font-size: 8rem; }

.hero-art { position: relative; min-height: 570px; display: grid; place-items: center; }
.featured-card { position: relative; z-index: 2; width: min(100%, 510px); overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; background: rgba(20,14,19,.92); box-shadow: 0 35px 90px rgba(0,0,0,.55); transform: rotate(2.2deg); transition: transform .35s, box-shadow .35s; }
.featured-card:hover { transform: rotate(0) translateY(-8px); box-shadow: 0 45px 110px rgba(0,0,0,.7), 0 0 60px rgba(239,35,60,.12); }
.featured-image { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: linear-gradient(135deg,#3b111a,#10090d); }
.featured-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,5,7,.55), transparent 55%); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.featured-card:hover img { transform: scale(1.045); }
.featured-badge { position: absolute; z-index: 2; top: 15px; left: 15px; padding: 7px 10px; border-radius: 8px; background: var(--red); color: white; font-size: .64rem; font-weight: 800; letter-spacing: .1em; }
.play-button { position: absolute; z-index: 3; left: 50%; top: 50%; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.93); color: var(--red); transform: translate(-50%,-50%); box-shadow: 0 18px 45px rgba(0,0,0,.35); }
.play-button svg { width: 25px; fill: currentColor; margin-left: 4px; }
.featured-info { padding: 25px 27px 28px; }
.featured-info > span { color: var(--red-soft); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.featured-info h2 { margin: 10px 0 8px; font: 700 1.45rem/1.2 Space Grotesk, sans-serif; letter-spacing: -.025em; }
.featured-info p { color: #8f8389; font-size: .85rem; }
.orbital { position: absolute; border: 1px solid rgba(239,35,60,.18); border-radius: 50%; }
.orbital::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 18px var(--red); }
.orbital-a { width: 590px; height: 590px; animation: spin 22s linear infinite; }
.orbital-a::after { left: 50%; top: -5px; }
.orbital-b { width: 430px; height: 430px; border-style: dashed; animation: spin 16s linear infinite reverse; }
.orbital-b::after { right: 11%; bottom: 8%; width: 6px; height: 6px; }
.floating-chip { position: absolute; z-index: 3; padding: 12px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(22,15,20,.9); backdrop-filter: blur(10px); font: 700 .75rem/1 Space Grotesk; letter-spacing: .08em; box-shadow: 0 18px 35px rgba(0,0,0,.3); }
.chip-d20 { left: -2%; top: 22%; color: #fff; transform: rotate(-8deg); }
.chip-critical { right: -2%; bottom: 17%; color: var(--red-soft); transform: rotate(7deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.ticker { overflow: hidden; border-block: 1px solid rgba(255,255,255,.08); background: #0d090c; transform: rotate(-1.4deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; padding: 17px 0; animation: ticker 24s linear infinite; }
.ticker span { color: #756a70; font: 700 .82rem/1 Space Grotesk; letter-spacing: .16em; }
.ticker b { color: var(--red); font-size: .85rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.videos { padding-top: 150px; padding-bottom: 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2, .about h2, .community h2 { margin: 9px 0 0; font: 700 clamp(2.2rem, 4vw, 4rem)/1 Space Grotesk, sans-serif; letter-spacing: -.045em; }
.section-heading > a { color: #beb2b8; font-size: .87rem; font-weight: 700; }
.section-heading > a span { color: var(--red); margin-left: 4px; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: transform .3s, border-color .3s, box-shadow .3s; }
.video-card:hover { transform: translateY(-7px); border-color: rgba(239,35,60,.35); box-shadow: 0 28px 70px rgba(0,0,0,.35); }
.video-card-featured { grid-column: 1 / -1; }
.video-card > a { height: 100%; display: flex; flex-direction: column; }
.thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #251019; }
.video-card-featured > a { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); }
.video-card-featured .thumb { min-height: 390px; aspect-ratio: auto; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s, filter .45s; }
.video-card:hover .thumb img { transform: scale(1.04); filter: brightness(.82); }
.card-play { position: absolute; right: 17px; bottom: 17px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--red); box-shadow: 0 10px 30px rgba(239,35,60,.3); transform: scale(.9); opacity: 0; transition: .3s; }
.card-play svg { width: 18px; fill: #fff; margin-left: 3px; }
.video-card:hover .card-play { transform: scale(1); opacity: 1; }
.card-copy { padding: 22px 24px 24px; }
.video-card-featured .card-copy { display: flex; flex-direction: column; justify-content: center; padding: 34px 38px; }
.tag { color: var(--red-soft); font-size: .64rem; font-weight: 800; letter-spacing: .13em; }
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.video-meta { color: #756b70; font-size: .7rem; font-weight: 700; text-align: right; }
.videos-api-status { min-height: 18px; margin: 16px 2px 0; color: #756b70; font-size: .72rem; }
.videos-api-status:empty { display: none; }
.video-grid.is-loading .video-card { opacity: .78; }
.card-copy h3 { margin: 10px 0 7px; font: 700 clamp(1.1rem, 2vw, 1.6rem)/1.15 Space Grotesk; letter-spacing: -.025em; }
.video-card-featured h3 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
.card-copy p { margin: 0 0 20px; color: #8f848a; line-height: 1.55; }
.watch-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: #cfc4c9; font-size: .8rem; font-weight: 700; }
.watch-link b { color: var(--red); transition: transform .2s; }
.video-card:hover .watch-link b { transform: translateX(5px); }

.about { padding-top: 120px; padding-bottom: 130px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.about-visual { min-height: 550px; position: relative; display: grid; place-items: center; }
.sigil { width: 410px; height: 410px; position: relative; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(239,35,60,.17), rgba(239,35,60,.015) 57%, transparent 58%); }
.sigil::before { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(239,35,60,.35); transform: rotate(45deg); }
.sigil-ring { position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.ring-1 { inset: 3%; border-style: dashed; animation: spin 28s linear infinite; }
.ring-2 { inset: 25%; border-color: rgba(239,35,60,.4); }
.sigil-line { position: absolute; width: 87%; height: 1px; background: linear-gradient(90deg, transparent, rgba(239,35,60,.55), transparent); }
.line-a { transform: rotate(20deg); }
.line-b { transform: rotate(-40deg); }
.sigil strong { position: relative; z-index: 2; font: 700 10rem/1 Space Grotesk; color: #fff; text-shadow: 8px 8px 0 var(--red-dark), 0 0 55px rgba(239,35,60,.28); }
.quote-card { position: absolute; right: -5%; bottom: 2%; width: 280px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(21,16,22,.9); backdrop-filter: blur(12px); box-shadow: 0 25px 55px rgba(0,0,0,.35); transform: rotate(3deg); }
.quote-card span { color: var(--red); font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.quote-card p { margin: 10px 0 0; font: 600 1rem/1.45 Space Grotesk; }
.about-copy > p { max-width: 650px; margin: 24px 0 34px; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.about-list { display: grid; gap: 8px; }
.about-list > div { display: grid; grid-template-columns: 46px 1fr; gap: 13px; padding: 19px 0; border-top: 1px solid var(--line); }
.about-list > div:last-child { border-bottom: 1px solid var(--line); }
.about-list span { color: var(--red); font: 700 .72rem/1.5 Space Grotesk; }
.about-list p { margin: 0; color: #8f848a; font-size: .88rem; line-height: 1.55; }
.about-list strong { display: block; margin-bottom: 3px; color: #f5eef1; font-size: .98rem; }

.shorts { padding-top: 100px; padding-bottom: 140px; }
.shorts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.short-card { position: relative; min-height: 530px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #241018; transition: transform .3s, border-color .3s; }
.short-card:nth-child(2) { transform: translateY(28px); }
.short-card:hover { transform: translateY(-7px); border-color: rgba(239,35,60,.4); }
.short-card:nth-child(2):hover { transform: translateY(18px); }
.short-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,4,6,.94), transparent 61%); }
.short-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .5s; }
.short-card:hover img { transform: scale(1.05); filter: brightness(.82); }
.short-overlay { position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 23px; }
.short-overlay > span { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 50%; background: var(--red); font-size: .8rem; }
.short-overlay h3 { margin: 0; font: 700 1.2rem/1.25 Space Grotesk; }

.community { padding-top: 80px; padding-bottom: 120px; }
.community-card { position: relative; overflow: hidden; padding: clamp(45px, 8vw, 100px); border-radius: 36px; background: var(--red); text-align: center; isolation: isolate; }
.community-card::before, .community-card::after { content: ""; position: absolute; z-index: -1; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.community-card::before { left: -110px; top: -160px; }
.community-card::after { right: -80px; bottom: -210px; }
.community-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 50% 0, rgba(255,255,255,.17), transparent 45%); }
.community .section-kicker { color: rgba(255,255,255,.75); }
.community h2 { margin: 13px auto 22px; max-width: 900px; font-size: clamp(2.3rem, 5.2vw, 5.3rem); }
.community p { max-width: 660px; margin: 0 auto 34px; color: rgba(255,255,255,.78); line-height: 1.7; }
.button-light { background: #fff; color: #160b0e; }
.button-light:hover { background: #f8edf0; box-shadow: 0 18px 40px rgba(70,0,14,.25); }
.button-light svg { width: 19px; }

footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 35px 0 45px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); color: #80757a; font-size: .78rem; }
.footer-brand { color: #fff; }
.footer-links { justify-self: end; display: flex; gap: 24px; }
.footer-links a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-delay-small { transition-delay: .08s; }
.reveal-delay { transition-delay: .16s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 160px; gap: 40px; }
  .hero-copy { max-width: 780px; }
  .hero-art { min-height: 600px; }
  .featured-card { width: min(78vw, 570px); }
  .about { gap: 45px; }
  .sigil { width: 340px; height: 340px; }
  .sigil strong { font-size: 8rem; }
  .short-card { min-height: 480px; }
}

@media (max-width: 820px) {
  .section-pad, footer { width: min(100% - 30px, var(--max)); }
  .menu-button { display: block; position: relative; z-index: 2; }
  .main-nav { position: fixed; inset: -1px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 25px; background: rgba(9,7,10,.98); opacity: 0; pointer-events: none; transform: translateY(-12px); transition: .3s; }
  .main-nav a { font-size: 1.3rem; }
  .main-nav .nav-cta { font-size: 1rem; }
  .menu-open .main-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .menu-open .menu-button span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-button span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .video-grid { grid-template-columns: 1fr; }
  .video-card-featured { grid-column: auto; }
  .video-card-featured > a { display: flex; }
  .video-card-featured .thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .about { grid-template-columns: 1fr; gap: 45px; }
  .about-visual { min-height: 470px; order: 2; }
  .about-copy { order: 1; }
  .shorts-row { grid-template-columns: repeat(2, 1fr); }
  .short-card:nth-child(2) { transform: none; }
  .short-card:nth-child(2):hover { transform: translateY(-7px); }
  .short-card:last-child { grid-column: 1 / -1; min-height: 430px; }
  footer { grid-template-columns: 1fr 1fr; }
  footer > p { display: none; }
}

@media (max-width: 560px) {
  .site-header { top: 9px; width: calc(100% - 18px); }
  .brand-mark { width: 34px; height: 34px; }
  .hero { min-height: auto; padding-top: 135px; padding-bottom: 75px; }
  .hero h1 { font-size: clamp(3.05rem, 15vw, 4.4rem); }
  .hero p { font-size: .96rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-stats { gap: 20px; justify-content: space-between; }
  .hero-stats strong { font-size: 1.15rem; }
  .hero-art { min-height: 440px; }
  .featured-card { width: 95%; border-radius: 22px; }
  .featured-info { padding: 20px; }
  .featured-info h2 { font-size: 1.15rem; }
  .play-button { width: 55px; height: 55px; }
  .orbital-a { width: 410px; height: 410px; }
  .orbital-b { width: 315px; height: 315px; }
  .chip-d20 { left: 0; top: 13%; }
  .chip-critical { right: 0; bottom: 8%; }
  .videos { padding-top: 110px; padding-bottom: 80px; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .section-heading h2 { font-size: 2.3rem; }
  .card-copy { padding: 20px; }
  .video-card-featured .card-copy { padding: 24px 20px 26px; }
  .card-topline { align-items: flex-start; flex-direction: column; gap: 7px; }
  .video-meta { text-align: left; }
  .about { padding-top: 80px; padding-bottom: 80px; }
  .about h2 { font-size: 2.3rem; }
  .about-visual { min-height: 400px; }
  .sigil { width: 290px; height: 290px; }
  .sigil strong { font-size: 7rem; }
  .quote-card { right: 0; bottom: -2%; width: 240px; }
  .shorts { padding-top: 80px; padding-bottom: 90px; }
  .shorts-row { grid-template-columns: 1fr; }
  .short-card, .short-card:last-child { grid-column: auto; min-height: 530px; }
  .community { padding-top: 40px; padding-bottom: 75px; }
  .community-card { border-radius: 26px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-self: center; }
  .footer-links { gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Comunidade e Discord */
.community { padding-top: 95px; padding-bottom: 130px; }
.community-heading { max-width: 850px; margin-bottom: 46px; }
.community-heading h2 { margin: 12px 0 22px; }
.community-heading > p { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.community-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 22px; align-items: stretch; }
.discord-card, .youtube-community-card { position: relative; overflow: hidden; border-radius: 32px; }
.discord-card { min-height: 640px; padding: clamp(30px, 4.5vw, 58px); border: 1px solid rgba(255,255,255,.13); background: linear-gradient(145deg, #19152a 0%, #10101a 58%, #171019 100%); box-shadow: 0 34px 80px rgba(0,0,0,.35); isolation: isolate; }
.discord-card::before { content: ""; position: absolute; z-index: -1; right: -135px; top: -155px; width: 430px; height: 430px; border: 1px solid rgba(88,101,242,.28); border-radius: 50%; box-shadow: 0 0 0 55px rgba(88,101,242,.045), 0 0 0 110px rgba(88,101,242,.025); }
.discord-card::after { content: "D20"; position: absolute; z-index: -1; right: 38px; bottom: 8px; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.045); font: 700 clamp(7rem, 15vw, 13rem)/1 Space Grotesk, sans-serif; letter-spacing: -.09em; }
.discord-card-glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 82% 5%, rgba(88,101,242,.3), transparent 38%), radial-gradient(circle at 0 100%, rgba(239,35,60,.12), transparent 34%); }
.discord-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.discord-logo { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: #5865f2; box-shadow: 0 18px 40px rgba(88,101,242,.28); transform: rotate(-4deg); }
.discord-logo svg { width: 36px; fill: #fff; }
.discord-status { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #c9c9d6; background: rgba(255,255,255,.045); font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.discord-status i { width: 8px; height: 8px; border-radius: 50%; background: #23a55a; box-shadow: 0 0 14px rgba(35,165,90,.8); }
.discord-copy { max-width: 770px; margin-top: 50px; }
.discord-copy > span { color: #9ca4ff; font-size: .68rem; font-weight: 800; letter-spacing: .17em; }
.discord-copy h3 { margin: 12px 0 19px; font: 700 clamp(2.2rem, 4vw, 4.2rem)/.98 Space Grotesk, sans-serif; letter-spacing: -.05em; }
.discord-copy p { max-width: 690px; margin: 0; color: #aaa7b9; font-size: 1rem; line-height: 1.75; }
.discord-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 40px 0 34px; }
.discord-perks > div { min-height: 145px; padding: 18px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.035); backdrop-filter: blur(8px); }
.discord-perks span { display: block; margin-bottom: 22px; color: #7f8aff; font: 700 .68rem/1 Space Grotesk, sans-serif; }
.discord-perks p { margin: 0; color: #8f8b9c; font-size: .78rem; line-height: 1.55; }
.discord-perks strong { display: block; margin-bottom: 5px; color: #f6f4fa; font-size: .88rem; }
.button-discord { width: fit-content; background: #5865f2; color: #fff; box-shadow: 0 16px 38px rgba(88,101,242,.27); }
.button-discord:hover { background: #6875f5; box-shadow: 0 20px 44px rgba(88,101,242,.38); }
.button-discord svg { width: 22px; fill: currentColor; }
.button-discord > span { margin-left: 2px; }
.youtube-community-card { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: clamp(28px, 4vw, 44px); background: var(--red); isolation: isolate; }
.youtube-community-card::before, .youtube-community-card::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; }
.youtube-community-card::before { width: 260px; height: 260px; right: -100px; top: -100px; }
.youtube-community-card::after { width: 190px; height: 190px; left: -80px; bottom: -95px; }
.youtube-mini-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: #fff; color: var(--red); box-shadow: 0 18px 40px rgba(75,0,14,.22); }
.youtube-mini-icon svg { width: 28px; fill: currentColor; }
.youtube-community-card .section-kicker { color: rgba(255,255,255,.72); }
.youtube-community-card h3 { margin: 12px 0 16px; font: 700 clamp(2rem, 3vw, 3.2rem)/1 Space Grotesk, sans-serif; letter-spacing: -.045em; }
.youtube-community-card p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.7; }
.youtube-community-card .button-light { width: 100%; }

@media (max-width: 950px) {
  .community-grid { grid-template-columns: 1fr; }
  .discord-card { min-height: auto; }
  .youtube-community-card { min-height: 420px; }
}

@media (max-width: 680px) {
  .community { padding-top: 65px; padding-bottom: 85px; }
  .community-heading { margin-bottom: 30px; }
  .community-heading h2 { font-size: 2.45rem; }
  .discord-card, .youtube-community-card { border-radius: 25px; }
  .discord-topline { align-items: flex-start; }
  .discord-logo { width: 56px; height: 56px; border-radius: 17px; }
  .discord-logo svg { width: 31px; }
  .discord-status { font-size: .56rem; }
  .discord-copy { margin-top: 38px; }
  .discord-copy h3 { font-size: 2.2rem; }
  .discord-perks { grid-template-columns: 1fr; }
  .discord-perks > div { min-height: 0; }
  .discord-perks span { margin-bottom: 12px; }
  .button-discord { width: 100%; }
  .youtube-community-card { min-height: 440px; }
}
