/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #b83d3a;
  --red-deep: #8b2e2b;
  --gold: #e0ad07;
  --gold-light: #e8d48b;
  --cream: #fef9f5;
  --cream-warm: #fdf4eb;
  --paper: #fffcf6;
  --ink: #2c2520;
  --ink-muted: #5c524a;
}

body {
  font-family: 'Playfair', serif;
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  /* Paper base with warm tint */
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184, 61, 58, 0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  position: relative;
}

/* Paper grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  position: relative;
  z-index: 2;
}

header {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-deep) 50%, #6b2220 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow:
    0 4px 20px rgba(139, 46, 43, 0.25),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

header h1 {
  font-family: "ZCOOL XiaoWei", serif;
  font-weight: 400;
  font-size: clamp(3rem, 10vw, 5rem);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

header p {
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 36px 0;
}

.detail {
  background: var(--paper);
  padding: 24px 28px;
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 12px rgba(44, 37, 32, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.detail::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.detail:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(44, 37, 32, 0.08);
}

.detail h2 {
  font-family: "ZCOOL XiaoWei", serif;
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--red);
  letter-spacing: 0.05em;
}

.detail p {
  font-size: 1.15rem;
  color: var(--ink-muted);
}

.more-detail {
  background: var(--paper);
  padding: 28px 28px;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  font-size: 1.15rem;
  line-height: 1.7;
  box-shadow: 0 2px 12px rgba(44, 37, 32, 0.06);
  position: relative;
  overflow: hidden;
}

.more-detail::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.more-detail .accent-red {
  color: var(--red);
  font-weight: 600;
}

.gallery {
  text-align: center;
  margin: 16px 0;
  padding: 12px;
}

.gallery .gallery-item {
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(44, 37, 32, 0.12));
  transition: transform 0.3s ease;
}

.gallery .gallery-item:hover {
  transform: scale(1.1);
}

footer {
  text-align: center;
  font-size: 1rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* Responsive Design */
@media (min-width: 600px) {
  .details {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }

  .detail {
    flex: 1;
    margin-bottom: 0;
  }
}