.cs2-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 32px;
}

.cs2-logo {
  width: 90px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.cs2-title {
  font-size: 4rem;
  font-weight: bold;
  margin: 0 0 24px 0;
  color: #fff;
  text-align: center;
}

.subtitle {
  font-size: 1.15rem;
  color: #b8eaff;
  margin: 0 0 18px 0;
  font-weight: 500;
}

.cs2-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cs2-flex {
  display: flex;
  align-items: stretch; 
  gap: 28px;
  margin-bottom: 28px;
  justify-content: center;
}

.cs2-logo-large {
  width: 260px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  background: #181818;
}

.section-title {
  font-size: 1.35rem;
  color: #35CDFE;
  margin: 0 0 12px 0;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.features-section,
.download-section,
.howto-box {
  background: #181818;
  border-radius: 10px;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.features-section {
  flex: 1;
  height: 100%; /* Fyller høyden til flex-containeren */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertikal sentrering av innhold hvis ønsket */
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}
.features-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-buttons {
  margin-bottom: 10px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--button-bg);
  color: var(--text-color);
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s;
  margin-bottom: 8px;
}

.download-btn:hover {
  background: var(--button-bg-hover);
}

#release-info {
  background: #0D1117;
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 15px;
  margin-top: 10px;
  line-height: 1.15;
}

.howto-box ol {
  margin: 0;
  padding-left: 1.2em;
}
.howto-box li {
  margin-bottom: 6px;
}

.features-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 260px;
  flex: 1;
}

.intro-box {
  background: #181818;
  color: #b8eaff;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 1.08rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

@media (max-width: 700px) {
  .cs2-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cs2-logo {
    margin-bottom: 18px;
  }
  .flex-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cs2-img img {
    margin-bottom: 20px;
    width: 80vw;
    max-width: 200px;
  }
}

@media (max-width: 900px) {
  .cs2-flex {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .features-section {
    width: 100%;
    min-width: unset;
  }
  .cs2-logo-large {
    width: 70vw;
    max-width: 320px;
  }
}

/* Uniform card width on tablet/mobile (keep desktop flex free) */
@media (max-width: 900px) {
  .intro-box,
  .features-section,
  .howto-box,
  .download-section,
  #release-info,
  .cs2-logo-large { /* image also aligned to same max width */
    width: 100%;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
  .download-buttons { text-align: center; }
}

@media (max-width: 560px) {
  .intro-box,
  .features-section,
  .howto-box,
  .download-section,
  #release-info,
  .cs2-logo-large {
    max-width: 500px; /* slightly narrower for small phones */
  }
}