:root {
  --card-bg: rgba(60, 60, 60, 0.85);
  --text-color: #ffffff;
  --primary: #000;
  --accent: yellow;
  --bg-title: rgba(209, 0, 0, 0.9);
  --text-title: #fff;
  --muted: #555;
  --maxw: 1190px;
  --radius: 12px;
  --heading-font: "Playfair Display", serif;
  --body-font: "Poppins", sans-serif;
  --nav-height: 60px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  /* Prevent horizontal scrolling */
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text-color);
  background: #f0f3f8;
  background-size: cover;
  line-height: 1.6;
  position: relative;
}

/* --- Header Styling --- */
header.site-header {
  text-align: center;
  color: var(--text-color);
  margin-top: 18px;
  margin-bottom: 6px;
}

header.site-header h1 {
  font-family: var(--heading-font);
  font-size: 80px;
  margin: 0;
  color: var(--primary);
}

header.site-header .lead {
  margin: 8px 0 14px;
  font-size: 1.1rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 18px;
  padding: 10px;
}

header.site-header a.wiki {
  display: inline-block;
  text-decoration: none;
  background: #0913c8;
  color: var(--text-title);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}

header.site-header a.link {
  display: inline-block;
  text-decoration: none;
  background: var(--bg-title);
  color: var(--text-title);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
}

header.site-header a.link:hover {
  background: var(--accent);
  color: #000;
}

header.site-header a.wiki:hover {
  background: var(--accent);
  color: #000;
}

a {
	color: var(--accent);
	/* Change text color */
	text-decoration: underline;
	/* Remove underline */
	font-weight: bold;
	/* Make the text bold */
}

/* --- Global Layout --- */
.wrap {
  width: 92%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(28px + var(--nav-height)) 0 80px;
  position: relative;
  z-index: 2;
}


@media (max-width: 768px) {
  header.site-header a.wiki,
  header.site-header a.link {
    display: block; /* Make them block-level elements */
    margin-bottom: 15px; /* Add vertical spacing between them */
  }

header.site-header h1 {
  font-size: 60px;
}

}

@media (max-width: 400px) {
header.site-header h1 {
  font-size: 45px;
}

}
