/* =========================================================
   AXIS DISCORD PAGE
   Purple Discord theme + standard AXIS hero treatment
   ========================================================= */

.discord-page{
  margin:0;
  padding:0 0 72px;
  background:
    radial-gradient(circle at 50% 18%,rgba(116,73,255,.09),transparent 35%),
    linear-gradient(180deg,#080816 0%,#060814 55%,#030610 100%);
  color:#fff;
}

/* =========================================================
   HERO
   ========================================================= */

.discord-hero{
  position:relative;
  height:700px;
  overflow:hidden;
  background:
    url("../img/axis-discord-bg.png?v=1") center 42% / cover no-repeat;
}

.discord-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(
      180deg,
      rgba(4,3,15,.08) 0%,
      rgba(7,5,24,.12) 30%,
      rgba(13,8,38,.30) 55%,
      rgba(9,8,28,.72) 76%,
      rgba(7,7,22,.94) 91%,
      #080816 100%
    ),
    radial-gradient(circle at 50% 40%,rgba(126,80,255,.09),rgba(0,0,0,.32) 82%);
}

.discord-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:275px;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(
      180deg,
      rgba(8,8,22,0) 0%,
      rgba(8,8,22,.24) 28%,
      rgba(8,8,22,.68) 64%,
      #080816 100%
    );
}

.discord-hero-content{
  position:relative;
  z-index:2;
  height:100%;
  box-sizing:border-box;
  padding-top:150px;
  text-align:center;
  text-shadow:
    0 5px 16px rgba(0,0,0,.88),
    0 0 28px rgba(0,0,0,.80);
}

.discord-hero-content .eyebrow{
  margin:0 0 11px;
  color:#9c83ff;
  font-size:13px;
  font-weight:900;
  letter-spacing:4px;
}

.discord-mark{
  width:122px;
  height:122px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:none;
  border:none;
  box-shadow:none;
}

.discord-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  filter:
    drop-shadow(0 0 12px rgba(139,92,246,.75))
    drop-shadow(0 0 28px rgba(111,72,220,.40));
}

.discord-hero-content h1{
  margin:0;
  color:#fff;
  font-size:clamp(38px,4vw,58px);
  line-height:1;
  font-weight:950;
  letter-spacing:2px;
  white-space:nowrap;
  text-shadow:
    0 0 16px rgba(126,93,255,.35),
    0 4px 14px rgba(0,0,0,.85);
}

.discord-hero-content > p:not(.eyebrow){
  margin:18px 0 18px;
  color:#e4e0ef;
  font-size:20px;
  font-weight:700;
}

.discord-hero-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-width:320px;
  padding:15px 26px;
  border:1px solid rgba(167,129,255,.90);
  background:
    linear-gradient(180deg,#7d54e8,#4d2aa0);
  color:#fff;
  font-size:18px;
  font-weight:950;
  letter-spacing:.6px;
  text-decoration:none;
  clip-path:polygon(14px 0,calc(100% - 14px) 0,100% 14px,100% calc(100% - 14px),calc(100% - 14px) 100%,14px 100%,0 calc(100% - 14px),0 14px);
  box-shadow:
    0 0 16px rgba(126,85,255,.35),
    inset 0 0 12px rgba(255,255,255,.05);
}

.discord-hero-button:hover{
  filter:brightness(1.1);
}

.discord-button-icon{
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff;
  color:#6842c6;
  font-weight:950;
}

/* =========================================================
   CONTENT WRAP
   ========================================================= */

.discord-wrap{
  position:relative;
  z-index:5;
  width:min(1320px,calc(100% - 40px));
  margin:-285px auto 0;
}

.discord-panel{
  position:relative;
  padding:30px 30px 34px;
  background:
    radial-gradient(circle at 50% 0%,rgba(117,73,255,.08),transparent 28%),
    linear-gradient(180deg,rgba(10,11,31,.985),rgba(5,7,20,.995));
  border:1px solid rgba(131,96,238,.44);
  clip-path:polygon(
    18px 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    18px 100%,
    0 calc(100% - 18px),
    0 18px
  );
  box-shadow:
    0 30px 48px rgba(0,0,0,.48),
    0 0 24px rgba(103,67,214,.12);
}

.section-title{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  margin-bottom:24px;
}

.section-title span{
  height:2px;
  background:
    linear-gradient(90deg,transparent,#8662f6 50%,transparent);
  box-shadow:0 0 8px rgba(134,98,246,.34);
}

.section-title h2{
  margin:0;
  color:#ece9ff;
  font-size:25px;
  font-weight:950;
  letter-spacing:.8px;
}

.getting-started-title{
  margin-top:34px;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.discord-features{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

.discord-feature-card{
  min-height:180px;
  padding:22px 20px;
  text-align:center;
  background:
    linear-gradient(180deg,rgba(19,17,49,.94),rgba(8,10,29,.98));
  border:1px solid rgba(133,99,235,.36);
  clip-path:polygon(
    12px 0,
    calc(100% - 12px) 0,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0 calc(100% - 12px),
    0 12px
  );
  box-shadow:
    inset 0 0 20px rgba(112,74,225,.04),
    0 14px 22px rgba(0,0,0,.26);
}

.feature-icon{
  margin-bottom:13px;
  font-size:38px;
  line-height:1;
  filter:drop-shadow(0 0 8px rgba(139,92,246,.25));
}

.discord-feature-card h3{
  margin:0 0 8px;
  color:#f0edff;
  font-size:17px;
  font-weight:950;
  letter-spacing:.7px;
}

.discord-feature-card p{
  margin:0;
  color:#b9b4c7;
  font-size:13px;
  line-height:1.5;
}

/* =========================================================
   STEPS
   ========================================================= */

.discord-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.discord-step{
  position:relative;
  text-align:center;
  padding:6px 14px 4px;
}

.step-badge{
  position:relative;
  width:94px;
  height:94px;
  margin:0 auto 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:31px;
  font-weight:950;
  background:
    radial-gradient(circle at 50% 45%,rgba(110,71,216,.48),rgba(19,15,49,.96));
  border:2px solid rgba(147,113,248,.70);
  clip-path:polygon(
    50% 0,
    92% 22%,
    92% 78%,
    50% 100%,
    8% 78%,
    8% 22%
  );
  box-shadow:
    0 0 15px rgba(118,77,230,.24),
    inset 0 0 14px rgba(255,255,255,.03);
}

.step-badge small{
  position:absolute;
  top:5px;
  left:50%;
  transform:translateX(-50%);
  font-size:12px;
  color:#d8ceff;
}

.step-badge .step-icon{
  width:40px;
  height:40px;
  display:block;
  margin-top:8px;
  fill:currentColor;
  color:#fff;
  filter:
    drop-shadow(0 0 5px rgba(255,255,255,.18))
    drop-shadow(0 0 9px rgba(151,105,255,.34));
}

.discord-step h3{
  margin:0 0 8px;
  color:#efebff;
  font-size:15px;
  font-weight:950;
  letter-spacing:.6px;
}

.discord-step p{
  margin:0;
  color:#aaa7b5;
  font-size:12px;
  line-height:1.45;
}

/* =========================================================
   BOTTOM JOIN DISCORD CTA
   ========================================================= */

.discord-bottom-cta{
  margin-top:34px;
  display:flex;
  justify-content:center;
}

.discord-bottom-cta a{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  width:min(760px,92%);
  min-height:78px;
  padding:10px 34px;
  text-decoration:none;
  color:#fff;
  background:
    radial-gradient(circle at 24% 34%,rgba(195,163,255,.20),transparent 30%),
    linear-gradient(180deg,#7551df 0%,#5b38bd 48%,#432586 100%);
  border:1px solid rgba(172,145,255,.95);
 border-radius:999px;
  box-shadow:
    0 0 4px rgba(185,154,255,.72),
    0 0 15px rgba(120,75,235,.30),
    0 12px 28px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -10px 18px rgba(31,12,76,.18);
  overflow:hidden;
  transition:
    transform .18s ease,
    filter .18s ease,
    box-shadow .18s ease;
}

.discord-bottom-cta a::before{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  top:0;
  height:2px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(220,205,255,.88) 32%,
    rgba(255,255,255,.96) 50%,
    rgba(220,205,255,.88) 68%,
    transparent
  );
  box-shadow:0 0 8px rgba(181,148,255,.55);
}

.discord-bottom-cta a::after{
  content:"";
  position:absolute;
  left:86px;
  top:50%;
  width:104px;
  height:62px;
  transform:translateY(-50%);
  background:radial-gradient(circle,rgba(171,122,255,.22),transparent 68%);
  pointer-events:none;
}

.discord-bottom-cta a:hover{
  transform:translateY(-2px);
  filter:brightness(1.08);
  box-shadow:
    0 0 5px rgba(192,163,255,.82),
    0 0 21px rgba(121,76,238,.42),
    0 16px 34px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.cta-icon{
  position:relative;
  z-index:2;
  width:66px;
  height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  background:none;
  border:none;
  border-radius:0;
}

.cta-icon img{
  width:64px;
  height:52px;
  display:block;
  object-fit:contain;
  filter:
    brightness(1.22)
    drop-shadow(0 0 7px rgba(255,255,255,.18))
    drop-shadow(0 0 12px rgba(166,119,255,.38));
}

.cta-text{
  position:relative;
  z-index:2;
  text-align:left;
}

.discord-bottom-cta strong{
  display:block;
  color:#fff;
  font-size:30px;
  line-height:1;
  font-weight:950;
  letter-spacing:1px;
  text-shadow:
    0 2px 5px rgba(0,0,0,.40),
    0 0 7px rgba(255,255,255,.08);
}

.discord-bottom-cta small{
  display:block;
  margin-top:4px;
  color:#e6e0f8;
  font-size:12px;
  font-weight:500;
  letter-spacing:.12px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1000px){
  .discord-features{
    grid-template-columns:1fr 1fr;
  }

  .discord-steps{
    grid-template-columns:1fr 1fr;
  }

  .discord-hero{
    height:620px;
  }

  .discord-wrap{
    margin-top:-250px;
  }

  .discord-hero-content h1{
    font-size:42px;
  }
}

@media(max-width:700px){
  .discord-page{
    padding-bottom:42px;
  }

  .discord-hero{
    height:520px;
  }

  .discord-hero-content{
    padding:115px 14px 0;
  }

  .discord-mark{
  width:122px;
  height:122px;
  margin:0 auto 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:none;
  border:none;
  box-shadow:none;
}

.discord-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  filter:
    drop-shadow(0 0 12px rgba(139,92,246,.75))
    drop-shadow(0 0 28px rgba(111,72,220,.40));
}

  .discord-hero-content h1{
    font-size:30px;
    white-space:normal;
  }

  .discord-hero-content > p:not(.eyebrow){
    font-size:16px;
  }

  .discord-hero-button{
    min-width:0;
    width:calc(100% - 36px);
    max-width:320px;
  }

  .discord-wrap{
    width:calc(100% - 20px);
    margin-top:-205px;
  }

  .discord-panel{
    padding:22px 12px 24px;
  }

  .discord-features,
  .discord-steps{
    grid-template-columns:1fr;
  }

  .section-title h2{
    font-size:20px;
  }

  .discord-bottom-cta strong{
    font-size:20px;
  }

  .discord-bottom-cta a{
    gap:15px;
    min-height:78px;
    padding:10px 20px;
  }

  .cta-icon{
    width:55px;
    height:50px;
  }

  .cta-icon img{
    width:54px;
    height:46px;
  }

  .discord-bottom-cta strong{
    font-size:22px;
  }

  .discord-bottom-cta small{
    font-size:10px;
  }

}
