/* terms.css */
body {
    background: radial-gradient(circle at top right, #1a1e2e 0%, #0a0b10 100%);
    color: #f3f4f6;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.terms-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, rgba(16, 20, 32, 0.9) 0%, rgba(6, 8, 12, 0.98) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.terms-card {
    background: rgba(18, 24, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(6, 182, 212, 0.05),
                inset 0 0 20px rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 40px;
    width: 600px;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

/* Custom scrollbar for terms card */
.terms-card::-webkit-scrollbar {
    width: 8px;
}
.terms-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
.terms-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.terms-card::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.terms-header {
    text-align: center;
    margin-bottom: 25px;
}

.terms-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(59, 130, 246, 0.5);
    object-fit: contain;
}

.terms-title {
    margin-top: 15px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f3f4f6;
    letter-spacing: -0.5px;
}

.terms-subtitle {
    color: #06b6d4;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 5px;
}

.terms-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 30px;
}

.terms-section-title {
    color: #f3f4f6;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
}

.terms-text {
    margin-bottom: 12px;
}

.terms-alert {
    border-left: 3px solid #f59e0b;
    background: rgba(245, 158, 11, 0.05);
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    color: #f3f4f6;
}

.terms-btn-container {
    text-align: center;
}

.terms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 35px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.terms-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
    filter: brightness(1.1);
}

.terms-btn:active {
    transform: translateY(0);
}
