/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0f172a;
  color: #e5e7eb;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Header */
header {
  background: rgba(2, 6, 23, 0.95);
  padding: 26px 18px;
  text-align: center;
  border-bottom: 1px solid rgba(59, 130, 246, 0.35);
}

header h1 {
  margin-bottom: 6px;
}

nav {
  margin-top: 10px;
}

nav a {
  color: #60a5fa;
  margin: 0 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: 8px 10px;
  border-radius: 10px;
}

nav a:hover {
  background: rgba(59, 130, 246, 0.18);
  color: #fff;
}

/* Main layout */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 18px;
}

/* Generic post card */
.post,
.story {
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin-bottom: 18px;
}

.meta {
  color: #9ca3af;
  font-size: 0.95em;
  margin-bottom: 14px;
}

/* Buttons */
a.button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(96, 165, 250, 0.6);
  color: #e5e7eb;
  text-decoration: none;
}

a.button:hover {
  background: rgba(59, 130, 246, 0.18);
}

/* Story typography */
.story {
  max-width: 760px;
  margin: 0 auto 18px auto;
}

.story h1 {
  line-height: 1.2;
  margin-bottom: 10px;
}

.story h2 {
  margin-top: 18px;
  margin-bottom: 8px;
}

.story p {
  margin: 14px 0;
  font-size: 1.06rem;
  line-height: 1.85;
}

.story .lede {
  font-size: 1.12rem;
  color: #f3f4f6;
}

.story hr {
  border: 0;
  height: 1px;
  background: rgba(148, 163, 184, 0.25);
  margin: 22px 0;
}

.sign {
  text-align: center;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 18px;
  border-radius: 12px;
  border: 1px dashed rgba(96, 165, 250, 0.6);
  background: rgba(15, 23, 42, 0.6);
  margin: 20px 0;
}

/* ---------- Characters Page ---------- */

.search {
  width: 100%;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #e5e7eb;
  outline: none;
}

.search::placeholder {
  color: rgba(229, 231, 235, 0.55);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.char-card {
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.char-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(15, 23, 42, 0.55);
  color: #e5e7eb;
}

.quote {
  margin-top: 12px;
  padding: 12px;
  border-left: 4px solid rgba(96, 165, 250, 0.7);
  background: rgba(15, 23, 42, 0.55);
  border-radius: 10px;
  color: #f3f4f6;
  font-style: italic;
}

/* Character images */
.avatar {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin: 10px 0 12px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Profile header image (full profile pages) */
.profile-hero {
  width: 100%;
  height: 420px;              /* adjust if you want taller/shorter */
  object-fit: contain;        /* SHOW ENTIRE IMAGE */
  background: rgba(2, 6, 23, 0.9);
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin: 12px 0 16px 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

.radio-player {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.95);
  margin-top: 40px;
  font-size: 0.9em;
  color: #9ca3af;
}
