/* Base */
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0a0a0a 0%, #000 100%);
  color: #eee;
  font-family: 'EB Garamond', serif;
  overflow-x: hidden;
}

/* Veil overlay (faint mist / drapery feel) */
.veil {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  pointer-events: none;
  z-index: 1;
}

/* Star layer */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 40px, white, transparent),
    radial-gradient(1px 1px at 300px 120px, #ccc, transparent),
    radial-gradient(1px 1px at 600px 200px, #999, transparent),
    radial-gradient(2px 2px at 800px 500px, #ddd, transparent),
    radial-gradient(1px 1px at 1200px 700px, #bbb, transparent);
  background-repeat: repeat;
  background-size: 1200px 800px;
  opacity: 0.3;
  animation: twinkle 20s linear infinite;
  z-index: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

/* Page frame */
.page-frame {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 80px auto;
  padding: 40px;
  background: rgba(10, 10, 10, 0.9);
  border: 12px double #333;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(255, 0, 80, 0.2);
}

/* Ornaments */
.page-frame::before,
.page-frame::after {
  content: "✶";
  position: absolute;
  font-size: 48px;
  color: crimson;
}
.page-frame::before {
  top: -25px;
  left: -25px;
}
.page-frame::after {
  bottom: -25px;
  right: -25px;
}

/* Header */
header h1 {
  font-family: 'UnifrakturCook', cursive;
  font-size: 3em;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 6px crimson, 0 0 20px black;
}
.subtitle {
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
  color: #ccc;
  font-size: 1.2em;
  margin-top: -10px;
}

/* Painting */
.painting-section {
  text-align: center;
  margin: 30px 0;
}
.painting-section img {
  max-width: 100%;
  border: 2px solid #444;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}
.painting-caption {
  font-size: 0.9em;
  color: #aaa;
  margin-top: 5px;
  font-style: italic;
}

/* Intro text */
.intro {
  text-align: center;
  font-style: italic;
  font-size: 1.2em;
  color: #ccc;
  margin: 40px 0;
  line-height: 1.6;
}

/* Menu cards */
.menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.menu-card {
  background: rgba(30, 30, 30, 0.8);
  border: 1px solid crimson;
  border-radius: 10px;
  width: 220px;
  text-align: center;
  padding: 20px;
  text-decoration: none;
  color: #eee;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.1);
}
.menu-card:hover {
  background: crimson;
  color: black;
  box-shadow: 0 0 15px crimson;
}
.menu-card h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4em;
  margin-bottom: 5px;
}
.menu-card p {
  font-size: 0.95em;
  color: #ccc;
}

/* Footer */
footer {
  margin-top: 50px;
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
  color: #777;
}

/* Game Gallery Layout */
.game-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

/* Game Cards — Ornate & Glowing */
.game-card {
  width: 270px;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #3a0a0a;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 0, 50, 0.1);
}

.game-card::before {
  content: "✶";
  position: absolute;
  top: -18px;
  left: -18px;
  color: crimson;
  font-size: 40px;
  opacity: 0.7;
}
.game-card::after {
  content: "✶";
  position: absolute;
  bottom: -18px;
  right: -18px;
  color: crimson;
  font-size: 40px;
  opacity: 0.7;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: crimson;
  box-shadow: 0 0 25px crimson;
}

/* Circular Game Icon */
.game-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #555;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}
.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}
.game-card:hover .game-icon img {
  filter: grayscale(0%) brightness(1.2);
}

/* Titles and Descriptions */
.game-card h3 {
  font-family: 'Cinzel Decorative', serif;
  color: #eee;
  font-size: 1.3em;
  margin-bottom: 8px;
}
.game-card p {
  color: #bbb;
  font-size: 0.95em;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Play Button */
.play-button {
  display: inline-block;
  font-family: 'Cinzel Decorative', serif;
  background: linear-gradient(to bottom, crimson, #700a0a);
  color: black;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 10px;
  border: 1px solid crimson;
  transition: all 0.3s ease;
  text-shadow: none;
}
.play-button:hover {
  background: black;
  color: crimson;
  border: 1px solid crimson;
  box-shadow: 0 0 15px crimson;
}

/* Hero adjustments for darker tone */
.hero img {
  filter: grayscale(60%) brightness(0.8);
}

/* UPDATES PAGE — Gothic Bulletin Layout */
.updates-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 50px;
  padding: 0 20px;
}

/* Update Notes */
.update-note {
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #3a0a0a;
  border-radius: 10px;
  padding: 25px;
  position: relative;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.update-note::before {
  content: "✴";
  position: absolute;
  top: -15px;
  left: -15px;
  color: crimson;
  font-size: 30px;
  opacity: 0.7;
}
.update-note::after {
  content: "✴";
  position: absolute;
  bottom: -15px;
  right: -15px;
  color: crimson;
  font-size: 30px;
  opacity: 0.7;
}

.update-note:hover {
  transform: scale(1.03);
  border-color: crimson;
  box-shadow: 0 0 20px crimson;
}

.update-note h2 {
  font-family: 'Cinzel Decorative', serif;
  color: #eee;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.update-note p {
  color: #bbb;
  font-family: 'EB Garamond', serif;
  font-size: 0.95em;
  line-height: 1.5;
}

/* Decorative Image Section */
.update-image {
  margin-top: 60px;
  text-align: center;
}

.update-image img {
  width: 90%;
  max-width: 800px;
  border: 2px solid #3a0a0a;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
  filter: grayscale(60%) brightness(0.8);
  transition: all 0.4s ease;
}

.update-image img:hover {
  filter: grayscale(30%) brightness(1);
  box-shadow: 0 0 40px crimson;
}

.update-image .painting-caption {
  color: #999;
  font-family: 'EB Garamond', serif;
  font-size: 0.9em;
  margin-top: 10px;
  font-style: italic;
}


/* BLOG PAGE — Gothic Book Layout */
.book-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin-top: 50px;
}

/* Each “page” of the book */
.book-page {
  width: 80%;
  max-width: 800px;
  background: rgba(15, 15, 15, 0.9);
  border: 1px solid #2d0c0c;
  padding: 40px 60px;
  border-radius: 15px;
  box-shadow:
    inset 0 0 60px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 0, 0, 0.8);
  position: relative;
  font-family: 'EB Garamond', serif;
  line-height: 1.6;
  transition: all 0.4s ease;
}

.book-page::before,
.book-page::after {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  width: 20px;
  background: linear-gradient(to right, rgba(255,255,255,0.05), transparent);
  z-index: -1;
}

.book-page::before { left: 0; }
.book-page::after { right: 0; }

.book-page:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px crimson;
}

/* Headers and text styling */
.book-page h2 {
  font-family: 'Cinzel Decorative', serif;
  color: #eee;
  font-size: 1.3em;
  margin-bottom: 15px;
  border-bottom: 1px solid #3a0a0a;
  padding-bottom: 5px;
}

.book-page p {
  color: #ccc;
  margin-bottom: 10px;
  font-size: 1em;
}

.book-page .entry-notes {
  color: #888;
  font-style: italic;
  font-size: 0.9em;
  margin-top: 10px;
  border-top: 1px solid #2d0c0c;
  padding-top: 10px;
}

/* Image section */
.book-image {
  margin-top: 70px;
  text-align: center;
}

.book-image img {
  width: 90%;
  max-width: 800px;
  border: 2px solid #3a0a0a;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
  filter: grayscale(60%) brightness(0.8);
  transition: all 0.4s ease;
}

.book-image img:hover {
  filter: grayscale(30%) brightness(1);
  box-shadow: 0 0 40px crimson;
}

/* Gothic Blog Buttons */
.book-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1em;
  color: #eaeaea;
  background: rgba(40, 0, 0, 0.7);
  border: 1px solid crimson;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.book-button:hover {
  background: crimson;
  color: #fff;
  box-shadow: 0 0 15px crimson, inset 0 0 15px #000;
  transform: scale(1.05);
}

.book-button:active {
  transform: scale(0.98);
  box-shadow: 0 0 8px crimson;
}

/* GAME INTRO PAGE */
.intro-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-top: 50px;
}

.intro-text {
  max-width: 600px;
  color: #ccc;
  font-family: 'EB Garamond', serif;
  line-height: 1.6;
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid #3a0a0a;
  border-radius: 15px;
  padding: 30px 40px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

.intro-text h2, .intro-text h3 {
  font-family: 'Cinzel Decorative', serif;
  color: #eee;
  margin-bottom: 10px;
  border-bottom: 1px solid #3a0a0a;
  padding-bottom: 5px;
}

.intro-text ul {
  margin-top: 10px;
  list-style: none;
  padding-left: 0;
}

.intro-text li {
  margin: 8px 0;
  color: #bbb;
}

.intro-image {
  text-align: center;
  max-width: 400px;
}

.intro-image img {
  width: 100%;
  border: 2px solid #3a0a0a;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
  filter: grayscale(60%) brightness(0.85);
  transition: all 0.4s ease;
}

.intro-image img:hover {
  filter: grayscale(30%) brightness(1);
  box-shadow: 0 0 40px crimson;
}

.play-section {
  text-align: center;
  margin-top: 70px;
}

.warning-text {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  color: #aaa;
  margin-bottom: 20px;
}

.play-button {
  display: inline-block;
  background: rgba(50,0,0,0.8);
  border: 1px solid crimson;
  padding: 15px 40px;
  font-family: 'Cinzel Decorative', serif;
  color: #eee;
  text-decoration: none;
  font-size: 1.1em;
  border-radius: 10px;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

.play-button:hover {
  background: crimson;
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 30px crimson, inset 0 0 10px #000;
}

.play-button:active {
  transform: scale(0.97);
  box-shadow: 0 0 15px crimson;
}

