body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body,
.legal-wrapper *:not(i):not(.bi) {
    font-family: 'Kumbh Sans', sans-serif !important;
}

.legal-title,
.scrollable-content h3,
strong {
    font-weight: 700 !important;
}

.legal-subtitle,
.scrollable-content p,
.btn-return,
.lead {
    font-weight: 400 !important;
}

.legal-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2444 0%, #050c18 100%);
    z-index: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.legal-wrapper {
    position: relative;
    z-index: 10;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.legal-hero {
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    animation: fadeInDown 1s ease-out;
}

.legal-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(to right, #ffffff, #aab7c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-subtitle {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 10px;
    letter-spacing: 1px;
}

.glass-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    height: 50vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.scrollable-content {
    padding: 50px;
    overflow-y: auto;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    text-align: justify;
}

.scrollable-content::-webkit-scrollbar {
    width: 6px;
}

.scrollable-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
}

.scrollable-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.scrollable-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.4);
}

.scrollable-content h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 30px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.scrollable-content h3 i {
    color: #5e81ac;
}

.scrollable-content p {
    margin-bottom: 20px;
}

.scrollable-content strong {
    color: #fff;
}

.btn-return-wrapper {
    margin-top: 30px;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

.btn-return {
    display: inline-block;
    padding: 12px 35px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-return:hover {
    background: #ffffff;
    color: #0f2444;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

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

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

@media (max-width: 768px) {
    .legal-title { font-size: 1.8rem; }
    .glass-container { height: 60vh; width: 95%; }
    .scrollable-content { padding: 25px; }
}