/* Fixed Font Import */
@import url('https://googleapis.com');

body {
    background: radial-gradient(circle at top, #1a0b2e 0%, #050505 100%);
    color: #e0e0e0;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.8;
    margin: 0;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: #ff2975; /* Candied Magenta */
    text-shadow: 0 0 15px rgba(255, 41, 117, 0.4);
    letter-spacing: 3px;
    text-align: center;
}

nav {
    padding: 25px;
    background: rgba(10, 10, 30, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
    text-align: center;
}

nav a {
    color: #4169e1; /* Cobalt Blue */
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    transition: 0.5s ease;
}

nav a:hover {
    color: #ff2975; /* Glows Magenta */
    text-shadow: 0 0 10px #ff2975;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    color: #8a2be2; /* Deep Royal Purple */
    font-size: 4em;
    text-shadow: 2px 2px 20px rgba(65, 105, 225, 0.6);
    margin-bottom: 10px;
}

.subtitle {
    font-family: 'Cinzel', serif;
    color: #4169e1;
    font-size: 1.5em;
}

/* --- THE BOOKS SECTION --- */
.books-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 40px;
    justify-content: center;
}

.book-card {
    background: rgba(20, 20, 40, 0.5);
    border: 1px solid rgba(255, 41, 117, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 30px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.book-card:hover {
    transform: translateY(-15px) scale(1.02);
    border: 1px solid #ff2975;
    box-shadow: 0 0 20px rgba(255, 41, 117, 0.3);
}

.book-card img {
    width: 100%;
    border-radius: 10px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
    margin-bottom: 20px;
}

.cart-btn {
    background: transparent;
    color: #ff2975;
    border: 2px solid #ff2975;
    padding: 10px 25px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
}

.cart-btn:hover {
    background: #ff2975;
    color: white;
    box-shadow: 0 0 15px #ff2975;
}

footer {
    text-align: center;
    padding: 40px;
    font-size: 0.8em;
    color: rgba(138, 43, 226, 0.6);
    letter-spacing: 2px;
}

/* --- THE GLISTEN EFFECT --- */
@keyframes glisten {
    0% { background-position: -200%; }
    100% { background-position: 200%; }
}

.glistening-text {
    background: linear-gradient(90deg, #e0e0e0, #ff2975, #ffffff, #ff2975, #e0e0e0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; 
    animation: glisten 11s linear infinite;
    font-weight: bold;
    display: inline-block;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.product-image {
  height: 200px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.price {
  font-size: 1.4rem;
  color: #00ffcc; /* Cyan Highlight */
  font-weight: bold;
}

.buy-btn {
  background: #ff2975; /* Candied Magenta */
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(255,255,255,0.2);
}

.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px #ff2975;
}
.victory-container {
    text-align: center;
    max-width: 600px;
    margin: 5rem auto;
    padding: 3rem;
    border: 2px solid #00ffcc; /* Cyan glow for success */
}

.crown-icon {
    font-size: 4rem;
    margin: 1rem 0;
    filter: drop-shadow(0 0 10px #ff2975);
}

.status-box {
    background: rgba(0, 255, 204, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    border-left: 4px solid #00ffcc;
}
.cart-link {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px;
  cursor: pointer;
  z-index: 1000;
  border: 1px solid #00ffcc;
  display: flex;
  align-items: center;
  gap: 10px;
}

.count-badge {
  background: #ff2975;
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: bold;
}

.acquire-btn {
  background: transparent;
  border: 1px solid #ff2975;
  color: #ff2975;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.3s;
}

.acquire-btn:hover {
  background: #ff2975;
  color: white;
  box-shadow: 0 0 10px #ff2975;
  content: "Complete Purchase?"; /* A little hover hint */
}
