html, body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 600px;
  margin: 0 auto;
}

/* App Header */
.app-header {
  display: flex;
  padding: 20px 10px;
  border-bottom: 1px solid #333;
}

.app-icon img {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: #333;
}

.app-info {
  flex: 1;
  margin-left: 15px;
  display: flex;
  flex-direction: column;
}

.app-info .app-name {
  font-size: 24px;
  margin: 0 0 5px 0;
  color: #fff;
}

.app-meta {
  font-size: 14px;
  color: #aaa;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.app-meta .developer {
  background: #1c1c1e;
  padding: 2px 6px;
  border-radius: 4px;
  color: #aaa;
}

.button-group {
  display: flex;
  gap: 10px;
}

.open-button {
  align-self: flex-start;
  background: #007aff;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

/* Preview Section */
.preview-section {
  padding: 20px 10px;
  border-bottom: 1px solid #333;
}

.preview-section h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
}

.preview-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.preview-image {
  flex: 0 0 auto;
  width: 250px;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  background: #1c1c1e;
}

.preview-image img {
  width: 100%;
  display: block;
}

.preview-image p {
  margin: 10px 0;
  font-weight: 600;
  color: #fff;
}

/* Description */
.description {
  padding: 20px 10px;
}

.description h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.description p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #ddd;
}

.description h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.description ul {
  list-style: disc inside;
  padding: 0;
  margin: 0;
  line-height: 1.5;
  color: #ddd;
}

.description ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* Divider */
.divider {
  border: 0;
  height: 1px;
  background: #333;
  margin: 40px 0;
}

/* Legal Links */
.legal-links {
  text-align: center;
  margin-bottom: 10px; /* Reduced spacing here */
}

.legal-links a {
  color: #007aff;
  text-decoration: none;
  font-size: 16px;
}

.legal-links .separator {
  margin: 0 10px;
  color: #999;
}

/* Logo styling */
.paper-ai-logo {
  display: block;
  margin: 5px auto; /* Reduced spacing here */
  width: 175px;
  height: 175px;
}

/* Scrollbar styling for preview images (optional) */
.preview-images::-webkit-scrollbar {
  height: 6px;
}
.preview-images::-webkit-scrollbar-track {
  background: #1c1c1e;
}
.preview-images::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}