body {
  font-family: 'Cairo', sans-serif;
  background-color: #f7f9fa;
  margin: 0;
  padding: 0;
  direction: rtl;
}

header {
  background: #0f4c75;
  color: white;
  padding: 20px;
  text-align: center;
}

main {
  padding: 20px;
}

#app-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.screenshots {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
}

.screenshots img {
  width: 200px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s;
}

.screenshots img:hover {
  transform: scale(1.05);
}

.download-btn {
  background-color: #1abc9c;
  color: white;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
  display: inline-block;
}

h3 {
  text-align: right;
}


#downloadModal {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

#downloadModal .modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  max-width: 400px;
  text-align: center;
  animation: slideUp 0.4s ease-out;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  font-family: 'Cairo', sans-serif;
}

#downloadModal .modal-content h3 {
  margin-top: 0;
  color: #007B83;
}

#downloadModal .modal-content p {
  margin: 15px 0;
  line-height: 1.6;
}

#downloadModal .modal-content a.button {
  background-color: #007B83;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 10px;
  display: inline-block;
  transition: background-color 0.3s;
}

#downloadModal .modal-content a.button:hover {
  background-color: #005e66;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* التذييل */
footer {
  margin-top: 50px;
  padding: 20px;
  background-color: #f0f0f0;
  text-align: center;
  color: #555;
  font-size: 0.9em;
  border-top: 1px solid #ddd;
}
.app-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}
.back-btn-container {
  text-align: center;
  margin: 20px 0;
}

.back-btn {
  background-color: #0f4c75;
  color: white;
  padding: 10px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.back-btn:hover {
  background-color: #1b6ca8;
}
