/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #121212;
  color: #c8ff00;
  line-height: 1.5;
}

/* MAIN PAGE STYLES */
body.main-page {
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

.sidebar {
  background: #292950;
  width: 220px;
  padding: 2rem 1rem;
  box-shadow: 0 0 25px #00ff88aa;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-title {
  font-weight: 900;
  font-size: 2rem;
  color: #aaff00;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  align-items: center;
}

.nav-btn,
.download-btn {
  background: #00ffaa;
  color: #121212;
  border: none;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  width: 100%;
  box-shadow: 0 0 20px #00ffaaaa;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.15s ease;
  text-align: center;
  text-decoration: none;
  user-select: none;
}

.nav-btn:hover,
.download-btn:hover,
.nav-btn:focus,
.download-btn:focus {
  background: #00cc88;
  box-shadow: 0 0 30px #00cc88cc;
  outline: none;
  transform: scale(1.05);
}

.nav-btn.active {
  background: #aaff00;
  color: #121212;
  box-shadow: 0 0 35px #aaff00cc;
  cursor: default;
  transform: none;
}

.content {
  flex-grow: 1;
  padding: 3rem 3rem 3rem 2rem;
  overflow-y: auto;
  outline: none;
}

.section {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease forwards;
}

.section.visible {
  display: block;
}

.section h2 {
  font-size: 2.2rem;
  color: #aaff00;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section h3 {
  font-size: 1.5rem;
  color: #ccff66;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.section p,
.section ul {
  font-size: 1.15rem;
  color: #d4ff7e;
  margin-bottom: 1rem;
}

.section ul {
  list-style: none;
  padding-left: 0;
}

.section ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.section ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #aaff00;
}

.section img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 0 20px #00ffaaaa;
  margin-top: 1rem;
  user-select: none;
}

.ads-images {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.ads-images img {
  max-width: 150px;
  border-radius: 12px;
  box-shadow: 0 0 15px #00ff88aa;
  user-select: none;
}

/* Download Page Specific Styles */
body.download-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  color: #d4ff7e;
  background-color: #121212;
}

.download-page .container {
  background: #292950;
  border-radius: 16px;
  box-shadow: 0 0 25px #00ff88aa;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
}

.download-page h1 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #aaff00;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.download-page .subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #b3ff00cc;
  font-weight: 600;
  font-style: italic;
}

.download-button {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 1rem 2rem;
  background: #00ffaa;
  color: #121212;
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 20px #00ffaaaa;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.15s ease;
  user-select: none;
}

.download-button:hover,
.download-button:focus {
  background: #00cc88;
  box-shadow: 0 0 30px #00cc88cc;
  transform: scale(1.05);
  outline: none;
}

.features,
.contact,
.ads {
  margin-top: 2rem;
  background: #1e1e3a;
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  box-shadow: inset 0 0 15px #00ff88aa;
  color: #b3ff00cc;
  text-align: left;
}

.features h2,
.contact h2,
.ads h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #aaff00;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.features p {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-line;
}

.contact p,
.ads p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact a {
  display: inline-block;
  margin: 0.3rem 1rem 0.3rem 0;
  color: #00ffaa;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact a:hover,
.contact a:focus {
  color: #aaff00;
  outline: none;
}

.ads img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 20px #00ffaaaa;
  margin-bottom: 1rem;
  user-select: none;
}

.back-home-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: #00ffaa;
  color: #121212;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 20px #00ffaaaa;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.15s ease;
  user-select: none;
}

.back-home-btn:hover,
.back-home-btn:focus {
  background: #00cc88;
  box-shadow: 0 0 30px #00cc88cc;
  transform: scale(1.05);
  outline: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 768px) {
  body.main-page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 1rem 0;
  }

  .sidebar-title {
    display: none;
  }

  .nav {
    flex-direction: row;
    gap: 0.8rem;
    width: auto;
  }

  .nav-btn,
  .download-btn {
    width: auto;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
  }

  .content {
    padding: 2rem 1rem 3rem;
  }

  .section img {
    max-width: 100%;
  }

  .ads-images {
    gap: 0.5rem;
  }

  .ads-images img {
    max-width: 90px;
  }
}
