@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Quicksand:wght@400;500;700&display=swap');

:root {
  --color-alice-blue: #6fb7d9;
  --color-alice-blue-dark: #3f8fb8;
  --color-gold: #cf9d2f;
  --color-queen-red: #b23a5b;
  --color-cream: #fbf3e3;
  --color-cream-dark: #efe2c4;
  --color-ink: #2b2320;
  --shadow-soft: 0 10px 30px rgba(43, 35, 32, 0.15);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Quicksand', sans-serif;
  color: var(--color-ink);
  background: radial-gradient(circle at top, #fffaf0 0%, var(--color-cream) 55%, var(--color-cream-dark) 100%);
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, .display-font {
  font-family: 'Cinzel Decorative', serif;
  color: var(--color-alice-blue-dark);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);
}

a {
  color: var(--color-queen-red);
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.25rem 0;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: var(--color-ink);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.nav a:hover, .nav a.active {
  border-color: var(--color-gold);
}

.hero {
  text-align: center;
  padding: 2rem 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.5rem;
}

.hero p.subtitle {
  font-size: 1.15rem;
  color: var(--color-queen-red);
  font-weight: 700;
}

.card {
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem;
  margin: 1.75rem 0;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.countdown .unit {
  background: var(--color-alice-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  min-width: 84px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.countdown .unit strong {
  display: block;
  font-size: 2.1rem;
  font-family: 'Cinzel Decorative', serif;
}

.countdown .unit span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.countdown.finished .unit {
  background: var(--color-queen-red);
}

.btn {
  display: inline-block;
  background: var(--color-queen-red);
  color: #fff;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn.secondary {
  background: var(--color-alice-blue-dark);
}

.btn.gold {
  background: var(--color-gold);
  color: var(--color-ink);
}

.amount-choices {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.amount-choices button {
  border: 2px solid var(--color-alice-blue-dark);
  background: #fff;
  color: var(--color-alice-blue-dark);
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.amount-choices button.selected {
  background: var(--color-alice-blue-dark);
  color: #fff;
}

label {
  display: block;
  margin: 0.9rem 0 0.3rem;
  font-weight: 700;
}

input[type="text"], input[type="number"], textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 2px solid var(--color-cream-dark);
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0;
}

.checkbox-row input {
  width: auto;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tabs button {
  flex: 1;
  padding: 0.8rem;
  border-radius: 12px;
  border: 2px solid var(--color-gold);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.tabs button.active {
  background: var(--color-gold);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.wall-entry {
  border-bottom: 1px dashed var(--color-cream-dark);
  padding: 1rem 0;
}

.wall-entry:last-child {
  border-bottom: none;
}

.wall-entry .name {
  font-weight: 700;
  color: var(--color-queen-red);
}

.wall-entry .date {
  font-size: 0.8rem;
  color: #8a7f6e;
}

.status-msg {
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  margin: 1rem 0;
  font-weight: 700;
}

.status-msg.success {
  background: #e4f5e0;
  color: #2f6b27;
}

.status-msg.error {
  background: #fbe3e3;
  color: #a3312f;
}

.bank-details {
  background: var(--color-cream-dark);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-family: monospace;
  font-size: 0.95rem;
}

footer {
  text-align: center;
  color: #8a7f6e;
  font-size: 0.85rem;
  padding: 2rem 0;
}
