* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0d1117;
  color: #e6edf3;
  min-height: 100vh;
}

/* ── Header ── */
header {
  background: linear-gradient(135deg, #1a3a6b 0%, #0f2244 60%, #0d1117 100%);
  text-align: center;
  padding: 48px 24px 36px;
  border-bottom: 3px solid #f5a623;
}

header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #f5a623;
  text-shadow: 0 2px 12px rgba(245, 166, 35, 0.4);
}

header .subtitle {
  margin-top: 10px;
  font-size: 1rem;
  color: #8b9ab5;
  letter-spacing: 0.5px;
}

/* ── Gallery grid ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 24px;
}

/* ── Card ── */
.card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.2);
  border-color: #f5a623;
}

/* ── Thumbnail ── */
.thumb-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0d1117;
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .thumb-wrap img {
  transform: scale(1.06);
}

/* ── Card body ── */
.card-body {
  padding: 18px 20px 22px;
}

.card-body h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5a623;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 0.88rem;
  color: #8b9ab5;
  line-height: 1.6;
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 28px;
  font-size: 0.82rem;
  color: #484f58;
  border-top: 1px solid #21262d;
}
