
@font-face {
  font-family: 'title';
  src: url('https://luffy444.neocities.org/dashboard%202/fonts/title.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}




body {
  background-image: url('https://luffy444.neocities.org/dashboard%202/bloodlines/vampires/vladimirovich/images/pages/88.png');
  background-size: cover;
  background-position: center;
}


body {
    cursor: url("https://luffy444.neocities.org/Images/cross-cursor.png") 16 16, auto;
}



.book-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.book {
  display: flex;
  width: 1200px;
  height: 750px;
  background-image: url('images/pages/10.png');
  background-size: contain;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}


.book-wrapper {
    position: relative;

    /* Soft white outer glow */
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.15),
        0 0 80px rgba(255, 255, 255, 0.08);
}


.left-page {
  border-right: 2px solid #000;
}

.right-page {
  border-left: 2px solid #000;
}


h1, h2 {
  margin: 20px 0;
}


/* Center the button on the screen */
.gothic-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Takes up full screen height to center vertically */
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none; /* Allows clicks to pass through wrapper */
}

.gothic-btn {
    display: inline-block;
    pointer-events: auto; /* Re-enables clicks on the button itself */
    width: 350px;
    height: 90px;
    background: url("images/pages/gothic-button.png") no-repeat center;
    background-size: contain;
    text-align: center;
    line-height: 90px;
    color: #FFFFFF;
    font-family: title, serif;
    letter-spacing: 3px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s ease;
    
    /* Apply the pulse animation */
    animation: darkRedPulse 2s infinite ease-in-out;
}

.gothic-btn:hover {
    transform: scale(1.1); /* Slightly larger on hover */
    animation-play-state: paused; /* Optional: stops pulsing when hovering */
}

/* The Dark Red Pulse Animation */
@keyframes darkRedPulse {
    0% {
        filter: drop-shadow(0 0 5px rgba(139, 0, 0, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(139, 0, 0, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(139, 0, 0, 0.4));
    }
}


/* Book wrapper for thickness */
.book {
    position: relative;
    width: 1200px;
    height: 750px;
    margin: auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    
}

/* LEFT page thickness */
.book::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 10px;
    width: 18px;
    height: 740px;

    background: linear-gradient(
        to left,
        #680000 0%,
        #190101 40%,
        #680000 100%
    );

    box-shadow:
        inset -3px 0 6px rgba(0,0,0,0.2),
        -5px 10px 15px rgba(0,0,0,0.4);

    border-radius: 3px 0 0 3px;
}

/* RIGHT page thickness */
.book::after {
    content: "";
    position: absolute;
    right: -18px;
    top: 10px;
    width: 18px;
    height: 740px;

    background: linear-gradient(
        to left,
        #680000 0%,
        #190101 40%,
        #680000 100%
    );

    box-shadow:
        inset 3px 0 6px rgba(0,0,0,0.2),
        5px 10px 15px rgba(0,0,0,0.4);

    border-radius: 0 3px 3px 0;
}

.book-wrapper {
    position: relative;
    width: 1200px;
    height: 750px;
    margin: auto;
}

.book {
    width: 100%;
    height: 100%;
}



.page {
    width: 50%;
    height: 100%; /* Ensure it fills the book height */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: contain; /* Use 'contain' to see the whole design, or 'cover' to fill edge-to-edge */
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a; /* Fallback color */
}

/* Individual Page Images */
#page-1 {
    background-image: url("images/pages/1.png"); 
}

#page-2 {
    background-image: url("images/pages/2.png");
}

#page-3 {
    background-image: url("images/pages/3.png");
}

#page-4 {
    background-image: url("images/pages/4.png");
}

#page-5 {
    background-image: url("images/pages/5.png");
}
#page-6 {
    background-image: url("images/pages/6.png");
}



.page-content {
    display: none; 
}

#darkness {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: 100; 
    background: rgba(0,0,0,0.97);
}

#toggleCandle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 101;
    padding: 8px 15px; 
    font-size: 14px;   
    min-width: auto;   
    border-radius: 15px;
    background: #000000; 
    color: #3A0000;
    border: 1px solid #3A0000;
    font-family: 'title', serif;
    cursor: pointer;
    transition: 0.3s;
}

#toggleCandle:hover {
    background: #000000;
    color: #ffffff;
    border-color: #3A0000; 
    box-shadow: 0 0 20px rgba(255, 225, 225, 0.4);
    transform: translateY(-2px);
}

#candle {
    position: fixed;
    pointer-events: none;
    z-index: 102; 
    display: none;
}

#snow-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* Place above background, below text */
    pointer-events: none; /* Allows you to click links through the petals */
    
    /* THE MAGIC: This removes the black background */
    mix-blend-mode: screen; 
    filter: brightness(60%) saturate(80%);
}
    z-index: 100000;
}