body.poetry-The_World {
    background: linear-gradient(
        to bottom,
        #5a1e5c 0%,   /* насыщенный пурпур */
        #4a1a4b 30%,
        #3a133b 65%,
        #2a0c2f 100%
    );
    position: relative;
    padding-top: 70px;
}

body.poetry-The_World::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(220, 160, 255, 0.18), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.06), transparent 35%);
    z-index: -1;
}

body.poetry-The_World .poem {
    background: linear-gradient(
        to bottom,
        #3f1542,
        #2a0c2f
    );
    border: 1px solid rgba(200, 120, 255, 0.3);

    color: #E6E6FA;
}

body.poetry-The_World h1 {
    color: #e7c4fe;

    display: block;
    width: fit-content;
    margin: 20px auto;

    padding: 8px 16px;
    border-radius: 12px;

    background: rgba(20, 5, 25, 0.5);
    backdrop-filter: blur(6px);

    border: 1px solid rgba(200, 120, 255, 0.35);

    box-shadow:
        0 6px 20px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.05);

    text-shadow:
        0 0 10px rgba(200,120,255,0.25);
}

body.poetry-The_World .poem h2 {
    color: #e6c8ff;
}

body.poetry-The_World .fav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    font-size: 20px;
    line-height: 1;

    color: #dcd6ff; /* светлый лилово‑голубой */
    background: rgba(70, 40, 110, 0.28); /* фиолетовая дымка */
    border: 1px solid rgba(150, 120, 200, 0.35); /* мягкая фиолетовая линия */

    border-radius: 50%;
    text-decoration: none;

    backdrop-filter: blur(4px);
    transition: 0.25s ease;
}

body.poetry-The_World .fav-btn:hover {
    color: #ece8ff;
    background: rgba(90, 60, 140, 0.38);
    border-color: rgba(170, 140, 220, 0.55);
    transform: scale(1.08);
}

body.poetry-The_World .fav-btn.active,
body.poetry-The_World .fav-btn.favorited {
    color: #f4f2ff;
    background: rgba(120, 80, 180, 0.45);
    border-color: rgba(190, 160, 240, 0.65);
    transform: scale(1.15);
}

body.poetry-The_World .fav-btn:active {
    transform: scale(0.92);
}

body.poetry-The_World .poem-tags a,
body.poetry-The_World .poem-tags span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;

    font-size: 0.92rem;
    color: #dcd6ff; /* светлый лилово‑голубой */
    background: rgba(70, 40, 110, 0.28); /* фиолетовая дымка */
    border: 1px solid rgba(150, 120, 200, 0.35);

    border-radius: 999px;
    text-decoration: none;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: all 0.22s ease;
    margin-right: 6px;
    margin-bottom: 6px;
}

body.poetry-The_World .poem-tags a:hover,
body.poetry-The_World .poem-tags span:hover {
    color: #ece8ff;
    background: rgba(90, 60, 140, 0.38);
    border-color: rgba(170, 140, 220, 0.55);
    box-shadow: 0 0 14px rgba(180, 160, 255, 0.35);
}

body.poetry-The_World .poem-tags .active {
    color: #f4f2ff;
    background: rgba(120, 80, 180, 0.45);
    border-color: rgba(190, 160, 240, 0.65);
}

@media (max-width: 768px) {
    .logo,
    .poetry-search {
        display: none !important;
    }
    header {
        padding: 12px;
        height: auto;
    }
    header nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    nav a {
        margin: 0;
        font-size: 14px;
    }
}
