/* === JOURNAL DE AKIRA — style carnet papier === */

.journal-hero {
    padding-top: 140px;
    text-align: center;
    background-color: var(--darker);
}

.journal-lead {
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.journal-pages {
    background-color: var(--darker);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    padding: 2rem 5% 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

.journal-page {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #f4ecd8;
    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent 34px,
            rgba(90, 70, 40, 0.12) 35px
        );
    color: #3a2f22;
    padding: 2.5rem 2.5rem 2.5rem 3.5rem;
    border-radius: 2px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.55),
        0 2px 0 rgba(0, 0, 0, 0.1);
    transform: rotate(var(--tilt, 0deg));
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.journal-page:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow:
        0 22px 45px rgba(0, 0, 0, 0.6),
        0 2px 0 rgba(0, 0, 0, 0.1);
}

.journal-page::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2.1rem;
    width: 2px;
    background: rgba(200, 60, 60, 0.35);
}

.journal-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../img/pattern.jpg');
    background-size: 250px;
    opacity: 0.05;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.page-pin {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, var(--primary-light), var(--primary-dark) 70%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.page-pin::after {
    content: '';
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.page-date {
    font-family: 'Kalam', 'Caveat', cursive;
    font-weight: 700;
    font-size: 1rem;
    color: #7a5c33;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.page-title {
    font-family: 'Kalam', 'Caveat', cursive;
    font-size: 2rem;
    color: #2c2114;
    margin-bottom: 1rem;
}

.page-body p {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.page-body p:last-child {
    margin-bottom: 0;
}

.page-highlight {
    font-weight: 700;
    color: var(--primary-dark);
}

@media screen and (max-width: 600px) {
    .journal-page {
        padding: 2rem 1.5rem 2rem 2.5rem;
    }

    .journal-page::before {
        left: 1.3rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .page-body p {
        font-size: 1.2rem;
    }
}
