:root {
  --bg: #071013;
  --brand: #d70913;
  --text: #ededed;
  --muted: #8b949e;
  --accent: #d70913;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Ubuntu", sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Hide initially */
.hidden {
  display: none !important;
}

.content {
  max-width: 680px;
  margin: auto;
  padding: 80px 20px;
}

/* Text styles */
.line {
  margin-bottom: 28px;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.6s ease;
}
.line.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.emphasis {
  color: var(--accent);
  font-weight: 500;
}
.soft {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

/* Image moments */
.moments {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 40px 0;
}
.moments img {
  width: calc(50% - 8px);
  border-radius: 12px;
  object-fit: cover;
}

/* Vows */
.vows p {
  margin-bottom: 20px;
  font-size: 1.15rem;
}

/* Signature */
.signature {
  text-align: right;
  margin-top: 60px;
}
.signature p {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Footer */
.seal {
  text-align: center;
  margin-top: 80px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(7, 16, 19, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  z-index: 1000;
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.home {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.9;
}
.home:hover {
  opacity: 1;
}
.logo {
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.logo:hover {
  opacity: 0.8;
}
.buy-btn {
  background: var(--brand);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  display: inline-block;
  border: 2px solid var(--brand);
}

.buy-btn:hover {
  background: white;
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 9, 19, 0.4);
}

/* Password Gate */
.password-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 10000;
}
.password-gate input {
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--accent);
  color: white;
  border-radius: 8px;
}
.password-gate button {
  padding: 12px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.hint-text {
  font-size: 0.9rem;
  color: var(--muted);
  opacity: 0.7;
  margin-bottom: 8px;
  text-align: center;
  max-width: 300px;
}

/* Hearts */
.hearts span {
  position: fixed;
  top: -10%;
  font-size: 14px;
  color: var(--accent);
  animation: fall linear infinite;
  opacity: 0.6;
}
@keyframes fall {
  to {
    transform: translateY(110vh);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .moments img {
    width: 100%;
  } /* stacked images */
}
