.terms-main {
    max-width: 1050px;
    margin: 60px auto;
    padding: 40px 30px;
    background: linear-gradient(180deg, #eaf3ff 0% 100%);
    border-radius: 26px;
    box-shadow: 0 12px 28px rgba(0, 40, 110, 0.12);
    font-family: 'Fredoka', Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.75;
    position: relative;
    overflow: hidden;
}

.terms-main::before,
.terms-main::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
}

.terms-main::before {
    width: 220px;
    height: 220px;
    top: -60px;
    right: -60px;
    background: rgba(60, 110, 255, 0.18);
}

.terms-main::after {
    width: 260px;
    height: 260px;
    bottom: -70px;
    left: -70px;
    background: rgba(255, 80, 170, 0.15);
}

.terms-main__title {
    font-size: 52px;
    font-weight: 900;
    text-align: center;
    display: block;
    position: relative;
    z-index: 5;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #0047b8, #002a6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 3px 9px rgba(0, 0, 0, 0.15);
}

.terms-main__title::after {
    content: "";
    width: 100px;
    height: 6px;
    display: block;
    margin: 22px auto 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #265dff, #fff94b);
    box-shadow: 0 0 10px rgba(38, 93, 255, 0.45), 0 0 10px rgba(255, 246, 75, 0.45);
}

.terms-main__subtitle {
    display: block;
    text-align: center;
    font-size: 17px;
    color: #555;
    opacity: 0.9;
    margin-bottom: 45px;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 5;
}

.terms-section {
    background: linear-gradient(145deg, #ffffff, #f3f7ff);
    padding: 25px 28px;
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
    margin-bottom: 38px;
    position: relative;
    z-index: 3;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.terms-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 28px rgba(0, 45, 120, 0.12);
}

.terms-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: #003a85;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.terms-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(180deg, #265dff, #002eb5);
}

.terms-section p,
.terms-section ul,
.terms-section ol {
    font-size: 16px;
    margin-bottom: 12px;
}

.terms-section ul {
    padding-left: 25px;
    list-style-type: square;
}

.terms-section ol {
    padding-left: 25px;
    list-style-type: decimal;
}

.terms-section .ccn,
.terms-contact .ccn {
    color: #2667ff;
    font-weight: 600;
    transition: 0.2s;
}

.terms-section a:hover {
    color: #002fa5;
    text-shadow: 0 0 4px rgba(38, 93, 255, 0.4);
}

.terms-contact {
    background: linear-gradient(135deg, #f7f9ff, #ffffff);
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    transition: 0.25s ease;
}

.terms-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.terms-contact a {
    font-weight: 700;
}

.terms-contact a:hover {
    color: #d1008f;
    text-shadow: 0 0 4px rgba(255, 75, 172, 0.6);
}

@media (max-width: 700px) {
    .terms-main {
        margin: 20px;
        padding: 25px 18px;
    }

    .terms-main__title {
        font-size: 36px;
    }

    .terms-section h2 {
        font-size: 23px;
    }

    .terms-section p,
    .terms-section ul,
    .terms-section ol {
        font-size: 15px;
    }
}