@import "/css/global.css";

/*Header*/
#header {
    background: url("../images/header-background.webp") no-repeat fixed center;
    min-width: 100%;
    min-height: 350px;
    height: 30vh;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(14, 14, 14, 0.8), rgba(27, 27, 27, 0.6));
    z-index: -1;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0.6;
}

.particle {
    position: absolute;
    background: rgba(240, 199, 94, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.particle-1 {
    width: 50px;
    height: 50px;
    top: 20%;
    left: 10%;
    animation: floatParticle 8s ease-in-out infinite;
}

.particle-2 {
    width: 30px;
    height: 30px;
    top: 30%;
    right: 20%;
    animation: floatParticle 12s ease-in-out infinite 1s;
}

.particle-3 {
    width: 70px;
    height: 70px;
    bottom: 25%;
    left: 15%;
    animation: floatParticle 15s ease-in-out infinite 2s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translate(20px, -10px) rotate(180deg);
        opacity: 0.5;
    }
}

#header .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 80px 150px;
    width: 100%;
    position: relative;
    z-index: 1;
}

#header .content .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#header .content .info .minecraft-server-ip {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

#header .content .info .title {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 42px;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-bottom: 20px;
}

#header .content .info .title span {
    color: var(--main-color);
    text-shadow: 0 0 15px rgba(240, 199, 94, 0.5);
}

#header .content .description {
    color: white;
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    text-align: center;
    line-height: 1.6;
    opacity: 0.8;
}

/* Legal Content */
#legal-content {
    background: linear-gradient(to bottom, rgba(14, 14, 14, 0.3), rgba(27, 27, 27, 0.1));
    position: relative;
}

#legal-content .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 80px;
}

.legal-container {
    background-color: rgba(27, 27, 27, 0.7);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(116, 106, 90, 0.1);
    margin-bottom: 40px;
}

.legal-date {
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(240, 199, 94, 0.2);
}

.legal-date p {
    color: var(--white-color);
    font-size: 16px;
    font-weight: 500;
    opacity: 0.8;
}

.legal-intro {
    margin-bottom: 30px;
}

.legal-intro p {
    color: var(--white-color);
    font-size: 17px;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 30px;
    padding-bottom: 5px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--main-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(240, 199, 94, 0.2);
}

.legal-section h3 {
    color: var(--white-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
}

.legal-content {
    padding-left: 10px;
}

.legal-content p {
    color: var(--description-color);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-content ul, .legal-content ol {
    margin: 15px 0 20px 20px;
}

.legal-content li {
    color: var(--description-color);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--main-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-content a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.legal-disclaimer {
    background-color: rgba(27, 27, 27, 0.5);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.legal-disclaimer p {
    color: var(--description-color);
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive */
@media screen and (max-width: 992px) {
    #header .content {
        padding: 80px 50px;
    }

    #header .content .info .title {
        font-size: 36px;
    }

    .legal-container {
        padding: 30px 25px;
    }
}

@media screen and (max-width: 768px) {
    #header .content {
        padding: 60px 30px;
    }

    #header .content .info .title {
        font-size: 30px;
    }

    #header .content .description {
        font-size: 16px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section h3 {
        font-size: 17px;
    }

    .legal-content p, .legal-content li {
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    #header .content {
        padding: 50px 20px;
    }

    #header .content .info .title {
        font-size: 26px;
    }

    #header .content .description {
        font-size: 14px;
    }

    .legal-container {
        padding: 25px 20px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .legal-content p, .legal-content li {
        font-size: 14px;
    }
}
