body {
    padding-top: 60px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000'><path d='M 0 200 Q 400 80 800 250 T 2000 200' stroke='rgba(204,0,0,0.25)' stroke-width='2' fill='none'/></svg>"),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000'><path d='M 0 600 Q 500 750 900 600 T 2000 650' stroke='rgba(204,0,0,0.2)' stroke-width='2' fill='none'/></svg>"),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000'><path d='M 0 900 Q 300 1050 700 900 T 2000 950' stroke='rgba(204,0,0,0.28)' stroke-width='2' fill='none'/></svg>"),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000'><path d='M 0 1200 Q 600 1300 1000 1200 T 2000 1250' stroke='rgba(204,0,0,0.22)' stroke-width='2' fill='none'/></svg>"),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000'><path d='M 0 1500 Q 450 1650 900 1500 T 2000 1600' stroke='rgba(204,0,0,0.24)' stroke-width='2' fill='none'/></svg>"),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000'><path d='M 0 400 Q 550 450 900 350 T 2000 400' stroke='rgba(204,0,0,0.18)' stroke-width='2' fill='none'/></svg>"),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='2000' height='2000'><path d='M 0 1000 Q 450 1150 850 1000 T 2000 1050' stroke='rgba(204,0,0,0.3)' stroke-width='2' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-size: cover;
}

.ooo-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.ooo-content h1,
.ooo-content h2 {
    font-family: 'Cinzel', serif;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
}

.ooo-content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    letter-spacing: 6px;
}

.ooo-content h2 {
    font-size: 24px;
    margin-top: 60px;
    margin-bottom: 30px;
    letter-spacing: 4px;
    padding-bottom: 10px;
    position: relative;
}

.ooo-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(135deg, #CC0000 0%, #8B0000 25%, #660000 50%, #8B0000 75%, #CC0000 100%);
    background-size: 200% 200%;
    animation: borderGradientFlow 3s ease-in-out infinite;
}

.ooo-content p {
    text-indent: 40px;
    margin-bottom: 15px;
    color: #D0D0D0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

.accent-number {
    color: #FFFFFF !important;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    font-weight: bold;
    text-decoration: none !important;
    cursor: default;
}

.signature {
    margin-top: 80px;
    padding-top: 20px;
    color: #D0D0D0;
    position: relative;
}

.signature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #CC0000 0%, #8B0000 25%, #660000 50%, #8B0000 75%, #CC0000 100%);
    background-size: 200% 200%;
    animation: borderGradientFlow 3s ease-in-out infinite;
}

.signature div {
    margin-bottom: 15px;
    text-indent: 0;
}

.signature strong {
    color: #CC0000;
    font-size: 1.1em;
    letter-spacing: 1px;
    display: inline-block;
    margin-top: 10px;
}

.ooo-header {
    text-align: right;
    margin-bottom: 50px;
    color: #D0D0D0;
    font-size: 0.9em;
}

.ooo-header p {
    text-indent: 0;
    margin: 5px 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        transition: none !important;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 600px) {
    .ooo-content h1 {
        font-size: 22px;
        letter-spacing: 3px;
    }
    .ooo-content h2 {
        font-size: 18px;
        letter-spacing: 2px;
        margin-top: 40px;
    }
    .ooo-content p {
        text-indent: 20px;
        font-size: 0.95rem;
    }
}
