/* Import Cloudflare Inter font */
@import url('https://fonts.cloudflare.com/s/Inter.css');

/* Page Fade-in Animation */
body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  background-color: #f0f2f5;
  color: #333;
  animation: fadeIn 1s ease-in-out;
}

/* Fade-in keyframes */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Header */
header {
  text-align: center;
  padding: 2rem;
  background-color: #282c34;
  color: white;
  animation: fadeIn 1.2s ease-in-out;
}

header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 600;
}

header p {
  margin: 0.5rem 0 0;
  font-weight: 400;
}

/* App Grid */
#app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

/* App Card */
.app-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeIn 1.5s ease-in-out;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* App Icon */
.app-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background-color: #f9f9f9;
}

/* App Content */
.app-card .content {
  padding: 1rem;
}

.app-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.app-card p {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  font-weight: 400;
}

/* Download Button */
.app-card a {
  display: inline-block;
  text-decoration: none;
  background-color: #0070f3;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.2s;
  animation: buttonPop 0.8s ease-out;
}

.app-card a:hover {
  background-color: #005bb5;
  transform: translateY(-4px) scale(1.05);
}

/* Button Pop Animation */
@keyframes buttonPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
