.legal-content {
    position: relative;
    padding: 80px 20px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-color);
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-top: 100px;
    z-index: 2;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Diamond decorations */
.diamond1 {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 4rem;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.diamond2 {
    position: absolute;
    top: 30%;
    right: 5%;
    width: 3rem;
    opacity: 0.6;
    animation: float-reverse 8s ease-in-out infinite;
    z-index: 1;
}

.diamond3 {
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 4rem;
    opacity: 0.5;
    animation: float-reverse 7s ease-in-out infinite;
    z-index: 1;
}

.diamond4 {
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 4rem;
    opacity: 0.6;
    animation: float 9s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes float-reverse {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
        padding-top: 80px; 
    }

    .content {
        padding: 15px;
    }

    .diamond1, .diamond2, .diamond3, .diamond4 {
        width: 70px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        padding-top: 60px;
    }

    .content {
        padding: 15px;
        width: 90%;
    }

    .diamond1, .diamond2, .diamond3, .diamond4 {
        width: 60px;
    }

    .content h2 {
        font-size: 1.5rem; 
    }

    .content p, .content li {
        font-size: 1rem; 
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.6rem;
        padding-top: 40px;
    }

    .content {
        padding: 10px;
        width: 95%;
    }

    .diamond1, .diamond2, .diamond3, .diamond4 {
        width: 50px;
    }

    .content h2 {
        font-size: 1.3rem; 
    }

    .content p, .content li {
        font-size: 0.9rem; 
    }
}

