/* Chapter 1 styles */

/* Core layout */
body {
    background-color: white;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

.poetry-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
}

.poem {
    padding: 30px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    height: 1.2em;
    transition: background-color 0.3s ease;
}

h1 span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

h1.highlight {
    background-color: #ffeb3b;
}

.verse {
    margin-bottom: 30px;
    padding: 15px;
}

.verse p {
    margin: 0;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 2s ease-in;
}

.fade-in.visible {
    opacity: 1;
}

.darkness {
    transition: text-shadow 2s ease;
    position: relative;
}

.darkness:hover {
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    color: rgba(0,0,0,0.7);
}

.darkness:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: black;
    animation: censor 0.3s forwards;
}

@keyframes censor {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.blur-text {
    transition: filter 1s ease;
}

.blur-active {
    filter: blur(2px);
}

.question {
    transition: opacity 0.5s ease;
}

.uncertainty {
    transition: opacity 1s ease, transform 0.5s ease;
    display: inline-block;
}

.uncertainty:hover {
    opacity: 0;
    transform: translateX(10px);
}

.cycle {
    transition: opacity 2s ease;
}

.ending {
    transition: letter-spacing 1s ease;
}

.ending:hover {
    letter-spacing: 15px;
} 