* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #0f0f0f;
  color: white;
  padding-bottom: 60px; /* space for bottom nav */
}

/* Top Nav */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #141414;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  color: #00ff88;
}

.search-bar {
  padding: 8px;
  border-radius: 20px;
  border: none;
  width: 50%;
}

/* Horizontal Menu */
.main-menu {
  display: flex;
  overflow-x: auto;
  padding: 10px;
  background: #111;
}

.main-menu a {
  text-decoration: none;
  color: white;
  margin-right: 20px;
  font-size: 14px;
  white-space: nowrap;
}

.main-menu a:hover {
  color: #00ff88;
}

/* Hero Section */
.hero {
  height: 220px;
  background: linear-gradient(to right, #000000cc, #00000099),
              url('https://picsum.photos/800/400') center/cover;
  display: flex;
  align-items: center;
  padding: 20px;
}

.hero-content h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-btn {
  padding: 8px 15px;
  border: none;
  background: #00ff88;
  color: black;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* Sections */
.section {
  padding: 15px;
}

.section h2 {
  margin-bottom: 10px;
}

/* Card Row */
.card-row {
  display: flex;
  overflow-x: auto;
  gap: 12px;
}

/* Card */
.card {
  min-width: 150px;
  background: #1c1c1c;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-info {
  padding: 10px;
}

.card-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card-category {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
}

.download-btn {
  width: 100%;
  padding: 6px;
  border: none;
  background: #00ff88;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.download-btn:hover {
  background: #00cc6a;
}

.card:hover {
  transform: scale(1.05);
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #141414;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.bottom-nav a {
  text-decoration: none;
  color: white;
  font-size: 14px;
}

.bottom-nav a:hover {
  color: #00ff88;
}

/* Hide scrollbar */
::-webkit-scrollbar {
  display: none;
}
