* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url('../images/map_view.png') no-repeat center center fixed;
  background-size: cover;
}

/* NAVIGATION */
nav {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #ffd86b;
}

/* PAGE CONTAINER */
.page {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  backdrop-filter: blur(4px);
}

h1 {
  margin-bottom: 20px;
  font-size: 2.4rem;
  color: #17ed04;
}

h3 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #17ed04;
}
h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #cb6ce6;
}
p {
  font-size: 20px;
  line-height: 1.6;
  color: #ffffff;
}

/* STATIC BOOK GRID */
.book-grid {
  margin-top: 30px;
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.book-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.book-card img {
  width: 30%;
  border-radius: 10px;
  margin-bottom: 15px;
}
.card{
   margin-top: 30px;
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.book-card h3 {
  color: #ffd86b;
  margin-bottom: 10px;
}

.book-card p {
  color: #eee;
  font-size: 20px;
}

/* Character Cards */

.char-card-grid{
  display: flex;
  flex-wrap: wrap; /* Allows items to move to a new line */
  gap: 10px;       /* Adds space between items */
}

.card{
  /* Use calc to account for gaps if you want exactly 2 per row */
  flex: 0 1 calc(50% - 10px); 
  background-color: lightblue;
}

.card img {
  width: 100%;

}

/* BUY BUTTON */
.buy-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #ffd86b;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.25s ease;
}

.buy-btn:hover {
  background: #ffea9c;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* VIEW BUTTON */
.view-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #ff914d;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.25s ease;
}

.view-btn:hover {
  background: #ffbd59;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}


