body {
  background: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
h1 {
  text-align: center;
  margin: 2rem 0 1rem 0;
  color: #222;
  padding: 0 1rem;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile-first responsive design */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0.75rem;
  }
  
  h1 {
    margin: 1rem 0 0.75rem 0;
    font-size: 1.75rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
  }
}

@media (min-width: 1025px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
  }
}
.app-card {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.app-card:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .app-card {
    padding: 1.25rem 1rem;
    min-height: 100px;
  }
  
  .app-card:hover {
    transform: none; /* Disable hover transform on mobile */
  }
}

.app-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .app-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
  }
}
.app-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin: 0.5rem 0 0.3rem 0;
  line-height: 1.3;
}

.app-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .app-name {
    font-size: 1rem;
    margin: 0.3rem 0 0.2rem 0;
  }
  
  .app-desc {
    font-size: 0.85rem;
  }
}

.app-link {
  text-decoration: none;
  color: inherit;
  display: block;
  -webkit-tap-highlight-color: transparent; /* Remove blue highlight on mobile tap */
}
