@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Prata&display=swap');

.terms-page {
    position: relative;
    font-family: "Manrope", "Poppins", sans-serif;
}

.terms-page::before {
    content: "";
    position: fixed;
    top: 0;
    right: -11vw;
    width: 60vw;
    height: 100vh;
    background-image: url("../img/LoDi-Open.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
    animation: terms-logo-float 22s ease-in-out infinite;
}

@keyframes terms-logo-float {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-16px, 12px, 0) rotate(-4deg);
    }
}

.terms-page .wrapper {
    position: relative;
    z-index: 1;
}

.terms-page .site-header .site-header-inner {
    width: min(1280px, calc(100vw - 34px));
    padding-right: 24px;
    padding-left: 24px;
}

.terms-main {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 126px;
    padding-bottom: 70px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.terms-card {
    width: min(980px, 100%);
    padding: 34px 36px;
    border-radius: 26px;
    border: 1px solid rgba(47, 200, 255, 0.35);
    background: linear-gradient(155deg, rgba(8, 17, 40, 0.95) 0%, rgba(10, 26, 58, 0.88) 100%);
    box-shadow: 0 24px 56px rgba(5, 7, 15, 0.45);
}

.terms-label {
    color: rgba(229, 233, 255, 0.78);
    text-transform: uppercase;
    letter-spacing: 1.7px;
    font-size: 12px;
    margin-bottom: 8px;
}

.terms-card h1 {
    font-family: "Prata", serif;
    font-size: clamp(31px, 3.4vw, 45px);
    line-height: 1.15;
    margin-bottom: 14px;
}

.terms-description {
    color: rgba(229, 233, 255, 0.84);
    font-size: 15px;
    line-height: 1.65;
}

.terms-content {
    margin-top: 28px;
    display: grid;
    gap: 20px;
}

.terms-section {
    border: 1px solid rgba(47, 200, 255, 0.24);
    background: rgba(12, 24, 49, 0.72);
    border-radius: 16px;
    padding: 18px 18px 16px;
    transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.terms-section:hover {
    border-color: rgba(47, 200, 255, 0.42);
    background: rgba(12, 24, 49, 0.82);
    box-shadow: 0 16px 34px rgba(3, 9, 25, 0.34);
}

.terms-section h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #f5f7ff;
}

.terms-section ol,
.terms-section ul {
    margin-left: 20px;
    display: grid;
    gap: 8px;
    color: rgba(229, 233, 255, 0.88);
    line-height: 1.58;
    font-size: 15px;
}

.terms-section li::marker {
    color: #88d9ff;
    font-weight: 700;
}

@media (max-width: 992px) {
    .terms-page::before {
        right: -28vw;
        width: 88vw;
        opacity: 0.2;
    }

    .terms-page .site-header .site-header-inner {
        padding-right: 18px;
        padding-left: 18px;
    }
}

@media (max-width: 768px) {
    .terms-page::before {
        right: -44vw;
        width: 108vw;
        opacity: 0.16;
    }

    .terms-main {
        padding-top: 30px;
    }

    .terms-card {
        width: min(980px, 100%);
        padding: 24px 20px;
    }

    .terms-section {
        padding: 14px 14px 12px;
    }

    .terms-section h2 {
        font-size: 18px;
    }

    .terms-section ol,
    .terms-section ul {
        font-size: 14px;
        gap: 7px;
    }
}
