/* FREYJA shared theme. Load it AFTER each page's own <style>. */
:root {
  --bg: #0d0709;
  --panel: #1a0d11;
  --panel-hover: #241016;
  --gold: #c6a16b;
  --gold-light: #e5bd87;
  --cream: #f0e2d4;
  --muted: #b3a095;
  --line: #ffffff14;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23c6a16b'%3E%3Cpath d='M50 0 L56 44 L100 50 L56 56 L50 100 L44 56 L0 50 L44 44 Z'/%3E%3Cpath opacity='.75' transform='rotate(45 50 50)' d='M50 24 L54 46 L76 50 L54 54 L50 76 L46 54 L24 50 L46 46 Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Background glow, same as Discover */
body {
  background:
    radial-gradient(ellipse at 85% 0%, #3a1019 0%, transparent 45%),
    radial-gradient(ellipse at 0% 40%, #24101a 0%, transparent 40%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container { flex: 1; width: 100%; }

/* Navigation with the star logo */
nav {
  height: auto;
  min-height: 76px;
  padding: 0 8%;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font: 32px var(--serif);
  letter-spacing: 7px;
  text-decoration: none;
}
.logo::before {
  content: "";
  width: 30px;
  height: 30px;
  background: var(--star) center / contain no-repeat;
}

/* Centred page title with a star above it */
.container > h1 {
  font: 500 clamp(40px, 6vw, 64px)/1.1 var(--serif);
  text-align: center;
}
.container > h1::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  background: var(--star) center / contain no-repeat;
}
.container > .subtitle {
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Wine cards with gold edges */
.chat-card, .card, .auth, .head, .empty {
  background: linear-gradient(160deg, #241016, #14090c);
  border: 1px solid #c6a16b55;
  border-radius: 22px;
  box-shadow: 0 12px 35px #00000040;
}
.chat-card:hover { border-color: var(--gold-light); background: linear-gradient(160deg, #2b1219, #170b0f); }

/* Profile banner joins the header card */
.banner { border-radius: 22px 22px 0 0; border-color: #c6a16b55; }
.head { border-radius: 0 0 22px 22px; box-shadow: 0 12px 35px #00000040; }

/* Footer, same as Discover */
footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 30px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 3px;
}

@media (max-width: 700px) {
  nav { padding: 12px 5%; }
  .logo { font-size: 24px; letter-spacing: 4px; }
  .logo::before { width: 24px; height: 24px; }
}
