/* ==== Colors ==== */
:root {
  --gold: #d4af37;
  --gold-dark: #b8972e;
  --black: #0f0f0f;
  --dark-2: #1a1a1a;
  --gray: #bbbbbb;
  --light: #2a2a2a;
}

/* ==== Reset & Base ==== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Georgia', serif;
  line-height: 1.7;
  color: #e0e0e0;
  background: var(--black);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }

/* ==== Navbar ==== */
.navbar {
  background: rgba(15, 15, 15, 0.98);
  padding: 1.2rem 0;
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.navbar .container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  position: relative;
}
.logo {
  font-size: 2rem; font-weight: 900; color: var(--gold);
  display: flex; align-items: center; gap: 0.6rem;
}
.logo i { color: var(--gold); font-size: 1.8rem; }
.nav-links {
  display: flex; gap: 2.2rem; list-style: none; align-items: center;
}
.nav-links a {
  font-weight: 600; text-transform: uppercase; font-size: 0.95rem;
  letter-spacing: 1.2px; color: #ccc; position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0;
  height: 2px; background: var(--gold); transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ==== Badge ==== */
.badge {
  background: var(--gold); color: #000; font-size: .7rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; margin-left: .5rem;
}

/* ==== Hero ==== */
.page-hero {
  position: relative; height: 60vh;
  background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url('../assets/book-hero.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.page-hero h1 { font-size: 4.5rem; margin-bottom: 1rem; animation: fadeInUp 1s ease; }
.page-hero p { font-size: 1.5rem; animation: fadeInUp 1s ease 0.3s both; }

/* ==== Updates Section ==== */
.updates-section { padding: 5rem 0; }
.updates-list { 
  display: grid; 
  gap: 1.5rem; 
  max-width: 900px; 
  margin: 0 auto; 
  grid-template-columns: 1fr; /* Single column for readability */
}
.update-card {
  background: var(--dark-2); 
  border: 1px solid var(--gray); 
  border-radius: 12px; 
  padding: 1.5rem; 
  position: relative; 
  transition: .3s;
  border-left: 5px solid var(--gold);
}
.update-card:hover { 
  border-color: var(--gold); 
  transform: translateY(-2px); 
  box-shadow: 0 5px 15px rgba(212,175,55,.1); 
}
.update-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  margin-bottom: .8rem; 
}
.update-title { 
  font-size: 1.25rem; 
  font-weight: 600; 
  color: var(--gold); 
  margin: 0; 
}
.update-type {
  font-size: .8rem; 
  padding: .3rem .7rem; 
  border-radius: 50px; 
  font-weight: 600; 
  text-transform: capitalize;
}
.type-promotion { background: #166534; color: #86efac; }
.type-unavailable { background: #7f1d1d; color: #fca5a5; }
.type-price-update { background: #7c2d12; color: #fdba74; }
.type-info { background: #1e3a8a; color: #93c5fd; }
.update-date {
  font-size: .85rem; color: #888; margin-top: .4rem; 
}
.update-message { 
  margin-top: 1rem; line-height: 1.7; color: #ddd; font-size: 1rem; 
}

/* ==== Footer ==== */
.footer { 
  background: var(--dark-2); color: #ccc; padding: 4rem 0 2rem; 
  border-top: 1px solid #333; 
}
.footer-grid { 
  display: grid; gap: 2.5rem; margin-bottom: 2rem; 
}
.footer-col h3, .footer-col h4 { 
  color: var(--gold); margin-bottom: 1.2rem; font-size: 1.4rem; 
}
.footer-col p, .footer-col ul li { 
  margin-bottom: .8rem; font-size: .95rem; 
}
.footer-col ul { list-style: none; }
.footer-col ul a { transition: color .3s; }
.footer-col ul a:hover { color: var(--gold); }
.social { display: flex; gap: 1.2rem; font-size: 1.5rem; }
.social a { color: #ccc; transition: all .3s; }
.social a:hover { color: var(--gold); transform: translateY(-4px); }
.footer-bottom { 
  text-align: center; padding-top: 2rem; border-top: 1px solid #333; 
  font-size: .9rem; color: #888; 
}

/* ==== Animations ==== */
@keyframes fadeInUp { 
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== Responsive ==== */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { 
    position: absolute; top: 100%; left: 0; right: 0; 
    background: rgba(15,15,15,.98); flex-direction: column; 
    gap: 0; max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav-links.open { max-height: 500px; padding: 1rem 0; }
  .page-hero h1 { font-size: 2.8rem; }
  .page-hero p { font-size: 1.2rem; }
  .updates-list { padding: 0 1rem; }
}
@media (min-width: 901px) { 
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

/* Auto Year */
#year { color: var(--gold); }