:root {
  --brown: #4d2d18;
  --cream: #fbf7f2;
  --gold: #c49a4a;
  --line: rgba(77, 45, 24, 0.13);
  --font: "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream);
  font-family: var(--font);
}

.invite-shell {
  min-height: 100vh;
}

.invite-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
}

.invite-loading img {
  width: 64px;
  border-radius: 16px;
}

.cover {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(20, 12, 8, 0.35), rgba(20, 12, 8, 0.62)),
    var(--image),
    linear-gradient(135deg, #dec4ad, #fff7ef);
  background-position: center;
  background-size: cover;
}

.cover-card,
.section-card {
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
}

.cover-card span,
.eyebrow {
  color: #9b715a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 16px 0;
  font-size: clamp(3rem, 12vw, 5.8rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(2rem, 8vw, 3.3rem);
  line-height: 1.05;
}

.cover-card p,
.section-card p {
  color: rgba(77, 45, 24, 0.72);
  line-height: 1.8;
}

.open-btn,
.map-btn,
.music-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--brown);
  box-shadow: 0 16px 34px rgba(77, 45, 24, 0.2);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

.content {
  display: grid;
  gap: 24px;
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 42px 0;
}

.section-card {
  width: 100%;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.detail-grid {
  display: grid;
  gap: 14px;
}

.detail-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.detail-item strong,
.detail-item span {
  display: block;
}

.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
}

.music-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  width: 52px;
  height: 52px;
  padding: 0;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}
