#header {
    background-image: url('images/head.jpg'),url('images/bg.jpg');
    background-repeat: no-repeat, repeat;
    background-position: center;
    height: 450px;
    width: 100%;
    position: relative;
    z-index: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Noto+Sans+Runic&family=Alumni+Sans+Pinstripe&display=swap');

body {
    background-image: url('images/bg1.jpg');
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #DFCDCF;
}

#navigation {
    width: 100%;
    margin-top: 0;
    padding: 50px 0;
    background: linear-gradient(145deg, #050508, #1b1f3b);
    border: none;
    border-radius: 0;
    font-family: 'Lora', serif;
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
}

#navigation a {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff8b6a, #c7c9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    position: relative;
    padding: 9px 18px;
    transition: all 0.3s ease-in-out;
}

#navigation a::before,
#navigation a::after {
    content: "✦";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(199, 201, 255, 0.4);
    margin: 0 4px;
    transition: all 0.3s ease;
}

#navigation a:hover::before,
#navigation a:hover::after {
    color: #ffffff;
    transform: scale(1.2);
}


#content {
    margin-top: 80px;
    padding-bottom: 10px;
    position: relative;
    width: 70%;    opacity: 0.7;
    margin-left: auto;
    margin-right: auto;
    background: rgba(10, 11, 20, 0.6);
    box-shadow: 0 0 40px rgba(40, 45, 120, 0.25);
}

.contentx {
    text-align: justify;
    margin-bottom: 60px;
    font-size: 19px;
    line-height: 1.75;
    letter-spacing: 1.1px;
    color: #d6d7ee;
    margin-top: 20px;
    padding: 0 40px;
}

#content::before,
#content::after {
    font-family: 'Cinzel Decorative', serif;
    color: rgba(199, 201, 255, 0.2);
    font-size: 16px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 2em;
}

#content::before {
    left: 10px;
    top: 20px;
    bottom: 20px;
    content: "✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦";
    white-space: pre-line;
}

#content::after {
    right: 10px;
    top: 20px;
    bottom: 20px;
    content: "✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦";
    white-space: pre-line;
}

h1 {
    position: relative;
    display: inline-block;

  font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    font-size: 28px;
    letter-spacing: 3px;

    background: linear-gradient(
        120deg,
        #e1e3ff 0%,
        #b9bcff 35%,
        #ff9c78 65%,
        #c7c9ff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.15),
        0 2px 2px rgba(40,45,120,0.35),
        0 6px 14px rgba(20,22,50,0.55),
        0 12px 30px rgba(10,12,30,0.65);

    padding: 22px 34px;
    z-index: 1;
}

h1::before {
    content: "";
    position: absolute;
    inset: -22px -36px;
    z-index: -1;

    background:
        radial-gradient(circle at 30% 40%, rgba(140,150,255,0.35), transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255,155,120,0.28), transparent 65%),
        radial-gradient(circle at 50% 50%, rgba(50,60,130,0.5), transparent 72%);

    filter: blur(26px);
    opacity: 0.8;
    border-radius: 58% 42% 63% 37% / 52% 60% 40% 48%;
}


h1::after {
    content: "";
    position: absolute;
    inset: -45px -65px;
    z-index: -2;

    background: radial-gradient(
        circle,
        rgba(8,10,25,0.8),
        transparent 70%
    );

    filter: blur(45px);
    opacity: 0.6;
    border-radius: 65%;
}



a {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 19px;
    background: linear-gradient(90deg, #c7c9ff, #ff8b6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff8b6a, #c7c9ff);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

blockquote {
    position: relative;
    max-width: 900px;
    margin: 70px auto;
    padding: 48px 64px;

    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 22px;
    line-height: 1.9;
    letter-spacing: 0.8px;

    color: rgba(214, 216, 245, 0.9);

    background:
        linear-gradient(
            180deg,
            rgba(25, 28, 55, 0.65),
            rgba(10, 12, 30, 0.75)
        );

    border-left: 4px solid rgba(199, 201, 255, 0.45);
    border-radius: 6px;

    box-shadow:
        inset 0 0 0 1px rgba(199, 201, 255, 0.06),
        0 12px 35px rgba(10, 12, 35, 0.65);

    backdrop-filter: blur(6px);
}


blockquote::before {
    content: "";
    position: absolute;
    inset: -20px -30px;
    z-index: -1;

    background:
        radial-gradient(circle at 20% 40%, rgba(120,130,255,0.25), transparent 65%),
        radial-gradient(circle at 80% 60%, rgba(255,155,120,0.18), transparent 70%),
        radial-gradient(circle at 50% 50%, rgba(40,50,110,0.45), transparent 75%);

    filter: blur(30px);
    opacity: 0.7;
    border-radius: 60% 40% 65% 35% / 55% 60% 40% 45%;
}

/* faint dusk glyph */
blockquote::after {
    content: "❝";
    position: absolute;
    top: -22px;
    left: 22px;

    font-family: 'Cinzel Decorative', serif;
    font-size: 64px;
    color: rgba(199, 201, 255, 0.18);

    text-shadow: 0 0 18px rgba(120,130,255,0.35);
}

b, strong {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    color: #ff8b6a;
}

i, em {
    font-family: 'Cinzel Decorative', serif;
    font-style: italic;
    color: #c7c9ff;
}


textarea,
input,
select {
    width: 40%;
    max-width: 500px;
    padding: 14px 18px;
    margin: 16px 0;
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #d6d7ee;
    background: rgba(20, 22, 40, 0.7);
    border: 1.5px solid rgba(199, 201, 255, 0.35);
    border-radius: 6px;
    box-shadow: inset 0 1px 6px rgba(40, 45, 120, 0.25);
    caret-color: #ff8b6a;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #c7c9ff;
    background-color: rgba(25, 28, 55, 0.85);
}


#footer {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #b8b9d9;
    text-align: center;
    padding: 60px 25px 40px;
    margin-top: 80px;
}

#footer::before {
    content: "❖ ✦ ❖ ✶ ❖ ✦ ❖";
    font-family: 'Cinzel Decorative', serif;
    font-size: 20px;
    color: rgba(199, 201, 255, 0.25);
    display: block;
    margin-bottom: 20px;
    letter-spacing: 8px;
}

#footer a,
#footer a:link,
#footer a:visited {
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.2px;

    background: linear-gradient(
        120deg,
        rgba(170,175,235,0.85),
        rgba(120,125,200,0.75),
        rgba(255,160,120,0.7)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-decoration: none;
    position: relative;

    opacity: 0.75;
    transition:
        opacity 0.3s ease,
        filter 0.3s ease,
        text-shadow 0.3s ease;
}


#footer a::before,
#footer a::after {
    content: none !important;
}

#footer a:hover {
    opacity: 1;
    filter: brightness(1.15);
    text-shadow:
        0 0 6px rgba(120,130,255,0.35),
        0 0 12px rgba(255,160,120,0.25);
}



#footer::after {
    content: "✶ ✦ ❖ ✶ ✦ ❖";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(199, 201, 255, 0.2);
    font-size: 18px;
    letter-spacing: 10px;
    display: block;
    margin-top: 20px;
}


#footer a + a::before {
    content: "·";
    margin: 0 12px;
    color: rgba(160,165,220,0.35);
}
