.terms-section {
    padding: 100px 8%;
    background-color: var(--bg-color);
    color: var(--text-white);
    line-height: 1.6;
}

.terms-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terms-header {
    text-align: center;
    margin-bottom: 50px;
}

.terms-header h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    background: linear-gradient(to right, #fff, var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    line-height: 1.2;
    word-wrap: break-word;
}

.terms-header p {
    color: var(--muted-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.terms-content h2 {
    color: var(--accent-purple);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-content h2::before {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--accent-purple);
    border-radius: 2px;
}

.terms-content p,
.terms-content ul {
    margin-bottom: 20px;
    color: var(--muted-text);
    font-size: 1.05rem;
}

.terms-content ul {
    padding-left: 20px;
    list-style-type: none;
}

.terms-content ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.terms-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
    font-weight: bold;
}

.terms-content strong {
    color: #fff;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .terms-section {
        padding: 80px 5%;
    }

    .terms-container {
        padding: 50px 40px;
    }
}

@media (max-width: 768px) {
    .terms-section {
        padding: 60px 20px;
    }

    .terms-container {
        padding: 40px 25px;
        border-radius: 20px;
    }

    .terms-header h1 {
        margin-bottom: 10px;
    }

    .terms-header p {
        font-size: 1rem;
    }

    .terms-content h2 {
        font-size: 1.5rem;
        margin: 35px 0 15px;
    }
}

@media (max-width: 480px) {
    .terms-section {
        padding: 40px 15px;
    }

    .terms-container {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .terms-header h1 {
        font-size: 1.8rem;
    }

    .terms-content h2 {
        font-size: 1.3rem;
        gap: 12px;
        margin: 25px 0 15px;
    }

    .terms-content h2::before {
        width: 15px;
        flex-shrink: 0;
    }

    .terms-content p,
    .terms-content ul li {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Top Bar Responsive */
    .top-bar {
        padding: 8px 10px;
    }

    .top-bar p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .terms-container {
        padding: 25px 15px;
    }

    .terms-header h1 {
        font-size: 1.6rem;
    }

    .terms-content h2 {
        font-size: 1.2rem;
    }
}