#header {
    background-image: url('images/head.jpg'), url('images/bg.jpg');
    background-repeat: no-repeat, repeat;
    background-position: center;
    height: 554px;
    width: 100%;
    position: relative;
    z-index: 0;
    background-color:#021001;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    background:
        radial-gradient(circle at bottom, rgba(90,120,0,0.35), transparent 55%),
        linear-gradient(180deg, #020300 0%, #050700 40%, #0c1200 70%, #1a2200 100%);
    color: #d6e0b0;overflow-x: hidden;
    animation: flickerSoft 6s infinite;
}

#navigation {
    width: 100%;
    padding: 22px 30px;
    background:
        radial-gradient(circle at top, rgba(180,255,80,0.12), transparent 60%),
        linear-gradient(160deg, #0a1200, #1c2b00);
    box-shadow:
        inset 0 -1px 0 rgba(180,255,80,0.25),
        0 6px 30px rgba(0,40,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    position: relative;
}

#navigation a {
    font-family: 'Cinzel Decorative', serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d8ff6a;
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
}

#navigation a:hover {
    color: #f3ff9e;
    text-shadow: 0 0 6px rgba(200,255,100,0.5);
    opacity: 1;
}

.nav-ornament::before {
    content: "✦ ❖ ✶ ❖ ✦";
    color: rgba(200,255,100,0.4);
}

.music-player {
    background:
        linear-gradient(145deg, rgba(180,255,80,0.15), rgba(0,0,0,0.5));
    box-shadow:
        inset 0 0 0 1px rgba(180,255,80,0.3),
        0 4px 12px rgba(0,0,0,0.8);
}

.music-player audio {
    filter: hue-rotate(60deg) contrast(110%) brightness(85%);
}

#content {
    width: 70%;
    max-width: 1100px;
    margin: 90px auto;
    padding: 0 60px;
}

.contentx {
    font-size: 19px;
    line-height: 1.75;
    letter-spacing: 1px;
    color: #d6e0b0;
    opacity: 0.9;
}

.contentx h1 {
    margin: 50px auto 30px auto;
    padding: 12px 24px;
    font-size: 26px;
    font-family: 'Cinzel Decorative', serif;
    text-align: center;
    max-width: 40%;
    background: linear-gradient(135deg, #1a2b00, #3d5a00);
    color: #cfff47;
    border-radius: 30% 15% 30% 15% / 20% 40% 20% 40%;
    box-shadow:
        0 0 10px rgba(150,255,0,0.25),
        0 4px 14px rgba(50,80,0,0.3);
    text-shadow: 0 0 6px rgba(180,255,0,0.3);
    animation: floatH1 5s ease-in-out infinite, glitchShift 0.2s infinite;
}

a {
    color: #cfff47;
}

a::after {
    background: rgba(200,255,80,0.6);
}

a:hover {
    color: #f0ff9a;
}

blockquote {
    border-left: 3px solid rgba(150,255,0,0.5);
    background: rgba(10,20,0,0.4);
    color: #e6f5c8;
}

blockquote::before,
blockquote::after {
    color: rgba(200,255,100,0.3);
}

b, strong {
    color: #e8ff8a;
}

b::before,
b::after,
strong::before,
strong::after {
    color: rgba(180,255,80,0.35);
}

i, em {
    color: #c0d860;
}

i::after,
em::after {
    color: rgba(180,255,80,0.3);
}

input,
textarea,
select {
    width: 40%;
    padding: 14px 18px;
    font-family: 'Lora', serif;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #eaffc0;
    background:
        linear-gradient(145deg, rgba(20,40,0,0.85), rgba(5,10,0,0.95));
    border: 1px solid rgba(180,255,80,0.25);
    border-radius: 6px;
    box-shadow:
        inset 0 0 8px rgba(0,0,0,0.9),
        inset 0 0 2px rgba(180,255,80,0.2),
        0 0 6px rgba(120,255,0,0.1);
    transition: all 0.25s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border: 1px solid rgba(200,255,100,0.7);
    background:
        linear-gradient(145deg, rgba(30,60,0,0.9), rgba(10,20,0,1));
    box-shadow:
        inset 0 0 10px rgba(0,0,0,1),
        0 0 10px rgba(180,255,80,0.4),
        0 0 20px rgba(120,255,0,0.25);
    color: #f4ffd0;
}

input:hover,
textarea:hover,
select:hover {
    border-color: rgba(180,255,80,0.5);
    box-shadow:
        inset 0 0 6px rgba(0,0,0,0.9),
        0 0 8px rgba(150,255,0,0.2);
}

::placeholder {
    color: rgba(200,255,120,0.35);
    font-style: italic;
    letter-spacing: 1px;
}

input:focus,
textarea:focus {
    animation: inputFlicker 3s infinite;
}

#footer {
    color: #b8cc88;
}

#footer::before {
    color: rgba(180,255,80,0.3);
}

@keyframes inputFlicker {
    0%, 100% { filter: brightness(100%); }
    48% { filter: brightness(90%); }
    50% { filter: brightness(70%); }
    52% { filter: brightness(95%); }
}

@keyframes flickerSoft {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
        filter: brightness(100%);
    }
    20%, 24%, 55% {
        opacity: 0.85;
        filter: brightness(80%);
    }
    21%, 56% {
        opacity: 0.6;
        filter: brightness(60%);
    }
}

@keyframes flickerHarsh {
    0%, 100% { opacity: 1; }
    2% { opacity: 0.3; }
    4% { opacity: 1; }
    6% { opacity: 0.2; }
    8% { opacity: 1; }
    70% { opacity: 1; }
    72% { opacity: 0.4; }
    74% { opacity: 1; }
}

@keyframes glitchShift {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, 0); }
    80% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}


.contentx h2 {
    margin: 40px auto 20px auto;
    padding: 8px 18px;
    font-size: 20px;
    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 2px;
    text-align: center;
    color: #d8ff6a;
    background: linear-gradient(135deg, #0f1a00, #2a3d00);
    border-radius: 20% 10% 20% 10% / 15% 30% 15% 30%;
    box-shadow:
        0 0 8px rgba(150,255,0,0.2),
        inset 0 0 6px rgba(0,0,0,0.6);
    text-shadow: 0 0 5px rgba(180,255,0,0.25);
    opacity: 0.95;
    transition: all 0.3s ease;
    animation: flickerHarsh 4s infinite;
}

.contentx h2:hover {
    color: #f0ff9a;
    box-shadow:
        0 0 12px rgba(180,255,0,0.35),
        inset 0 0 8px rgba(0,0,0,0.8);
    text-shadow:
        0 0 8px rgba(200,255,0,0.4),
        0 0 16px rgba(150,255,0,0.25);
}


#footer {
    margin-top: 120px;
    padding: 60px 20px 40px;
    text-align: center;

    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 2px;

    color: #b8cc88;

    background:
        linear-gradient(180deg, rgba(5,10,0,0) 0%, rgba(10,20,0,0.9) 40%, rgba(5,10,0,1) 100%);

    border-top: 1px solid rgba(180,255,80,0.2);

    box-shadow:
        0 -10px 30px rgba(0,0,0,0.8),
        inset 0 10px 20px rgba(0,0,0,0.6);

    position: relative;
}

#footer::before {
    content: "✦ ❖ ✶ ❖ ✦ ❖ ✶ ❖ ✦";
    display: block;
    margin-bottom: 20px;
    letter-spacing: 8px;
    color: rgba(180,255,80,0.3);
}

#footer::after {
    content: "";
    display: block;
    margin: 25px auto 0;
    width: 60%;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(180,255,80,0.4),
        transparent
    );
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    margin: 0 10px;
    color: #cfff47;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f0ff9a;
    text-shadow: 0 0 6px rgba(180,255,0,0.4);
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: rgba(180,255,80,0.6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-links a:hover::after {
    transform: scaleX(1);
}

.footer-small {
    margin-top: 20px;
    font-size: 11px;
    opacity: 0.6;
}