* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    display: flex;
    background-color: #1e1e2f;
    color: #f0f0f0;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background-color: #121223;
    padding: 1.5rem 1rem;
    overflow-y: auto;
  }
  
  .sidebar-menu {
    list-style: none;
    padding: 0;
  }
  
  i {
    transition: all 0.1s;
  }
  
  i:hover {
    color: #121223;
  }
  
  .sidebar-menu li {
    margin: 1rem 0;
    padding: 1rem;
    color: #4da6ff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
  }
  
  .sidebar-menu li:hover {
    background-color: #1e1e2f;
    border-radius: 15px;
    transform: translateY(-5px);
  }
  
  .submenu {
    list-style: none;
    padding-left: 1rem;
    display: none;
    margin-top: 0.5rem;
  }
  
  .submenu li {
    padding: 0.5rem 1rem;
    background-color: #161627;
    margin: 0.3rem 0;
    border-radius: 8px;
    font-size: 1rem;
  }
  
  .sidebar-menu .submenu {
    display: none;
    opacity: 0;
    transition: opacity 0.9s ease;
  }
  
  .sidebar-menu .has-submenu:hover .submenu {
    display: block;
    opacity: 1;
  }
  
  .submenu li:hover {
    background-color: #22223a;
  }
  
  .has-submenu.active .submenu {
    display: block;
  }
  
  .content {
    margin-left: 220px;
    width: calc(100% - 220px);
    padding: 20px;
  }
  
  .book-hero {
    position: relative;
    height: 600px;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }
  
  .book-wallpaper {
    width: 100%;
    height: 100%;
    background-image: url('Playmat-_0002_Mistborn.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px;
  }
  
  .book-cover {
    flex: 0 0 auto;
    margin-right: 40px;
  }
  
  .book-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  
  .book-card {
    flex: 0 0 auto;
    width: 200px;
    background-color: #1a1a2b;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .book-card:hover {
    transform: translateY(-10px);
  }
  
  .book-cover img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  }
  
  .book-info {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    background-color: rgba(30, 30, 47, 0.8);
    padding: 30px;
    border-radius: 12px;
    max-width: 40%;
    color: #d0d0d0;
  }
  
  .book-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ffffff;
  }
  
  .book-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #d0d0d0;
  }
  
  .book-details {
    background-color: #2a2a3b;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .stat {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
  }
  
  .stat i {
    font-size: 1.5rem;
    color: #4da6ff;
  }
  
  .stat-text {
    display: flex;
    flex-direction: column;
  }
  
  .add-to-cart {
    background: linear-gradient(to right, #4da5ff, #77c9ff);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(77, 165, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .add-to-cart:hover {
    background: linear-gradient(to right, #3d94e6, #66b8f7);
    box-shadow: 0 6px 20px rgba(77, 165, 255, 0.6);
    transform: translateY(-2px);
  }
  
  .add-to-cart i {
    font-size: 18px;
    margin-right: 8px;
    vertical-align: middle;
  }
  
  #typewriter::after {
    content: '|';
    animation: blink 1s infinite;
    color: #ffffff;
    font-weight: bold;
  }
  
  @keyframes blink {
    0%, 50%, 100% {
      opacity: 1;
    }
    25%, 75% {
      opacity: 0;
    }
  }
  
  .rating-bar {
    margin: 1.5rem;;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    
  }
  
  .rating-bar label {
    flex: 0 0 150px;
    color: #ddd;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
  }
  
  .rating-bar input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
  }
  
  .bar-bg {
    flex-grow: 1;
    background-color: #2c2c3e;
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
    position: relative;
  }
  
  .bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #4da5ff, #77c9ff);
    border-radius: 10px 0 0 10px;
    transition: width 1s ease;
  }
  
  .percent-text {
    min-width: 40px;
    text-align: right;
    color: #a0d9ff;
    font-weight: 600;
  }
  
  .submit-feedback {
    margin-top: 15px;
    background: linear-gradient(to right, #4da5ff, #77c9ff);
    border: none;
    color: #fff;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .submit-feedback:hover {
    background: linear-gradient(to right, #3d94e6, #66b8f7);
  }
  .footer-section {
    background-color: #22223a;
    color: #ccc;
    padding: 2rem;
    font-family: sans-serif;
    border-radius: 20px;
    margin: 1.2rem;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .footer-left,
  .footer-right {
    flex: 1;
    min-width: 250px;
    margin: 1rem;
  }
  
  .footer-left h3,
  .footer-right h3 {
    color: #fff;
    margin-bottom: 1rem;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
  
  .contact-item i {
    margin-right: 0.5rem;
    color: #4da6ff;
    font-size: 1.2rem;
  }
  
  .footer-right p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.4rem 0;
  }
  .bi{
    transition: all.2s;
  }
  .bi:hover{
color: white;
  }
  