body {
  font-family: Arial, sans-serif;
  margin: 40px;
  background: #fafafa;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 4px rgba(0,0,0,0.15);
}

.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination a {
  padding: 8px 14px;
  margin: 0 5px;
  background: #eee;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.pagination a:hover {
  background: #ccc;
}
:root {
  --bg: #f4f4f6;
  --surface: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --accent: #2f2f34;
  --border: #e2e2e6;
}
 
* {
  box-sizing: border-box;
}
 
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}
 
.site-header {
  text-align: center;
  padding: 48px 20px 24px;
}
 
.site-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
 
.site-header .tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
 
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 40px;
}
 
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
 
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
 
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
 
.gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
 
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
 
.pagination a {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease;
}
 
.pagination a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
 
.pagination a.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
 
.site-footer {
  text-align: center;
  padding: 24px 0 40px;
  color: var(--muted);
  font-size: 0.85rem;
}
