/* ============================================================
   LITERARY AWARDS — Books & Memories CSS
   ============================================================ */

/* ---------- Core Styling Tokens ---------- */
:root {
  --gold-primary: #f4d03f;
  --gold-gradient: linear-gradient(135deg, #f4d03f 0%, #ffe993 50%, #d4af37 100%);
  --bg-dark-awards: #0a1220;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-glow: rgba(244, 208, 63, 0.15);
  --border-glow-hover: rgba(244, 208, 63, 0.4);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --font-serif: 'Merriweather', serif;
  --font-sans: 'Inter', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Global Fixes & Cursor ---------- */
body {
  background-color: #0c0b0e;
  background-image: 
    radial-gradient(circle at 18% 12%, rgba(244, 208, 63, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 82% 45%, rgba(244, 208, 63, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(244, 208, 63, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, rgba(12, 11, 14, 0.85) 0%, rgba(16, 14, 18, 0.80) 40%, rgba(14, 12, 16, 0.86) 75%, rgba(10, 9, 12, 0.94) 100%),
    url('../../images/library_hero_ambient.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  margin: 0;
}

.custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, opacity 0.3s ease;
  box-shadow: 0 0 10px var(--gold-primary);
  opacity: 0;
}

.custom-cursor.hover {
  width: 28px;
  height: 28px;
  background: rgba(244, 208, 63, 0.15);
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(244, 208, 63, 0.3);
}

@media (max-width: 768px) {
  .custom-cursor { display: none; }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Section Tag Utility ---------- */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.section-tag.center-tag {
  text-align: center;
  width: 100%;
}

/* ---------- Awards Hero Banner ---------- */
.awards-hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 5% 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 208, 63, 0.15);
}

.awards-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 40%, rgba(244, 208, 63, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ---------- Booker Prize 2026 Spotlight Section ---------- */
.booker-spotlight-section {
  width: 90%;
  max-width: 1200px;
  margin: -40px auto 40px;
  position: relative;
  z-index: 10;
}

.booker-spotlight-card {
  background: 
    radial-gradient(circle at 85% 20%, rgba(244, 208, 63, 0.16) 0%, transparent 60%),
    linear-gradient(135deg, rgba(15, 27, 45, 0.90) 0%, rgba(9, 16, 28, 0.94) 100%),
    url('../../images/library_hero_ambient.jpg') center/cover no-repeat;
  border: 1px solid rgba(244, 208, 63, 0.4);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(244, 208, 63, 0.1);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  background: rgba(244, 208, 63, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(244, 208, 63, 0.25);
  margin-bottom: 1rem;
}

.spotlight-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 12px;
}

.spotlight-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.spotlight-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sp-stat {
  font-size: 0.88rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 18px;
  border-radius: 12px;
}

.sp-stat strong {
  color: var(--gold-primary);
  font-size: 1.05rem;
}

.spotlight-trophy-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 18, 32, 0.8);
  border: 2px solid rgba(244, 208, 63, 0.4);
  padding: 24px 32px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.trophy-icon {
  font-size: 4rem;
  color: var(--gold-primary);
  filter: drop-shadow(0 0 15px rgba(244, 208, 63, 0.5));
  margin-bottom: 8px;
}

.spotlight-trophy-badge span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #e2e8f0;
}

@media (max-width: 768px) {
  .booker-spotlight-card {
    flex-direction: column;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .spotlight-stats {
    justify-content: center;
  }
}

.awards-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.awards-hero-content .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 208, 63, 0.1);
  color: var(--gold-primary);
  padding: 8px 22px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 2rem;
  border: 1px solid rgba(244, 208, 63, 0.3);
  box-shadow: 0 0 20px rgba(244, 208, 63, 0.15);
  width: auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6);
}

.hero-title span {
  background: linear-gradient(135deg, #f4d03f 0%, #ffe993 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(244, 208, 63, 0.25);
}

.hero-sub {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 400;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hero-cta-row .btn {
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cta-row .primary-gold-cta {
  background: linear-gradient(135deg, #f4d03f 0%, #e0bb30 100%) !important;
  color: #0a1220 !important;
  box-shadow: 0 8px 24px rgba(244, 208, 63, 0.3) !important;
  font-weight: 700 !important;
  border: none;
}

.hero-cta-row .primary-gold-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(244, 208, 63, 0.5) !important;
}

.hero-cta-row .secondary-outline-cta {
  border: 1px solid rgba(244, 208, 63, 0.4) !important;
  color: #f4d03f !important;
  background: rgba(244, 208, 63, 0.05) !important;
}

.hero-cta-row .secondary-outline-cta:hover {
  background: rgba(244, 208, 63, 0.15) !important;
  border-color: #f4d03f !important;
  transform: translateY(-2px);
}

/* ---------- Awards Section Layout ---------- */
.awards-section {
  padding: 80px 5% 120px;
  background: transparent;
}

.awards-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 70px;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  border-radius: 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: rgba(244, 208, 63, 0.05);
  border-color: rgba(244, 208, 63, 0.3);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--gold-primary);
  color: #060d17;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

/* ---------- Winner Cards Layout ---------- */
.awards-grid {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.award-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.award-card:hover {
  border-color: var(--border-glow-hover);
  box-shadow: 0 25px 60px rgba(244, 208, 63, 0.08);
  transform: translateY(-5px);
}

/* Laureled Badge Overlay */
.laurel-wreath {
  position: absolute;
  top: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(244, 208, 63, 0.3);
  background: rgba(244, 208, 63, 0.06);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.laurel-wreath i {
  font-size: 1rem;
}

/* Book Cover */
.award-cover {
  width: 160px;
  height: 240px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.6);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.06);
}

.award-card:hover .award-cover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.7);
}

.award-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Details */
.award-content {
  flex-grow: 1;
}

.award-content h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.3rem;
  font-weight: 700;
  line-height: 1.2;
}

.award-author {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.award-verdict {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #ccd6f6;
  line-height: 1.7;
  margin-bottom: 2rem;
  border-left: 2px solid var(--gold-primary);
  padding-left: 1.5rem;
}

.award-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
}

.award-meta-row span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}

.explore-btn i {
  transition: transform 0.3s ease;
}

.explore-btn:hover {
  color: var(--gold-primary);
}

.explore-btn:hover i {
  transform: translateX(5px);
}

/* ---------- Responsive Details ---------- */
@media (max-width: 900px) {
  .award-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
    gap: 2rem;
  }
  .laurel-wreath {
    position: static;
    margin: 0 auto;
    width: fit-content;
  }
  .award-verdict {
    border-left: none;
    padding-left: 0;
  }
  .award-meta-row {
    flex-direction: column;
    gap: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .award-content h3 {
    font-size: 1.8rem;
  }
}

/* ---------- Pagination Styling ---------- */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 5rem;
  flex-wrap: wrap;
}

.pagination-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  border-radius: 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.pagination-btn:hover:not(:disabled) {
  background: rgba(244, 208, 63, 0.05);
  border-color: rgba(244, 208, 63, 0.3);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.page-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.page-num:hover:not(.active):not(.dots) {
  background: rgba(244, 208, 63, 0.05);
  border-color: rgba(244, 208, 63, 0.3);
  color: var(--gold-primary);
}

.page-num.active {
  background: var(--gold-primary);
  color: #060d17;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 15px rgba(244, 208, 63, 0.3);
}

.page-num.dots {
  border-color: transparent;
  background: transparent;
  cursor: default;
}

@media (max-width: 768px) {
  .custom-cursor { display: none !important; }
}

/* ---------- Levitate Animation for Placeholder Covers ---------- */
.award-cover.levitate {
  animation: levitateCover 6s infinite ease-in-out;
}

.award-card:hover .award-cover.levitate {
  animation: none;
}

@keyframes levitateCover {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

.gold-tab-highlight {
  background: rgba(244, 208, 63, 0.15) !important;
  color: #f4d03f !important;
  border-color: rgba(244, 208, 63, 0.4) !important;
  box-shadow: 0 0 15px rgba(244, 208, 63, 0.2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.gold-tab-highlight:hover {
  background: rgba(244, 208, 63, 0.28) !important;
  box-shadow: 0 0 20px rgba(244, 208, 63, 0.4);
}

