/* Holiday Nerd Market — shared brand styles */
:root {
  --color-festive-red: #c20005;
  --color-snow-white: #f9f9f9;
  --color-dark-red: #99000b;
  --color-coal-grey: #282828;
  --color-forest-green: #0f7a52;
  --color-gaam-teal: #00C2BD;
  --color-mint: #79f8c4;
  --color-bg-warm: #faf8f5;
  --color-text-muted: #6e6e6a;
  --color-border-light: rgba(40, 40, 40, 0.08);

  --font-logo: 'Fredoka', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-hand: 'Architects Daughter', cursive;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-premium: 0 12px 30px rgba(40, 40, 40, 0.05);
  --shadow-hover: 0 20px 45px rgba(40, 40, 40, 0.1);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.25);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Postcard: 6in x 4in (3:2) */
  --card-ratio: 3 / 2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-warm);
  color: var(--color-coal-grey);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-warm); }
::-webkit-scrollbar-thumb { background: rgba(194, 0, 5, 0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-forest-green); }

/* ---------- top bar ---------- */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-light);
}

.top-bar .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.top-bar .brand-icon {
  width: 32px; height: 32px;
  background: var(--color-festive-red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-snow-white);
  font-family: var(--font-logo);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(194, 0, 5, 0.25);
}

.top-bar .brand h1 {
  font-family: var(--font-logo);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-coal-grey);
  letter-spacing: -0.3px;
}

.top-bar nav { display: flex; gap: 10px; }

.pill-btn {
  font-family: var(--font-logo);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  background: rgba(40, 40, 40, 0.06);
  color: var(--color-coal-grey);
}

.pill-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.pill-btn.red { background: var(--color-festive-red); color: var(--color-snow-white); box-shadow: 0 4px 12px rgba(194, 0, 5, 0.25); }
.pill-btn.green { background: var(--color-forest-green); color: var(--color-snow-white); box-shadow: 0 4px 12px rgba(15, 122, 82, 0.25); }
.pill-btn.big { font-size: 1.05rem; padding: 14px 32px; }

/* ---------- postcard faces ---------- */
.postcard-front {
  width: 100%; height: 100%;
  background: var(--color-snow-white);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.postcard-front img {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  display: block;
}

.postcard-back {
  width: 100%; height: 100%;
  background: #fffdf8;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
