:root{
  --bg:#04080c;
  --bg2:#081117;
  --panel:#0b151c;
  --panel2:#101d25;
  --line:rgba(83,231,244,.23);
  --line2:rgba(83,231,244,.58);
  --cyan:#53e7f4;
  --ice:#dafbff;
  --text:#e6f1f3;
  --muted:#8ca1a7;
  --green:#57e39d;
  --red:#ff6969;
  --gold:#f0c674;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  color:var(--text);
  font-family:Inter,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 50% -10%,rgba(0,210,225,.11),transparent 34rem),
    linear-gradient(180deg,#03070a,#071019 46%,#03070a);
  min-height:100vh;
}

body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:100;
  opacity:.12;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:32px 32px;
}

a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}

.wrap{
  width:min(1200px,calc(100% - 36px));
  margin:auto;
}

/* NAVIGATION */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(4,9,13,.88);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}

.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:11px;
  margin-right:auto;
}

.brand img{
  width:50px;
  height:50px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid var(--line2);
  box-shadow:0 0 20px rgba(83,231,244,.12);
}

.brand strong{
  font-size:20px;
  letter-spacing:.15em;
}

.brand small{
  display:block;
  color:var(--cyan);
  font-size:10px;
  letter-spacing:.2em;
}

.navlinks{
  display:flex;
  gap:20px;
  align-items:center;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.11em;
  color:#b8c9cc;
}

.navlinks a:hover,
.signin:hover{
  color:var(--cyan);
}

.signin{
  padding:9px 13px;
  border:1px solid var(--line2);
  border-radius:4px;
  color:var(--ice);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.11em;
}

/* HERO */
.hero{
  min-height:720px;
  display:grid;
  place-items:end center;
  position:relative;
  background:
    linear-gradient(180deg,rgba(2,7,10,.22),rgba(2,7,10,.38) 50%,#04080c 97%),
    url('hevn_hero.png') center/cover no-repeat;
  border-bottom:1px solid var(--line);
}

.hero.simple{
  min-height:360px;
  place-items:center;
  background:
    radial-gradient(circle at 50% 20%,rgba(32,225,239,.12),transparent 40%),
    linear-gradient(180deg,#07121a,#04080c);
}

.hero-content{
  text-align:center;
  width:min(900px,calc(100% - 40px));
  padding-bottom:70px;
}

.hero.simple .hero-content{
  padding-bottom:0;
}

.eyebrow,
.code{
  color:var(--cyan);
  font:700 12px Consolas,monospace;
  letter-spacing:.2em;
  text-transform:uppercase;
}

h1{
  font-size:clamp(45px,8vw,88px);
  line-height:.95;
  margin:10px 0;
  text-transform:uppercase;
  letter-spacing:.04em;
}

h1 span{color:var(--cyan)}

.hero p{
  max-width:760px;
  margin:18px auto;
  color:#bdd0d3;
  font-size:18px;
}

.pills,
.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:22px;
}

.pill{
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(5,14,19,.76);
  font-size:11px;
  letter-spacing:.09em;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 17px;
  border-radius:5px;
  font-weight:800;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.11em;
  border:1px solid transparent;
}

.btn.primary{
  background:var(--cyan);
  color:#031015;
  box-shadow:0 0 18px rgba(83,231,244,.14);
}

.btn.secondary{
  border-color:var(--line2);
  background:rgba(5,12,17,.75);
  color:var(--text);
}

/* STATUS BAR */
.status-strip{
  margin-top:-28px;
  position:relative;
  z-index:3;
}

.status-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  background:rgba(6,14,19,.95);
  border:1px solid var(--line);
  border-radius:7px;
  overflow:hidden;
  box-shadow:0 16px 50px rgba(0,0,0,.18);
}

.status{
  padding:18px;
  border-right:1px solid var(--line);
}

.status:last-child{border-right:0}

.k{
  font-size:10px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.18em;
}

.v{
  margin-top:3px;
  font-size:16px;
  font-weight:800;
}

.dot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 12px var(--green);
  margin-right:8px;
}

/* SECTIONS */
section{padding:80px 0}

.section-head{
  display:flex;
  justify-content:space-between;
  gap:26px;
  align-items:end;
  margin-bottom:30px;
}

.section-head h2{
  margin:5px 0 0;
  font-size:clamp(30px,5vw,48px);
  text-transform:uppercase;
}

.section-head p{
  max-width:560px;
  color:var(--muted);
  margin:0;
}

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

.card{
  padding:25px;
  border:1px solid var(--line);
  border-radius:7px;
  background:linear-gradient(145deg,rgba(14,29,38,.94),rgba(5,13,18,.96));
  position:relative;
  overflow:hidden;
}

.card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:52px;
  height:2px;
  background:var(--cyan);
}

.card h3{
  font-size:21px;
  text-transform:uppercase;
  margin:13px 0 7px;
}

.card p{
  color:var(--muted);
  margin:0;
}

/* GAMES */
.game-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:16px;
}

.game{
  min-height:260px;
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:end;
  border:1px solid var(--line);
  border-radius:7px;
  background:
    radial-gradient(circle at 80% 10%,rgba(40,219,236,.14),transparent 38%),
    linear-gradient(160deg,#112630,#081015);
  position:relative;
  overflow:hidden;
}

.game h3{
  font-size:29px;
  margin:0;
}

.game p{
  color:var(--muted);
  margin:7px 0 0;
}

.game .big{
  position:absolute;
  right:14px;
  top:0;
  font-size:70px;
  font-weight:900;
  color:rgba(255,255,255,.03);
}

/* DISCORD */
.discord-card{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  background:#071015;
}

.discord-art{
  min-height:500px;
  background:url('hevn_logo.png') center/cover no-repeat;
  position:relative;
}

.discord-art:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent 55%,#071015);
}

.discord-copy{
  padding:46px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.discord-copy h2{
  font-size:44px;
  margin:8px 0 14px;
  text-transform:uppercase;
}

.discord-copy p{color:var(--muted)}

.bot{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  background:#080e12;
}

.bot-banner{
  height:145px;
  background:url('pennywise_banner.jpg') center/cover no-repeat;
}

.bot-body{
  display:flex;
  gap:16px;
  align-items:center;
  padding:18px;
}

.bot-avatar{
  width:78px;
  height:78px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #23272a;
  margin-top:-50px;
  background:#23272a;
}

.bot-name{
  font-size:20px;
  font-weight:800;
}

.bot-sub{
  font-size:12px;
  color:var(--muted);
}

/* GENERAL PANELS / FORMS / ADMIN */
.panel{
  padding:28px;
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:8px;
}

.coming{
  min-height:430px;
  display:grid;
  place-items:center;
  text-align:center;
}

.coming h2{
  font-size:46px;
  margin:8px 0 10px;
}

.coming p{
  color:var(--muted);
  max-width:600px;
}

.form{
  max-width:520px;
  margin:0 auto;
  padding:30px;
  border:1px solid var(--line);
  background:var(--panel);
  border-radius:8px;
}

label{
  display:block;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--muted);
  margin:16px 0 7px;
}

input,
select{
  width:100%;
  padding:12px 13px;
  border:1px solid var(--line);
  border-radius:4px;
  background:#050b0f;
  color:var(--text);
  outline:none;
}

input:focus,
select:focus{
  border-color:var(--line2);
}

.note{
  margin-top:18px;
  padding:13px;
  border-left:2px solid var(--gold);
  background:rgba(240,198,116,.05);
  color:#d1c6ac;
  font-size:13px;
}

.table{
  width:100%;
  border-collapse:collapse;
  margin-top:20px;
}

.table th,
.table td{
  padding:12px;
  border-bottom:1px solid var(--line);
  text-align:left;
}

.table th{
  font-size:10px;
  text-transform:uppercase;
  color:var(--muted);
  letter-spacing:.12em;
}

.badge{
  padding:4px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:10px;
}

.badge.admin{color:var(--cyan)}
.badge.member{color:var(--green)}

/* FOOTER */
footer{
  padding:30px 0 42px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}

.foot{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

/* RESPONSIVE */
@media(max-width:1000px){
  .navlinks{display:none}
  .status-grid{grid-template-columns:1fr 1fr}
  .status{border-bottom:1px solid var(--line)}
  .grid3,
  .game-grid,
  .discord-card{grid-template-columns:1fr}
  .discord-art{min-height:400px}
  .discord-art:after{background:linear-gradient(180deg,transparent 55%,#071015)}
}

@media(max-width:620px){
  .wrap{width:min(100% - 22px,1200px)}
  .status-grid{grid-template-columns:1fr}
  .section-head{display:block}
  .section-head p{margin-top:12px}
  .hero{min-height:620px}
  .brand strong{font-size:16px}
  .discord-copy{padding:27px}
  .signin{padding:8px 10px}
}
