/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Orbitron', sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.6;
  padding: 20px;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 30px;
}
.tagline {
  font-size: 1.2em;
  color: #000;
}

/* Navigation */
nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-bottom: 30px;
}
nav a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border: 1px solid #000;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  transition: background 0.3s;
}
nav a:hover {
  background: #000;
  color: #fff;
}

/* Section Blocks */
section {
  margin-bottom: 40px;
}
.clickable-block {
  display: block;
  padding: 2rem;
  text-decoration: none;
  color: #000;
  background: #fff;
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  transition: box-shadow 0.3s, background 0.3s;
}
.clickable-block:hover {
  background: #f0f0f0;
  box-shadow: 0 0 25px rgba(0, 0, 0, 1);
  cursor: pointer;
}

/* Contact Form */
form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #000;
}
input, textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background-color: #f9f9f9;
  border: 1px solid #000;
  color: #000;
  border-radius: 5px;
}
button {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #000;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #333;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9em;
  color: #555;
}

/* Responsive */
@media (max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  section {
    padding: 15px;
  }
  /* Carousel-style nav */
  .carousel-nav {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-nav a {
    flex: 0 0 auto;
    scroll-snap-align: start;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 16px;
    border: 1px solid #000;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transition: background 0.3s;
    white-space: nowrap;
  }

  .carousel-nav a:hover {
    background: #000;
    color: #fff;
  }

  /* Optional: hide scrollbar */
  .carousel-nav::-webkit-scrollbar {
    display: none;
  }
  .carousel-nav {
    scrollbar-width: none;
  }

  body {
    font-family: 'Orbitron', sans-serif;
  }

  #app-carousel {
    margin: 40px 0;
  }
  .carousel-track {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 1rem;
  }
  .app-card {
    flex: 0 0 auto;
    width: 250px;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .app-card img {
    max-width: 100%;
    border-radius: 5px;
    flex-shrink: 0;
    margin-bottom: 8px;
  }
  .app-card h3 {
    margin: 5px 0;
    font-size: 1.1em;
    line-height: 1.2em;
    height: 2.4em; /* ~2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
  }
  .app-card p {
    font-size: 0.85em;
    color: #333;
    max-height: 70px; /* ~4 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    margin-bottom: 8px;
  }
  .platform-container {
    font-size: 0.8em;
    color: #555;
    max-height: 2.6em; /* ~2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    margin-bottom: 10px;
  }
  .app-card a {
    display: inline-block;
    margin-top: auto;
    padding: 6px 12px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
  }
  .app-card a:hover {
    background: #333;
  }
}
