.code-scroll {
    background: #2c1810;
    background: linear-gradient(rgba(44, 24, 16, 0.97), rgba(44, 24, 16, 0.97));
    min-height: 100vh;
    position: relative;
    padding: 2rem;
    color: #d4c08d;
}

.parchment {
    background: #d4c08d;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 3rem;
    position: relative;
    color: #2c1810;
    font-family: 'Crimson Text', serif;
    max-width: 800px;
    margin: 0 auto;
}

.parchment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to right, rgba(0,0,0,0.1) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.1) 100%),
        linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.1) 100%);
    border-radius: 8px;
    pointer-events: none;
}

.seal {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 80px;
    height: 80px;
    background: #8B0000;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4c08d;
    font-family: 'Pirata One', cursive;
    font-size: 1.5rem;
    transform: rotate(15deg);
}

.article-title {
    font-family: 'Pirata One', cursive;
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.section-title {
    font-family: 'Crimson Text', serif;
    color: #2c1810;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(139, 0, 0, 0.3);
    padding-bottom: 0.5rem;
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #2c1810;
}

.agreement-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(139, 0, 0, 0.3);
    text-align: center;
}

.custom-checkbox {
    display: inline-block;
    margin-right: 1rem;
}

.signature-btn {
    display: inline-block;
    background: #8B0000;
    color: #d4c08d;
    border: none;
    padding: 0.5rem 2rem;
    border-radius: 4px;
    font-family: 'Crimson Text', serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.signature-btn:hover {
    background: #620000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.old-book {
    background: #d4c08d;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5),
                inset 0 0 50px rgba(0, 0, 0, 0.2);
    padding: 40px;
    position: relative;
    color: #2c1810;
    font-family: 'Crimson Text', serif;
}

.old-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(209, 191, 140, 0.1);
    pointer-events: none;
}

.chapter-title {
    font-family: 'Pirata One', cursive;
    color: #8B4513;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #8B4513;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.candle {
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at center, #FFE97F, transparent 70%);
    animation: flicker 2s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.package-section {
    background: rgba(139, 69, 19, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #8B4513;
}

.instruction-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c1810;
}

.section-header {
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.ink-splash {
    position: absolute;
    background: rgba(44, 24, 16, 0.1);
    border-radius: 50%;
    transform: rotate(45deg);
}

.package-section:hover {
    box-shadow: 0 0 15px rgba(139, 69, 19, 0.2);
    transition: box-shadow 0.3s ease;
}

/* Add Google Fonts link to your layout file:
<link href="https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Pirata+One&display=swap" rel="stylesheet">
*/
