@import url("https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@200;300;400;600&display=swap");


/* -------------------------------------------------------
   RESET
------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Serif Pro", serif;
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: #2a2a2a;

  background-image: url("bg.png");
  background-size: cover;
  background-attachment: fixed;
  background-repeat: repeat;
  background-color: #fdfdfd;
}

header {
  padding-top: 20px;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* -------------------------------------------------------
   LAYOUT WRAPPER
------------------------------------------------------- */
.welcome {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.section-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 40px 0;
}

.page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-top: 40px;
  margin-bottom: 20px;
}

/* -------------------------------------------------------
   HEADER
------------------------------------------------------- */
.site-header-image { max-width: 220px; }

header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.site-title {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 2.4rem;
}

.site-subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: 8px;
}

/* -------------------------------------------------------
   NAVIGATION — FIXED
------------------------------------------------------- */
nav {
  margin-top: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
}

nav li {
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #2a2a2a;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

nav a:hover {
  background-color: #ffffff !important;
  color: var(--class-color) !important;
  box-shadow: 0 0 8px var(--class-color);
}



/* -------------------------------------------------------
   CHARACTER DIRECTORY
------------------------------------------------------- */
.character-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.character-entry {
  display: block;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.character-entry:hover {
  background: #f9fafb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.character-name {
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.character-desc {
  font-size: 1rem;
  color: #4b5563;
}

/* -------------------------------------------------------
   JOURNAL ENTRY — APPLE NOTES STYLE
------------------------------------------------------- */
.entry-block {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  position: relative;
  padding: 0;
}

.entry-header {
  padding: 16px 20px 12px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(to right, rgba(0,0,0,0.03), rgba(255,255,255,0));
}

.entry-date {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 4px;
}

.entry-title {
  font-weight: 600;
  font-size: 1.25rem;
  color: #1f2937;
}

.entry-text {
  padding: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a3a3a;
  white-space: pre-line;
}

/* -------------------------------------------------------
   CLASS COLORS — BOTTOM ACCENT (MoP)
------------------------------------------------------- */

/* MAGE */
.class-mage .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(105,204,240,0.45), rgba(255,255,255,0));
}

/* PRIEST */
.class-priest .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(223,227,230,0.45), rgba(255,255,255,0));
}

/* DRUID */
.class-druid .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(255,125,10,0.45), rgba(255,255,255,0));
}

/* WARLOCK */
.class-warlock .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(148,130,201,0.45), rgba(255,255,255,0));
}

/* WARRIOR */
.class-warrior .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(199,156,110,0.45), rgba(255,255,255,0));
}

/* MONK */
.class-monk .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(0,255,150,0.45), rgba(255,255,255,0));
}

/* ROGUE */
.class-rogue .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(255,245,105,0.45), rgba(255,255,255,0));
}

/* PALADIN */
.class-paladin .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(245,140,186,0.45), rgba(255,255,255,0));
}

/* SHAMAN */
.class-shaman .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(0,112,222,0.45), rgba(255,255,255,0));
}

/* DEATH KNIGHT */
.class-dk .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(196,31,59,0.45), rgba(255,255,255,0));
}

/* HUNTER */
.class-hunter .entry-block::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to top, rgba(171,212,115,0.45), rgba(255,255,255,0));
}

/* -------------------------------------------------------
   CLASS-COLORED NAV HOVER EFFECTS
------------------------------------------------------- */

/* MAGE */
.class-mage nav a:hover {
  background: rgba(105,204,240,0.25);
  border-color: rgba(105,204,240,0.6);
}

/* PRIEST */
.class-priest nav a:hover {
  background: rgba(223,227,230,0.25);
  border-color: rgba(223,227,230,0.6);
}

/* DRUID */
.class-druid nav a:hover {
  background: rgba(255,125,10,0.25);
  border-color: rgba(255,125,10,0.6);
}

/* WARLOCK */
.class-warlock nav a:hover {
  background: rgba(148,130,201,0.25);
  border-color: rgba(148,130,201,0.6);
}

/* WARRIOR */
.class-warrior nav a:hover {
  background: rgba(199,156,110,0.25);
  border-color: rgba(199,156,110,0.6);
}

/* MONK */
.class-monk nav a:hover {
  background: rgba(0,255,150,0.25);
  border-color: rgba(0,255,150,0.6);
}

/* ROGUE */
.class-rogue nav a:hover {
  background: rgba(255,245,105,0.25);
  border-color: rgba(255,245,105,0.6);
}

/* PALADIN */
.class-paladin nav a:hover {
  background: rgba(245,140,186,0.25);
  border-color: rgba(245,140,186,0.6);
}

/* SHAMAN */
.class-shaman nav a:hover {
  background: rgba(0,112,222,0.25);
  border-color: rgba(0,112,222,0.6);
}

/* DEATH KNIGHT */
.class-dk nav a:hover {
  background: rgba(196,31,59,0.25);
  border-color: rgba(196,31,59,0.6);
}

/* HUNTER */
.class-hunter nav a:hover {
  background: rgba(171,212,115,0.25);
  border-color: rgba(171,212,115,0.6);
}

/* -------------------------------------------------------
   CLASS-COLORED NAV SHADOW ON HOVER
------------------------------------------------------- */

/* MAGE */
.class-mage nav a:hover {
  box-shadow: 0 0 12px rgba(105,204,240,0.55);
}

/* PRIEST */
.class-priest nav a:hover {
  box-shadow: 0 0 12px rgba(223,227,230,0.55);
}

/* DRUID */
.class-druid nav a:hover {
  box-shadow: 0 0 12px rgba(255,125,10,0.55);
}

/* WARLOCK */
.class-warlock nav a:hover {
  box-shadow: 0 0 12px rgba(148,130,201,0.55);
}

/* WARRIOR */
.class-warrior nav a:hover {
  box-shadow: 0 0 12px rgba(199,156,110,0.55);
}

/* MONK */
.class-monk nav a:hover {
  box-shadow: 0 0 12px rgba(0,255,150,0.55);
}

/* ROGUE */
.class-rogue nav a:hover {
  box-shadow: 0 0 12px rgba(255,245,105,0.55);
}

/* PALADIN */
.class-paladin nav a:hover {
  box-shadow: 0 0 12px rgba(245,140,186,0.55);
}

/* SHAMAN */
.class-shaman nav a:hover {
  box-shadow: 0 0 12px rgba(0,112,222,0.55);
}

/* DEATH KNIGHT */
.class-dk nav a:hover {
  box-shadow: 0 0 12px rgba(196,31,59,0.55);
}

/* HUNTER */
.class-hunter nav a:hover {
  box-shadow: 0 0 12px rgba(171,212,115,0.55);
}

/* -------------------------------------------------------
   ACTIVE PAGE TINT — CLASS COLORED
------------------------------------------------------- */

nav a.active {
  font-weight: 600;
}

/* MAGE */
.class-mage nav a.active {
  background: rgba(105,204,240,0.35);
  border-color: rgba(105,204,240,0.8);
  color: #0b3b4f;
}

/* PRIEST */
.class-priest nav a.active {
  background: rgba(223,227,230,0.35);
  border-color: rgba(223,227,230,0.8);
  color: #3a3a3a;
}

/* DRUID */
.class-druid nav a.active {
  background: rgba(255,125,10,0.35);
  border-color: rgba(255,125,10,0.8);
  color: #4a2a00;
}

/* WARLOCK */
.class-warlock nav a.active {
  background: rgba(148,130,201,0.35);
  border-color: rgba(148,130,201,0.8);
  color: #2d1f4a;
}

/* WARRIOR */
.class-warrior nav a.active {
  background: rgba(199,156,110,0.35);
  border-color: rgba(199,156,110,0.8);
  color: #4a3725;
}

/* MONK */
.class-monk nav a.active {
  background: rgba(0,255,150,0.35);
  border-color: rgba(0,255,150,0.8);
  color: #004d2b;
}

/* ROGUE */
.class-rogue nav a.active {
  background: rgba(255,245,105,0.35);
  border-color: rgba(255,245,105,0.8);
  color: #4a4600;
}

/* PALADIN */
.class-paladin nav a.active {
  background: rgba(245,140,186,0.35);
  border-color: rgba(245,140,186,0.8);
  color: #4a1f36;
}

/* SHAMAN */
.class-shaman nav a.active {
  background: rgba(0,112,222,0.35);
  border-color: rgba(0,112,222,0.8);
  color: #002a4a;
}

/* DEATH KNIGHT */
.class-dk nav a.active {
  background: rgba(196,31,59,0.35);
  border-color: rgba(196,31,59,0.8);
  color: #4a0a12;
}

/* HUNTER */
.class-hunter nav a.active {
  background: rgba(171,212,115,0.35);
  border-color: rgba(171,212,115,0.8);
  color: #2f4a1f;
}

nav a {
  background-color: #ffffff !important;
  color: #333 !important;
}
