/* The colors of your site.
   Change one here and it changes everywhere it is used. */
:root {
  --page: #441234;
  --paper: #c3e4fe;
  --ink: #441234;
  --accent: #cc127c;
  --line: #537453;
}

.banner {
  display: block;
  width: 100%;
  height: auto;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 48px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #441234, #cc127c, #537453, #441234);
background-size: 300% 300%;
animation: drift 16s ease infinite;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
}

/* the card in the middle of the page */
.card {
  width: 100%;
  max-width: 880px;
  background: var(--paper);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transition: opacity 0.6s, transform 0.6s;
}

/* script.js puts this word on the card for a moment, so it can fade in */
.card.waiting {
  opacity: 0;
  transform: translateY(8px);
}

/* three pictures across the top */
.photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
}

.photo {
  aspect-ratio: 11 / 10;
  overflow: hidden;
  background: var(--line);
}

/* an empty frame gets stripes, so you can see where a picture goes */
.photo:empty {
  background: repeating-linear-gradient(45deg, var(--line), var(--line) 8px, transparent 8px, transparent 16px);
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* your words */
.words {
  padding: 56px 76px 40px;
}

.kicker {
  margin: 0 0 26px;
  min-height: 1.4em;
  font-family: "Space Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 30px;
  min-height: 1.05em;
  font-weight: 400;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.05;
}

.about {
  margin: 0;
  min-height: 3.7em;
  font-size: 17px;
  line-height: 1.85;
}

.about a {
  color: var(--accent);
}

/* your links and your button */
.foot {
  margin: 0 6px;
  padding: 28px 70px 34px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  font-family: "Space Mono", monospace;
  font-size: 16px;
}

.links a {
  padding: 0 22px;
  border-left: 1px solid var(--line);
  color: var(--accent);
  text-underline-offset: 3px;
}

.links a:first-child {
  padding-left: 0;
  border-left: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--paper);
  font-family: "Space Mono", monospace;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

/* a button with no words on it stays hidden */
.button:empty {
  display: none;
}

/* on a phone, everything gets a little closer together */
@media (max-width: 640px) {
  .words { padding: 36px 24px 28px; }
  .foot { padding: 22px 24px 26px; }
  .photos { gap: 4px; padding: 4px; }
}
/* the age popup covers the whole page until she says yes */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(68, 18, 52, 0.96);
}

.age-gate.hidden {
  display: none;
}

.age-box {
  max-width: 420px;
  padding: 32px;
  border-radius: 6px;
  background: var(--paper);
  text-align: center;
}
@keyframes drift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.floaters {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.floater {
  position: absolute;
  bottom: -40px;
  animation: floatUp linear forwards;
}

@keyframes floatUp {
  from { transform: translateY(0); opacity: 0.9; }
  to   { transform: translateY(-110vh); opacity: 0; }
}
