/* Terms of Use Page Styles */
.terms-main {
    padding: 40px 20px 120px;
    background: var(--primary-dark);
    min-height: 100vh;
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.terms-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.terms-updated {
    color: var(--text-gray);
    font-size: 1rem;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.terms-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.terms-section:nth-child(1) { animation-delay: 0.05s; }
.terms-section:nth-child(2) { animation-delay: 0.1s; }
.terms-section:nth-child(3) { animation-delay: 0.15s; }
.terms-section:nth-child(4) { animation-delay: 0.2s; }
.terms-section:nth-child(5) { animation-delay: 0.25s; }
.terms-section:nth-child(6) { animation-delay: 0.3s; }
.terms-section:nth-child(7) { animation-delay: 0.35s; }
.terms-section:nth-child(8) { animation-delay: 0.4s; }
.terms-section:nth-child(9) { animation-delay: 0.45s; }

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-blue);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-blue);
}

.terms-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.terms-section a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.terms-section a:hover {
    color: var(--text-white);
}

.terms-actions {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.terms-actions-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 20px;
    background: rgba(10, 25, 41, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.btn-terms {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    min-width: 140px;
    text-align: center;
}

.btn-accept {
    background: var(--accent-green);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-decline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.btn-decline:hover {
    border-color: var(--text-gray);
    color: var(--text-white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 2rem;
    }

    .terms-section {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.25rem;
    }

    .terms-actions {
        flex-direction: column;
    }

    .btn-terms {
        width: 100%;
    }
}
