@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'lain';
  font-style: normal;
  font-weight: 400;
  src: url('../../../assets/fonts/Momot.ttf') format('truetype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-display: swap; 
    font-family: 'profont';
    font-style: normal;
    font-weight: 400;
    src: url('../../../assets/fonts/ProFontWindows.ttf') format('truetype');
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#typed {
  font-family: 'lain';
  color: rgb(0, 0, 0);
}

h1,h2,h3,p,a{
  font-family: 'profont';
  color: white;
}
h1 {
  font-size: 24px;
}

#top-text h1 {
    font-size: 1.4rem;
    margin-bottom: 2px;
    
}

#top-text h2 {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
}

#top-text {
    display: none;
    animation: fadeIn 0.3s ease;
    
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    
}

mark.brown {
    background: radial-gradient(circle, #ffff21, #f746b9, #38ceec, #ff87d1);
    background-size: 200% 200%;
    background-clip: text;
    color: transparent;
    animation: mark-brown 12s linear infinite;
}


.blur-overlay { 
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://w.wallhaven.cc/full/6d/wallhaven-6d17mw.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
    z-index: -1;
}

a {
  z-index: 1;
}


p { 
    
    color: #f00;
    -webkit-filter: invert(100%);
    filter: invert(100%);
}
a {
  color: rgba(255, 0, 0, 0.851);
}

#start-text{
   opacity: 1;                 
  transition: opacity 0.4s ease; 
  background-color: transparent !important;
}

#scope canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -1;          
  pointer-events: none; 
  opacity: 0.8;         
}

.top-content {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
  background-color: transparent !important;
}

#typed {
  font-family: 'profont';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10; 
  color: rgb(255, 255, 255);
  font-size: 1em;
  text-align: center;
}

#volume-holder {
    display: none !important;
  }

#main-section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    margin: 0 auto;
    margin-top: 50px;
}

.book-section {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.8s ease, box-shadow 0.3s ease;
    background: #0a0a0a;
    border: 2px solid #a855f7;
    box-shadow: 
        0 0 20px rgba(168, 85, 247, 0.4),
        inset 0 0 30px rgba(168, 85, 247, 0.1);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
}

.book-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.book-cover {
    display: block;
    width: 200px;
    height: 300px;
    margin: 0 auto;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}



.title-text {
    font-size: 24px;
    color: #c084fc;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 
        -2px 0 #e879f9;
    font-weight: bold;
    letter-spacing: 2px;
    border: 2px solid #a855f7;
    box-shadow: 
        0 0 20px rgba(168, 85, 247, 0.4),
        inset 0 0 30px rgba(168, 85, 247, 0.1);
    height: 12vh;
    display: flex;
    align-items:center;
    justify-content: center;
}

.book-desc {
    display: block;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    margin-top: auto;
}

.review-btn {
    font-family: "profont";
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 999px;
    cursor: pointer;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: all 0.15s ease;
}

.review-btn:hover {
    transform: translateY(-2px) scale(1.03);
}

.review-btn:active {
    transform: translateY(2px);
}


@media (max-width: 768px) {

    body {
        display: flex;
        flex-direction: row;
        
    }

    #main-section {
        gap: 1.5rem;
        padding: 1rem;
        flex-direction: column;
        display: flex;
        justify-content: center;
        margin-top: 150px;
    }
    
    .book-section {
        flex: 1 1 100%;
    }
    
    .book-cover {
        height: 300px;
    }
    
    .title-text {
        font-size: 1.25rem;
    }

}
