* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* bg & font */
body {
  background: #1c1c1f;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
}






/* the bar at top */
TopBar {
  position: sticky;
  top: 1rem;
  display: flex;
  justify-content: center;
  z-index: 100;
}





/* bar that wraps the nav links */
.TopBar-button-holder {
  background: #2a2a2e;
  border: 1px solid #3a3a40;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0.5rem 1.2rem;
  gap: 0.25rem;
}




.nav-pill .logo {
  font-weight: 800;
  color: #fff;
  margin-right: 1rem;
  font-size: 0.95rem;
  animation: rgb-spin 3s linear infinite;
}




@keyframes rgb-spin {
  0%{ color: hsl(0,100%,65%);}
  33%{ color: hsl(120,100%, 55%);}
  66%{ color: hsl(240,100%,75%);}
  100%{ color: hsl(360,100%,65%);}
}








.topbar a {
  color: #aaa;
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
}









.rgb {
  animation: rgb-spin 3s linear infinite;
}





.hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
}




.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -1px;
}

.hero p {
  color: #aaa;
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}











section {
  max-width: 680px;
  margin: 5rem auto;
  padding: 0 1.5rem;
}

section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}



.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0;
  margin: 0 0 3rem 0;
}










.download-card {
  border-radius: 10px;
  border: 1px solid #2e2e35;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  height: 260px;
}



.download-card.legacy {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.65)),
              url('HalideLegacy.png') center/cover;
}

.download-card.recode {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.65)),
              url('HalideRecode.png') center/cover;
}


/* version number and keybind info tucked into the top right corner of the card */
.download-info-block {
  position: absolute;
  top: 0.85rem;
  right: 1.1rem;
  text-align: right;
}

/* small print under the info block */
.download-extrainfo {
  color: #aaa;
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}

.download-extrainfo b {
  color: #ddd;
}



.button {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.8rem;
  position: relative;
  z-index: 1;
}



.available-download-version {
  background: #fff;
  color: #111;
}




.non-available-download-versions {
  background: rgba(240, 235, 235, 0.08);
  color: rgba(155, 149, 149, 0.3);
  cursor: not-allowed;
}




.discord-button{
  background: #3f49b8;
  color: #fff;
}




details {
  border-bottom: 1px solid #2e2e35;
}


summary {
  padding: 1.1rem 0;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}





summary::after { 
  content: '+';
  font-size: 1.3rem;
  color: #aaa;
}





details[open] summary::after {
  content: '−';
}





details p {
  color: #c4c4c4;
  font-size: 0.88rem;
  line-height: 1.7;
  padding-bottom: 1rem;
}



.discord-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.discord-row p {
  color: #666;
  font-size: 0.88rem;
}

#faq h2 {
  font-size: 1.9rem;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}