section {
    max-width: 62rem;
    margin: 60px auto 80px;
    padding: 36px 44px;
    line-height: 1.65;
    background: linear-gradient(145deg, rgba(8, 8, 12, 0.82), rgba(18, 18, 26, 0.68));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    /* Animation for smooth content loading */
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

section > * {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    margin-bottom: 1.1rem;
}

section h1 {
    text-align: center;
    font-size: clamp(2rem, 2.5vw, 2.55rem);
    letter-spacing: 0.035em;
    font-weight: 650;
    text-transform: none;
    margin-bottom: 1.6rem;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
    animation-delay: 0.2s;
}

section h2 {
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: 0.015em;
    font-weight: 600;
    text-transform: none;
    animation-delay: 0.3s;
}

section p,
section div,
section ul,
section ol {
    color: rgba(232, 232, 236, 0.97);
    font-weight: 480;
    animation-delay: 0.4s;
}

a {
    color: var(--accent-color, #d7a9ff);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: var(--accent-color-strong, #f0c9ff);
}

section ul,
section ol {
    margin-left: 1.4rem;
    padding-left: 0.1rem;
}

section li + li {
    margin-top: 0.5rem;
}

section p + ul,
section p + ol {
    margin-top: -0.4rem;
}

section strong,
section b {
    color: #f6f4ff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    section {
        background: rgba(0, 0, 0, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.4);
        box-shadow: none;
        backdrop-filter: none;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    section,
    section > * {
        animation: none;
        transition: none;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    section {
        margin: 36px 5% 64px;
        padding: 28px 24px;
    }
}

@media (max-width: 520px) {
    section {
        margin: 28px 4% 56px;
        padding: 24px 18px;
    }
}
