* {
  box-sizing: border-box;
}

/* Base */
body {
  margin: 0;
  font-size: 16px;
  color: #fff;
  background: #121212;
  font-family: Cambria, Georgia, serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #1e1e1e;
  border-bottom: 1px solid #333;
}

.a1 {
  padding: 10px;
  transition: 0.3s;
  font-weight: bold;
}

.a1:hover {
  transform: scale(1.05);
  color: #0af;
}

/* Optional nav */
.collection {
  display: flex;
  gap: 16px;
}

.a5 {
  padding: 10px 14px;
  border-radius: 6px;
  transition: 0.3s;
}

.a5:hover {
  background: #fff;
  color: #000;
}

/* Hero (بدل Soon فقط) */
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero p {
  color: #bbb;
}

/* grid */
.category-grid {
  width: min(1000px, 100%);
  margin: 40px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category-card {
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: #0af;
  box-shadow: 0 0 18px rgba(0, 170, 255, 0.25);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.category-card span,
.category-card p {
  color: #bdbdbd;
  font-size: 0.95rem;
}

/* Footer */
footer {
  background: #1e1e1e;
  text-align: center;
  padding: 14px;
  border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  .collection {
    flex-direction: column;
    align-items: center;
  }
}