:root{
  --bg: #07070a;
  --bg2:#0c0c12;
  --text:#e9e9f0;
  --muted:#b9b9c8;
  --card:#12121a;
  --border: rgba(255,255,255,.08);
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --accent: #ffefe0;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 70% 10%, rgba(255,180,60,.08), transparent 60%),
              radial-gradient(900px 600px at 20% 50%, rgba(255,255,255,.05), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a{ color: inherit; }
.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.hero{
  position: relative;
  min-height: 80vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero__bg{
  position:absolute; inset:0;
  background-image: url("assets/banner.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(.95) contrast(1.05) brightness(.65);
}
.hero__bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 50% 40%, rgba(0,0,0,.15), rgba(0,0,0,.75)),
    linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.85));
}
.hero__content{
  position:relative;
  padding: 72px 0;
  width: min(1100px, calc(100% - 40px));
  text-align: left;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px; /* was bigger before */
}

.brand__logo{
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.7));
  margin-top: 4px; /* nudges skull down to align with logo */
}

.brand__title{
  font-family: "Creepster", system-ui;
  font-size: clamp(46px, 6vw, 84px);
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 10px 40px rgba(0,0,0,.85);
}

.brand__title-image{
  max-width: 420px;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,.85));
  margin-left: -4px; /* pulls it closer to skull */
}


.brand__tag{
  margin-top: 6px;
  padding-left: 2px;
}


.hero__cta{
  margin-top: 28px;
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-decoration:none;
  background: rgba(10,10,14,.45);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  font-weight: 700;
}
.btn:hover{ transform: translateY(-1px); }
.btn--primary{
  background: rgba(255,220,180,.12);
  border-color: rgba(255,220,180,.25);
}
.btn--ghost{
  background: rgba(10,10,14,.35);
}
.hero__note{
  margin-top: 18px;
  color: rgba(233,233,240,.78);
  font-weight: 600;
}

.section{
  padding: 70px 0;
}
.section--alt{
  background: linear-gradient(to bottom, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
h2{
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 14px 0;
}
p{ margin: 0 0 14px 0; color: rgba(233,233,240,.9); }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.card{
  background: rgba(18,18,26,.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3{
  margin: 0 0 8px 0;
  font-size: 18px;
}
.card p{
  margin:0;
  color: rgba(233,233,240,.82);
}

.footerbox{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(18,18,26,.55);
}
.footerbox__logo{
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  opacity: .95;
}
.linkrow{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 10px; }
.link{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration:none;
  background: rgba(10,10,14,.35);
}
.topnav{
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 1000;
}

.topnav a{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  background: rgba(10,10,14,.45);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.topnav a:hover{
  transform: translateY(-1px);
}


.footer{
  padding: 26px 0;
  color: rgba(233,233,240,.7);
}

@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .brand__logo{ width: 62px; height:62px; }
}
