* {
    scrollbar-width: thin;              
    scrollbar-color: #ff2a6d #0a0a0a; 
}

::-webkit-scrollbar {
    width: 12px;
    background-color: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#ff2a6d, #2a0015);
    border: 2px solid #ff4da6;
    border-radius: 10px;
    box-shadow: inset 0 0 8px #000, 0 0 6px #ff2a6d;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(#ff4da6, #3a001f);
    border-color: #ff80bf;
}
body {
    margin: 0;
    font-family: 'Lora', serif;
    color: #ffe6f2;
    background: url('images/bg.jpg') repeat;
    background-attachment: relative; overflow-x: hidden;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 0, 128, 0.08) 1px, transparent 1px);
    background-size: 70px 70px;
    animation: mistDrift 140s linear infinite;
    z-index: 1;
    opacity: 0.3;
}

@keyframes mistDrift {
    0% { background-position: 0 0; }
    100% { background-position: 120px 160px; }
}

.main-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin: -250px auto 250px auto;
    padding: 60px;
    max-width: 1300px;
    width: 100%;
    position: relative;
    z-index: 2;
    opacity: 0.95;
}

@media screen and (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        padding: 30px;
        align-items: center;
    }
}

@media screen and (max-width: 600px) {
    .main-container {
        padding: 20px;
    }
}

#navigation::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 42, 109, 0.08), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(255, 128, 191, 0.06), transparent 60%);
    opacity: 0.6;
    pointer-events: none;
    animation: navMistMove 60s linear infinite;
}

@keyframes navMistMove {
    0%   { transform: translate(0px, 0px); }
    50%  { transform: translate(-20px, 15px); }
    100% { transform: translate(0px, 0px); }
}

#navigation {
    display: inline-flex;
    flex-direction: column;
    width: 300px;
    max-width: 100%;
    padding: 44px 48px;
    gap: 6px;
    position: sticky;
    top: -30px;
    align-self: flex-start;
    background: linear-gradient(145deg, rgba(20, 0, 10, 0.55), rgba(0, 0, 0, 0.75));
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 42, 109, 0.25);
    box-shadow: 0 0 30px rgba(255, 42, 109, 0.12), inset 0 0 25px rgba(0,0,0,0.7);
    overflow: hidden;
    height: fit-content;
}

#navigation::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: linear-gradient(120deg, #ff2a6d, #ff80bf, #ff2a6d);
    opacity: 0.25;
    filter: blur(8px);
    z-index: -1;
}

#navigation a {
    position: relative;
    padding: 10px 14px;
    font-size: 13.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255, 182, 215, 0.85);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#navigation a::before {
    content: "✧";
    margin-right: 8px;
    color: #ff4da6;
    opacity: 0.6;
    transition: all 0.3s ease;
}

#navigation a:nth-child(1)::before { content: "🦇"; }
#navigation a:nth-child(2)::before { content: "🕸"; }
#navigation a:nth-child(3)::before { content: "🎃"; }
#navigation a:nth-child(4)::before { content: "🕷"; }
#navigation a:nth-child(5)::before { content: "🌙"; }
#navigation a:nth-child(6)::before { content: "💀"; }

#navigation a::after {
    content: "";
    position: absolute;
    left: 14px;
    bottom: 6px;
    width: 0%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff4da6, transparent);
    opacity: 0.8;
    transition: width 0.4s ease;
}

#navigation a:hover {
    color: #ffffff;
    background: rgba(255, 42, 109, 0.08);
    transform: translateX(6px);
    text-shadow: 0 0 6px #ff4da6, 0 0 12px rgba(255, 42, 109, 0.4);
}

#navigation a:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

#navigation a:hover::after {
    width: calc(100% - 28px);
}

#navigation a.active {
    color: #fff;
    background: rgba(255, 42, 109, 0.12);
    box-shadow: 0 0 12px rgba(255, 42, 109, 0.25);
    text-shadow: 0 0 8px #ff4da6;
}

#navigation a:not(:last-child) {
    border-bottom: 1px solid rgba(255, 42, 109, 0.08);
}

@media screen and (max-width: 1024px) {
    #navigation {
        position: relative;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px;
    }
    #navigation a {
        flex: 1 1 40%;
        text-align: center;
        padding: 10px;
    }
    #navigation a::after {
        left: 20%;
        width: 0;
    }
    #navigation a:hover::after {
        width: 60%;
    }
}

@media screen and (max-width: 600px) {
    #navigation a {
        flex: 1 1 100%;
        font-size: 13px;
    }
}

#content {
    flex: 1;
    max-width: 1100px;
}

.contentx {
    padding: 50px 50px;
    font-size: 18px;
    line-height: 2.2;
    color: #ffe6f2;
    border-radius: 12px;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
    opacity: 0.85;
    position: relative;
    z-index: 2;text-align:justify;
}

.contentx:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.contentx p, .contentx li {
    margin: 1.8em 0;
    color: #ffe6f2;
}

.contentx h2, .contentx h3 {
    margin-top: 2em;
    margin-bottom: 1em;
    letter-spacing: 1px;
}

.contentx a {
    color: #ff4da6;
    text-decoration: underline;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contentx a:hover {
    color: #fff;
    text-shadow: 0 0 3px #ff4da6;
}

.contentx strong, .contentx b {
    color: #fff0f7;
    padding: 2px 4px;
    border-radius: 2px;
}

.contentx em, .contentx i {
    color: #ffd6eb;
    font-style: italic;
}

.contentx input, .contentx textarea, .contentx select {
    background: #14000a;
    color: #ffe6f2;
    border: 1px solid rgba(255, 42, 109, 0.3);
    border-radius: 8px;
    padding: 12px 14px;
    width: 100%;
    font-family: 'Lora', serif;
    font-size: 16px;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.contentx input:focus, .contentx textarea:focus, .contentx select:focus {
    border-color: #ff4da6;
    box-shadow: inset 0 0 6px rgba(255, 42, 109, 0.15);
    outline: none;
}

#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center; 
    height: 782px;
    width: 100%;
}

h1 {
    position: relative;
    margin: 20px auto 20px auto;
    font-size: 38px;
    font-family: 'Cinzel Decorative', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    color: #ffe6f2; 
    background: linear-gradient(120deg, #ff4da6, #ff80bf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 6px rgba(255, 77, 166, 0.4), 0 0 12px rgba(255, 128, 191, 0.2);
    animation: floatText 6s ease-in-out infinite alternate;
}

h1::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    width: 25%;
    height: 2px;
    background: linear-gradient(90deg, #ff4da6, #ff80bf);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

h1:hover::after {
    width: 30%;
}

h1:hover {
    transform: translateY(-1.5px);
}

h1 span {
    margin: 0 10px;
    font-size: 26px;
    color: #ff4da6;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

h1 span:hover {
    transform: scale(1.15);
    opacity: 1;
}

@keyframes floatText {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

blockquote {
    position: relative;
    background: linear-gradient(135deg, #1a0015, #000000); 
    color: #ffe6f2;
    padding: 40px 50px;
    border-radius: 14px;
    margin: 40px auto;
    max-width: 700px;
    line-height: 2;
    font-size: 18px;
    box-shadow: inset 0 0 10px rgba(255, 42, 109, 0.08),
                0 0 20px rgba(255, 42, 109, 0.15);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

blockquote:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 12px rgba(255, 42, 109, 0.12),
                0 0 28px rgba(255, 42, 109, 0.25);
}

blockquote::before,
blockquote::after {
    font-size: 40px;
    position: absolute;
    color: #ff2a6d;
    text-shadow: 1px 1px 2px #000;
}

blockquote::before {
    content: "❝";
    top: 10px;
    left: 20px;
}

blockquote::after {
    content: "❞";
    bottom: 10px;
    right: 20px;
}

blockquote p {
    margin: 0;
}

blockquote footer {
    display: block;
    margin-top: 20px;
    font-size: 15px;
    color: #ff80bf;
    text-align: right;
    font-style: italic;
}


a {
    position: relative;
    color: #ff4da6;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff2a6d, #ff80bf, transparent);
    background-size: 200% 100%;
    opacity: 0.7;
    transform: scaleX(0.6);
    transform-origin: left;
    transition: all 0.4s ease;
}

a::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 6px;
    background: radial-gradient(circle, rgba(255, 42, 109, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px #ff4da6, 0 0 12px #ff2a6d;
}

a:hover::after {
    transform: scaleX(1);
    opacity: 1;
    animation: linkFlow 1.8s linear infinite;
}

a:hover::before {
    opacity: 1;
}

a:active {
    transform: translateY(1px) scale(0.98);
}

@keyframes linkFlow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

footer {
    text-align: center;
    color: #ff4da6;
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px;
    padding: 40px 20px;
    letter-spacing: 1.2px;
    position: relative;
    z-index: 2;
}

footer::before,
footer::after {
    content: "✦✧✦";
    display: block;
    font-size: 24px;
    margin: 0 0 12px 0;
    opacity: 0.5;
    color: #ff80bf;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

footer::after {
    margin: 12px 0 0 0;
}

footer:hover::before,
footer:hover::after {
    transform: scale(1.2) rotate(-5deg);
    opacity: 0.8;
}

footer span {
    color: #ffe6f2;
    text-shadow: 0 0 4px #ff4da6, 0 0 8px rgba(255, 42, 109, 0.2);
}

footer a {
    color: #ff80bf;
    text-decoration: none;
    margin: 0 6px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-shadow: 0 0 6px #ff4da6, 0 0 12px rgba(255, 42, 109, 0.4);
}

@media screen and (max-width: 600px) {
    footer {
        font-size: 14px;
    }

    footer::before,
    footer::after {
        font-size: 18px;
    }
}