*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

header {
  background-color: #ffffff;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
}

main { flex: 1; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.app-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  padding: 18px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
}

@media (max-width: 640px) {
  .app-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .app-info { text-align: center; }  

}

.app-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
}

.app-info h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.app-info p {
  margin: 0 0 10px;
  color: #555;
}

.store-badges {
  display: inline-flex; 
  gap: 12px;
  flex-wrap: wrap;
}

.store-link {
  display: inline-flex;
  align-items: center;
}

.store-badge {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  transition: transform 0.15s ease;
}

.store-link:hover .store-badge,
.store-link:focus .store-badge {
  transform: translateY(-1px) scale(1.03);
}

@media (max-width: 380px) {
  .store-badge { height: 36px; }
}

a { color: #007BFF; text-decoration: none; }
a:hover { text-decoration: underline; }

footer {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 20px;
  text-align: center;
}

footer p {
  margin: 6px 0;
}

footer a {
  color: #66b3ff; 
}
footer a:hover { text-decoration: underline; }